@wix/auto_sdk_app-management_apps 1.0.1 → 1.0.3

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.
@@ -154,6 +154,11 @@ interface V1App {
154
154
  * @internal
155
155
  */
156
156
  hostAppConfig?: HostAppConfig;
157
+ /**
158
+ * Tenant owning this companion app. Set by companion-app services at creation.
159
+ * @internal
160
+ */
161
+ companionAppOptions?: CompanionAppOptions;
157
162
  }
158
163
  interface AppSecrets {
159
164
  /**
@@ -238,6 +243,20 @@ interface AppUrls {
238
243
  * @maxSize 100
239
244
  */
240
245
  redirectUris?: string[];
246
+ /**
247
+ * Allowed post-installation URLs, where Wix redirects the user after installing the app from an external install link.
248
+ * A `postInstallationUrl` matches an entry when they are equal, ignoring the query string.
249
+ * @format WEB_URL
250
+ * @maxSize 100
251
+ */
252
+ postInstallationUrls?: string[];
253
+ /**
254
+ * Whether installs fail when the `postInstallationUrl` doesn't match `post_installation_urls`.
255
+ * @internal
256
+ * @deprecated Whether installs fail when the `postInstallationUrl` doesn't match `post_installation_urls`.
257
+ * @targetRemovalDate 2026-12-01
258
+ */
259
+ validatePostInstallationUrl?: boolean | null;
241
260
  }
242
261
  interface CreatedBy {
243
262
  /**
@@ -421,6 +440,21 @@ declare enum LoginPolicy {
421
440
  }
422
441
  /** @enumType */
423
442
  type LoginPolicyWithLiterals = LoginPolicy | 'LOGIN_POLICY_UNKNOWN' | 'LOGIN_POLICY_REQUIRED' | 'LOGIN_POLICY_OPTIONAL';
443
+ interface CompanionAppOptions {
444
+ /**
445
+ * ID of the site or account that owns the companion app.
446
+ * @format GUID
447
+ */
448
+ tenantId?: string;
449
+ /** Type of tenant that owns the companion app. */
450
+ tenantType?: TenantTypeWithLiterals;
451
+ }
452
+ declare enum TenantType {
453
+ SITE = "SITE",
454
+ ACCOUNT = "ACCOUNT"
455
+ }
456
+ /** @enumType */
457
+ type TenantTypeWithLiterals = TenantType | 'SITE' | 'ACCOUNT';
424
458
  interface DomainEvent extends DomainEventBodyOneOf {
425
459
  createdEvent?: EntityCreatedEvent;
426
460
  updatedEvent?: EntityUpdatedEvent;
@@ -1351,6 +1385,19 @@ interface SetCacheableAppResponse {
1351
1385
  /** The updated app */
1352
1386
  app?: V1App;
1353
1387
  }
1388
+ interface SetCompanionAppOptionsRequest {
1389
+ /**
1390
+ * ID of the companion app to update.
1391
+ * @format GUID
1392
+ */
1393
+ appId?: string;
1394
+ /** Owning site or account of the companion app. */
1395
+ companionAppOptions?: CompanionAppOptions;
1396
+ }
1397
+ interface SetCompanionAppOptionsResponse {
1398
+ /** Updated app. */
1399
+ app?: V1App;
1400
+ }
1354
1401
  interface SetComponentsMetadataRequest {
1355
1402
  /**
1356
1403
  * App id of the app to update
@@ -1455,4 +1502,4 @@ declare function revokeSecret(): __PublicMethodMetaInfo<'POST', {
1455
1502
  appId: string;
1456
1503
  }, RevokeSecretRequest$1, RevokeSecretRequest, RevokeSecretResponse$1, RevokeSecretResponse>;
1457
1504
 
1458
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Action as ActionOriginal, type ActionWithLiterals as ActionWithLiteralsOriginal, type ActivateSecondarySecretRequest as ActivateSecondarySecretRequestOriginal, type ActivateSecondarySecretResponse as ActivateSecondarySecretResponseOriginal, type AddressLocation as AddressLocationOriginal, type AppChangedEvent as AppChangedEventOriginal, type AppComponentMetadata as AppComponentMetadataOriginal, type App as AppOriginal, type AppOwnerChangedEvent as AppOwnerChangedEventOriginal, type AppSecrets as AppSecretsOriginal, type AppSlugChanged as AppSlugChangedOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, type AppUriMessage as AppUriMessageOriginal, type AppUrlsChangedInOldServiceEventChangedUrlOneOf as AppUrlsChangedInOldServiceEventChangedUrlOneOfOriginal, type AppUrlsChangedInOldServiceEvent as AppUrlsChangedInOldServiceEventOriginal, type AppUrls as AppUrlsOriginal, type AppVersionApproved as AppVersionApprovedOriginal, type AppVersionArchived as AppVersionArchivedOriginal, type AppVersionCreated as AppVersionCreatedOriginal, type AppVersionDeclined as AppVersionDeclinedOriginal, type AppVersionDraftChanged as AppVersionDraftChangedOriginal, type AppVersionPublished as AppVersionPublishedOriginal, type AppVersionReleased as AppVersionReleasedOriginal, type AppVersionStateChanged as AppVersionStateChangedOriginal, type AppVersionStateChangedStateOneOf as AppVersionStateChangedStateOneOfOriginal, type AppVersionSubmitted as AppVersionSubmittedOriginal, type AssociateServiceAppRequest as AssociateServiceAppRequestOriginal, type AssociateServiceAppResponse as AssociateServiceAppResponseOriginal, type ConsentOptions as ConsentOptionsOriginal, type ContactEmails as ContactEmailsOriginal, type CreateAppRequest as CreateAppRequestOriginal, type CreateAppResponse as CreateAppResponseOriginal, type CreateSecondarySecretRequest as CreateSecondarySecretRequestOriginal, type CreateSecondarySecretResponse as CreateSecondarySecretResponseOriginal, type CreateServiceAppRequest as CreateServiceAppRequestOriginal, type CreateServiceAppResponse as CreateServiceAppResponseOriginal, type CreatedBy as CreatedByOriginal, CreatedByType as CreatedByTypeOriginal, type CreatedByTypeWithLiterals as CreatedByTypeWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DeleteAppRequest as DeleteAppRequestOriginal, type DeleteAppResponse as DeleteAppResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, ForceCascadeDeleteAppDecision as ForceCascadeDeleteAppDecisionOriginal, type ForceCascadeDeleteAppDecisionWithLiterals as ForceCascadeDeleteAppDecisionWithLiteralsOriginal, type ForceCascadeDeleteAppRequest as ForceCascadeDeleteAppRequestOriginal, type ForceCascadeDeleteAppResponse as ForceCascadeDeleteAppResponseOriginal, type GenerateSlugRequest as GenerateSlugRequestOriginal, type GenerateSlugResponse as GenerateSlugResponseOriginal, type GetAppRequest as GetAppRequestOriginal, type GetAppResponse as GetAppResponseOriginal, type GetNamespaceSuggestionByNameRequest as GetNamespaceSuggestionByNameRequestOriginal, type GetNamespaceSuggestionByNameResponse as GetNamespaceSuggestionByNameResponseOriginal, type GetNamespaceSuggestionRequest as GetNamespaceSuggestionRequestOriginal, type GetNamespaceSuggestionResponse as GetNamespaceSuggestionResponseOriginal, type HostAppConfig as HostAppConfigOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InstallationPreferencesOpenButtonOptionsOneOf as InstallationPreferencesOpenButtonOptionsOneOfOriginal, type InstallationPreferences as InstallationPreferencesOriginal, LoginPolicy as LoginPolicyOriginal, type LoginPolicyWithLiterals as LoginPolicyWithLiteralsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, NamespaceType as NamespaceTypeOriginal, type NamespaceTypeWithLiterals as NamespaceTypeWithLiteralsOriginal, OpenButtonAction as OpenButtonActionOriginal, type OpenButtonActionWithLiterals as OpenButtonActionWithLiteralsOriginal, type OpenComponentId as OpenComponentIdOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PartialVersionOptions as PartialVersionOptionsOriginal, PermissionLevel as PermissionLevelOriginal, type PermissionLevelWithLiterals as PermissionLevelWithLiteralsOriginal, type QueryAppRequest as QueryAppRequestOriginal, type QueryAppResponse as QueryAppResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, RedirectTarget as RedirectTargetOriginal, type RedirectTargetWithLiterals as RedirectTargetWithLiteralsOriginal, type RedirectUrlMessage as RedirectUrlMessageOriginal, type RenameCodeIdentifierRequest as RenameCodeIdentifierRequestOriginal, type RenameCodeIdentifierResponse as RenameCodeIdentifierResponseOriginal, type RenameSlugRequest as RenameSlugRequestOriginal, type RenameSlugResponse as RenameSlugResponseOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RevokeSecretRequest as RevokeSecretRequestOriginal, type RevokeSecretResponse as RevokeSecretResponseOriginal, type RollbackSecretRequest as RollbackSecretRequestOriginal, type RollbackSecretResponse as RollbackSecretResponseOriginal, type RotateSecretRequest as RotateSecretRequestOriginal, type RotateSecretResponse as RotateSecretResponseOriginal, SecretToRevoke as SecretToRevokeOriginal, type SecretToRevokeWithLiterals as SecretToRevokeWithLiteralsOriginal, type SetAppOwnerRequest as SetAppOwnerRequestOriginal, type SetAppOwnerResponse as SetAppOwnerResponseOriginal, type SetCacheableAppRequest as SetCacheableAppRequestOriginal, type SetCacheableAppResponse as SetCacheableAppResponseOriginal, type SetCodeIdentifierRequest as SetCodeIdentifierRequestOriginal, type SetCodeIdentifierResponse as SetCodeIdentifierResponseOriginal, type SetComponentsMetadataRequest as SetComponentsMetadataRequestOriginal, type SetComponentsMetadataResponse as SetComponentsMetadataResponseOriginal, type SetExceededSizeRequest as SetExceededSizeRequestOriginal, type SetExceededSizeResponse as SetExceededSizeResponseOriginal, type SetHipaaCompliantRequest as SetHipaaCompliantRequestOriginal, type SetHipaaCompliantResponse as SetHipaaCompliantResponseOriginal, type SetNamespaceRequest as SetNamespaceRequestOriginal, type SetNamespaceResponse as SetNamespaceResponseOriginal, type SetOwnershipTagRequest as SetOwnershipTagRequestOriginal, type SetOwnershipTagResponse as SetOwnershipTagResponseOriginal, type SetPrivateAppRequest as SetPrivateAppRequestOriginal, type SetPrivateAppResponse as SetPrivateAppResponseOriginal, ShowConsentBehaviour as ShowConsentBehaviourOriginal, type ShowConsentBehaviourWithLiterals as ShowConsentBehaviourWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type SuggestCodeIdentifierRequest as SuggestCodeIdentifierRequestOriginal, type SuggestCodeIdentifierResponse as SuggestCodeIdentifierResponseOriginal, UninstallActions as UninstallActionsOriginal, type UninstallActionsWithLiterals as UninstallActionsWithLiteralsOriginal, type UnreleasedChanges as UnreleasedChangesOriginal, type UpdateAppRequest as UpdateAppRequestOriginal, type UpdateAppResponse as UpdateAppResponseOriginal, type UpdateHostAppConfigRequest as UpdateHostAppConfigRequestOriginal, type UpdateHostAppConfigResponse as UpdateHostAppConfigResponseOriginal, type V1App as V1AppOriginal, VersionStatus as VersionStatusOriginal, type VersionStatusWithLiterals as VersionStatusWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, createApp, createSecondarySecret, generateSlug, getApp, getNamespaceSuggestion, getNamespaceSuggestionByName, revokeSecret, setNamespace, updateApp };
1505
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Action as ActionOriginal, type ActionWithLiterals as ActionWithLiteralsOriginal, type ActivateSecondarySecretRequest as ActivateSecondarySecretRequestOriginal, type ActivateSecondarySecretResponse as ActivateSecondarySecretResponseOriginal, type AddressLocation as AddressLocationOriginal, type AppChangedEvent as AppChangedEventOriginal, type AppComponentMetadata as AppComponentMetadataOriginal, type App as AppOriginal, type AppOwnerChangedEvent as AppOwnerChangedEventOriginal, type AppSecrets as AppSecretsOriginal, type AppSlugChanged as AppSlugChangedOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, type AppUriMessage as AppUriMessageOriginal, type AppUrlsChangedInOldServiceEventChangedUrlOneOf as AppUrlsChangedInOldServiceEventChangedUrlOneOfOriginal, type AppUrlsChangedInOldServiceEvent as AppUrlsChangedInOldServiceEventOriginal, type AppUrls as AppUrlsOriginal, type AppVersionApproved as AppVersionApprovedOriginal, type AppVersionArchived as AppVersionArchivedOriginal, type AppVersionCreated as AppVersionCreatedOriginal, type AppVersionDeclined as AppVersionDeclinedOriginal, type AppVersionDraftChanged as AppVersionDraftChangedOriginal, type AppVersionPublished as AppVersionPublishedOriginal, type AppVersionReleased as AppVersionReleasedOriginal, type AppVersionStateChanged as AppVersionStateChangedOriginal, type AppVersionStateChangedStateOneOf as AppVersionStateChangedStateOneOfOriginal, type AppVersionSubmitted as AppVersionSubmittedOriginal, type AssociateServiceAppRequest as AssociateServiceAppRequestOriginal, type AssociateServiceAppResponse as AssociateServiceAppResponseOriginal, type CompanionAppOptions as CompanionAppOptionsOriginal, type ConsentOptions as ConsentOptionsOriginal, type ContactEmails as ContactEmailsOriginal, type CreateAppRequest as CreateAppRequestOriginal, type CreateAppResponse as CreateAppResponseOriginal, type CreateSecondarySecretRequest as CreateSecondarySecretRequestOriginal, type CreateSecondarySecretResponse as CreateSecondarySecretResponseOriginal, type CreateServiceAppRequest as CreateServiceAppRequestOriginal, type CreateServiceAppResponse as CreateServiceAppResponseOriginal, type CreatedBy as CreatedByOriginal, CreatedByType as CreatedByTypeOriginal, type CreatedByTypeWithLiterals as CreatedByTypeWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DeleteAppRequest as DeleteAppRequestOriginal, type DeleteAppResponse as DeleteAppResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, ForceCascadeDeleteAppDecision as ForceCascadeDeleteAppDecisionOriginal, type ForceCascadeDeleteAppDecisionWithLiterals as ForceCascadeDeleteAppDecisionWithLiteralsOriginal, type ForceCascadeDeleteAppRequest as ForceCascadeDeleteAppRequestOriginal, type ForceCascadeDeleteAppResponse as ForceCascadeDeleteAppResponseOriginal, type GenerateSlugRequest as GenerateSlugRequestOriginal, type GenerateSlugResponse as GenerateSlugResponseOriginal, type GetAppRequest as GetAppRequestOriginal, type GetAppResponse as GetAppResponseOriginal, type GetNamespaceSuggestionByNameRequest as GetNamespaceSuggestionByNameRequestOriginal, type GetNamespaceSuggestionByNameResponse as GetNamespaceSuggestionByNameResponseOriginal, type GetNamespaceSuggestionRequest as GetNamespaceSuggestionRequestOriginal, type GetNamespaceSuggestionResponse as GetNamespaceSuggestionResponseOriginal, type HostAppConfig as HostAppConfigOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InstallationPreferencesOpenButtonOptionsOneOf as InstallationPreferencesOpenButtonOptionsOneOfOriginal, type InstallationPreferences as InstallationPreferencesOriginal, LoginPolicy as LoginPolicyOriginal, type LoginPolicyWithLiterals as LoginPolicyWithLiteralsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, NamespaceType as NamespaceTypeOriginal, type NamespaceTypeWithLiterals as NamespaceTypeWithLiteralsOriginal, OpenButtonAction as OpenButtonActionOriginal, type OpenButtonActionWithLiterals as OpenButtonActionWithLiteralsOriginal, type OpenComponentId as OpenComponentIdOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PartialVersionOptions as PartialVersionOptionsOriginal, PermissionLevel as PermissionLevelOriginal, type PermissionLevelWithLiterals as PermissionLevelWithLiteralsOriginal, type QueryAppRequest as QueryAppRequestOriginal, type QueryAppResponse as QueryAppResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, RedirectTarget as RedirectTargetOriginal, type RedirectTargetWithLiterals as RedirectTargetWithLiteralsOriginal, type RedirectUrlMessage as RedirectUrlMessageOriginal, type RenameCodeIdentifierRequest as RenameCodeIdentifierRequestOriginal, type RenameCodeIdentifierResponse as RenameCodeIdentifierResponseOriginal, type RenameSlugRequest as RenameSlugRequestOriginal, type RenameSlugResponse as RenameSlugResponseOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RevokeSecretRequest as RevokeSecretRequestOriginal, type RevokeSecretResponse as RevokeSecretResponseOriginal, type RollbackSecretRequest as RollbackSecretRequestOriginal, type RollbackSecretResponse as RollbackSecretResponseOriginal, type RotateSecretRequest as RotateSecretRequestOriginal, type RotateSecretResponse as RotateSecretResponseOriginal, SecretToRevoke as SecretToRevokeOriginal, type SecretToRevokeWithLiterals as SecretToRevokeWithLiteralsOriginal, type SetAppOwnerRequest as SetAppOwnerRequestOriginal, type SetAppOwnerResponse as SetAppOwnerResponseOriginal, type SetCacheableAppRequest as SetCacheableAppRequestOriginal, type SetCacheableAppResponse as SetCacheableAppResponseOriginal, type SetCodeIdentifierRequest as SetCodeIdentifierRequestOriginal, type SetCodeIdentifierResponse as SetCodeIdentifierResponseOriginal, type SetCompanionAppOptionsRequest as SetCompanionAppOptionsRequestOriginal, type SetCompanionAppOptionsResponse as SetCompanionAppOptionsResponseOriginal, type SetComponentsMetadataRequest as SetComponentsMetadataRequestOriginal, type SetComponentsMetadataResponse as SetComponentsMetadataResponseOriginal, type SetExceededSizeRequest as SetExceededSizeRequestOriginal, type SetExceededSizeResponse as SetExceededSizeResponseOriginal, type SetHipaaCompliantRequest as SetHipaaCompliantRequestOriginal, type SetHipaaCompliantResponse as SetHipaaCompliantResponseOriginal, type SetNamespaceRequest as SetNamespaceRequestOriginal, type SetNamespaceResponse as SetNamespaceResponseOriginal, type SetOwnershipTagRequest as SetOwnershipTagRequestOriginal, type SetOwnershipTagResponse as SetOwnershipTagResponseOriginal, type SetPrivateAppRequest as SetPrivateAppRequestOriginal, type SetPrivateAppResponse as SetPrivateAppResponseOriginal, ShowConsentBehaviour as ShowConsentBehaviourOriginal, type ShowConsentBehaviourWithLiterals as ShowConsentBehaviourWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type SuggestCodeIdentifierRequest as SuggestCodeIdentifierRequestOriginal, type SuggestCodeIdentifierResponse as SuggestCodeIdentifierResponseOriginal, TenantType as TenantTypeOriginal, type TenantTypeWithLiterals as TenantTypeWithLiteralsOriginal, UninstallActions as UninstallActionsOriginal, type UninstallActionsWithLiterals as UninstallActionsWithLiteralsOriginal, type UnreleasedChanges as UnreleasedChangesOriginal, type UpdateAppRequest as UpdateAppRequestOriginal, type UpdateAppResponse as UpdateAppResponseOriginal, type UpdateHostAppConfigRequest as UpdateHostAppConfigRequestOriginal, type UpdateHostAppConfigResponse as UpdateHostAppConfigResponseOriginal, type V1App as V1AppOriginal, VersionStatus as VersionStatusOriginal, type VersionStatusWithLiterals as VersionStatusWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, createApp, createSecondarySecret, generateSlug, getApp, getNamespaceSuggestion, getNamespaceSuggestionByName, revokeSecret, setNamespace, updateApp };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_app-management_apps",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.devcenter.apps.v1.app"
51
51
  }
52
52
  },
53
- "falconPackageHash": "38966f45e760fc4cdb319dd3ba3a32aaffef60e106aba3a209732f17"
53
+ "falconPackageHash": "4d5c09b2a7c36ef4995e1d8cf841e659aa44931d51b1e7081994a712"
54
54
  }