@apollo-deploy/typescript-sdk 1.0.1 → 1.1.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 +187 -709
  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
@@ -605,6 +605,23 @@ export interface SettingsPartiallyUpdateOrgPartialResponse {
605
605
  message: string;
606
606
  }[];
607
607
  }
608
+ export interface SettingsListRegistryOrganizationPlanResponse {
609
+ settings: {
610
+ key: string;
611
+ scope: 'org' | 'user';
612
+ type: 'boolean' | 'string' | 'number' | 'enum' | 'json';
613
+ defaultValue: unknown;
614
+ description: string;
615
+ enumValues?: string[];
616
+ sensitive?: boolean;
617
+ category: string;
618
+ minRole?: string;
619
+ requiredPlans?: 'free' | 'pro' | 'team' | 'enterprise'[];
620
+ }[];
621
+ metadata: {
622
+ totalCount: number;
623
+ };
624
+ }
608
625
  export interface SettingsGetSingleOrgResponse {
609
626
  key: string;
610
627
  value: unknown;
@@ -753,9 +770,6 @@ export interface AppsGetPricingInformationResponse {
753
770
  currentPrice: unknown;
754
771
  plannedChanges: unknown;
755
772
  }
756
- export interface AppsUpdatePricingConfigurationResponse {
757
- status: 'queued' | 'applied';
758
- }
759
773
  export interface ReleasesListApplicationItem {
760
774
  id: string;
761
775
  appId: string;
@@ -2256,156 +2270,6 @@ export interface AnalyticsTriggerJobResponse {
2256
2270
  triggered: boolean;
2257
2271
  }[];
2258
2272
  }
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
2273
  export interface BillingGetOverviewResponse {
2410
2274
  /** Current plan information */
2411
2275
  plan: {
@@ -2644,351 +2508,6 @@ export interface BillingGetOrderDetailsResponse {
2644
2508
  /** Order last modified timestamp */
2645
2509
  modifiedAt: string | null;
2646
2510
  }
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
2511
  export interface ShareLinksListItem {
2993
2512
  id: string;
2994
2513
  orgId: string;
@@ -5315,6 +4834,169 @@ export interface AuditLogsExportInput {
5315
4834
  export interface AuditLogsExportResponse {
5316
4835
  message?: string;
5317
4836
  }
4837
+ export interface IntegrationsListAvailableResponse {
4838
+ integrations: {
4839
+ key: string;
4840
+ id: string;
4841
+ name: string;
4842
+ description: string | null;
4843
+ iconUrl: string | null;
4844
+ category: string | null;
4845
+ docsUrl: string | null;
4846
+ capabilities: string[];
4847
+ auth: {
4848
+ setupFlow: 'oauth_only' | 'credential_form' | 'oauth_then_configure' | 'none';
4849
+ fields?: {
4850
+ key: string;
4851
+ label: string;
4852
+ type: 'text' | 'password' | 'url' | 'select' | 'textarea';
4853
+ required: boolean;
4854
+ placeholder?: string;
4855
+ helpText?: string;
4856
+ options?: {
4857
+ value: string;
4858
+ label: string;
4859
+ }[];
4860
+ pattern?: string;
4861
+ minLength?: number;
4862
+ maxLength?: number;
4863
+ }[];
4864
+ };
4865
+ configured: boolean;
4866
+ installed: boolean;
4867
+ installationId: string | null;
4868
+ entitled: boolean;
4869
+ }[];
4870
+ }
4871
+ export interface IntegrationsListInstalledResponse {
4872
+ integrations: {
4873
+ installationId: string;
4874
+ integrationKey: string;
4875
+ status: string;
4876
+ installedAt: string | string;
4877
+ connectionCount: number;
4878
+ lastErrorCode: string | null;
4879
+ }[];
4880
+ }
4881
+ export interface IntegrationsInstallInput {
4882
+ integrationKey: string;
4883
+ }
4884
+ export interface IntegrationsInstallResponse {
4885
+ installationId: string;
4886
+ integrationKey: string;
4887
+ status: string;
4888
+ installedAt: string | string;
4889
+ }
4890
+ export interface IntegrationsUninstallResponse {
4891
+ uninstalled: true;
4892
+ }
4893
+ export interface IntegrationsInitiateOauthAuthorisationInput {
4894
+ integrationKey: string;
4895
+ }
4896
+ export interface IntegrationsInitiateOauthAuthorisationResponse {
4897
+ redirectUrl: string;
4898
+ }
4899
+ export interface IntegrationsCompleteOauthAuthorisationInput {
4900
+ integrationKey: string;
4901
+ code: string;
4902
+ state: string;
4903
+ }
4904
+ export interface IntegrationsCompleteOauthAuthorisationResponse {
4905
+ connectionId: string;
4906
+ integrationKey: string;
4907
+ displayName: string | null;
4908
+ isNew: boolean;
4909
+ }
4910
+ export interface IntegrationsListConnectionsProviderResponse {
4911
+ connections: {
4912
+ id: string;
4913
+ provider: string;
4914
+ providerAccountId: string | null;
4915
+ displayName: string | null;
4916
+ status: string;
4917
+ scopes: string[];
4918
+ connectedAt: string | string;
4919
+ lastRefreshedAt: (string | string) | null;
4920
+ }[];
4921
+ }
4922
+ export interface IntegrationsRevokeConnectionResponse {
4923
+ revoked: true;
4924
+ }
4925
+ export interface IntegrationsRefreshConnectionTokensResponse {
4926
+ refreshed: true;
4927
+ }
4928
+ export interface IntegrationsListAppConfigsResponse {
4929
+ configs: {
4930
+ id: string;
4931
+ appId: string;
4932
+ connectedAccountId: string;
4933
+ settings: Record<string, unknown>;
4934
+ notificationRules: unknown[];
4935
+ enabled: boolean;
4936
+ createdAt: string | string;
4937
+ updatedAt: string | string;
4938
+ }[];
4939
+ }
4940
+ export interface IntegrationsCreateAppConfigInput {
4941
+ connectedAccountId: string;
4942
+ settings?: Record<string, unknown>;
4943
+ notificationRules?: Record<string, unknown>[];
4944
+ }
4945
+ export interface IntegrationsCreateAppConfigResponse {
4946
+ id: string;
4947
+ appId: string;
4948
+ connectedAccountId: string;
4949
+ settings: Record<string, unknown>;
4950
+ notificationRules: unknown[];
4951
+ enabled: boolean;
4952
+ createdAt: string | string;
4953
+ updatedAt: string | string;
4954
+ }
4955
+ export interface IntegrationsUpdateAppConfigInput {
4956
+ settings?: Record<string, unknown>;
4957
+ notificationRules?: Record<string, unknown>[];
4958
+ enabled?: boolean;
4959
+ }
4960
+ export interface IntegrationsUpdateAppConfigResponse {
4961
+ id: string;
4962
+ appId: string;
4963
+ connectedAccountId: string;
4964
+ settings: Record<string, unknown>;
4965
+ notificationRules: unknown[];
4966
+ enabled: boolean;
4967
+ createdAt: string | string;
4968
+ updatedAt: string | string;
4969
+ }
4970
+ export interface IntegrationsDeleteAppConfigResponse {
4971
+ deleted: true;
4972
+ }
4973
+ export interface IntegrationsAdminListEntitlementOverridesOrganisationResponse {
4974
+ overrides: {
4975
+ id: string;
4976
+ orgId: string;
4977
+ integrationKey: string;
4978
+ type: 'allow' | 'deny';
4979
+ reason: string | null;
4980
+ grantedAt: string | string;
4981
+ }[];
4982
+ }
4983
+ export interface IntegrationsAdminCreateEntitlementOverrideInput {
4984
+ orgId: string;
4985
+ integrationKey: string;
4986
+ type: 'allow' | 'deny';
4987
+ reason?: string;
4988
+ }
4989
+ export interface IntegrationsAdminCreateEntitlementOverrideResponse {
4990
+ id: string;
4991
+ orgId: string;
4992
+ integrationKey: string;
4993
+ type: 'allow' | 'deny';
4994
+ reason: string | null;
4995
+ grantedAt: string | string;
4996
+ }
4997
+ export interface IntegrationsAdminDeleteEntitlementOverrideResponse {
4998
+ deleted: true;
4999
+ }
5318
5000
  export interface WebhooksReceiveExternalProviderResponse {
5319
5001
  success: boolean;
5320
5002
  payloadId?: string;
@@ -5696,136 +5378,6 @@ export interface WorkflowsListNodeTypesItem {
5696
5378
  label: string;
5697
5379
  description: string;
5698
5380
  }
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
5381
  export interface HealthReadinessProbeCoreServicesResponse {
5830
5382
  healthy: boolean;
5831
5383
  timestamp: string;
@@ -5894,20 +5446,6 @@ export interface HealthBillingServiceCheckResponse {
5894
5446
  /** Whether Polar integration is enabled */
5895
5447
  polarEnabled: boolean;
5896
5448
  }
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
5449
  export interface HealthGetAnalyticsStatusResponse {
5912
5450
  status: 'healthy' | 'degraded' | 'unhealthy';
5913
5451
  checks: {
@@ -6157,16 +5695,6 @@ export interface GetAnalyticsRegistryQuery {
6157
5695
  rollupStrategy?: 'sum' | 'latest' | 'hll' | 'complex';
6158
5696
  unitLabel?: 'ms' | 'bytes' | 'count' | 'percent' | 'basis_points';
6159
5697
  }
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
5698
  /**
6171
5699
  * Query parameters for getPortalUrl
6172
5700
  */
@@ -6183,28 +5711,6 @@ export interface GetBillingOrdersQuery {
6183
5711
  /** Items per page (default: 20, max: 100) */
6184
5712
  limit?: number;
6185
5713
  }
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
5714
  /**
6209
5715
  * Query parameters for list
6210
5716
  */
@@ -6379,6 +5885,13 @@ export interface GetAuditLogsQuery {
6379
5885
  tags?: string;
6380
5886
  search?: string;
6381
5887
  }
5888
+ /**
5889
+ * Query parameters for listAvailable
5890
+ */
5891
+ export interface GetIntegrationsAvailableQuery {
5892
+ category?: string;
5893
+ capability?: string;
5894
+ }
6382
5895
  /**
6383
5896
  * Query parameters for listEndpoints
6384
5897
  */
@@ -6437,39 +5950,4 @@ export interface GetWorkflowsNodeTypesQuery {
6437
5950
  page?: number;
6438
5951
  limit?: number;
6439
5952
  }
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
5953
  //# sourceMappingURL=index.d.ts.map