@envsync-cloud/envsync-ts-sdk 0.20.0 → 0.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -414,7 +414,18 @@ type WhoAmIResponse = {
414
414
  is_active: boolean;
415
415
  }>;
416
416
  active_membership_user_id: string;
417
- };
417
+ features: Array<string>;
418
+ install_features: Array<string>;
419
+ auth_type: WhoAmIResponse.auth_type;
420
+ };
421
+ declare namespace WhoAmIResponse {
422
+ enum auth_type {
423
+ JWT = "jwt",
424
+ SAML = "saml",
425
+ OIDC = "oidc",
426
+ API_KEY = "api_key"
427
+ }
428
+ }
418
429
 
419
430
  declare class AuthenticationService {
420
431
  readonly httpRequest: BaseHttpRequest;
@@ -1441,6 +1452,207 @@ declare class EnterpriseService {
1441
1452
  listEnterpriseSyncAuditEvents(syncRunId: string): CancelablePromise<SyncAuditEventsResponse>;
1442
1453
  }
1443
1454
 
1455
+ type CreateOrgKmsCredentialRequest = {
1456
+ key: string;
1457
+ value: string;
1458
+ description?: string | null;
1459
+ };
1460
+
1461
+ type OrgKmsAppKeyInfo = {
1462
+ app_id: string;
1463
+ name: string;
1464
+ key_version_id: string | null;
1465
+ version: number | null;
1466
+ encryption_count: number | null;
1467
+ max_encryptions: number | null;
1468
+ status: string;
1469
+ };
1470
+
1471
+ type OrgKmsAppsResponse = {
1472
+ apps: Array<OrgKmsAppKeyInfo>;
1473
+ };
1474
+
1475
+ type OrgKmsCredentialResponse = {
1476
+ id: string;
1477
+ org_id: string;
1478
+ key: string;
1479
+ description: string | null;
1480
+ configured: boolean;
1481
+ created_at: string;
1482
+ updated_at: string;
1483
+ };
1484
+
1485
+ type OrgKmsConfigResponse = {
1486
+ org_id: string;
1487
+ source: OrgKmsConfigResponse.source;
1488
+ status: OrgKmsConfigResponse.status;
1489
+ key_ref: string | null;
1490
+ region: string | null;
1491
+ credential_secret_id: string | null;
1492
+ kek_version: number;
1493
+ last_verified_at: string | null;
1494
+ last_error: string | null;
1495
+ implicit: boolean;
1496
+ credentials?: Array<OrgKmsCredentialResponse>;
1497
+ };
1498
+ declare namespace OrgKmsConfigResponse {
1499
+ enum source {
1500
+ MANAGED = "managed",
1501
+ AWS_KMS = "aws-kms",
1502
+ GCP_KMS = "gcp-kms",
1503
+ AZURE_KV = "azure-kv"
1504
+ }
1505
+ enum status {
1506
+ ACTIVE = "active",
1507
+ PENDING = "pending",
1508
+ ROTATING = "rotating",
1509
+ UNAVAILABLE = "unavailable",
1510
+ DISABLED = "disabled"
1511
+ }
1512
+ }
1513
+
1514
+ type OrgKmsJobResponse = {
1515
+ id: string;
1516
+ org_id: string;
1517
+ app_id: string | null;
1518
+ kind: OrgKmsJobResponse.kind;
1519
+ status: OrgKmsJobResponse.status;
1520
+ progress: Record<string, any>;
1521
+ error_message: string | null;
1522
+ created_by: string | null;
1523
+ created_at: string;
1524
+ updated_at: string;
1525
+ };
1526
+ declare namespace OrgKmsJobResponse {
1527
+ enum kind {
1528
+ KEK_REWRAP = "kek_rewrap",
1529
+ DEK_REWRAP = "dek_rewrap",
1530
+ DETACH_MANAGED = "detach_managed"
1531
+ }
1532
+ enum status {
1533
+ PENDING = "pending",
1534
+ RUNNING = "running",
1535
+ SUCCEEDED = "succeeded",
1536
+ FAILED = "failed"
1537
+ }
1538
+ }
1539
+
1540
+ type OrgKmsVerifyResponse = {
1541
+ ok: boolean;
1542
+ source: OrgKmsVerifyResponse.source;
1543
+ status: OrgKmsVerifyResponse.status;
1544
+ last_verified_at: string;
1545
+ };
1546
+ declare namespace OrgKmsVerifyResponse {
1547
+ enum source {
1548
+ MANAGED = "managed",
1549
+ AWS_KMS = "aws-kms",
1550
+ GCP_KMS = "gcp-kms",
1551
+ AZURE_KV = "azure-kv"
1552
+ }
1553
+ enum status {
1554
+ ACTIVE = "active",
1555
+ PENDING = "pending",
1556
+ ROTATING = "rotating",
1557
+ UNAVAILABLE = "unavailable",
1558
+ DISABLED = "disabled"
1559
+ }
1560
+ }
1561
+
1562
+ type UpdateOrgKmsConfigRequest = {
1563
+ source: UpdateOrgKmsConfigRequest.source;
1564
+ key_ref?: string | null;
1565
+ region?: string | null;
1566
+ credential_secret_id?: string | null;
1567
+ };
1568
+ declare namespace UpdateOrgKmsConfigRequest {
1569
+ enum source {
1570
+ MANAGED = "managed",
1571
+ AWS_KMS = "aws-kms",
1572
+ GCP_KMS = "gcp-kms",
1573
+ AZURE_KV = "azure-kv"
1574
+ }
1575
+ }
1576
+
1577
+ declare class EnterpriseCmkService {
1578
+ readonly httpRequest: BaseHttpRequest;
1579
+ constructor(httpRequest: BaseHttpRequest);
1580
+ /**
1581
+ * Break-glass detach organization CMK
1582
+ * Hosted platform API. Enqueues detach-to-managed even if the org lost the kms grant or status is unavailable. Does not call ensureTenantKek.
1583
+ * @param xEnvSyncPlatformToken
1584
+ * @param orgId
1585
+ * @returns OrgKmsJobResponse Already on managed wrapping
1586
+ * @throws ApiError
1587
+ */
1588
+ breakGlassDetachOrgKms(xEnvSyncPlatformToken: string, orgId: string): CancelablePromise<OrgKmsJobResponse>;
1589
+ /**
1590
+ * Get organization KMS config
1591
+ * Returns implicit managed/active when no org_kms_config row exists. Never returns key material.
1592
+ * @returns OrgKmsConfigResponse Organization KMS config
1593
+ * @throws ApiError
1594
+ */
1595
+ getOrgKmsConfig(): CancelablePromise<OrgKmsConfigResponse>;
1596
+ /**
1597
+ * Update organization KMS config
1598
+ * Self-host cloud sources return 403 CMK_HOSTED_ONLY. Hosted persists cloud source as pending until attach.
1599
+ * @param requestBody
1600
+ * @returns OrgKmsConfigResponse Organization KMS config updated
1601
+ * @throws ApiError
1602
+ */
1603
+ updateOrgKmsConfig(requestBody?: UpdateOrgKmsConfigRequest): CancelablePromise<OrgKmsConfigResponse>;
1604
+ /**
1605
+ * Create a purpose=kms org secret
1606
+ * Encrypts the value under scope __kms_config__ before insert. Does not require the integrations feature.
1607
+ * @param requestBody
1608
+ * @returns OrgKmsCredentialResponse Credential created (value redacted)
1609
+ * @throws ApiError
1610
+ */
1611
+ createOrgKmsCredential(requestBody?: CreateOrgKmsCredentialRequest): CancelablePromise<OrgKmsCredentialResponse>;
1612
+ /**
1613
+ * Verify organization KMS
1614
+ * Managed source succeeds immediately. Cloud verify unwraps or first-wraps the tenant KEK.
1615
+ * @returns OrgKmsVerifyResponse Verify result
1616
+ * @throws ApiError
1617
+ */
1618
+ verifyOrgKms(): CancelablePromise<OrgKmsVerifyResponse>;
1619
+ /**
1620
+ * Rotate organization KEK
1621
+ * Re-wraps wrapped_kek under the current key_ref. Hosted cloud-only; does not rewrap DEKs.
1622
+ * @returns OrgKmsConfigResponse KEK rotated
1623
+ * @throws ApiError
1624
+ */
1625
+ rotateOrgKmsKek(): CancelablePromise<OrgKmsConfigResponse>;
1626
+ /**
1627
+ * Attach organization CMK
1628
+ * Enqueues DEK rewrap under the tenant KEK with allow_root_unwrap during the attach window. Hosted only.
1629
+ * @returns OrgKmsJobResponse Attach job enqueued
1630
+ * @throws ApiError
1631
+ */
1632
+ attachOrgKms(): CancelablePromise<OrgKmsJobResponse>;
1633
+ /**
1634
+ * Detach organization CMK to managed
1635
+ * Enqueues detach_managed. Does not call ensureTenantKek when status is unavailable.
1636
+ * @returns OrgKmsJobResponse Detach job enqueued
1637
+ * @throws ApiError
1638
+ */
1639
+ detachOrgKms(): CancelablePromise<OrgKmsJobResponse>;
1640
+ /**
1641
+ * Get organization KMS job
1642
+ * @param id
1643
+ * @returns OrgKmsJobResponse KMS job
1644
+ * @throws ApiError
1645
+ */
1646
+ getOrgKmsJob(id: string): CancelablePromise<OrgKmsJobResponse>;
1647
+ /**
1648
+ * List per-app KMS key info
1649
+ * Calls GetKeyInfo per app. Never returns key material.
1650
+ * @returns OrgKmsAppsResponse Per-app key metadata
1651
+ * @throws ApiError
1652
+ */
1653
+ listOrgKmsApps(): CancelablePromise<OrgKmsAppsResponse>;
1654
+ }
1655
+
1444
1656
  type CreateEnvTypeRequest = {
1445
1657
  name: string;
1446
1658
  color?: string;
@@ -2730,6 +2942,62 @@ declare class OrganizationsService {
2730
2942
  checkIfSlugExists(slug: string): CancelablePromise<CheckSlugResponse>;
2731
2943
  }
2732
2944
 
2945
+ type OrgFeatureGrantResponse = {
2946
+ org_id: string;
2947
+ unrestricted: boolean;
2948
+ features: Array<string>;
2949
+ source: string | null;
2950
+ updated_by: string | null;
2951
+ created_at: string | null;
2952
+ updated_at: string | null;
2953
+ };
2954
+
2955
+ type PutOrgFeatureGrantRequest = {
2956
+ features: Array<string>;
2957
+ source?: PutOrgFeatureGrantRequest.source;
2958
+ updated_by?: string;
2959
+ };
2960
+ declare namespace PutOrgFeatureGrantRequest {
2961
+ enum source {
2962
+ BILLING = "billing",
2963
+ SUPPORT = "support",
2964
+ SEED = "seed"
2965
+ }
2966
+ }
2967
+
2968
+ declare class OrgFeaturesService {
2969
+ readonly httpRequest: BaseHttpRequest;
2970
+ constructor(httpRequest: BaseHttpRequest);
2971
+ /**
2972
+ * Get Organization Feature Grant
2973
+ * Hosted platform API. No row means unrestricted (full catalog).
2974
+ * @param xEnvSyncPlatformToken
2975
+ * @param orgId
2976
+ * @returns OrgFeatureGrantResponse Organization feature grant
2977
+ * @throws ApiError
2978
+ */
2979
+ getOrgFeatureGrant(xEnvSyncPlatformToken: string, orgId: string): CancelablePromise<OrgFeatureGrantResponse>;
2980
+ /**
2981
+ * Replace Organization Feature Grant
2982
+ * Full replace. Empty features[] denies every EE feature. Unknown catalog keys are dropped.
2983
+ * @param xEnvSyncPlatformToken
2984
+ * @param orgId
2985
+ * @param requestBody
2986
+ * @returns OrgFeatureGrantResponse Organization feature grant replaced
2987
+ * @throws ApiError
2988
+ */
2989
+ putOrgFeatureGrant(xEnvSyncPlatformToken: string, orgId: string, requestBody?: PutOrgFeatureGrantRequest): CancelablePromise<OrgFeatureGrantResponse>;
2990
+ /**
2991
+ * Delete Organization Feature Grant
2992
+ * Drops the grant row so the organization is unrestricted.
2993
+ * @param xEnvSyncPlatformToken
2994
+ * @param orgId
2995
+ * @returns OrgFeatureGrantResponse Grant deleted; organization unrestricted
2996
+ * @throws ApiError
2997
+ */
2998
+ deleteOrgFeatureGrant(xEnvSyncPlatformToken: string, orgId: string): CancelablePromise<OrgFeatureGrantResponse>;
2999
+ }
3000
+
2733
3001
  type EffectiveAccessEntry = {
2734
3002
  user_id: string;
2735
3003
  email: string;
@@ -3164,15 +3432,23 @@ type CreateSamlProviderRequest = {
3164
3432
  /**
3165
3433
  * SAML entity ID (issuer) from the IdP metadata
3166
3434
  */
3167
- entity_id: string;
3435
+ entity_id?: string;
3168
3436
  /**
3169
3437
  * IdP SSO login URL
3170
3438
  */
3171
- sso_url: string;
3439
+ sso_url?: string;
3172
3440
  /**
3173
3441
  * IdP X.509 certificate (PEM format) for signature validation
3174
3442
  */
3175
- certificate: string;
3443
+ certificate?: string;
3444
+ /**
3445
+ * Optional IdP metadata XML. When set, entity_id, sso_url, and certificate are parsed from it.
3446
+ */
3447
+ idp_metadata_xml?: string;
3448
+ /**
3449
+ * Mark this provider as the default IdP for the organization
3450
+ */
3451
+ is_default?: boolean;
3176
3452
  };
3177
3453
  declare namespace CreateSamlProviderRequest {
3178
3454
  /**
@@ -3197,8 +3473,12 @@ type SamlProviderResponse = {
3197
3473
  name: string;
3198
3474
  entity_id: string;
3199
3475
  sso_url: string;
3200
- certificate: string;
3476
+ certificate?: string;
3477
+ certificate_fingerprint?: string;
3478
+ certificate_not_after?: string | null;
3201
3479
  enabled: boolean;
3480
+ is_default: boolean;
3481
+ last_sso_at?: string | null;
3202
3482
  created_at: string;
3203
3483
  updated_at: string;
3204
3484
  };
@@ -3223,6 +3503,8 @@ type UpdateSamlProviderRequest = {
3223
3503
  sso_url?: string;
3224
3504
  certificate?: string;
3225
3505
  enabled?: boolean;
3506
+ is_default?: boolean;
3507
+ idp_metadata_xml?: string;
3226
3508
  };
3227
3509
 
3228
3510
  declare class SamlProvidersService {
@@ -3245,7 +3527,7 @@ declare class SamlProvidersService {
3245
3527
  getAllSamlProviders(): CancelablePromise<SamlProvidersResponse>;
3246
3528
  /**
3247
3529
  * Get SAML Provider
3248
- * Retrieve a specific SAML provider
3530
+ * Retrieve a specific SAML provider. Certificate PEM is omitted unless include=certificate.
3249
3531
  * @param id
3250
3532
  * @returns SamlProviderResponse SAML provider retrieved successfully
3251
3533
  * @throws ApiError
@@ -3270,19 +3552,19 @@ declare class SamlProvidersService {
3270
3552
  deleteSamlProvider(id: string): CancelablePromise<ErrorResponse>;
3271
3553
  /**
3272
3554
  * Get SAML SP Metadata
3273
- * Retrieve SAML Service Provider metadata XML for the organization
3555
+ * Redirects to the public SP metadata URL for this organization
3274
3556
  * @param id
3275
- * @returns string SP metadata XML
3557
+ * @returns void
3276
3558
  * @throws ApiError
3277
3559
  */
3278
- getSamlMetadata(id: string): CancelablePromise<string>;
3560
+ getSamlMetadata(id: string): CancelablePromise<void>;
3279
3561
  }
3280
3562
 
3281
- type SamlSsoRequest = {
3563
+ type PublicSamlSsoRequest = {
3282
3564
  /**
3283
- * SAML provider ID to initiate SSO with
3565
+ * Optional SAML provider ID. Must belong to the organization and be enabled.
3284
3566
  */
3285
- provider_id: string;
3567
+ provider_id?: string;
3286
3568
  };
3287
3569
 
3288
3570
  type SamlSsoResponse = {
@@ -3300,21 +3582,38 @@ declare class SamlSsoService {
3300
3582
  readonly httpRequest: BaseHttpRequest;
3301
3583
  constructor(httpRequest: BaseHttpRequest);
3302
3584
  /**
3303
- * Initiate SAML SSO
3304
- * Start SP-initiated SAML SSO flow by generating an AuthnRequest redirect URL
3305
- * @param requestBody
3306
- * @returns SamlSsoResponse Redirect URL generated
3585
+ * Get public SAML SP metadata
3586
+ * Unauthenticated SP metadata XML for the organization
3587
+ * @param orgId
3588
+ * @returns string SP metadata XML
3307
3589
  * @throws ApiError
3308
3590
  */
3309
- initiateSamlSso(requestBody?: SamlSsoRequest): CancelablePromise<SamlSsoResponse>;
3591
+ getPublicSamlMetadata(orgId: string): CancelablePromise<string>;
3310
3592
  /**
3311
3593
  * SAML Assertion Consumer Service
3312
- * Receive and validate SAML Response from the identity provider (ACS endpoint)
3594
+ * Receive and validate a SAML Response from the identity provider
3313
3595
  * @param orgId
3314
- * @returns any Authentication successful
3596
+ * @returns void
3597
+ * @throws ApiError
3598
+ */
3599
+ handlePublicSamlAcs(orgId: string): CancelablePromise<void>;
3600
+ /**
3601
+ * Start SAML SSO
3602
+ * Unauthenticated SP-initiated start. Returns a redirect URL for the login page or CLI.
3603
+ * @param orgSlug
3604
+ * @param requestBody
3605
+ * @returns SamlSsoResponse Redirect URL generated
3315
3606
  * @throws ApiError
3316
3607
  */
3317
- handleSamlAcs(orgId: string): CancelablePromise<any>;
3608
+ startPublicSamlSso(orgSlug: string, requestBody?: PublicSamlSsoRequest): CancelablePromise<SamlSsoResponse>;
3609
+ /**
3610
+ * Bookmark SAML SSO start
3611
+ * Success redirects to the IdP. Any error redirects to the dashboard login page.
3612
+ * @param orgSlug
3613
+ * @returns void
3614
+ * @throws ApiError
3615
+ */
3616
+ startPublicSamlSsoRedirect(orgSlug: string): CancelablePromise<void>;
3318
3617
  }
3319
3618
 
3320
3619
  type BatchCreateSecretsRequest = {
@@ -3844,6 +4143,14 @@ type SystemStatusState = {
3844
4143
  landing_enabled: boolean;
3845
4144
  first_bootstrap_completed_at?: string | null;
3846
4145
  org_count: number;
4146
+ entitlement?: {
4147
+ present: boolean;
4148
+ source: string | null;
4149
+ in_grace: boolean;
4150
+ features: Array<string>;
4151
+ max_orgs: number | null;
4152
+ expires_at: string | null;
4153
+ };
3847
4154
  };
3848
4155
  declare namespace SystemStatusState {
3849
4156
  enum edition {
@@ -4253,6 +4560,7 @@ declare class EnvSyncAPISDK {
4253
4560
  readonly changeRequests: ChangeRequestsService;
4254
4561
  readonly dynamicSecrets: DynamicSecretsService;
4255
4562
  readonly enterprise: EnterpriseService;
4563
+ readonly enterpriseCmk: EnterpriseCmkService;
4256
4564
  readonly environmentTypes: EnvironmentTypesService;
4257
4565
  readonly environmentVariables: EnvironmentVariablesService;
4258
4566
  readonly environmentVariablesPointInTime: EnvironmentVariablesPointInTimeService;
@@ -4264,6 +4572,7 @@ declare class EnvSyncAPISDK {
4264
4572
  readonly oidcProviders: OidcProvidersService;
4265
4573
  readonly onboarding: OnboardingService;
4266
4574
  readonly organizations: OrganizationsService;
4575
+ readonly orgFeatures: OrgFeaturesService;
4267
4576
  readonly permissions: PermissionsService;
4268
4577
  readonly roles: RolesService;
4269
4578
  readonly rotation: RotationService;
@@ -4299,6 +4608,18 @@ declare class ApiError extends Error {
4299
4608
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
4300
4609
  }
4301
4610
 
4611
+ type OrgFeatureGrantParam = {
4612
+ orgId: string;
4613
+ };
4614
+
4615
+ type OrgKmsBreakGlassParam = {
4616
+ orgId: string;
4617
+ };
4618
+
4619
+ type OrgKmsJobParam = {
4620
+ id: string;
4621
+ };
4622
+
4302
4623
  type UploadFileError = {
4303
4624
  error: string;
4304
4625
  };
@@ -4308,4 +4629,4 @@ type UploadFileError = {
4308
4629
  */
4309
4630
  type XEnvSyncOrgIdHeader = string;
4310
4631
 
4311
- export { type AcceptOrgInviteRequest, type AcceptOrgInviteResponse, type AcceptUserInviteRequest, type AcceptUserInviteResponse, AccessService, type AddTeamMemberRequest, ApiError, type ApiKeyResponse, type ApiKeysResponse, ApiKeysService, ApplicationsService, type AssignTeamRoleRequest, AuditLogsService, AuthenticationService, type BaseCertificateResponse, BaseHttpRequest, type BatchCreateEnvsRequest, type BatchCreateSecretsRequest, type BatchDeleteEnvsRequest, type BatchDeleteSecretsRequest, type BatchEnvsResponse, type BatchSecretsResponse, type CRLResponse, type CallbackResponse, CancelError, CancelablePromise, type CertificateListResponse, CertificatesService, type ChangeRequestListResponse, ChangeRequestResponse, ChangeRequestsService, type CheckSlugResponse, type CleanupResponse, type CreateApiKeyRequest, type CreateAppRequest, type CreateAppResponse, CreateDynamicSecretEngineRequest, type CreateDynamicSecretLeaseRequest, type CreateEnvRequest, type CreateEnvTypeMappingRequest, type CreateEnvTypeRequest, CreateIntegrationBindingRequest, CreateLogForwardingRequest, CreateManualSyncRunRequest, CreateOidcProviderRequest, type CreateOrgInviteRequest, type CreateOrgInviteResponse, type CreateOrgSecretRequest, CreateProviderConnectionRequest, type CreateRoleRequest, CreateRotationPolicyRequest, CreateSamlProviderRequest, type CreateSecretRequest, type CreateServiceTokenRequest, type CreateServiceTokenResponse, type CreateSetupOrgRequest, type CreateTeamRequest, type CreateTeamResponse, type CreateUserInviteRequest, type CreateUserInviteResponse, CreateWebhookRequest, type DeleteAppResponse, type DeleteEnvRequest, type DeleteEnvTypeRequest, type DeleteOrgRequest, type DeleteOrgResponse, type DeleteSecretRequest, type DeleteUserInviteResponse, type DirectChangeRequestBody, DynamicSecretEngineResponse, type DynamicSecretEnginesResponse, type DynamicSecretLeaseResponse, type DynamicSecretLeasesResponse, DynamicSecretsService, EffectiveAccessEntry, type EffectiveAccessResponse, type EffectivePermissionsResponse, EnterpriseProviderProfile, type EnterpriseProvidersResponse, EnterpriseService, type EnvDiffRequest, type EnvDiffResponse, type EnvHistoryRequest, type EnvHistoryResponse, type EnvPitRequest, type EnvPitStateResponse, type EnvResponse, EnvSyncAPISDK, type EnvTimestampRangeDiffRequest, type EnvTimestampRequest, type EnvTypeMapping, type EnvTypeMappingsResponse, type EnvTypeResponse, type EnvTypesResponse, EnvironmentTypesService, EnvironmentVariablesPointInTimeService, EnvironmentVariablesRollbackService, EnvironmentVariablesService, type EnvsResponse, type ErrorResponse, ExportEnvRequest, type ExportEnvResponse, type ExportKeyResponse, type ExtendGpgKeyExpiryRequest, FileUploadService, GenerateGpgKeyRequest, type GetAppResponse, type GetAppsResponse, type GetAuditLogsResponse, type GetAuditLogsResponseWrapper, type GetEnvRequest, type GetOrgInviteByCodeResponse, type GetSecretRequest, type GetTeamResponse, type GetTeamsResponse, type GetUserInviteByTokenResponse, type GpgKeyDetailResponse, type GpgKeyResponse, type GpgKeysResponse, GpgKeysService, GrantAccessRequest, GrantEntry, type GrantsListResponse, type ImportGpgKeyRequest, type InitOrgCARequest, IntegrationBinding, type IntegrationBindingsResponse, type IssueMemberCertRequest, type LicenseActionResponse, LicenseService, LicenseState, type LicenseStatusResponse, LogForwardingResponse, LogForwardingService, type LogForwardingsResponse, type LoginUrlResponse, type LogoutUrlResponse, type MemberCertResponse, type MyCertificateBundleResponse, type OCSPResponse, OidcProviderResponse, type OidcProvidersResponse, OidcProvidersService, OnboardingService, OpenAPI, type OpenAPIConfig, type OrgCAResponse, type OrgResponse, type OrgSecret, type OrgSecretModelResponse, type OrgSecretsResponse, OrganizationsService, type PermissionMessageResponse, PermissionsService, type PromotionChangeRequestBody, ProviderConnection, type ProviderConnectionsResponse, type RegenerateApiKeyResponse, type RejectChangeRequestBody, type RenewCertRequest, type RevealSecretsRequest, type RevealSecretsResponse, RevokeAccessRequest, type RevokeCertRequest, type RevokeCertResponse, type RevokeGpgKeyRequest, type RevokeLeaseResponse, type RevokeOldCredentialResponse, type RoleResponse, type RoleStatsResponse, type RolesResponse, RolesService, type RollbackResponse, type RollbackSecretsResponse, type RollbackSecretsToPitRequest, type RollbackSecretsToTimestampRequest, type RollbackToPitRequest, type RollbackToTimestampRequest, type RootCAResponse, type RotateCertRequest, RotateGpgKeyRequest, type RotationPoliciesResponse, RotationPolicyResponse, RotationService, type RotationStateResponse, type RotationStatesResponse, SamlProviderResponse, type SamlProvidersResponse, SamlProvidersService, type SamlSsoRequest, type SamlSsoResponse, SamlSsoService, type SecretDiffRequest, type SecretDiffResponse, type SecretHistoryRequest, type SecretHistoryResponse, type SecretPitRequest, type SecretPitStateResponse, type SecretResponse, type SecretTimestampRangeDiffRequest, type SecretTimestampRequest, SecretVariableRollbackResponse, type SecretVariableRollbackToPitRequest, type SecretVariableRollbackToTimestampRequest, type SecretVariableTimelineRequest, type SecretVariableTimelineResponse, SecretsPointInTimeService, type SecretsResponse, SecretsRollbackService, SecretsService, type ServiceTokenPermissions, type ServiceTokenResponse, type ServiceTokensResponse, ServiceTokensService, SetupService, SetupStatusResponse, SignDataRequest, type SignatureResponse, SyncAuditEvent, type SyncAuditEventsResponse, SyncRun, type SyncRunsResponse, SystemService, type SystemStatusResponse, SystemStatusState, type TeamMessageResponse, TeamsService, type TriggerRotationResponse, type UpdateApiKeyRequest, type UpdateAppRequest, type UpdateAppResponse, type UpdateDynamicSecretEngineRequest, type UpdateEnvRequest, type UpdateEnvTypeMappingRequest, type UpdateEnvTypeRequest, type UpdateIntegrationBindingRequest, type UpdateOidcProviderRequest, type UpdateOrgRequest, type UpdateOrgSecretRequest, UpdateProviderConnectionRequest, type UpdateRoleRequest, type UpdateRotationPolicyRequest, type UpdateSamlProviderRequest, type UpdateSecretRequest, type UpdateTeamRequest, UpdateTrustLevelRequest, type UpdateUserInviteRequest, type UpdateUserInviteResponse, type UpdateUserRequest, UpdateWebhookRequest, type UploadFileError, type UploadFileResponse, type UserResponse, type UsersResponse, UsersService, VariableRollbackResponse, type VariableRollbackToPitRequest, type VariableRollbackToTimestampRequest, type VariableTimelineRequest, type VariableTimelineResponse, type VerifyResponse, type VerifySignatureRequest, WebhookResponse, type WebhooksResponse, WebhooksService, type WhoAmIResponse, type XEnvSyncOrgIdHeader };
4632
+ export { type AcceptOrgInviteRequest, type AcceptOrgInviteResponse, type AcceptUserInviteRequest, type AcceptUserInviteResponse, AccessService, type AddTeamMemberRequest, ApiError, type ApiKeyResponse, type ApiKeysResponse, ApiKeysService, ApplicationsService, type AssignTeamRoleRequest, AuditLogsService, AuthenticationService, type BaseCertificateResponse, BaseHttpRequest, type BatchCreateEnvsRequest, type BatchCreateSecretsRequest, type BatchDeleteEnvsRequest, type BatchDeleteSecretsRequest, type BatchEnvsResponse, type BatchSecretsResponse, type CRLResponse, type CallbackResponse, CancelError, CancelablePromise, type CertificateListResponse, CertificatesService, type ChangeRequestListResponse, ChangeRequestResponse, ChangeRequestsService, type CheckSlugResponse, type CleanupResponse, type CreateApiKeyRequest, type CreateAppRequest, type CreateAppResponse, CreateDynamicSecretEngineRequest, type CreateDynamicSecretLeaseRequest, type CreateEnvRequest, type CreateEnvTypeMappingRequest, type CreateEnvTypeRequest, CreateIntegrationBindingRequest, CreateLogForwardingRequest, CreateManualSyncRunRequest, CreateOidcProviderRequest, type CreateOrgInviteRequest, type CreateOrgInviteResponse, type CreateOrgKmsCredentialRequest, type CreateOrgSecretRequest, CreateProviderConnectionRequest, type CreateRoleRequest, CreateRotationPolicyRequest, CreateSamlProviderRequest, type CreateSecretRequest, type CreateServiceTokenRequest, type CreateServiceTokenResponse, type CreateSetupOrgRequest, type CreateTeamRequest, type CreateTeamResponse, type CreateUserInviteRequest, type CreateUserInviteResponse, CreateWebhookRequest, type DeleteAppResponse, type DeleteEnvRequest, type DeleteEnvTypeRequest, type DeleteOrgRequest, type DeleteOrgResponse, type DeleteSecretRequest, type DeleteUserInviteResponse, type DirectChangeRequestBody, DynamicSecretEngineResponse, type DynamicSecretEnginesResponse, type DynamicSecretLeaseResponse, type DynamicSecretLeasesResponse, DynamicSecretsService, EffectiveAccessEntry, type EffectiveAccessResponse, type EffectivePermissionsResponse, EnterpriseCmkService, EnterpriseProviderProfile, type EnterpriseProvidersResponse, EnterpriseService, type EnvDiffRequest, type EnvDiffResponse, type EnvHistoryRequest, type EnvHistoryResponse, type EnvPitRequest, type EnvPitStateResponse, type EnvResponse, EnvSyncAPISDK, type EnvTimestampRangeDiffRequest, type EnvTimestampRequest, type EnvTypeMapping, type EnvTypeMappingsResponse, type EnvTypeResponse, type EnvTypesResponse, EnvironmentTypesService, EnvironmentVariablesPointInTimeService, EnvironmentVariablesRollbackService, EnvironmentVariablesService, type EnvsResponse, type ErrorResponse, ExportEnvRequest, type ExportEnvResponse, type ExportKeyResponse, type ExtendGpgKeyExpiryRequest, FileUploadService, GenerateGpgKeyRequest, type GetAppResponse, type GetAppsResponse, type GetAuditLogsResponse, type GetAuditLogsResponseWrapper, type GetEnvRequest, type GetOrgInviteByCodeResponse, type GetSecretRequest, type GetTeamResponse, type GetTeamsResponse, type GetUserInviteByTokenResponse, type GpgKeyDetailResponse, type GpgKeyResponse, type GpgKeysResponse, GpgKeysService, GrantAccessRequest, GrantEntry, type GrantsListResponse, type ImportGpgKeyRequest, type InitOrgCARequest, IntegrationBinding, type IntegrationBindingsResponse, type IssueMemberCertRequest, type LicenseActionResponse, LicenseService, LicenseState, type LicenseStatusResponse, LogForwardingResponse, LogForwardingService, type LogForwardingsResponse, type LoginUrlResponse, type LogoutUrlResponse, type MemberCertResponse, type MyCertificateBundleResponse, type OCSPResponse, OidcProviderResponse, type OidcProvidersResponse, OidcProvidersService, OnboardingService, OpenAPI, type OpenAPIConfig, type OrgCAResponse, type OrgFeatureGrantParam, type OrgFeatureGrantResponse, OrgFeaturesService, type OrgKmsAppKeyInfo, type OrgKmsAppsResponse, type OrgKmsBreakGlassParam, OrgKmsConfigResponse, type OrgKmsCredentialResponse, type OrgKmsJobParam, OrgKmsJobResponse, OrgKmsVerifyResponse, type OrgResponse, type OrgSecret, type OrgSecretModelResponse, type OrgSecretsResponse, OrganizationsService, type PermissionMessageResponse, PermissionsService, type PromotionChangeRequestBody, ProviderConnection, type ProviderConnectionsResponse, type PublicSamlSsoRequest, PutOrgFeatureGrantRequest, type RegenerateApiKeyResponse, type RejectChangeRequestBody, type RenewCertRequest, type RevealSecretsRequest, type RevealSecretsResponse, RevokeAccessRequest, type RevokeCertRequest, type RevokeCertResponse, type RevokeGpgKeyRequest, type RevokeLeaseResponse, type RevokeOldCredentialResponse, type RoleResponse, type RoleStatsResponse, type RolesResponse, RolesService, type RollbackResponse, type RollbackSecretsResponse, type RollbackSecretsToPitRequest, type RollbackSecretsToTimestampRequest, type RollbackToPitRequest, type RollbackToTimestampRequest, type RootCAResponse, type RotateCertRequest, RotateGpgKeyRequest, type RotationPoliciesResponse, RotationPolicyResponse, RotationService, type RotationStateResponse, type RotationStatesResponse, SamlProviderResponse, type SamlProvidersResponse, SamlProvidersService, type SamlSsoResponse, SamlSsoService, type SecretDiffRequest, type SecretDiffResponse, type SecretHistoryRequest, type SecretHistoryResponse, type SecretPitRequest, type SecretPitStateResponse, type SecretResponse, type SecretTimestampRangeDiffRequest, type SecretTimestampRequest, SecretVariableRollbackResponse, type SecretVariableRollbackToPitRequest, type SecretVariableRollbackToTimestampRequest, type SecretVariableTimelineRequest, type SecretVariableTimelineResponse, SecretsPointInTimeService, type SecretsResponse, SecretsRollbackService, SecretsService, type ServiceTokenPermissions, type ServiceTokenResponse, type ServiceTokensResponse, ServiceTokensService, SetupService, SetupStatusResponse, SignDataRequest, type SignatureResponse, SyncAuditEvent, type SyncAuditEventsResponse, SyncRun, type SyncRunsResponse, SystemService, type SystemStatusResponse, SystemStatusState, type TeamMessageResponse, TeamsService, type TriggerRotationResponse, type UpdateApiKeyRequest, type UpdateAppRequest, type UpdateAppResponse, type UpdateDynamicSecretEngineRequest, type UpdateEnvRequest, type UpdateEnvTypeMappingRequest, type UpdateEnvTypeRequest, type UpdateIntegrationBindingRequest, type UpdateOidcProviderRequest, UpdateOrgKmsConfigRequest, type UpdateOrgRequest, type UpdateOrgSecretRequest, UpdateProviderConnectionRequest, type UpdateRoleRequest, type UpdateRotationPolicyRequest, type UpdateSamlProviderRequest, type UpdateSecretRequest, type UpdateTeamRequest, UpdateTrustLevelRequest, type UpdateUserInviteRequest, type UpdateUserInviteResponse, type UpdateUserRequest, UpdateWebhookRequest, type UploadFileError, type UploadFileResponse, type UserResponse, type UsersResponse, UsersService, VariableRollbackResponse, type VariableRollbackToPitRequest, type VariableRollbackToTimestampRequest, type VariableTimelineRequest, type VariableTimelineResponse, type VerifyResponse, type VerifySignatureRequest, WebhookResponse, type WebhooksResponse, WebhooksService, WhoAmIResponse, type XEnvSyncOrgIdHeader };