@haakco/custd-sdk 3.76.0 → 3.77.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.
|
@@ -228,6 +228,10 @@ export type AuthProjectProfileField = {
|
|
|
228
228
|
visibleToApplication: boolean;
|
|
229
229
|
editableBy: string;
|
|
230
230
|
};
|
|
231
|
+
/** Whether hosted realm surfaces show shared product marks. */
|
|
232
|
+
export type AuthProjectBrandMode = "shared" | "white_label";
|
|
233
|
+
/** The realm’s color scheme. */
|
|
234
|
+
export type AuthProjectBrandPalette = "default" | "light" | "dark";
|
|
231
235
|
/**
|
|
232
236
|
* The environment configuration an apply writes. A consumer builds it from these
|
|
233
237
|
* fields alone: `audiences` carries the audience binding, and the remaining
|
|
@@ -251,6 +255,18 @@ export type AuthProjectDesiredState = {
|
|
|
251
255
|
entryPath?: string | null;
|
|
252
256
|
/** The sign-in accent as #rrggbb. Leaving it out keeps it; `""` restores the shared default. */
|
|
253
257
|
brandAccent?: string | null;
|
|
258
|
+
/** Leaving it out or sending null keeps the stored mode. `shared` restores product marks. */
|
|
259
|
+
brandMode?: AuthProjectBrandMode | null;
|
|
260
|
+
/** Leaving it out or sending null keeps the stored palette. `default` restores the shared theme. */
|
|
261
|
+
brandPalette?: AuthProjectBrandPalette | null;
|
|
262
|
+
/** An HTTPS support link on the verified app origin. Null or omission keeps it; `""` clears it. */
|
|
263
|
+
brandSupportUrl?: string | null;
|
|
264
|
+
/** An HTTPS privacy link on the verified app origin. Null or omission keeps it; `""` clears it. */
|
|
265
|
+
brandPrivacyUrl?: string | null;
|
|
266
|
+
/** Registered HTTPS destination from hosted account settings. Null or omission keeps it; `""` clears it. */
|
|
267
|
+
accountReturnUrl?: string | null;
|
|
268
|
+
/** Label for the hosted account return destination. Null or omission keeps it; `""` clears it. */
|
|
269
|
+
accountReturnLabel?: string | null;
|
|
254
270
|
/** The application name shown on invitations and hosted sign-in; empty when none is chosen. */
|
|
255
271
|
displayName?: string;
|
|
256
272
|
/** Which surface owns the display name: `application` or `hosting`. Provenance, never authority. */
|
|
@@ -416,6 +432,8 @@ export type AuthProjectStatus = {
|
|
|
416
432
|
reconcileNote: string;
|
|
417
433
|
loginReady: boolean;
|
|
418
434
|
loginNote: string;
|
|
435
|
+
/** Non-failing configuration guidance, when available. */
|
|
436
|
+
recommendations?: string[] | null;
|
|
419
437
|
clientSync?: AuthProjectClientSync;
|
|
420
438
|
/** Persisted company of this environment's project; null means explicitly unbound, never inferred. */
|
|
421
439
|
companyUuid: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ import { type EventSchemaDocument, type EventSchemaRegisterRequest, type EventSc
|
|
|
49
49
|
import { type SiteAIOwnerSession } from "./site-ai-owner.js";
|
|
50
50
|
export type { AppRelease, AppReleaseCacheMode, AppReleaseCacheRule, AppReleaseCreateRequest, AppReleaseFile, AppReleaseFramingMode, AppReleaseHeaderRule, AppReleaseList, AppReleaseManifest, AppReleasePromotion, AppReleaseResponseHeader, AppReleaseRouting, AppReleaseShareableRoute, AppReleaseSiteCard, AppReleaseSpaFallback, AppReleaseState, AppReleaseSummary, AppReleaseUploadedFile, } from "./admin-app-releases.js";
|
|
51
51
|
export { APP_ERROR_CODES, APP_REASON_CODES, APP_SIGN_IN_MODES, APP_STATUSES, type AppCreateRequest, type AppCreation, type AppDeployCredential, type AppDeployCredentialList, type AppDeployCredentialSummary, type AppListResponse, type AppOverview, type AppReason, type AppReasonCode, type AppSignInMode, type AppSignInRequest, type AppStatus, type AppSummary, type AppTrafficReporting, } from "./admin-apps.js";
|
|
52
|
-
export { type ApplicationIdentityTrait, type ApplicationIdentityTraitsStatus, type ApplicationIdentityTraitValue, type ApplicationMembershipChoice, type ApplicationMembershipContext, type ApplicationMembershipRevocation, type ApplicationMembershipRevokeRequest, type ApplicationPrincipalErasure, type ApplicationPrincipalErasureRequest, type ApplicationPrincipalExport, type ApplicationPrincipalIdentityExport, type ApplicationPrincipalListItem, type ApplicationPrincipalListQuery, type ApplicationPrincipalListResponse, type ApplicationPrincipalMembershipView, type ApplicationPrincipalProfile, type ApplicationPrincipalProfileValueView, type ApplicationPrincipalSuspension, type ApplicationPrincipalTarget, type ApplicationProfileField, type ApplicationProfileValue, type ApplicationProfileValuesRequest, type ApplicationSession, type ApplicationSessionInventory, type ApplicationSessionRevocation, type ApplicationSessionRevokeRequest, type ApplicationSessionsRevokeAllRequest, type AudienceGrant, type AudienceGrantRequest, type AuthEnvironmentClientCleanup, type AuthEnvironmentHostingRemoval, type AuthEnvironmentHostingWithdrawal, type AuthEnvironmentRetainedResources, AuthProjectAdminClient, type AuthProjectApplicationSessionPolicy, type AuthProjectAudienceBinding, type AuthProjectCapability, type AuthProjectChange, type AuthProjectClientRegistration, type AuthProjectClientSync, type AuthProjectClientSyncRegistration, type AuthProjectClientSyncReport, type AuthProjectClientSyncRequest, type AuthProjectConfiguredState, type AuthProjectCreateRequest, type AuthProjectCreation, type AuthProjectDeletion, type AuthProjectDeletionRequest, type AuthProjectDesiredState, type AuthProjectDesiredStateRequest, type AuthProjectDirectoryAction, type AuthProjectDirectoryCapacity, type AuthProjectDirectoryRequest, type AuthProjectDirectoryStatus, type AuthProjectDirectoryView, type AuthProjectEnvironmentCreateRequest, type AuthProjectEnvironmentDeletion, type AuthProjectEnvironmentDeletionRequest, type AuthProjectEnvironmentOffboarding, type AuthProjectEnvironmentOffboardRequest, type AuthProjectEnvironmentOrganisation, type AuthProjectEnvironmentOrganisationList, type AuthProjectEnvironmentReleasedResources, type AuthProjectHostedSignIn, type AuthProjectHosting, type AuthProjectHostingCapability, type AuthProjectHostingIngestTarget, type AuthProjectHostingMode, type AuthProjectHostingRemoval, type AuthProjectHostingStatus, type AuthProjectIdentityMode, type AuthProjectInvitation, type AuthProjectInvitationIssued, type AuthProjectInvitationIssueRequest, type AuthProjectInvitationListResponse, type AuthProjectInvitationRedeliveryRequest, type AuthProjectInvitationRevocationRequest, type AuthProjectListResponse, type AuthProjectOperation, type AuthProjectPreview, type AuthProjectProfileField, AuthProjectRealmNotConvergedError, AuthProjectRealmProvisionError, type AuthProjectRealmProvisionReceipt, type AuthProjectRealmProvisionRequest, type AuthProjectRealmStep, type AuthProjectReleasedResources, type AuthProjectSocialProvider, type AuthProjectSocialProviderName, type AuthProjectSocialSignIn, type AuthProjectSocialSignInStatus, type AuthProjectStatus, type AuthProjectSummary, type PrincipalAudience, type PrincipalAudiences, } from "./admin-auth-projects.js";
|
|
52
|
+
export { type ApplicationIdentityTrait, type ApplicationIdentityTraitsStatus, type ApplicationIdentityTraitValue, type ApplicationMembershipChoice, type ApplicationMembershipContext, type ApplicationMembershipRevocation, type ApplicationMembershipRevokeRequest, type ApplicationPrincipalErasure, type ApplicationPrincipalErasureRequest, type ApplicationPrincipalExport, type ApplicationPrincipalIdentityExport, type ApplicationPrincipalListItem, type ApplicationPrincipalListQuery, type ApplicationPrincipalListResponse, type ApplicationPrincipalMembershipView, type ApplicationPrincipalProfile, type ApplicationPrincipalProfileValueView, type ApplicationPrincipalSuspension, type ApplicationPrincipalTarget, type ApplicationProfileField, type ApplicationProfileValue, type ApplicationProfileValuesRequest, type ApplicationSession, type ApplicationSessionInventory, type ApplicationSessionRevocation, type ApplicationSessionRevokeRequest, type ApplicationSessionsRevokeAllRequest, type AudienceGrant, type AudienceGrantRequest, type AuthEnvironmentClientCleanup, type AuthEnvironmentHostingRemoval, type AuthEnvironmentHostingWithdrawal, type AuthEnvironmentRetainedResources, AuthProjectAdminClient, type AuthProjectApplicationSessionPolicy, type AuthProjectAudienceBinding, type AuthProjectBrandMode, type AuthProjectBrandPalette, type AuthProjectCapability, type AuthProjectChange, type AuthProjectClientRegistration, type AuthProjectClientSync, type AuthProjectClientSyncRegistration, type AuthProjectClientSyncReport, type AuthProjectClientSyncRequest, type AuthProjectConfiguredState, type AuthProjectCreateRequest, type AuthProjectCreation, type AuthProjectDeletion, type AuthProjectDeletionRequest, type AuthProjectDesiredState, type AuthProjectDesiredStateRequest, type AuthProjectDirectoryAction, type AuthProjectDirectoryCapacity, type AuthProjectDirectoryRequest, type AuthProjectDirectoryStatus, type AuthProjectDirectoryView, type AuthProjectEnvironmentCreateRequest, type AuthProjectEnvironmentDeletion, type AuthProjectEnvironmentDeletionRequest, type AuthProjectEnvironmentOffboarding, type AuthProjectEnvironmentOffboardRequest, type AuthProjectEnvironmentOrganisation, type AuthProjectEnvironmentOrganisationList, type AuthProjectEnvironmentReleasedResources, type AuthProjectHostedSignIn, type AuthProjectHosting, type AuthProjectHostingCapability, type AuthProjectHostingIngestTarget, type AuthProjectHostingMode, type AuthProjectHostingRemoval, type AuthProjectHostingStatus, type AuthProjectIdentityMode, type AuthProjectInvitation, type AuthProjectInvitationIssued, type AuthProjectInvitationIssueRequest, type AuthProjectInvitationListResponse, type AuthProjectInvitationRedeliveryRequest, type AuthProjectInvitationRevocationRequest, type AuthProjectListResponse, type AuthProjectOperation, type AuthProjectPreview, type AuthProjectProfileField, AuthProjectRealmNotConvergedError, AuthProjectRealmProvisionError, type AuthProjectRealmProvisionReceipt, type AuthProjectRealmProvisionRequest, type AuthProjectRealmStep, type AuthProjectReleasedResources, type AuthProjectSocialProvider, type AuthProjectSocialProviderName, type AuthProjectSocialSignIn, type AuthProjectSocialSignInStatus, type AuthProjectStatus, type AuthProjectSummary, type PrincipalAudience, type PrincipalAudiences, } from "./admin-auth-projects.js";
|
|
53
53
|
export { type ClientSetupApplyAndWaitOptions, type ClientSetupApplyAndWaitResult, type ClientSetupApplyOptions, type ClientSetupApplyResponse, ClientSetupClient, type ClientSetupEventTypeDesiredState, type ClientSetupManifest, type ClientSetupOAuthClientDesiredState, type ClientSetupOAuthPurposeProfile, type ClientSetupOperationPending, type ClientSetupOperationStatus, type ClientSetupPrivacyDesiredState, type ClientSetupPrivacyRule, type ClientSetupReadinessResponse, type ClientSetupReportingPackDesiredState, type ClientSetupResourceStatus, type ClientSetupRetentionDesiredState, type ClientSetupSchemaDesiredState, validateClientSetupManifest, } from "./admin-client-setup.js";
|
|
54
54
|
export { DataLabelAdminClient, type DataLabelAssignmentListResponse, type DataLabelCatalogue, type DataLabelCatalogueAssignment, type DataLabelCatalogueDataset, type DataLabelCataloguePack, type DataLabelCatalogueResponse, type DataLabelDefinition, type DataLabelDefinitionCreateRequest, type DataLabelDefinitionListResponse, type DataLabelDefinitionUpdateRequest, type DataLabelPropagationPolicy, type DataLabelSensitivity, type DataLabelUsage, type DataLabelUsageListResponse, type DataLabelValue, type DataLabelValueCreateRequest, type DataLabelValueUpdateRequest, type DescriptiveDataLabel, type EventTypeDataLabelDefault, type EventTypeDataLabelDefaultRequest, type SchemaFieldDataLabelAssignment, type SchemaFieldDataLabelAssignmentRequest, } from "./admin-data-labels.js";
|
|
55
55
|
export { type DataScope, type DataScopeAction, DataScopeAdminClient, type DataScopeCreateRequest, type DataScopeGrant, type DataScopeGrantListResponse, type DataScopeGrantTarget, type DataScopeGrantTargetKind, type DataScopeListResponse, type DataScopePrincipalKind, type DataScopePrincipalRef, type DataScopeResource, type DataScopeResourceCreateRequest, type DataScopeResourceListResponse, type DataScopeResourceUpdateRequest, type DataScopeStatus, type DataScopeUpdateRequest, validDataScopeCode, validDataScopeName, } from "./admin-data-scopes.js";
|
|
@@ -38,6 +38,7 @@ export const API_RESPONSE_LISTS = {
|
|
|
38
38
|
"desired.socialSignIn.providers",
|
|
39
39
|
"desired.socialSignIn.status.callbackUrls",
|
|
40
40
|
"desired.socialSignIn.status.providers",
|
|
41
|
+
"recommendations",
|
|
41
42
|
],
|
|
42
43
|
"GET /api/v1/admin/bootstrap": ["warnings"],
|
|
43
44
|
"GET /api/v1/admin/campaign-email-runs/{runId}": ["deliveries"],
|
package/dist/version.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* VERSION and scripts/bump-version.sh updates it, so a release cannot leave it
|
|
4
4
|
* behind.
|
|
5
5
|
*/
|
|
6
|
-
export declare const SDK_VERSION = "3.
|
|
6
|
+
export declare const SDK_VERSION = "3.77.0";
|
|
7
7
|
/** Product named in X-Custd-Sdk, so Custd can report which callers use which release. */
|
|
8
8
|
export declare const SDK_PRODUCT = "js";
|
|
9
9
|
/** Value sent in the X-Custd-Sdk header. */
|
|
10
|
-
export declare const SDK_IDENTITY = "js/3.
|
|
10
|
+
export declare const SDK_IDENTITY = "js/3.77.0";
|
package/dist/version.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* VERSION and scripts/bump-version.sh updates it, so a release cannot leave it
|
|
4
4
|
* behind.
|
|
5
5
|
*/
|
|
6
|
-
export const SDK_VERSION = "3.
|
|
6
|
+
export const SDK_VERSION = "3.77.0";
|
|
7
7
|
/** Product named in X-Custd-Sdk, so Custd can report which callers use which release. */
|
|
8
8
|
export const SDK_PRODUCT = "js";
|
|
9
9
|
/** Value sent in the X-Custd-Sdk header. */
|