@apollo-deploy/typescript-sdk 1.0.1 → 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.
Files changed (43) hide show
  1. package/README.md +51 -111
  2. package/dist/index.d.ts +2 -3
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/src/client.d.ts +6 -9
  6. package/dist/src/client.d.ts.map +1 -1
  7. package/dist/src/client.js +4 -6
  8. package/dist/src/client.js.map +1 -1
  9. package/dist/src/domain/apps.d.ts +1 -3
  10. package/dist/src/domain/apps.d.ts.map +1 -1
  11. package/dist/src/domain/apps.js +0 -9
  12. package/dist/src/domain/apps.js.map +1 -1
  13. package/dist/src/domain/health.d.ts +1 -3
  14. package/dist/src/domain/health.d.ts.map +1 -1
  15. package/dist/src/domain/health.js +0 -16
  16. package/dist/src/domain/health.js.map +1 -1
  17. package/dist/src/domain/index.d.ts +4 -6
  18. package/dist/src/domain/index.d.ts.map +1 -1
  19. package/dist/src/domain/index.js +2 -3
  20. package/dist/src/domain/index.js.map +1 -1
  21. package/dist/src/domain/integrations-admin.d.ts +17 -0
  22. package/dist/src/domain/integrations-admin.d.ts.map +1 -0
  23. package/dist/src/domain/integrations-admin.js +36 -0
  24. package/dist/src/domain/integrations-admin.js.map +1 -0
  25. package/dist/src/domain/integrations.d.ts +26 -38
  26. package/dist/src/domain/integrations.d.ts.map +1 -1
  27. package/dist/src/domain/integrations.js +33 -98
  28. package/dist/src/domain/integrations.js.map +1 -1
  29. package/dist/src/domain/settings.d.ts +3 -1
  30. package/dist/src/domain/settings.d.ts.map +1 -1
  31. package/dist/src/domain/settings.js +8 -0
  32. package/dist/src/domain/settings.js.map +1 -1
  33. package/dist/src/types/index.d.ts +463 -782
  34. package/dist/src/types/index.d.ts.map +1 -1
  35. package/package.json +1 -1
  36. package/dist/src/domain/credentials.d.ts +0 -25
  37. package/dist/src/domain/credentials.d.ts.map +0 -1
  38. package/dist/src/domain/credentials.js +0 -81
  39. package/dist/src/domain/credentials.js.map +0 -1
  40. package/dist/src/domain/deployments.d.ts +0 -31
  41. package/dist/src/domain/deployments.d.ts.map +0 -1
  42. package/dist/src/domain/deployments.js +0 -121
  43. package/dist/src/domain/deployments.js.map +0 -1
@@ -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 {
@@ -605,6 +615,23 @@ export interface SettingsPartiallyUpdateOrgPartialResponse {
605
615
  message: string;
606
616
  }[];
607
617
  }
618
+ export interface SettingsListRegistryOrganizationPlanResponse {
619
+ settings: {
620
+ key: string;
621
+ scope: 'org' | 'user';
622
+ type: 'boolean' | 'string' | 'number' | 'enum' | 'json';
623
+ defaultValue: unknown;
624
+ description: string;
625
+ enumValues?: string[];
626
+ sensitive?: boolean;
627
+ category: string;
628
+ minRole?: string;
629
+ requiredPlans?: 'free' | 'pro' | 'team' | 'enterprise'[];
630
+ }[];
631
+ metadata: {
632
+ totalCount: number;
633
+ };
634
+ }
608
635
  export interface SettingsGetSingleOrgResponse {
609
636
  key: string;
610
637
  value: unknown;
@@ -729,7 +756,12 @@ export interface AppsMarkArtifactUploadCompleteResponse {
729
756
  appId: string;
730
757
  orgId: string;
731
758
  isSystemCreated: boolean;
732
- createdBy: string | null;
759
+ createdByUser: ({
760
+ id: string;
761
+ name: string | null;
762
+ email: string;
763
+ image: string | null;
764
+ }) | null;
733
765
  platform: 'android' | 'ios' | 'desktop' | 'web';
734
766
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
735
767
  originalFilename: string | null;
@@ -746,16 +778,12 @@ export interface AppsMarkArtifactUploadCompleteResponse {
746
778
  updatedAt: string;
747
779
  expiresAt: string | null;
748
780
  verifiedAt: string | null;
749
- verifiedBy: string | null;
750
781
  }
751
782
  export interface AppsGetPricingInformationResponse {
752
783
  platform: 'android' | 'ios' | 'huawei' | 'windows';
753
784
  currentPrice: unknown;
754
785
  plannedChanges: unknown;
755
786
  }
756
- export interface AppsUpdatePricingConfigurationResponse {
757
- status: 'queued' | 'applied';
758
- }
759
787
  export interface ReleasesListApplicationItem {
760
788
  id: string;
761
789
  appId: string;
@@ -768,7 +796,12 @@ export interface ReleasesListApplicationItem {
768
796
  pipelineVersionId?: string | null;
769
797
  currentStageId?: string | null;
770
798
  stageEnteredAt?: string | null;
771
- createdBy: string;
799
+ createdByUser: {
800
+ id: string;
801
+ name: string | null;
802
+ email: string;
803
+ image: string | null;
804
+ };
772
805
  createdAt: string | string;
773
806
  updatedAt: string | string;
774
807
  variants: {
@@ -808,7 +841,12 @@ export interface ReleasesCreateApplicationResponse {
808
841
  pipelineVersionId?: string | null;
809
842
  currentStageId?: string | null;
810
843
  stageEnteredAt?: string | null;
811
- createdBy: string;
844
+ createdByUser: {
845
+ id: string;
846
+ name: string | null;
847
+ email: string;
848
+ image: string | null;
849
+ };
812
850
  createdAt: string | string;
813
851
  updatedAt: string | string;
814
852
  variants: {
@@ -837,7 +875,12 @@ export interface ReleasesGetDetailsResponse {
837
875
  pipelineVersionId?: string | null;
838
876
  currentStageId?: string | null;
839
877
  stageEnteredAt?: string | null;
840
- createdBy: string;
878
+ createdByUser: {
879
+ id: string;
880
+ name: string | null;
881
+ email: string;
882
+ image: string | null;
883
+ };
841
884
  createdAt: string | string;
842
885
  updatedAt: string | string;
843
886
  variants: {
@@ -869,7 +912,12 @@ export interface ReleasesUpdateMetadataResponse {
869
912
  pipelineVersionId?: string | null;
870
913
  currentStageId?: string | null;
871
914
  stageEnteredAt?: string | null;
872
- createdBy: string;
915
+ createdByUser: {
916
+ id: string;
917
+ name: string | null;
918
+ email: string;
919
+ image: string | null;
920
+ };
873
921
  createdAt: string | string;
874
922
  updatedAt: string | string;
875
923
  variants: {
@@ -898,7 +946,12 @@ export interface ReleasesSubmitReviewResponse {
898
946
  pipelineVersionId?: string | null;
899
947
  currentStageId?: string | null;
900
948
  stageEnteredAt?: string | null;
901
- createdBy: string;
949
+ createdByUser: {
950
+ id: string;
951
+ name: string | null;
952
+ email: string;
953
+ image: string | null;
954
+ };
902
955
  createdAt: string | string;
903
956
  updatedAt: string | string;
904
957
  variants: {
@@ -930,7 +983,12 @@ export interface ReleasesSchedulePublicationResponse {
930
983
  pipelineVersionId?: string | null;
931
984
  currentStageId?: string | null;
932
985
  stageEnteredAt?: string | null;
933
- createdBy: string;
986
+ createdByUser: {
987
+ id: string;
988
+ name: string | null;
989
+ email: string;
990
+ image: string | null;
991
+ };
934
992
  createdAt: string | string;
935
993
  updatedAt: string | string;
936
994
  variants: {
@@ -959,7 +1017,12 @@ export interface ReleasesRollbackResponse {
959
1017
  pipelineVersionId?: string | null;
960
1018
  currentStageId?: string | null;
961
1019
  stageEnteredAt?: string | null;
962
- createdBy: string;
1020
+ createdByUser: {
1021
+ id: string;
1022
+ name: string | null;
1023
+ email: string;
1024
+ image: string | null;
1025
+ };
963
1026
  createdAt: string | string;
964
1027
  updatedAt: string | string;
965
1028
  variants: {
@@ -991,7 +1054,12 @@ export interface ReleasesAssignPipelineResponse {
991
1054
  pipelineVersionId?: string | null;
992
1055
  currentStageId?: string | null;
993
1056
  stageEnteredAt?: string | null;
994
- createdBy: string;
1057
+ createdByUser: {
1058
+ id: string;
1059
+ name: string | null;
1060
+ email: string;
1061
+ image: string | null;
1062
+ };
995
1063
  createdAt: string | string;
996
1064
  updatedAt: string | string;
997
1065
  variants: {
@@ -1121,7 +1189,12 @@ export interface ReleasesTransitionNextPipelineStageResponse {
1121
1189
  pipelineVersionId?: string | null;
1122
1190
  currentStageId?: string | null;
1123
1191
  stageEnteredAt?: string | null;
1124
- createdBy: string;
1192
+ createdByUser: {
1193
+ id: string;
1194
+ name: string | null;
1195
+ email: string;
1196
+ image: string | null;
1197
+ };
1125
1198
  createdAt: string | string;
1126
1199
  updatedAt: string | string;
1127
1200
  variants: {
@@ -1863,7 +1936,12 @@ export interface ArtifactsFinalizeUploadResponse {
1863
1936
  appId: string;
1864
1937
  orgId: string;
1865
1938
  isSystemCreated: boolean;
1866
- createdBy: string | null;
1939
+ createdByUser: ({
1940
+ id: string;
1941
+ name: string | null;
1942
+ email: string;
1943
+ image: string | null;
1944
+ }) | null;
1867
1945
  platform: 'android' | 'ios' | 'desktop' | 'web';
1868
1946
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
1869
1947
  originalFilename: string | null;
@@ -1880,7 +1958,6 @@ export interface ArtifactsFinalizeUploadResponse {
1880
1958
  updatedAt: string;
1881
1959
  expiresAt: string | null;
1882
1960
  verifiedAt: string | null;
1883
- verifiedBy: string | null;
1884
1961
  }[];
1885
1962
  failed: {
1886
1963
  artifactId: string;
@@ -1897,7 +1974,12 @@ export interface ArtifactsVerifyResponse {
1897
1974
  appId: string;
1898
1975
  orgId: string;
1899
1976
  isSystemCreated: boolean;
1900
- createdBy: string | null;
1977
+ createdByUser: ({
1978
+ id: string;
1979
+ name: string | null;
1980
+ email: string;
1981
+ image: string | null;
1982
+ }) | null;
1901
1983
  platform: 'android' | 'ios' | 'desktop' | 'web';
1902
1984
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
1903
1985
  originalFilename: string | null;
@@ -1914,7 +1996,6 @@ export interface ArtifactsVerifyResponse {
1914
1996
  updatedAt: string;
1915
1997
  expiresAt: string | null;
1916
1998
  verifiedAt: string | null;
1917
- verifiedBy: string | null;
1918
1999
  }
1919
2000
  export interface ArtifactsGetBatchUploadStatusResponse {
1920
2001
  artifacts: {
@@ -1956,7 +2037,12 @@ export interface ArtifactsGetResponse {
1956
2037
  appId: string;
1957
2038
  orgId: string;
1958
2039
  isSystemCreated: boolean;
1959
- createdBy: string | null;
2040
+ createdByUser: ({
2041
+ id: string;
2042
+ name: string | null;
2043
+ email: string;
2044
+ image: string | null;
2045
+ }) | null;
1960
2046
  platform: 'android' | 'ios' | 'desktop' | 'web';
1961
2047
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
1962
2048
  originalFilename: string | null;
@@ -1973,7 +2059,6 @@ export interface ArtifactsGetResponse {
1973
2059
  updatedAt: string;
1974
2060
  expiresAt: string | null;
1975
2061
  verifiedAt: string | null;
1976
- verifiedBy: string | null;
1977
2062
  buildMaturity: ({
1978
2063
  score: number;
1979
2064
  level: 'poor' | 'fair' | 'good' | 'excellent';
@@ -2078,7 +2163,12 @@ export interface ArtifactsCancelUploadResponse {
2078
2163
  appId: string;
2079
2164
  orgId: string;
2080
2165
  isSystemCreated: boolean;
2081
- createdBy: string | null;
2166
+ createdByUser: ({
2167
+ id: string;
2168
+ name: string | null;
2169
+ email: string;
2170
+ image: string | null;
2171
+ }) | null;
2082
2172
  platform: 'android' | 'ios' | 'desktop' | 'web';
2083
2173
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
2084
2174
  originalFilename: string | null;
@@ -2095,14 +2185,18 @@ export interface ArtifactsCancelUploadResponse {
2095
2185
  updatedAt: string;
2096
2186
  expiresAt: string | null;
2097
2187
  verifiedAt: string | null;
2098
- verifiedBy: string | null;
2099
2188
  }
2100
2189
  export interface ArtifactsArchiveResponse {
2101
2190
  id: string;
2102
2191
  appId: string;
2103
2192
  orgId: string;
2104
2193
  isSystemCreated: boolean;
2105
- createdBy: string | null;
2194
+ createdByUser: ({
2195
+ id: string;
2196
+ name: string | null;
2197
+ email: string;
2198
+ image: string | null;
2199
+ }) | null;
2106
2200
  platform: 'android' | 'ios' | 'desktop' | 'web';
2107
2201
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
2108
2202
  originalFilename: string | null;
@@ -2119,7 +2213,6 @@ export interface ArtifactsArchiveResponse {
2119
2213
  updatedAt: string;
2120
2214
  expiresAt: string | null;
2121
2215
  verifiedAt: string | null;
2122
- verifiedBy: string | null;
2123
2216
  }
2124
2217
  export interface ArtifactsCompareTwoApkResponse {
2125
2218
  summary: {
@@ -2175,7 +2268,12 @@ export interface ArtifactsListItem {
2175
2268
  appId: string;
2176
2269
  orgId: string;
2177
2270
  isSystemCreated: boolean;
2178
- createdBy: string | null;
2271
+ createdByUser: ({
2272
+ id: string;
2273
+ name: string | null;
2274
+ email: string;
2275
+ image: string | null;
2276
+ }) | null;
2179
2277
  platform: 'android' | 'ios' | 'desktop' | 'web';
2180
2278
  artifactType: 'apk' | 'aab' | 'ipa' | 'exe' | 'dmg' | 'bundle';
2181
2279
  originalFilename: string | null;
@@ -2192,7 +2290,6 @@ export interface ArtifactsListItem {
2192
2290
  updatedAt: string;
2193
2291
  expiresAt: string | null;
2194
2292
  verifiedAt: string | null;
2195
- verifiedBy: string | null;
2196
2293
  }
2197
2294
  export interface AnalyticsGetOverviewResponse {
2198
2295
  platform: 'google' | 'apple' | 'microsoft';
@@ -2256,156 +2353,6 @@ export interface AnalyticsTriggerJobResponse {
2256
2353
  triggered: boolean;
2257
2354
  }[];
2258
2355
  }
2259
- export interface CredentialsListStoreOrganizationItem {
2260
- id: string;
2261
- orgId: string;
2262
- appId: string | null;
2263
- provider: 'google_play' | 'app_store_connect' | 'huawei_appgallery' | 'microsoft_partner_center';
2264
- displayName: string;
2265
- credentialType: 'jwt' | 'oauth2' | 'api_key' | 'service_account';
2266
- encryptionVersion: number;
2267
- isActive: boolean;
2268
- isRevoked: boolean;
2269
- revokedAt: string | null;
2270
- revokedBy: string | null;
2271
- revokedReason: string | null;
2272
- tokenExpiresAt: string | null;
2273
- lastRefreshed: string | null;
2274
- refreshInterval: string | null;
2275
- metadata: Record<string, unknown>;
2276
- schemaVersion: number;
2277
- createdAt: string;
2278
- updatedAt: string;
2279
- }
2280
- export interface CredentialsGetResponse {
2281
- id: string;
2282
- orgId: string;
2283
- appId: string | null;
2284
- provider: 'google_play' | 'app_store_connect' | 'huawei_appgallery' | 'microsoft_partner_center';
2285
- displayName: string;
2286
- credentialType: 'jwt' | 'oauth2' | 'api_key' | 'service_account';
2287
- encryptionVersion: number;
2288
- isActive: boolean;
2289
- isRevoked: boolean;
2290
- revokedAt: string | null;
2291
- revokedBy: string | null;
2292
- revokedReason: string | null;
2293
- tokenExpiresAt: string | null;
2294
- lastRefreshed: string | null;
2295
- refreshInterval: string | null;
2296
- metadata: Record<string, unknown>;
2297
- schemaVersion: number;
2298
- createdAt: string;
2299
- updatedAt: string;
2300
- }
2301
- export interface CredentialsUpdateMetadataInput {
2302
- displayName?: string;
2303
- metadata?: Record<string, unknown>;
2304
- refreshInterval?: string | null;
2305
- isActive?: boolean;
2306
- }
2307
- export interface CredentialsUpdateMetadataResponse {
2308
- id: string;
2309
- orgId: string;
2310
- appId: string | null;
2311
- provider: 'google_play' | 'app_store_connect' | 'huawei_appgallery' | 'microsoft_partner_center';
2312
- displayName: string;
2313
- credentialType: 'jwt' | 'oauth2' | 'api_key' | 'service_account';
2314
- encryptionVersion: number;
2315
- isActive: boolean;
2316
- isRevoked: boolean;
2317
- revokedAt: string | null;
2318
- revokedBy: string | null;
2319
- revokedReason: string | null;
2320
- tokenExpiresAt: string | null;
2321
- lastRefreshed: string | null;
2322
- refreshInterval: string | null;
2323
- metadata: Record<string, unknown>;
2324
- schemaVersion: number;
2325
- createdAt: string;
2326
- updatedAt: string;
2327
- }
2328
- export interface CredentialsRevokeInput {
2329
- reason: string;
2330
- }
2331
- export interface CredentialsRevokeResponse {
2332
- id: string;
2333
- orgId: string;
2334
- appId: string | null;
2335
- provider: 'google_play' | 'app_store_connect' | 'huawei_appgallery' | 'microsoft_partner_center';
2336
- displayName: string;
2337
- credentialType: 'jwt' | 'oauth2' | 'api_key' | 'service_account';
2338
- encryptionVersion: number;
2339
- isActive: boolean;
2340
- isRevoked: boolean;
2341
- revokedAt: string | null;
2342
- revokedBy: string | null;
2343
- revokedReason: string | null;
2344
- tokenExpiresAt: string | null;
2345
- lastRefreshed: string | null;
2346
- refreshInterval: string | null;
2347
- metadata: Record<string, unknown>;
2348
- schemaVersion: number;
2349
- createdAt: string;
2350
- updatedAt: string;
2351
- }
2352
- export interface CredentialsCreateInput {
2353
- displayName: string;
2354
- credentialType: 'jwt' | 'oauth2' | 'api_key' | 'service_account';
2355
- secretPayload: Record<string, unknown> | string;
2356
- metadata?: Record<string, unknown>;
2357
- refreshInterval?: string;
2358
- appId?: string;
2359
- }
2360
- export interface CredentialsCreateResponse {
2361
- id: string;
2362
- orgId: string;
2363
- appId: string | null;
2364
- provider: 'google_play' | 'app_store_connect' | 'huawei_appgallery' | 'microsoft_partner_center';
2365
- displayName: string;
2366
- credentialType: 'jwt' | 'oauth2' | 'api_key' | 'service_account';
2367
- encryptionVersion: number;
2368
- isActive: boolean;
2369
- isRevoked: boolean;
2370
- revokedAt: string | null;
2371
- revokedBy: string | null;
2372
- revokedReason: string | null;
2373
- tokenExpiresAt: string | null;
2374
- lastRefreshed: string | null;
2375
- refreshInterval: string | null;
2376
- metadata: Record<string, unknown>;
2377
- schemaVersion: number;
2378
- createdAt: string;
2379
- updatedAt: string;
2380
- }
2381
- export interface CredentialsRotateSecretsInput {
2382
- secretPayload: Record<string, unknown> | string;
2383
- reason?: string;
2384
- }
2385
- export interface CredentialsRotateSecretsResponse {
2386
- id: string;
2387
- orgId: string;
2388
- appId: string | null;
2389
- provider: 'google_play' | 'app_store_connect' | 'huawei_appgallery' | 'microsoft_partner_center';
2390
- displayName: string;
2391
- credentialType: 'jwt' | 'oauth2' | 'api_key' | 'service_account';
2392
- encryptionVersion: number;
2393
- isActive: boolean;
2394
- isRevoked: boolean;
2395
- revokedAt: string | null;
2396
- revokedBy: string | null;
2397
- revokedReason: string | null;
2398
- tokenExpiresAt: string | null;
2399
- lastRefreshed: string | null;
2400
- refreshInterval: string | null;
2401
- metadata: Record<string, unknown>;
2402
- schemaVersion: number;
2403
- createdAt: string;
2404
- updatedAt: string;
2405
- }
2406
- export interface CredentialsMintFreshAccessTokenResponse {
2407
- expiresAt: string | null;
2408
- }
2409
2356
  export interface BillingGetOverviewResponse {
2410
2357
  /** Current plan information */
2411
2358
  plan: {
@@ -2644,356 +2591,16 @@ export interface BillingGetOrderDetailsResponse {
2644
2591
  /** Order last modified timestamp */
2645
2592
  modifiedAt: string | null;
2646
2593
  }
2647
- export interface IntegrationsListOrganizationResponse {
2648
- data: {
2649
- key: string;
2650
- name: string;
2651
- description: string;
2652
- category: 'store' | 'source-control' | 'monitoring' | 'deployment';
2653
- iconUrl?: string;
2654
- docsUrl?: string;
2655
- requiredPlan?: 'free' | 'pro' | 'team' | 'enterprise';
2656
- isBeta: boolean;
2657
- isHidden: boolean;
2658
- capabilities: {
2659
- sync?: {
2660
- streams: {
2661
- id: string;
2662
- }[];
2663
- };
2664
- webhook?: {
2665
- events: string[];
2666
- };
2667
- };
2668
- providerType: 'integration' | 'store';
2669
- installed: boolean;
2670
- status?: 'installed' | 'disabled' | 'error';
2671
- locked: boolean;
2672
- lockReason?: string;
2673
- }[];
2674
- pagination: {
2675
- total: number;
2676
- limit: number;
2677
- offset: number;
2678
- hasMore: boolean;
2679
- };
2680
- }
2681
- export interface IntegrationsGetDetailsResponse {
2682
- key: string;
2683
- name: string;
2684
- description: string;
2685
- category: 'store' | 'source-control' | 'monitoring' | 'deployment';
2686
- iconUrl?: string;
2687
- docsUrl?: string;
2688
- requiredPlan?: 'free' | 'pro' | 'team' | 'enterprise';
2689
- isBeta: boolean;
2690
- isHidden: boolean;
2691
- capabilities: {
2692
- sync?: {
2693
- streams: {
2694
- id: string;
2695
- }[];
2696
- };
2697
- webhook?: {
2698
- events: string[];
2699
- };
2700
- };
2701
- providerType: 'integration' | 'store';
2702
- installed: boolean;
2703
- status?: 'installed' | 'disabled' | 'error';
2704
- locked: boolean;
2705
- lockReason?: string;
2706
- }
2707
- export interface IntegrationsInstallInput {
2708
- config: Record<string, unknown>;
2709
- }
2710
- export interface IntegrationsInstallResponse {
2711
- installation: {
2712
- id: string;
2713
- orgId: string;
2714
- integrationKey: string;
2715
- status: 'installed' | 'disabled' | 'error';
2716
- installedAt: string;
2717
- updatedAt: string;
2718
- installedByUserId?: string;
2719
- lastError?: {
2720
- code: string;
2721
- message: string;
2722
- occurredAt: string;
2723
- };
2724
- };
2725
- created: boolean;
2726
- }
2727
- export interface IntegrationsUninstallResponse {
2728
- success: boolean;
2729
- wasRemoved?: boolean;
2730
- }
2731
- export interface IntegrationsEnableResponse {
2732
- id: string;
2733
- orgId: string;
2734
- integrationKey: string;
2735
- status: 'installed' | 'disabled' | 'error';
2736
- installedAt: string;
2737
- updatedAt: string;
2738
- installedByUserId?: string;
2739
- lastError?: {
2740
- code: string;
2741
- message: string;
2742
- occurredAt: string;
2743
- };
2744
- }
2745
- export interface IntegrationsDisableResponse {
2746
- id: string;
2747
- orgId: string;
2748
- integrationKey: string;
2749
- status: 'installed' | 'disabled' | 'error';
2750
- installedAt: string;
2751
- updatedAt: string;
2752
- installedByUserId?: string;
2753
- lastError?: {
2754
- code: string;
2755
- message: string;
2756
- occurredAt: string;
2757
- };
2758
- }
2759
- export interface IntegrationsListCatalogEntriesResponse {
2760
- data: {
2761
- key: string;
2762
- name: string;
2763
- description: string;
2764
- category: 'store' | 'source-control' | 'monitoring' | 'deployment';
2765
- iconUrl?: string;
2766
- docsUrl?: string;
2767
- requiredPlan?: 'free' | 'pro' | 'team' | 'enterprise';
2768
- isBeta: boolean;
2769
- isHidden: boolean;
2770
- capabilities: {
2771
- sync?: {
2772
- streams: {
2773
- id: string;
2774
- }[];
2775
- };
2776
- webhook?: {
2777
- events: string[];
2778
- };
2779
- };
2780
- providerType: 'integration' | 'store';
2781
- }[];
2782
- pagination: {
2783
- total: number;
2784
- limit: number;
2785
- offset: number;
2786
- hasMore: boolean;
2787
- };
2788
- }
2789
- export interface IntegrationsGetCatalogEntryResponse {
2790
- key: string;
2791
- name: string;
2792
- description: string;
2793
- category: 'store' | 'source-control' | 'monitoring' | 'deployment';
2794
- iconUrl?: string;
2795
- docsUrl?: string;
2796
- requiredPlan?: 'free' | 'pro' | 'team' | 'enterprise';
2797
- isBeta: boolean;
2798
- isHidden: boolean;
2799
- capabilities: {
2800
- sync?: {
2801
- streams: {
2802
- id: string;
2803
- }[];
2804
- };
2805
- webhook?: {
2806
- events: string[];
2807
- };
2808
- };
2809
- providerType: 'integration' | 'store';
2810
- }
2811
- export interface IntegrationsSearchInstallationsResponse {
2812
- data: {
2813
- id: string;
2814
- orgId: string;
2815
- integrationKey: string;
2816
- status: 'installed' | 'disabled' | 'error';
2817
- installedAt: string;
2818
- updatedAt: string;
2819
- installedByUserId?: string;
2820
- lastError?: {
2821
- code: string;
2822
- message: string;
2823
- occurredAt: string;
2824
- };
2825
- }[];
2826
- pagination: {
2827
- total: number;
2828
- limit: number;
2829
- offset: number;
2830
- hasMore: boolean;
2831
- };
2832
- }
2833
- export interface IntegrationsListOrgInstallationsResponse {
2834
- data: {
2835
- id: string;
2836
- orgId: string;
2837
- integrationKey: string;
2838
- status: 'installed' | 'disabled' | 'error';
2839
- installedAt: string;
2840
- updatedAt: string;
2841
- installedByUserId?: string;
2842
- lastError?: {
2843
- code: string;
2844
- message: string;
2845
- occurredAt: string;
2846
- };
2847
- }[];
2848
- pagination: {
2849
- total: number;
2850
- limit: number;
2851
- offset: number;
2852
- hasMore: boolean;
2853
- };
2854
- }
2855
- export interface IntegrationsGetOrgEntitlementsResponse {
2856
- orgId: string;
2857
- plan: 'free' | 'pro' | 'team' | 'enterprise';
2858
- integrations: {
2859
- key: string;
2860
- requiredPlan?: 'free' | 'pro' | 'team' | 'enterprise';
2861
- allowed: boolean;
2862
- reason: string;
2863
- override?: {
2864
- id: string;
2865
- orgId: string;
2866
- integrationKey: string;
2867
- type: 'allow' | 'deny';
2868
- reason: string;
2869
- createdByUserId: string;
2870
- createdAt: string;
2871
- expiresAt: string | null;
2872
- };
2873
- }[];
2874
- }
2875
- export interface IntegrationsForceInstallInput {
2876
- config: Record<string, unknown>;
2877
- bypassEntitlements?: boolean;
2878
- reason?: string;
2879
- }
2880
- export interface IntegrationsForceInstallResponse {
2881
- installation: {
2882
- id: string;
2883
- orgId: string;
2884
- integrationKey: string;
2885
- status: 'installed' | 'disabled' | 'error';
2886
- installedAt: string;
2887
- updatedAt: string;
2888
- installedByUserId?: string;
2889
- lastError?: {
2890
- code: string;
2891
- message: string;
2892
- occurredAt: string;
2893
- };
2894
- };
2895
- created: boolean;
2896
- }
2897
- export interface IntegrationsForceUninstallInput {
2898
- reason: string;
2899
- }
2900
- export interface IntegrationsForceUninstallResponse {
2901
- success: boolean;
2902
- wasRemoved?: boolean;
2903
- }
2904
- export interface IntegrationsForceEnableInput {
2905
- reason: string;
2906
- }
2907
- export interface IntegrationsForceEnableResponse {
2908
- id: string;
2909
- orgId: string;
2910
- integrationKey: string;
2911
- status: 'installed' | 'disabled' | 'error';
2912
- installedAt: string;
2913
- updatedAt: string;
2914
- installedByUserId?: string;
2915
- lastError?: {
2916
- code: string;
2917
- message: string;
2918
- occurredAt: string;
2919
- };
2920
- }
2921
- export interface IntegrationsForceDisableInput {
2922
- reason: string;
2923
- }
2924
- export interface IntegrationsForceDisableResponse {
2925
- id: string;
2926
- orgId: string;
2927
- integrationKey: string;
2928
- status: 'installed' | 'disabled' | 'error';
2929
- installedAt: string;
2930
- updatedAt: string;
2931
- installedByUserId?: string;
2932
- lastError?: {
2933
- code: string;
2934
- message: string;
2935
- occurredAt: string;
2936
- };
2937
- }
2938
- export interface IntegrationsRevalidateResponse {
2939
- installation: {
2940
- id: string;
2941
- orgId: string;
2942
- integrationKey: string;
2943
- status: 'installed' | 'disabled' | 'error';
2944
- installedAt: string;
2945
- updatedAt: string;
2946
- installedByUserId?: string;
2947
- lastError?: {
2948
- code: string;
2949
- message: string;
2950
- occurredAt: string;
2951
- };
2952
- };
2953
- healthCheck: {
2954
- ok: boolean;
2955
- checkedAt: string;
2956
- details?: Record<string, unknown>;
2957
- };
2958
- }
2959
- export interface IntegrationsTriggerSyncResponse {
2960
- jobId: string;
2961
- status: 'queued' | 'running' | 'completed' | 'failed';
2962
- triggeredAt: string;
2963
- }
2964
- export interface IntegrationsCreateAllowOverrideInput {
2965
- reason: string;
2966
- expiresAt?: string;
2967
- }
2968
- export interface IntegrationsCreateAllowOverrideResponse {
2969
- id: string;
2970
- orgId: string;
2971
- integrationKey: string;
2972
- type: 'allow' | 'deny';
2973
- reason: string;
2974
- createdByUserId: string;
2975
- createdAt: string;
2976
- expiresAt: string | null;
2977
- }
2978
- export interface IntegrationsCreateDenyOverrideInput {
2979
- reason: string;
2980
- expiresAt?: string;
2981
- }
2982
- export interface IntegrationsCreateDenyOverrideResponse {
2983
- id: string;
2984
- orgId: string;
2985
- integrationKey: string;
2986
- type: 'allow' | 'deny';
2987
- reason: string;
2988
- createdByUserId: string;
2989
- createdAt: string;
2990
- expiresAt: string | null;
2991
- }
2992
2594
  export interface ShareLinksListItem {
2993
2595
  id: string;
2994
2596
  orgId: string;
2995
2597
  artifactId: string;
2996
- createdBy: string;
2598
+ createdByUser: {
2599
+ id: string;
2600
+ name: string | null;
2601
+ email: string;
2602
+ image: string | null;
2603
+ };
2997
2604
  shortCode: string;
2998
2605
  shareUrl: string;
2999
2606
  name: string | null;
@@ -3029,7 +2636,12 @@ export interface ShareLinksCreateResponse {
3029
2636
  id: string;
3030
2637
  orgId: string;
3031
2638
  artifactId: string;
3032
- createdBy: string;
2639
+ createdByUser: {
2640
+ id: string;
2641
+ name: string | null;
2642
+ email: string;
2643
+ image: string | null;
2644
+ };
3033
2645
  shortCode: string;
3034
2646
  shareUrl: string;
3035
2647
  name: string | null;
@@ -3054,7 +2666,12 @@ export interface ShareLinksGetResponse {
3054
2666
  id: string;
3055
2667
  orgId: string;
3056
2668
  artifactId: string;
3057
- createdBy: string;
2669
+ createdByUser: {
2670
+ id: string;
2671
+ name: string | null;
2672
+ email: string;
2673
+ image: string | null;
2674
+ };
3058
2675
  shortCode: string;
3059
2676
  shareUrl: string;
3060
2677
  name: string | null;
@@ -3088,7 +2705,12 @@ export interface ShareLinksUpdateResponse {
3088
2705
  id: string;
3089
2706
  orgId: string;
3090
2707
  artifactId: string;
3091
- createdBy: string;
2708
+ createdByUser: {
2709
+ id: string;
2710
+ name: string | null;
2711
+ email: string;
2712
+ image: string | null;
2713
+ };
3092
2714
  shortCode: string;
3093
2715
  shareUrl: string;
3094
2716
  name: string | null;
@@ -3113,7 +2735,12 @@ export interface ShareLinksRevokeResponse {
3113
2735
  id: string;
3114
2736
  orgId: string;
3115
2737
  artifactId: string;
3116
- createdBy: string;
2738
+ createdByUser: {
2739
+ id: string;
2740
+ name: string | null;
2741
+ email: string;
2742
+ image: string | null;
2743
+ };
3117
2744
  shortCode: string;
3118
2745
  shareUrl: string;
3119
2746
  name: string | null;
@@ -3138,7 +2765,12 @@ export interface ShareLinksRestoreResponse {
3138
2765
  id: string;
3139
2766
  orgId: string;
3140
2767
  artifactId: string;
3141
- createdBy: string;
2768
+ createdByUser: {
2769
+ id: string;
2770
+ name: string | null;
2771
+ email: string;
2772
+ image: string | null;
2773
+ };
3142
2774
  shortCode: string;
3143
2775
  shareUrl: string;
3144
2776
  name: string | null;
@@ -3852,7 +3484,12 @@ export interface ApprovalsListItem {
3852
3484
  snapshotHash: string;
3853
3485
  expiresAt: string | null;
3854
3486
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
3855
- createdBy: string;
3487
+ createdByUser: {
3488
+ id: string;
3489
+ name: string | null;
3490
+ email: string;
3491
+ image: string | null;
3492
+ };
3856
3493
  createdAt: string;
3857
3494
  computedAt: string;
3858
3495
  archivedAt: string | null;
@@ -3930,7 +3567,12 @@ export interface ApprovalsCreateRequestResponse {
3930
3567
  snapshotHash: string;
3931
3568
  expiresAt: string | null;
3932
3569
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
3933
- createdBy: string;
3570
+ createdByUser: {
3571
+ id: string;
3572
+ name: string | null;
3573
+ email: string;
3574
+ image: string | null;
3575
+ };
3934
3576
  createdAt: string;
3935
3577
  computedAt: string;
3936
3578
  archivedAt: string | null;
@@ -3975,7 +3617,12 @@ export interface ApprovalsListRequestsAcrossOrganizationItem {
3975
3617
  snapshotHash: string;
3976
3618
  expiresAt: string | null;
3977
3619
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
3978
- createdBy: string;
3620
+ createdByUser: {
3621
+ id: string;
3622
+ name: string | null;
3623
+ email: string;
3624
+ image: string | null;
3625
+ };
3979
3626
  createdAt: string;
3980
3627
  computedAt: string;
3981
3628
  archivedAt: string | null;
@@ -4010,12 +3657,9 @@ export interface ApprovalsGrantUserRightsResourceResponse {
4010
3657
  resourceId: string | string;
4011
3658
  actionType: ('release.submit' | 'release.rollback' | 'release.stage_transition' | 'deployment.execute') | null;
4012
3659
  expiresAt: string | null;
4013
- createdBy: string;
4014
3660
  createdAt: string;
4015
3661
  updatedAt: string;
4016
- updatedBy: string | null;
4017
3662
  archivedAt: string | null;
4018
- archivedBy: string | null;
4019
3663
  archivedReason: ('revoked' | 'expired' | 'superseded') | null;
4020
3664
  user: {
4021
3665
  id: string;
@@ -4033,12 +3677,9 @@ export interface ApprovalsListGrantsItem {
4033
3677
  resourceId: string | string;
4034
3678
  actionType: ('release.submit' | 'release.rollback' | 'release.stage_transition' | 'deployment.execute') | null;
4035
3679
  expiresAt: string | null;
4036
- createdBy: string;
4037
3680
  createdAt: string;
4038
3681
  updatedAt: string;
4039
- updatedBy: string | null;
4040
3682
  archivedAt: string | null;
4041
- archivedBy: string | null;
4042
3683
  archivedReason: ('revoked' | 'expired' | 'superseded') | null;
4043
3684
  user: {
4044
3685
  id: string;
@@ -4061,12 +3702,9 @@ export interface ApprovalsRevokeGrantResponse {
4061
3702
  resourceId: string | string;
4062
3703
  actionType: ('release.submit' | 'release.rollback' | 'release.stage_transition' | 'deployment.execute') | null;
4063
3704
  expiresAt: string | null;
4064
- createdBy: string;
4065
3705
  createdAt: string;
4066
3706
  updatedAt: string;
4067
- updatedBy: string | null;
4068
3707
  archivedAt: string | null;
4069
- archivedBy: string | null;
4070
3708
  archivedReason: ('revoked' | 'expired' | 'superseded') | null;
4071
3709
  user: {
4072
3710
  id: string;
@@ -4091,12 +3729,9 @@ export interface ApprovalsExtendGrantResponse {
4091
3729
  resourceId: string | string;
4092
3730
  actionType: ('release.submit' | 'release.rollback' | 'release.stage_transition' | 'deployment.execute') | null;
4093
3731
  expiresAt: string | null;
4094
- createdBy: string;
4095
3732
  createdAt: string;
4096
3733
  updatedAt: string;
4097
- updatedBy: string | null;
4098
3734
  archivedAt: string | null;
4099
- archivedBy: string | null;
4100
3735
  archivedReason: ('revoked' | 'expired' | 'superseded') | null;
4101
3736
  user: {
4102
3737
  id: string;
@@ -4139,7 +3774,6 @@ export interface ApprovalsListPolicyTemplatesItem {
4139
3774
  };
4140
3775
  };
4141
3776
  archivedAt: string | null;
4142
- createdBy: string | null;
4143
3777
  createdAt: string;
4144
3778
  updatedAt: string;
4145
3779
  }
@@ -4208,7 +3842,6 @@ export interface ApprovalsCreatePolicyTemplateResponse {
4208
3842
  };
4209
3843
  };
4210
3844
  archivedAt: string | null;
4211
- createdBy: string | null;
4212
3845
  createdAt: string;
4213
3846
  updatedAt: string;
4214
3847
  };
@@ -4281,7 +3914,6 @@ export interface ApprovalsUpdatePolicyTemplateResponse {
4281
3914
  };
4282
3915
  };
4283
3916
  archivedAt: string | null;
4284
- createdBy: string | null;
4285
3917
  createdAt: string;
4286
3918
  updatedAt: string;
4287
3919
  };
@@ -4324,7 +3956,6 @@ export interface ApprovalsArchivePolicyTemplateResponse {
4324
3956
  };
4325
3957
  };
4326
3958
  archivedAt: string | null;
4327
- createdBy: string | null;
4328
3959
  createdAt: string;
4329
3960
  updatedAt: string;
4330
3961
  };
@@ -4391,7 +4022,12 @@ export interface ApprovalsGetRequestResponse {
4391
4022
  snapshotHash: string;
4392
4023
  expiresAt: string | null;
4393
4024
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
4394
- createdBy: string;
4025
+ createdByUser: {
4026
+ id: string;
4027
+ name: string | null;
4028
+ email: string;
4029
+ image: string | null;
4030
+ };
4395
4031
  createdAt: string;
4396
4032
  computedAt: string;
4397
4033
  archivedAt: string | null;
@@ -4399,7 +4035,12 @@ export interface ApprovalsGetRequestResponse {
4399
4035
  id: string;
4400
4036
  approvalRequestId: string;
4401
4037
  orgId: string;
4402
- actorUserId: string;
4038
+ actorUser: {
4039
+ id: string;
4040
+ name: string | null;
4041
+ email: string;
4042
+ image: string | null;
4043
+ };
4403
4044
  decision: 'approve' | 'reject';
4404
4045
  reason: string | null;
4405
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;
@@ -4412,7 +4053,12 @@ export interface ApprovalsGetRequestResponse {
4412
4053
  id: string;
4413
4054
  approvalRequestId: string;
4414
4055
  orgId: string;
4415
- actorUserId: string;
4056
+ actorUser: {
4057
+ id: string;
4058
+ name: string | null;
4059
+ email: string;
4060
+ image: string | null;
4061
+ };
4416
4062
  reason: string;
4417
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;
4418
4064
  links: string[];
@@ -4477,7 +4123,12 @@ export interface ApprovalsRecordDecisionResponse {
4477
4123
  snapshotHash: string;
4478
4124
  expiresAt: string | null;
4479
4125
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
4480
- createdBy: string;
4126
+ createdByUser: {
4127
+ id: string;
4128
+ name: string | null;
4129
+ email: string;
4130
+ image: string | null;
4131
+ };
4481
4132
  createdAt: string;
4482
4133
  computedAt: string;
4483
4134
  archivedAt: string | null;
@@ -4528,7 +4179,12 @@ export interface ApprovalsCancelPendingRequestResponse {
4528
4179
  snapshotHash: string;
4529
4180
  expiresAt: string | null;
4530
4181
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
4531
- createdBy: string;
4182
+ createdByUser: {
4183
+ id: string;
4184
+ name: string | null;
4185
+ email: string;
4186
+ image: string | null;
4187
+ };
4532
4188
  createdAt: string;
4533
4189
  computedAt: string;
4534
4190
  archivedAt: string | null;
@@ -4574,7 +4230,12 @@ export interface ApprovalsArchiveRequestResponse {
4574
4230
  snapshotHash: string;
4575
4231
  expiresAt: string | null;
4576
4232
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
4577
- createdBy: string;
4233
+ createdByUser: {
4234
+ id: string;
4235
+ name: string | null;
4236
+ email: string;
4237
+ image: string | null;
4238
+ };
4578
4239
  createdAt: string;
4579
4240
  computedAt: string;
4580
4241
  archivedAt: string | null;
@@ -4626,7 +4287,12 @@ export interface ApprovalsRefreshExpiredDriftedRequestResponse {
4626
4287
  snapshotHash: string;
4627
4288
  expiresAt: string | null;
4628
4289
  status: 'pending' | 'approved' | 'rejected' | 'canceled' | 'expired';
4629
- createdBy: string;
4290
+ createdByUser: {
4291
+ id: string;
4292
+ name: string | null;
4293
+ email: string;
4294
+ image: string | null;
4295
+ };
4630
4296
  createdAt: string;
4631
4297
  computedAt: string;
4632
4298
  archivedAt: string | null;
@@ -4659,8 +4325,12 @@ export interface AuditLogsGetActivitySummaryResponse {
4659
4325
  byAction: Record<string, number>;
4660
4326
  byRiskLevel: Record<string, number>;
4661
4327
  topUsers: {
4662
- userId: string;
4663
- email?: string;
4328
+ user: {
4329
+ id: string;
4330
+ name: string | null;
4331
+ email: string;
4332
+ image: string | null;
4333
+ };
4664
4334
  count: number;
4665
4335
  }[];
4666
4336
  topResources: {
@@ -4672,7 +4342,12 @@ export interface AuditLogsGetActivitySummaryResponse {
4672
4342
  recentHighRisk: {
4673
4343
  id: string;
4674
4344
  organizationId: string;
4675
- userId: string | null;
4345
+ user: ({
4346
+ id: string;
4347
+ name: string | null;
4348
+ email: string;
4349
+ image: string | null;
4350
+ }) | null;
4676
4351
  actor: ({
4677
4352
  id: string;
4678
4353
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -4758,7 +4433,12 @@ export interface AuditLogsGetSecurityInsightsResponse {
4758
4433
  suspiciousActivities: {
4759
4434
  id: string;
4760
4435
  organizationId: string;
4761
- userId: string | null;
4436
+ user: ({
4437
+ id: string;
4438
+ name: string | null;
4439
+ email: string;
4440
+ image: string | null;
4441
+ }) | null;
4762
4442
  actor: ({
4763
4443
  id: string;
4764
4444
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -4835,8 +4515,12 @@ export interface AuditLogsGetSecurityInsightsResponse {
4835
4515
  createdAt: string;
4836
4516
  }[];
4837
4517
  unusualLocations: {
4838
- userId: string;
4839
- email?: string;
4518
+ user: {
4519
+ id: string;
4520
+ name: string | null;
4521
+ email: string;
4522
+ image: string | null;
4523
+ };
4840
4524
  location: string;
4841
4525
  timestamp: string;
4842
4526
  previousLocation?: string;
@@ -4844,7 +4528,12 @@ export interface AuditLogsGetSecurityInsightsResponse {
4844
4528
  highRiskActions: {
4845
4529
  id: string;
4846
4530
  organizationId: string;
4847
- userId: string | null;
4531
+ user: ({
4532
+ id: string;
4533
+ name: string | null;
4534
+ email: string;
4535
+ image: string | null;
4536
+ }) | null;
4848
4537
  actor: ({
4849
4538
  id: string;
4850
4539
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -4936,9 +4625,12 @@ export interface AuditLogsGetSecurityInsightsResponse {
4936
4625
  }[];
4937
4626
  }
4938
4627
  export interface AuditLogsGetUserActivityTimelineResponse {
4939
- userId: string;
4940
- userEmail?: string;
4941
- userName?: string;
4628
+ user: {
4629
+ id: string;
4630
+ name: string | null;
4631
+ email: string;
4632
+ image: string | null;
4633
+ };
4942
4634
  period: {
4943
4635
  from: string;
4944
4636
  to: string;
@@ -4961,7 +4653,12 @@ export interface AuditLogsGetUserActivityTimelineResponse {
4961
4653
  recentActions: {
4962
4654
  id: string;
4963
4655
  organizationId: string;
4964
- userId: string | null;
4656
+ user: ({
4657
+ id: string;
4658
+ name: string | null;
4659
+ email: string;
4660
+ image: string | null;
4661
+ }) | null;
4965
4662
  actor: ({
4966
4663
  id: string;
4967
4664
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -5043,14 +4740,29 @@ export interface AuditLogsGetResourceChangeHistoryResponse {
5043
4740
  resourceId: string;
5044
4741
  resourceName?: string;
5045
4742
  createdAt?: string;
5046
- createdBy?: string;
4743
+ createdByUser?: ({
4744
+ id: string;
4745
+ name: string | null;
4746
+ email: string;
4747
+ image: string | null;
4748
+ }) | null;
5047
4749
  lastModifiedAt?: string;
5048
- lastModifiedBy?: string;
4750
+ lastModifiedByUser?: ({
4751
+ id: string;
4752
+ name: string | null;
4753
+ email: string;
4754
+ image: string | null;
4755
+ }) | null;
5049
4756
  totalChanges: number;
5050
4757
  history: {
5051
4758
  id: string;
5052
4759
  organizationId: string;
5053
- userId: string | null;
4760
+ user: ({
4761
+ id: string;
4762
+ name: string | null;
4763
+ email: string;
4764
+ image: string | null;
4765
+ }) | null;
5054
4766
  actor: ({
5055
4767
  id: string;
5056
4768
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -5131,7 +4843,12 @@ export interface AuditLogsListResponse {
5131
4843
  data: {
5132
4844
  id: string;
5133
4845
  organizationId: string;
5134
- userId: string | null;
4846
+ user: ({
4847
+ id: string;
4848
+ name: string | null;
4849
+ email: string;
4850
+ image: string | null;
4851
+ }) | null;
5135
4852
  actor: ({
5136
4853
  id: string;
5137
4854
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -5218,7 +4935,12 @@ export interface AuditLogsListResponse {
5218
4935
  export interface AuditLogsGetResponse {
5219
4936
  id: string;
5220
4937
  organizationId: string;
5221
- userId: string | null;
4938
+ user: ({
4939
+ id: string;
4940
+ name: string | null;
4941
+ email: string;
4942
+ image: string | null;
4943
+ }) | null;
5222
4944
  actor: ({
5223
4945
  id: string;
5224
4946
  type: 'user' | 'system' | 'api_key' | 'webhook' | 'scheduled_job' | 'integration';
@@ -5315,6 +5037,169 @@ export interface AuditLogsExportInput {
5315
5037
  export interface AuditLogsExportResponse {
5316
5038
  message?: string;
5317
5039
  }
5040
+ export interface IntegrationsListAvailableResponse {
5041
+ integrations: {
5042
+ key: string;
5043
+ id: string;
5044
+ name: string;
5045
+ description: string | null;
5046
+ iconUrl: string | null;
5047
+ category: string | null;
5048
+ docsUrl: string | null;
5049
+ capabilities: string[];
5050
+ auth: {
5051
+ setupFlow: 'oauth_only' | 'credential_form' | 'oauth_then_configure' | 'none';
5052
+ fields?: {
5053
+ key: string;
5054
+ label: string;
5055
+ type: 'text' | 'password' | 'url' | 'select' | 'textarea';
5056
+ required: boolean;
5057
+ placeholder?: string;
5058
+ helpText?: string;
5059
+ options?: {
5060
+ value: string;
5061
+ label: string;
5062
+ }[];
5063
+ pattern?: string;
5064
+ minLength?: number;
5065
+ maxLength?: number;
5066
+ }[];
5067
+ };
5068
+ configured: boolean;
5069
+ installed: boolean;
5070
+ installationId: string | null;
5071
+ entitled: boolean;
5072
+ }[];
5073
+ }
5074
+ export interface IntegrationsListInstalledResponse {
5075
+ integrations: {
5076
+ installationId: string;
5077
+ integrationKey: string;
5078
+ status: string;
5079
+ installedAt: string | string;
5080
+ connectionCount: number;
5081
+ lastErrorCode: string | null;
5082
+ }[];
5083
+ }
5084
+ export interface IntegrationsInstallInput {
5085
+ integrationKey: string;
5086
+ }
5087
+ export interface IntegrationsInstallResponse {
5088
+ installationId: string;
5089
+ integrationKey: string;
5090
+ status: string;
5091
+ installedAt: string | string;
5092
+ }
5093
+ export interface IntegrationsUninstallResponse {
5094
+ uninstalled: true;
5095
+ }
5096
+ export interface IntegrationsInitiateOauthAuthorisationInput {
5097
+ integrationKey: string;
5098
+ }
5099
+ export interface IntegrationsInitiateOauthAuthorisationResponse {
5100
+ redirectUrl: string;
5101
+ }
5102
+ export interface IntegrationsCompleteOauthAuthorisationInput {
5103
+ integrationKey: string;
5104
+ code: string;
5105
+ state: string;
5106
+ }
5107
+ export interface IntegrationsCompleteOauthAuthorisationResponse {
5108
+ connectionId: string;
5109
+ integrationKey: string;
5110
+ displayName: string | null;
5111
+ isNew: boolean;
5112
+ }
5113
+ export interface IntegrationsListConnectionsProviderResponse {
5114
+ connections: {
5115
+ id: string;
5116
+ provider: string;
5117
+ providerAccountId: string | null;
5118
+ displayName: string | null;
5119
+ status: string;
5120
+ scopes: string[];
5121
+ connectedAt: string | string;
5122
+ lastRefreshedAt: (string | string) | null;
5123
+ }[];
5124
+ }
5125
+ export interface IntegrationsRevokeConnectionResponse {
5126
+ revoked: true;
5127
+ }
5128
+ export interface IntegrationsRefreshConnectionTokensResponse {
5129
+ refreshed: true;
5130
+ }
5131
+ export interface IntegrationsListAppConfigsResponse {
5132
+ configs: {
5133
+ id: string;
5134
+ appId: string;
5135
+ connectedAccountId: string;
5136
+ settings: Record<string, unknown>;
5137
+ notificationRules: unknown[];
5138
+ enabled: boolean;
5139
+ createdAt: string | string;
5140
+ updatedAt: string | string;
5141
+ }[];
5142
+ }
5143
+ export interface IntegrationsCreateAppConfigInput {
5144
+ connectedAccountId: string;
5145
+ settings?: Record<string, unknown>;
5146
+ notificationRules?: Record<string, unknown>[];
5147
+ }
5148
+ export interface IntegrationsCreateAppConfigResponse {
5149
+ id: string;
5150
+ appId: string;
5151
+ connectedAccountId: string;
5152
+ settings: Record<string, unknown>;
5153
+ notificationRules: unknown[];
5154
+ enabled: boolean;
5155
+ createdAt: string | string;
5156
+ updatedAt: string | string;
5157
+ }
5158
+ export interface IntegrationsUpdateAppConfigInput {
5159
+ settings?: Record<string, unknown>;
5160
+ notificationRules?: Record<string, unknown>[];
5161
+ enabled?: boolean;
5162
+ }
5163
+ export interface IntegrationsUpdateAppConfigResponse {
5164
+ id: string;
5165
+ appId: string;
5166
+ connectedAccountId: string;
5167
+ settings: Record<string, unknown>;
5168
+ notificationRules: unknown[];
5169
+ enabled: boolean;
5170
+ createdAt: string | string;
5171
+ updatedAt: string | string;
5172
+ }
5173
+ export interface IntegrationsDeleteAppConfigResponse {
5174
+ deleted: true;
5175
+ }
5176
+ export interface IntegrationsAdminListEntitlementOverridesOrganisationResponse {
5177
+ overrides: {
5178
+ id: string;
5179
+ orgId: string;
5180
+ integrationKey: string;
5181
+ type: 'allow' | 'deny';
5182
+ reason: string | null;
5183
+ grantedAt: string | string;
5184
+ }[];
5185
+ }
5186
+ export interface IntegrationsAdminCreateEntitlementOverrideInput {
5187
+ orgId: string;
5188
+ integrationKey: string;
5189
+ type: 'allow' | 'deny';
5190
+ reason?: string;
5191
+ }
5192
+ export interface IntegrationsAdminCreateEntitlementOverrideResponse {
5193
+ id: string;
5194
+ orgId: string;
5195
+ integrationKey: string;
5196
+ type: 'allow' | 'deny';
5197
+ reason: string | null;
5198
+ grantedAt: string | string;
5199
+ }
5200
+ export interface IntegrationsAdminDeleteEntitlementOverrideResponse {
5201
+ deleted: true;
5202
+ }
5318
5203
  export interface WebhooksReceiveExternalProviderResponse {
5319
5204
  success: boolean;
5320
5205
  payloadId?: string;
@@ -5696,136 +5581,6 @@ export interface WorkflowsListNodeTypesItem {
5696
5581
  label: string;
5697
5582
  description: string;
5698
5583
  }
5699
- export interface DeploymentsGetAwsBootstrapTemplateResponse {
5700
- provider: 'aws';
5701
- templateFormat: 'cloudformation-yaml';
5702
- version: string;
5703
- requiredParameters: string[];
5704
- template: string;
5705
- }
5706
- export interface DeploymentsListTargetsItem {
5707
- id: string;
5708
- orgId: string;
5709
- name: string;
5710
- provider: 'aws' | 'gcp' | 'azure' | 'byoc';
5711
- environment: 'development' | 'staging' | 'production';
5712
- region: string | null;
5713
- integrationInstallationId: string | null;
5714
- isActive: boolean;
5715
- createdBy: string | null;
5716
- createdAt: string;
5717
- updatedAt: string;
5718
- }
5719
- export interface DeploymentsCreateTargetResponse {
5720
- id: string;
5721
- orgId: string;
5722
- name: string;
5723
- provider: 'aws' | 'gcp' | 'azure' | 'byoc';
5724
- environment: 'development' | 'staging' | 'production';
5725
- region: string | null;
5726
- integrationInstallationId: string | null;
5727
- isActive: boolean;
5728
- createdBy: string | null;
5729
- createdAt: string;
5730
- updatedAt: string;
5731
- }
5732
- export interface DeploymentsGetTargetResponse {
5733
- id: string;
5734
- orgId: string;
5735
- name: string;
5736
- provider: 'aws' | 'gcp' | 'azure' | 'byoc';
5737
- environment: 'development' | 'staging' | 'production';
5738
- region: string | null;
5739
- integrationInstallationId: string | null;
5740
- isActive: boolean;
5741
- createdBy: string | null;
5742
- createdAt: string;
5743
- updatedAt: string;
5744
- }
5745
- export interface DeploymentsValidateTargetConnectivityPermissionsResponse {
5746
- targetId: string;
5747
- provider: string;
5748
- valid: boolean;
5749
- checks: {
5750
- key: string;
5751
- passed: boolean;
5752
- code: string;
5753
- message: string;
5754
- }[];
5755
- }
5756
- export interface DeploymentsListItem {
5757
- id: string;
5758
- orgId: string;
5759
- releaseId: string | null;
5760
- targetId: string;
5761
- provider: 'aws' | 'gcp' | 'azure' | 'byoc';
5762
- status: 'queued' | 'awaiting_approval' | 'running' | 'verifying' | 'rollback_in_progress' | 'succeeded' | 'failed' | 'rolled_back' | 'canceled';
5763
- statusReason: string | null;
5764
- approvalRequestId: string | null;
5765
- codedeployDeploymentId: string | null;
5766
- artifactS3Uri: string | null;
5767
- artifactSha256: string | null;
5768
- imageUri: string;
5769
- imageDigest: string;
5770
- startedAt: string | null;
5771
- completedAt: string | null;
5772
- createdBy: string | null;
5773
- createdAt: string;
5774
- updatedAt: string;
5775
- }
5776
- export interface DeploymentsCreateInput {
5777
- targetId: string;
5778
- releaseId?: string;
5779
- imageUri: string;
5780
- metadata?: Record<string, unknown>;
5781
- idempotencyKey?: string;
5782
- }
5783
- export interface DeploymentsCreateResponse {
5784
- deploymentId: string;
5785
- jobId: string;
5786
- status: string;
5787
- }
5788
- export interface DeploymentsGetDetailsResponse {
5789
- id: string;
5790
- orgId: string;
5791
- releaseId: string | null;
5792
- targetId: string;
5793
- provider: 'aws' | 'gcp' | 'azure' | 'byoc';
5794
- status: 'queued' | 'awaiting_approval' | 'running' | 'verifying' | 'rollback_in_progress' | 'succeeded' | 'failed' | 'rolled_back' | 'canceled';
5795
- statusReason: string | null;
5796
- approvalRequestId: string | null;
5797
- codedeployDeploymentId: string | null;
5798
- artifactS3Uri: string | null;
5799
- artifactSha256: string | null;
5800
- imageUri: string;
5801
- imageDigest: string;
5802
- startedAt: string | null;
5803
- completedAt: string | null;
5804
- createdBy: string | null;
5805
- createdAt: string;
5806
- updatedAt: string;
5807
- }
5808
- export interface DeploymentsListEventHistoryItem {
5809
- id: string;
5810
- deploymentId: string;
5811
- providerEventId: string;
5812
- eventType: string;
5813
- payload: Record<string, unknown>;
5814
- occurredAt: string;
5815
- createdAt: string;
5816
- }
5817
- export interface DeploymentsIngestAwsEventsInput {
5818
- id: string;
5819
- source?: string;
5820
- detailType?: string;
5821
- time?: string;
5822
- detail?: Record<string, unknown>;
5823
- }
5824
- export interface DeploymentsIngestAwsEventsResponse {
5825
- accepted: boolean;
5826
- deploymentId: string | null;
5827
- status: string | null;
5828
- }
5829
5584
  export interface HealthReadinessProbeCoreServicesResponse {
5830
5585
  healthy: boolean;
5831
5586
  timestamp: string;
@@ -5894,20 +5649,6 @@ export interface HealthBillingServiceCheckResponse {
5894
5649
  /** Whether Polar integration is enabled */
5895
5650
  polarEnabled: boolean;
5896
5651
  }
5897
- export interface HealthCheckStoreCredentialResponse {
5898
- healthy: boolean;
5899
- status: 'valid' | 'expired' | 'invalid' | 'not_found' | 'error';
5900
- provider: 'google' | 'apple' | 'microsoft';
5901
- appId?: string;
5902
- credentialId?: string;
5903
- message: string;
5904
- checkedAt: string;
5905
- latencyMs?: number;
5906
- details?: {
5907
- isAuthenticated?: boolean;
5908
- error?: string;
5909
- };
5910
- }
5911
5652
  export interface HealthGetAnalyticsStatusResponse {
5912
5653
  status: 'healthy' | 'degraded' | 'unhealthy';
5913
5654
  checks: {
@@ -6157,16 +5898,6 @@ export interface GetAnalyticsRegistryQuery {
6157
5898
  rollupStrategy?: 'sum' | 'latest' | 'hll' | 'complex';
6158
5899
  unitLabel?: 'ms' | 'bytes' | 'count' | 'percent' | 'basis_points';
6159
5900
  }
6160
- /**
6161
- * Query parameters for listStoreOrganization
6162
- */
6163
- export interface GetCredentialsQuery {
6164
- provider?: 'google_play' | 'app_store_connect' | 'huawei_appgallery' | 'microsoft_partner_center';
6165
- appId?: string;
6166
- includeInactive?: boolean;
6167
- limit?: number;
6168
- cursor?: string;
6169
- }
6170
5901
  /**
6171
5902
  * Query parameters for getPortalUrl
6172
5903
  */
@@ -6183,28 +5914,6 @@ export interface GetBillingOrdersQuery {
6183
5914
  /** Items per page (default: 20, max: 100) */
6184
5915
  limit?: number;
6185
5916
  }
6186
- /**
6187
- * Query parameters for listOrganization
6188
- */
6189
- export interface GetIntegrationsQuery {
6190
- includeHidden?: string;
6191
- category?: 'store' | 'source-control' | 'monitoring' | 'deployment';
6192
- requiredPlan?: 'free' | 'pro' | 'team' | 'enterprise';
6193
- isBeta?: string;
6194
- search?: string;
6195
- }
6196
- /**
6197
- * Query parameters for searchInstallations
6198
- */
6199
- export interface GetAdminIntegrationsInstallationsQuery {
6200
- orgId?: string;
6201
- integrationKey?: string;
6202
- status?: 'installed' | 'disabled' | 'error';
6203
- errorCode?: string;
6204
- updatedAfter?: string;
6205
- limit?: number;
6206
- offset?: number;
6207
- }
6208
5917
  /**
6209
5918
  * Query parameters for list
6210
5919
  */
@@ -6379,6 +6088,13 @@ export interface GetAuditLogsQuery {
6379
6088
  tags?: string;
6380
6089
  search?: string;
6381
6090
  }
6091
+ /**
6092
+ * Query parameters for listAvailable
6093
+ */
6094
+ export interface GetIntegrationsAvailableQuery {
6095
+ category?: string;
6096
+ capability?: string;
6097
+ }
6382
6098
  /**
6383
6099
  * Query parameters for listEndpoints
6384
6100
  */
@@ -6437,39 +6153,4 @@ export interface GetWorkflowsNodeTypesQuery {
6437
6153
  page?: number;
6438
6154
  limit?: number;
6439
6155
  }
6440
- /**
6441
- * Query parameters for listTargets
6442
- */
6443
- export interface GetDistributionDeploymentTargetsQuery {
6444
- page?: number;
6445
- limit?: number;
6446
- provider?: 'aws' | 'gcp' | 'azure' | 'byoc';
6447
- environment?: 'development' | 'staging' | 'production';
6448
- activeOnly?: boolean;
6449
- }
6450
- /**
6451
- * Query parameters for list
6452
- */
6453
- export interface GetDistributionDeploymentsQuery {
6454
- page?: number;
6455
- limit?: number;
6456
- targetId?: string;
6457
- releaseId?: string;
6458
- status?: 'queued' | 'awaiting_approval' | 'running' | 'verifying' | 'rollback_in_progress' | 'succeeded' | 'failed' | 'rolled_back' | 'canceled';
6459
- }
6460
- /**
6461
- * Query parameters for listEventHistory
6462
- */
6463
- export interface GetDistributionDeploymentsByIdEventsQuery {
6464
- page?: number;
6465
- limit?: number;
6466
- }
6467
- /**
6468
- * Query parameters for checkStoreCredential
6469
- */
6470
- export interface GetHealthCredentialsQuery {
6471
- provider: 'google' | 'apple' | 'microsoft';
6472
- appId?: string;
6473
- credentialId?: string;
6474
- }
6475
6156
  //# sourceMappingURL=index.d.ts.map