@apollo-deploy/typescript-sdk 1.1.0 → 1.2.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.
@@ -443,8 +443,13 @@ export interface TeamsSetSessionResponse {
443
443
  export interface TeamsListMembersItem {
444
444
  id: string;
445
445
  teamId: string;
446
- userId: string;
447
446
  role: 'member' | 'admin';
447
+ user: {
448
+ id: string;
449
+ name: string | null;
450
+ email: string;
451
+ image: string | null;
452
+ };
448
453
  joinedAt: string | string;
449
454
  }
450
455
  export interface TeamsAddMemberInput {
@@ -454,8 +459,13 @@ export interface TeamsAddMemberInput {
454
459
  export interface TeamsAddMemberItem {
455
460
  id: string;
456
461
  teamId: string;
457
- userId: string;
458
462
  role: 'member' | 'admin';
463
+ user: {
464
+ id: string;
465
+ name: string | null;
466
+ email: string;
467
+ image: string | null;
468
+ };
459
469
  joinedAt: string | string;
460
470
  }
461
471
  export interface OrganizationsListAuthenticatedUserItem {
@@ -746,7 +756,12 @@ export interface AppsMarkArtifactUploadCompleteResponse {
746
756
  appId: string;
747
757
  orgId: string;
748
758
  isSystemCreated: boolean;
749
- createdBy: string | null;
759
+ createdByUser: ({
760
+ id: string;
761
+ name: string | null;
762
+ email: string;
763
+ image: string | null;
764
+ }) | null;
750
765
  platform: 'android' | 'ios' | 'desktop' | 'web';
751
766
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
752
767
  originalFilename: string | null;
@@ -763,7 +778,6 @@ export interface AppsMarkArtifactUploadCompleteResponse {
763
778
  updatedAt: string;
764
779
  expiresAt: string | null;
765
780
  verifiedAt: string | null;
766
- verifiedBy: string | null;
767
781
  }
768
782
  export interface AppsGetPricingInformationResponse {
769
783
  platform: 'android' | 'ios' | 'huawei' | 'windows';
@@ -782,7 +796,12 @@ export interface ReleasesListApplicationItem {
782
796
  pipelineVersionId?: string | null;
783
797
  currentStageId?: string | null;
784
798
  stageEnteredAt?: string | null;
785
- createdBy: string;
799
+ createdByUser: {
800
+ id: string;
801
+ name: string | null;
802
+ email: string;
803
+ image: string | null;
804
+ };
786
805
  createdAt: string | string;
787
806
  updatedAt: string | string;
788
807
  variants: {
@@ -822,7 +841,12 @@ export interface ReleasesCreateApplicationResponse {
822
841
  pipelineVersionId?: string | null;
823
842
  currentStageId?: string | null;
824
843
  stageEnteredAt?: string | null;
825
- createdBy: string;
844
+ createdByUser: {
845
+ id: string;
846
+ name: string | null;
847
+ email: string;
848
+ image: string | null;
849
+ };
826
850
  createdAt: string | string;
827
851
  updatedAt: string | string;
828
852
  variants: {
@@ -851,7 +875,12 @@ export interface ReleasesGetDetailsResponse {
851
875
  pipelineVersionId?: string | null;
852
876
  currentStageId?: string | null;
853
877
  stageEnteredAt?: string | null;
854
- createdBy: string;
878
+ createdByUser: {
879
+ id: string;
880
+ name: string | null;
881
+ email: string;
882
+ image: string | null;
883
+ };
855
884
  createdAt: string | string;
856
885
  updatedAt: string | string;
857
886
  variants: {
@@ -883,7 +912,12 @@ export interface ReleasesUpdateMetadataResponse {
883
912
  pipelineVersionId?: string | null;
884
913
  currentStageId?: string | null;
885
914
  stageEnteredAt?: string | null;
886
- createdBy: string;
915
+ createdByUser: {
916
+ id: string;
917
+ name: string | null;
918
+ email: string;
919
+ image: string | null;
920
+ };
887
921
  createdAt: string | string;
888
922
  updatedAt: string | string;
889
923
  variants: {
@@ -912,7 +946,12 @@ export interface ReleasesSubmitReviewResponse {
912
946
  pipelineVersionId?: string | null;
913
947
  currentStageId?: string | null;
914
948
  stageEnteredAt?: string | null;
915
- createdBy: string;
949
+ createdByUser: {
950
+ id: string;
951
+ name: string | null;
952
+ email: string;
953
+ image: string | null;
954
+ };
916
955
  createdAt: string | string;
917
956
  updatedAt: string | string;
918
957
  variants: {
@@ -944,7 +983,12 @@ export interface ReleasesSchedulePublicationResponse {
944
983
  pipelineVersionId?: string | null;
945
984
  currentStageId?: string | null;
946
985
  stageEnteredAt?: string | null;
947
- createdBy: string;
986
+ createdByUser: {
987
+ id: string;
988
+ name: string | null;
989
+ email: string;
990
+ image: string | null;
991
+ };
948
992
  createdAt: string | string;
949
993
  updatedAt: string | string;
950
994
  variants: {
@@ -973,7 +1017,12 @@ export interface ReleasesRollbackResponse {
973
1017
  pipelineVersionId?: string | null;
974
1018
  currentStageId?: string | null;
975
1019
  stageEnteredAt?: string | null;
976
- createdBy: string;
1020
+ createdByUser: {
1021
+ id: string;
1022
+ name: string | null;
1023
+ email: string;
1024
+ image: string | null;
1025
+ };
977
1026
  createdAt: string | string;
978
1027
  updatedAt: string | string;
979
1028
  variants: {
@@ -1005,7 +1054,12 @@ export interface ReleasesAssignPipelineResponse {
1005
1054
  pipelineVersionId?: string | null;
1006
1055
  currentStageId?: string | null;
1007
1056
  stageEnteredAt?: string | null;
1008
- createdBy: string;
1057
+ createdByUser: {
1058
+ id: string;
1059
+ name: string | null;
1060
+ email: string;
1061
+ image: string | null;
1062
+ };
1009
1063
  createdAt: string | string;
1010
1064
  updatedAt: string | string;
1011
1065
  variants: {
@@ -1135,7 +1189,12 @@ export interface ReleasesTransitionNextPipelineStageResponse {
1135
1189
  pipelineVersionId?: string | null;
1136
1190
  currentStageId?: string | null;
1137
1191
  stageEnteredAt?: string | null;
1138
- createdBy: string;
1192
+ createdByUser: {
1193
+ id: string;
1194
+ name: string | null;
1195
+ email: string;
1196
+ image: string | null;
1197
+ };
1139
1198
  createdAt: string | string;
1140
1199
  updatedAt: string | string;
1141
1200
  variants: {
@@ -1877,7 +1936,12 @@ export interface ArtifactsFinalizeUploadResponse {
1877
1936
  appId: string;
1878
1937
  orgId: string;
1879
1938
  isSystemCreated: boolean;
1880
- createdBy: string | null;
1939
+ createdByUser: ({
1940
+ id: string;
1941
+ name: string | null;
1942
+ email: string;
1943
+ image: string | null;
1944
+ }) | null;
1881
1945
  platform: 'android' | 'ios' | 'desktop' | 'web';
1882
1946
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
1883
1947
  originalFilename: string | null;
@@ -1894,7 +1958,6 @@ export interface ArtifactsFinalizeUploadResponse {
1894
1958
  updatedAt: string;
1895
1959
  expiresAt: string | null;
1896
1960
  verifiedAt: string | null;
1897
- verifiedBy: string | null;
1898
1961
  }[];
1899
1962
  failed: {
1900
1963
  artifactId: string;
@@ -1911,7 +1974,12 @@ export interface ArtifactsVerifyResponse {
1911
1974
  appId: string;
1912
1975
  orgId: string;
1913
1976
  isSystemCreated: boolean;
1914
- createdBy: string | null;
1977
+ createdByUser: ({
1978
+ id: string;
1979
+ name: string | null;
1980
+ email: string;
1981
+ image: string | null;
1982
+ }) | null;
1915
1983
  platform: 'android' | 'ios' | 'desktop' | 'web';
1916
1984
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
1917
1985
  originalFilename: string | null;
@@ -1928,7 +1996,6 @@ export interface ArtifactsVerifyResponse {
1928
1996
  updatedAt: string;
1929
1997
  expiresAt: string | null;
1930
1998
  verifiedAt: string | null;
1931
- verifiedBy: string | null;
1932
1999
  }
1933
2000
  export interface ArtifactsGetBatchUploadStatusResponse {
1934
2001
  artifacts: {
@@ -1970,7 +2037,12 @@ export interface ArtifactsGetResponse {
1970
2037
  appId: string;
1971
2038
  orgId: string;
1972
2039
  isSystemCreated: boolean;
1973
- createdBy: string | null;
2040
+ createdByUser: ({
2041
+ id: string;
2042
+ name: string | null;
2043
+ email: string;
2044
+ image: string | null;
2045
+ }) | null;
1974
2046
  platform: 'android' | 'ios' | 'desktop' | 'web';
1975
2047
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
1976
2048
  originalFilename: string | null;
@@ -1987,7 +2059,6 @@ export interface ArtifactsGetResponse {
1987
2059
  updatedAt: string;
1988
2060
  expiresAt: string | null;
1989
2061
  verifiedAt: string | null;
1990
- verifiedBy: string | null;
1991
2062
  buildMaturity: ({
1992
2063
  score: number;
1993
2064
  level: 'poor' | 'fair' | 'good' | 'excellent';
@@ -2092,7 +2163,12 @@ export interface ArtifactsCancelUploadResponse {
2092
2163
  appId: string;
2093
2164
  orgId: string;
2094
2165
  isSystemCreated: boolean;
2095
- createdBy: string | null;
2166
+ createdByUser: ({
2167
+ id: string;
2168
+ name: string | null;
2169
+ email: string;
2170
+ image: string | null;
2171
+ }) | null;
2096
2172
  platform: 'android' | 'ios' | 'desktop' | 'web';
2097
2173
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
2098
2174
  originalFilename: string | null;
@@ -2109,14 +2185,18 @@ export interface ArtifactsCancelUploadResponse {
2109
2185
  updatedAt: string;
2110
2186
  expiresAt: string | null;
2111
2187
  verifiedAt: string | null;
2112
- verifiedBy: string | null;
2113
2188
  }
2114
2189
  export interface ArtifactsArchiveResponse {
2115
2190
  id: string;
2116
2191
  appId: string;
2117
2192
  orgId: string;
2118
2193
  isSystemCreated: boolean;
2119
- createdBy: string | null;
2194
+ createdByUser: ({
2195
+ id: string;
2196
+ name: string | null;
2197
+ email: string;
2198
+ image: string | null;
2199
+ }) | null;
2120
2200
  platform: 'android' | 'ios' | 'desktop' | 'web';
2121
2201
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
2122
2202
  originalFilename: string | null;
@@ -2133,7 +2213,6 @@ export interface ArtifactsArchiveResponse {
2133
2213
  updatedAt: string;
2134
2214
  expiresAt: string | null;
2135
2215
  verifiedAt: string | null;
2136
- verifiedBy: string | null;
2137
2216
  }
2138
2217
  export interface ArtifactsCompareTwoApkResponse {
2139
2218
  summary: {
@@ -2189,7 +2268,12 @@ export interface ArtifactsListItem {
2189
2268
  appId: string;
2190
2269
  orgId: string;
2191
2270
  isSystemCreated: boolean;
2192
- createdBy: string | null;
2271
+ createdByUser: ({
2272
+ id: string;
2273
+ name: string | null;
2274
+ email: string;
2275
+ image: string | null;
2276
+ }) | null;
2193
2277
  platform: 'android' | 'ios' | 'desktop' | 'web';
2194
2278
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
2195
2279
  originalFilename: string | null;
@@ -2206,7 +2290,6 @@ export interface ArtifactsListItem {
2206
2290
  updatedAt: string;
2207
2291
  expiresAt: string | null;
2208
2292
  verifiedAt: string | null;
2209
- verifiedBy: string | null;
2210
2293
  }
2211
2294
  export interface AnalyticsGetOverviewResponse {
2212
2295
  platform: 'google' | 'apple' | 'microsoft';
@@ -2512,7 +2595,12 @@ export interface ShareLinksListItem {
2512
2595
  id: string;
2513
2596
  orgId: string;
2514
2597
  artifactId: string;
2515
- createdBy: string;
2598
+ createdByUser: {
2599
+ id: string;
2600
+ name: string | null;
2601
+ email: string;
2602
+ image: string | null;
2603
+ };
2516
2604
  shortCode: string;
2517
2605
  shareUrl: string;
2518
2606
  name: string | null;
@@ -2548,7 +2636,12 @@ export interface ShareLinksCreateResponse {
2548
2636
  id: string;
2549
2637
  orgId: string;
2550
2638
  artifactId: string;
2551
- createdBy: string;
2639
+ createdByUser: {
2640
+ id: string;
2641
+ name: string | null;
2642
+ email: string;
2643
+ image: string | null;
2644
+ };
2552
2645
  shortCode: string;
2553
2646
  shareUrl: string;
2554
2647
  name: string | null;
@@ -2573,7 +2666,12 @@ export interface ShareLinksGetResponse {
2573
2666
  id: string;
2574
2667
  orgId: string;
2575
2668
  artifactId: string;
2576
- createdBy: string;
2669
+ createdByUser: {
2670
+ id: string;
2671
+ name: string | null;
2672
+ email: string;
2673
+ image: string | null;
2674
+ };
2577
2675
  shortCode: string;
2578
2676
  shareUrl: string;
2579
2677
  name: string | null;
@@ -2607,7 +2705,12 @@ export interface ShareLinksUpdateResponse {
2607
2705
  id: string;
2608
2706
  orgId: string;
2609
2707
  artifactId: string;
2610
- createdBy: string;
2708
+ createdByUser: {
2709
+ id: string;
2710
+ name: string | null;
2711
+ email: string;
2712
+ image: string | null;
2713
+ };
2611
2714
  shortCode: string;
2612
2715
  shareUrl: string;
2613
2716
  name: string | null;
@@ -2632,7 +2735,12 @@ export interface ShareLinksRevokeResponse {
2632
2735
  id: string;
2633
2736
  orgId: string;
2634
2737
  artifactId: string;
2635
- createdBy: string;
2738
+ createdByUser: {
2739
+ id: string;
2740
+ name: string | null;
2741
+ email: string;
2742
+ image: string | null;
2743
+ };
2636
2744
  shortCode: string;
2637
2745
  shareUrl: string;
2638
2746
  name: string | null;
@@ -2657,7 +2765,12 @@ export interface ShareLinksRestoreResponse {
2657
2765
  id: string;
2658
2766
  orgId: string;
2659
2767
  artifactId: string;
2660
- createdBy: string;
2768
+ createdByUser: {
2769
+ id: string;
2770
+ name: string | null;
2771
+ email: string;
2772
+ image: string | null;
2773
+ };
2661
2774
  shortCode: string;
2662
2775
  shareUrl: string;
2663
2776
  name: string | null;
@@ -3371,7 +3484,12 @@ export interface ApprovalsListItem {
3371
3484
  snapshotHash: string;
3372
3485
  expiresAt: string | null;
3373
3486
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
3374
- createdBy: string;
3487
+ createdByUser: {
3488
+ id: string;
3489
+ name: string | null;
3490
+ email: string;
3491
+ image: string | null;
3492
+ };
3375
3493
  createdAt: string;
3376
3494
  computedAt: string;
3377
3495
  archivedAt: string | null;
@@ -3449,7 +3567,12 @@ export interface ApprovalsCreateRequestResponse {
3449
3567
  snapshotHash: string;
3450
3568
  expiresAt: string | null;
3451
3569
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
3452
- createdBy: string;
3570
+ createdByUser: {
3571
+ id: string;
3572
+ name: string | null;
3573
+ email: string;
3574
+ image: string | null;
3575
+ };
3453
3576
  createdAt: string;
3454
3577
  computedAt: string;
3455
3578
  archivedAt: string | null;
@@ -3494,7 +3617,12 @@ export interface ApprovalsListRequestsAcrossOrganizationItem {
3494
3617
  snapshotHash: string;
3495
3618
  expiresAt: string | null;
3496
3619
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
3497
- createdBy: string;
3620
+ createdByUser: {
3621
+ id: string;
3622
+ name: string | null;
3623
+ email: string;
3624
+ image: string | null;
3625
+ };
3498
3626
  createdAt: string;
3499
3627
  computedAt: string;
3500
3628
  archivedAt: string | null;
@@ -3529,12 +3657,9 @@ export interface ApprovalsGrantUserRightsResourceResponse {
3529
3657
  resourceId: string | string;
3530
3658
  actionType: ('release.submit' | 'release.rollback' | 'release.stage_transition' | 'deployment.execute') | null;
3531
3659
  expiresAt: string | null;
3532
- createdBy: string;
3533
3660
  createdAt: string;
3534
3661
  updatedAt: string;
3535
- updatedBy: string | null;
3536
3662
  archivedAt: string | null;
3537
- archivedBy: string | null;
3538
3663
  archivedReason: ('revoked' | 'expired' | 'superseded') | null;
3539
3664
  user: {
3540
3665
  id: string;
@@ -3552,12 +3677,9 @@ export interface ApprovalsListGrantsItem {
3552
3677
  resourceId: string | string;
3553
3678
  actionType: ('release.submit' | 'release.rollback' | 'release.stage_transition' | 'deployment.execute') | null;
3554
3679
  expiresAt: string | null;
3555
- createdBy: string;
3556
3680
  createdAt: string;
3557
3681
  updatedAt: string;
3558
- updatedBy: string | null;
3559
3682
  archivedAt: string | null;
3560
- archivedBy: string | null;
3561
3683
  archivedReason: ('revoked' | 'expired' | 'superseded') | null;
3562
3684
  user: {
3563
3685
  id: string;
@@ -3580,12 +3702,9 @@ export interface ApprovalsRevokeGrantResponse {
3580
3702
  resourceId: string | string;
3581
3703
  actionType: ('release.submit' | 'release.rollback' | 'release.stage_transition' | 'deployment.execute') | null;
3582
3704
  expiresAt: string | null;
3583
- createdBy: string;
3584
3705
  createdAt: string;
3585
3706
  updatedAt: string;
3586
- updatedBy: string | null;
3587
3707
  archivedAt: string | null;
3588
- archivedBy: string | null;
3589
3708
  archivedReason: ('revoked' | 'expired' | 'superseded') | null;
3590
3709
  user: {
3591
3710
  id: string;
@@ -3610,12 +3729,9 @@ export interface ApprovalsExtendGrantResponse {
3610
3729
  resourceId: string | string;
3611
3730
  actionType: ('release.submit' | 'release.rollback' | 'release.stage_transition' | 'deployment.execute') | null;
3612
3731
  expiresAt: string | null;
3613
- createdBy: string;
3614
3732
  createdAt: string;
3615
3733
  updatedAt: string;
3616
- updatedBy: string | null;
3617
3734
  archivedAt: string | null;
3618
- archivedBy: string | null;
3619
3735
  archivedReason: ('revoked' | 'expired' | 'superseded') | null;
3620
3736
  user: {
3621
3737
  id: string;
@@ -3658,7 +3774,6 @@ export interface ApprovalsListPolicyTemplatesItem {
3658
3774
  };
3659
3775
  };
3660
3776
  archivedAt: string | null;
3661
- createdBy: string | null;
3662
3777
  createdAt: string;
3663
3778
  updatedAt: string;
3664
3779
  }
@@ -3727,7 +3842,6 @@ export interface ApprovalsCreatePolicyTemplateResponse {
3727
3842
  };
3728
3843
  };
3729
3844
  archivedAt: string | null;
3730
- createdBy: string | null;
3731
3845
  createdAt: string;
3732
3846
  updatedAt: string;
3733
3847
  };
@@ -3800,7 +3914,6 @@ export interface ApprovalsUpdatePolicyTemplateResponse {
3800
3914
  };
3801
3915
  };
3802
3916
  archivedAt: string | null;
3803
- createdBy: string | null;
3804
3917
  createdAt: string;
3805
3918
  updatedAt: string;
3806
3919
  };
@@ -3843,7 +3956,6 @@ export interface ApprovalsArchivePolicyTemplateResponse {
3843
3956
  };
3844
3957
  };
3845
3958
  archivedAt: string | null;
3846
- createdBy: string | null;
3847
3959
  createdAt: string;
3848
3960
  updatedAt: string;
3849
3961
  };
@@ -3910,7 +4022,12 @@ export interface ApprovalsGetRequestResponse {
3910
4022
  snapshotHash: string;
3911
4023
  expiresAt: string | null;
3912
4024
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
3913
- createdBy: string;
4025
+ createdByUser: {
4026
+ id: string;
4027
+ name: string | null;
4028
+ email: string;
4029
+ image: string | null;
4030
+ };
3914
4031
  createdAt: string;
3915
4032
  computedAt: string;
3916
4033
  archivedAt: string | null;
@@ -3918,7 +4035,12 @@ export interface ApprovalsGetRequestResponse {
3918
4035
  id: string;
3919
4036
  approvalRequestId: string;
3920
4037
  orgId: string;
3921
- actorUserId: string;
4038
+ actorUser: {
4039
+ id: string;
4040
+ name: string | null;
4041
+ email: string;
4042
+ image: string | null;
4043
+ };
3922
4044
  decision: 'approve' | 'reject';
3923
4045
  reason: string | null;
3924
4046
  reasonCode: ('policy_violation' | 'security_risk' | 'compliance_requirement' | 'active_incident' | 'failed_automated_checks' | 'insufficient_evidence' | 'missing_rollback_plan' | 'change_window_closed' | 'dependency_instability' | 'capacity_risk' | 'cost_risk' | 'business_hold' | 'duplicate_request' | 'superseded_change' | 'requester_canceled' | 'scope_changed' | 'temporary_access' | 'other') | null;
@@ -3931,7 +4053,12 @@ export interface ApprovalsGetRequestResponse {
3931
4053
  id: string;
3932
4054
  approvalRequestId: string;
3933
4055
  orgId: string;
3934
- actorUserId: string;
4056
+ actorUser: {
4057
+ id: string;
4058
+ name: string | null;
4059
+ email: string;
4060
+ image: string | null;
4061
+ };
3935
4062
  reason: string;
3936
4063
  reasonCode: ('policy_violation' | 'security_risk' | 'compliance_requirement' | 'active_incident' | 'failed_automated_checks' | 'insufficient_evidence' | 'missing_rollback_plan' | 'change_window_closed' | 'dependency_instability' | 'capacity_risk' | 'cost_risk' | 'business_hold' | 'duplicate_request' | 'superseded_change' | 'requester_canceled' | 'scope_changed' | 'temporary_access' | 'other') | null;
3937
4064
  links: string[];
@@ -3996,7 +4123,12 @@ export interface ApprovalsRecordDecisionResponse {
3996
4123
  snapshotHash: string;
3997
4124
  expiresAt: string | null;
3998
4125
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
3999
- createdBy: string;
4126
+ createdByUser: {
4127
+ id: string;
4128
+ name: string | null;
4129
+ email: string;
4130
+ image: string | null;
4131
+ };
4000
4132
  createdAt: string;
4001
4133
  computedAt: string;
4002
4134
  archivedAt: string | null;
@@ -4047,7 +4179,12 @@ export interface ApprovalsCancelPendingRequestResponse {
4047
4179
  snapshotHash: string;
4048
4180
  expiresAt: string | null;
4049
4181
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
4050
- createdBy: string;
4182
+ createdByUser: {
4183
+ id: string;
4184
+ name: string | null;
4185
+ email: string;
4186
+ image: string | null;
4187
+ };
4051
4188
  createdAt: string;
4052
4189
  computedAt: string;
4053
4190
  archivedAt: string | null;
@@ -4093,7 +4230,12 @@ export interface ApprovalsArchiveRequestResponse {
4093
4230
  snapshotHash: string;
4094
4231
  expiresAt: string | null;
4095
4232
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
4096
- createdBy: string;
4233
+ createdByUser: {
4234
+ id: string;
4235
+ name: string | null;
4236
+ email: string;
4237
+ image: string | null;
4238
+ };
4097
4239
  createdAt: string;
4098
4240
  computedAt: string;
4099
4241
  archivedAt: string | null;
@@ -4145,7 +4287,12 @@ export interface ApprovalsRefreshExpiredDriftedRequestResponse {
4145
4287
  snapshotHash: string;
4146
4288
  expiresAt: string | null;
4147
4289
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
4148
- createdBy: string;
4290
+ createdByUser: {
4291
+ id: string;
4292
+ name: string | null;
4293
+ email: string;
4294
+ image: string | null;
4295
+ };
4149
4296
  createdAt: string;
4150
4297
  computedAt: string;
4151
4298
  archivedAt: string | null;
@@ -4178,8 +4325,12 @@ export interface AuditLogsGetActivitySummaryResponse {
4178
4325
  byAction: Record<string, number>;
4179
4326
  byRiskLevel: Record<string, number>;
4180
4327
  topUsers: {
4181
- userId: string;
4182
- email?: string;
4328
+ user: {
4329
+ id: string;
4330
+ name: string | null;
4331
+ email: string;
4332
+ image: string | null;
4333
+ };
4183
4334
  count: number;
4184
4335
  }[];
4185
4336
  topResources: {
@@ -4191,7 +4342,12 @@ export interface AuditLogsGetActivitySummaryResponse {
4191
4342
  recentHighRisk: {
4192
4343
  id: string;
4193
4344
  organizationId: string;
4194
- userId: string | null;
4345
+ user: ({
4346
+ id: string;
4347
+ name: string | null;
4348
+ email: string;
4349
+ image: string | null;
4350
+ }) | null;
4195
4351
  actor: ({
4196
4352
  id: string;
4197
4353
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -4277,7 +4433,12 @@ export interface AuditLogsGetSecurityInsightsResponse {
4277
4433
  suspiciousActivities: {
4278
4434
  id: string;
4279
4435
  organizationId: string;
4280
- userId: string | null;
4436
+ user: ({
4437
+ id: string;
4438
+ name: string | null;
4439
+ email: string;
4440
+ image: string | null;
4441
+ }) | null;
4281
4442
  actor: ({
4282
4443
  id: string;
4283
4444
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -4354,8 +4515,12 @@ export interface AuditLogsGetSecurityInsightsResponse {
4354
4515
  createdAt: string;
4355
4516
  }[];
4356
4517
  unusualLocations: {
4357
- userId: string;
4358
- email?: string;
4518
+ user: {
4519
+ id: string;
4520
+ name: string | null;
4521
+ email: string;
4522
+ image: string | null;
4523
+ };
4359
4524
  location: string;
4360
4525
  timestamp: string;
4361
4526
  previousLocation?: string;
@@ -4363,7 +4528,12 @@ export interface AuditLogsGetSecurityInsightsResponse {
4363
4528
  highRiskActions: {
4364
4529
  id: string;
4365
4530
  organizationId: string;
4366
- userId: string | null;
4531
+ user: ({
4532
+ id: string;
4533
+ name: string | null;
4534
+ email: string;
4535
+ image: string | null;
4536
+ }) | null;
4367
4537
  actor: ({
4368
4538
  id: string;
4369
4539
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -4455,9 +4625,12 @@ export interface AuditLogsGetSecurityInsightsResponse {
4455
4625
  }[];
4456
4626
  }
4457
4627
  export interface AuditLogsGetUserActivityTimelineResponse {
4458
- userId: string;
4459
- userEmail?: string;
4460
- userName?: string;
4628
+ user: {
4629
+ id: string;
4630
+ name: string | null;
4631
+ email: string;
4632
+ image: string | null;
4633
+ };
4461
4634
  period: {
4462
4635
  from: string;
4463
4636
  to: string;
@@ -4480,7 +4653,12 @@ export interface AuditLogsGetUserActivityTimelineResponse {
4480
4653
  recentActions: {
4481
4654
  id: string;
4482
4655
  organizationId: string;
4483
- userId: string | null;
4656
+ user: ({
4657
+ id: string;
4658
+ name: string | null;
4659
+ email: string;
4660
+ image: string | null;
4661
+ }) | null;
4484
4662
  actor: ({
4485
4663
  id: string;
4486
4664
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -4562,14 +4740,29 @@ export interface AuditLogsGetResourceChangeHistoryResponse {
4562
4740
  resourceId: string;
4563
4741
  resourceName?: string;
4564
4742
  createdAt?: string;
4565
- createdBy?: string;
4743
+ createdByUser?: ({
4744
+ id: string;
4745
+ name: string | null;
4746
+ email: string;
4747
+ image: string | null;
4748
+ }) | null;
4566
4749
  lastModifiedAt?: string;
4567
- lastModifiedBy?: string;
4750
+ lastModifiedByUser?: ({
4751
+ id: string;
4752
+ name: string | null;
4753
+ email: string;
4754
+ image: string | null;
4755
+ }) | null;
4568
4756
  totalChanges: number;
4569
4757
  history: {
4570
4758
  id: string;
4571
4759
  organizationId: string;
4572
- userId: string | null;
4760
+ user: ({
4761
+ id: string;
4762
+ name: string | null;
4763
+ email: string;
4764
+ image: string | null;
4765
+ }) | null;
4573
4766
  actor: ({
4574
4767
  id: string;
4575
4768
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -4650,7 +4843,12 @@ export interface AuditLogsListResponse {
4650
4843
  data: {
4651
4844
  id: string;
4652
4845
  organizationId: string;
4653
- userId: string | null;
4846
+ user: ({
4847
+ id: string;
4848
+ name: string | null;
4849
+ email: string;
4850
+ image: string | null;
4851
+ }) | null;
4654
4852
  actor: ({
4655
4853
  id: string;
4656
4854
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -4737,7 +4935,12 @@ export interface AuditLogsListResponse {
4737
4935
  export interface AuditLogsGetResponse {
4738
4936
  id: string;
4739
4937
  organizationId: string;
4740
- userId: string | null;
4938
+ user: ({
4939
+ id: string;
4940
+ name: string | null;
4941
+ email: string;
4942
+ image: string | null;
4943
+ }) | null;
4741
4944
  actor: ({
4742
4945
  id: string;
4743
4946
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';