@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.
- package/build/cjs/index.d.ts +6 -6
- package/build/cjs/index.js +7 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +41 -6
- package/build/cjs/index.typings.js +7 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +36 -1
- package/build/cjs/meta.js +7 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +6 -6
- package/build/es/index.mjs +6 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +41 -6
- package/build/es/index.typings.mjs +6 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +36 -1
- package/build/es/meta.mjs +6 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -6
- package/build/internal/cjs/index.typings.d.ts +58 -6
- package/build/internal/cjs/meta.d.ts +48 -1
- package/build/internal/es/index.d.mts +6 -6
- package/build/internal/es/index.typings.d.mts +58 -6
- package/build/internal/es/meta.d.mts +48 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { V1App, GetAppOptions, UpdateApp, GenerateSlugResponse, GetNamespaceSuggestionOptions, GetNamespaceSuggestionResponse, GetNamespaceSuggestionByNameOptions, GetNamespaceSuggestionByNameResponse, SetNamespaceOptions, SetNamespaceResponse, CreateSecondarySecretOptions, CreateSecondarySecretResponse, SecretToRevokeWithLiterals, RevokeSecretResponse } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, Action, ActionEvent, ActionWithLiterals, ActivateSecondarySecretRequest, ActivateSecondarySecretResponse, AddressLocation, App, AppChangedEvent, AppComponentMetadata, AppOwnerChangedEvent, AppSecrets, AppSlugChanged, AppType, AppTypeWithLiterals, AppUriMessage, AppUrls, AppUrlsChangedInOldServiceEvent, AppUrlsChangedInOldServiceEventChangedUrlOneOf, AppVersionApproved, AppVersionArchived, AppVersionCreated, AppVersionDeclined, AppVersionDraftChanged, AppVersionPublished, AppVersionReleased, AppVersionStateChanged, AppVersionStateChangedStateOneOf, AppVersionSubmitted, AssociateServiceAppRequest, AssociateServiceAppResponse, ConsentOptions, ContactEmails, CreateAppRequest, CreateAppResponse, CreateSecondarySecretRequest, CreateServiceAppRequest, CreateServiceAppResponse, CreatedBy, CreatedByType, CreatedByTypeWithLiterals, CursorPaging, Cursors, DeleteAppRequest, DeleteAppResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ForceCascadeDeleteAppDecision, ForceCascadeDeleteAppDecisionWithLiterals, ForceCascadeDeleteAppRequest, ForceCascadeDeleteAppResponse, GenerateSlugRequest, GetAppRequest, GetAppResponse, GetNamespaceSuggestionByNameRequest, GetNamespaceSuggestionRequest, HostAppConfig, IdentificationData, IdentificationDataIdOneOf, InstallationPreferences, InstallationPreferencesOpenButtonOptionsOneOf, LoginPolicy, LoginPolicyWithLiterals, MessageEnvelope, NamespaceType, NamespaceTypeWithLiterals, OpenButtonAction, OpenButtonActionWithLiterals, OpenComponentId, Paging, PagingMetadataV2, PartialVersionOptions, PermissionLevel, PermissionLevelWithLiterals, QueryAppRequest, QueryAppResponse, QueryV2, QueryV2PagingMethodOneOf, RedirectTarget, RedirectTargetWithLiterals, RedirectUrlMessage, RenameCodeIdentifierRequest, RenameCodeIdentifierResponse, RenameSlugRequest, RenameSlugResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, RevokeSecretRequest, RollbackSecretRequest, RollbackSecretResponse, RotateSecretRequest, RotateSecretResponse, SecretToRevoke, SetAppOwnerRequest, SetAppOwnerResponse, SetCacheableAppRequest, SetCacheableAppResponse, SetCodeIdentifierRequest, SetCodeIdentifierResponse, SetComponentsMetadataRequest, SetComponentsMetadataResponse, SetExceededSizeRequest, SetExceededSizeResponse, SetHipaaCompliantRequest, SetHipaaCompliantResponse, SetNamespaceRequest, SetOwnershipTagRequest, SetOwnershipTagResponse, SetPrivateAppRequest, SetPrivateAppResponse, ShowConsentBehaviour, ShowConsentBehaviourWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Status, StatusWithLiterals, SuggestCodeIdentifierRequest, SuggestCodeIdentifierResponse, UninstallActions, UninstallActionsWithLiterals, UnreleasedChanges, UpdateAppRequest, UpdateAppResponse, UpdateHostAppConfigRequest, UpdateHostAppConfigResponse, VersionStatus, VersionStatusWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, Action, ActionEvent, ActionWithLiterals, ActivateSecondarySecretRequest, ActivateSecondarySecretResponse, AddressLocation, App, AppChangedEvent, AppComponentMetadata, AppOwnerChangedEvent, AppSecrets, AppSlugChanged, AppType, AppTypeWithLiterals, AppUriMessage, AppUrls, AppUrlsChangedInOldServiceEvent, AppUrlsChangedInOldServiceEventChangedUrlOneOf, AppVersionApproved, AppVersionArchived, AppVersionCreated, AppVersionDeclined, AppVersionDraftChanged, AppVersionPublished, AppVersionReleased, AppVersionStateChanged, AppVersionStateChangedStateOneOf, AppVersionSubmitted, AssociateServiceAppRequest, AssociateServiceAppResponse, CompanionAppOptions, ConsentOptions, ContactEmails, CreateAppRequest, CreateAppResponse, CreateSecondarySecretRequest, CreateServiceAppRequest, CreateServiceAppResponse, CreatedBy, CreatedByType, CreatedByTypeWithLiterals, CursorPaging, Cursors, DeleteAppRequest, DeleteAppResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ForceCascadeDeleteAppDecision, ForceCascadeDeleteAppDecisionWithLiterals, ForceCascadeDeleteAppRequest, ForceCascadeDeleteAppResponse, GenerateSlugRequest, GetAppRequest, GetAppResponse, GetNamespaceSuggestionByNameRequest, GetNamespaceSuggestionRequest, HostAppConfig, IdentificationData, IdentificationDataIdOneOf, InstallationPreferences, InstallationPreferencesOpenButtonOptionsOneOf, LoginPolicy, LoginPolicyWithLiterals, MessageEnvelope, NamespaceType, NamespaceTypeWithLiterals, OpenButtonAction, OpenButtonActionWithLiterals, OpenComponentId, Paging, PagingMetadataV2, PartialVersionOptions, PermissionLevel, PermissionLevelWithLiterals, QueryAppRequest, QueryAppResponse, QueryV2, QueryV2PagingMethodOneOf, RedirectTarget, RedirectTargetWithLiterals, RedirectUrlMessage, RenameCodeIdentifierRequest, RenameCodeIdentifierResponse, RenameSlugRequest, RenameSlugResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, RevokeSecretRequest, RollbackSecretRequest, RollbackSecretResponse, RotateSecretRequest, RotateSecretResponse, SecretToRevoke, SetAppOwnerRequest, SetAppOwnerResponse, SetCacheableAppRequest, SetCacheableAppResponse, SetCodeIdentifierRequest, SetCodeIdentifierResponse, SetCompanionAppOptionsRequest, SetCompanionAppOptionsResponse, SetComponentsMetadataRequest, SetComponentsMetadataResponse, SetExceededSizeRequest, SetExceededSizeResponse, SetHipaaCompliantRequest, SetHipaaCompliantResponse, SetNamespaceRequest, SetOwnershipTagRequest, SetOwnershipTagResponse, SetPrivateAppRequest, SetPrivateAppResponse, ShowConsentBehaviour, ShowConsentBehaviourWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Status, StatusWithLiterals, SuggestCodeIdentifierRequest, SuggestCodeIdentifierResponse, TenantType, TenantTypeWithLiterals, UninstallActions, UninstallActionsWithLiterals, UnreleasedChanges, UpdateAppRequest, UpdateAppResponse, UpdateHostAppConfigRequest, UpdateHostAppConfigResponse, VersionStatus, VersionStatusWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createApp$1(httpClient: HttpClient): CreateAppSignature;
|
|
6
6
|
interface CreateAppSignature {
|
|
@@ -14,7 +14,7 @@ interface CreateAppSignature {
|
|
|
14
14
|
* @param - App to create.
|
|
15
15
|
* @returns Created app.
|
|
16
16
|
*/
|
|
17
|
-
(app: V1App): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
17
|
+
(app: V1App): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `appUrls.postInstallationUrls` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
18
18
|
}
|
|
19
19
|
declare function getApp$1(httpClient: HttpClient): GetAppSignature;
|
|
20
20
|
interface GetAppSignature {
|
|
@@ -25,7 +25,7 @@ interface GetAppSignature {
|
|
|
25
25
|
* @param - App ID.
|
|
26
26
|
* @returns Retrieved app.
|
|
27
27
|
*/
|
|
28
|
-
(appId: string, options?: GetAppOptions): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
28
|
+
(appId: string, options?: GetAppOptions): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `appUrls.postInstallationUrls` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
29
29
|
}
|
|
30
30
|
declare function updateApp$1(httpClient: HttpClient): UpdateAppSignature;
|
|
31
31
|
interface UpdateAppSignature {
|
|
@@ -47,7 +47,7 @@ interface UpdateAppSignature {
|
|
|
47
47
|
* @param - App ID.
|
|
48
48
|
* @returns Updated app.
|
|
49
49
|
*/
|
|
50
|
-
(_id: string, app: NonNullablePaths<UpdateApp, `revision`, 0>): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
50
|
+
(_id: string, app: NonNullablePaths<UpdateApp, `revision`, 0>): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `appUrls.postInstallationUrls` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
51
51
|
}
|
|
52
52
|
declare function generateSlug$1(httpClient: HttpClient): GenerateSlugSignature;
|
|
53
53
|
interface GenerateSlugSignature {
|
|
@@ -58,7 +58,7 @@ interface GenerateSlugSignature {
|
|
|
58
58
|
* The exact names `google`, `facebook`, and `amazon` require privileged authorization (case-insensitive).
|
|
59
59
|
* @param - App ID.
|
|
60
60
|
*/
|
|
61
|
-
(appId: string): Promise<NonNullablePaths<GenerateSlugResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
61
|
+
(appId: string): Promise<NonNullablePaths<GenerateSlugResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.appUrls.postInstallationUrls` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
62
62
|
}
|
|
63
63
|
declare function getNamespaceSuggestion$1(httpClient: HttpClient): GetNamespaceSuggestionSignature;
|
|
64
64
|
interface GetNamespaceSuggestionSignature {
|
|
@@ -114,7 +114,7 @@ interface CreateSecondarySecretSignature {
|
|
|
114
114
|
* the real check is the MANUAL validateUpdateAppPermission(...) in code.
|
|
115
115
|
* @param - App ID.
|
|
116
116
|
*/
|
|
117
|
-
(appId: string, options?: CreateSecondarySecretOptions): Promise<NonNullablePaths<CreateSecondarySecretResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
117
|
+
(appId: string, options?: CreateSecondarySecretOptions): Promise<NonNullablePaths<CreateSecondarySecretResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.appUrls.postInstallationUrls` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
118
118
|
}
|
|
119
119
|
declare function revokeSecret$1(httpClient: HttpClient): RevokeSecretSignature;
|
|
120
120
|
interface RevokeSecretSignature {
|
|
@@ -153,6 +153,11 @@ interface V1App {
|
|
|
153
153
|
* @internal
|
|
154
154
|
*/
|
|
155
155
|
hostAppConfig?: HostAppConfig;
|
|
156
|
+
/**
|
|
157
|
+
* Tenant owning this companion app. Set by companion-app services at creation.
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
160
|
+
companionAppOptions?: CompanionAppOptions;
|
|
156
161
|
}
|
|
157
162
|
interface AppSecrets {
|
|
158
163
|
/**
|
|
@@ -237,6 +242,20 @@ interface AppUrls {
|
|
|
237
242
|
* @maxSize 100
|
|
238
243
|
*/
|
|
239
244
|
redirectUris?: string[];
|
|
245
|
+
/**
|
|
246
|
+
* Allowed post-installation URLs, where Wix redirects the user after installing the app from an external install link.
|
|
247
|
+
* A `postInstallationUrl` matches an entry when they are equal, ignoring the query string.
|
|
248
|
+
* @format WEB_URL
|
|
249
|
+
* @maxSize 100
|
|
250
|
+
*/
|
|
251
|
+
postInstallationUrls?: string[];
|
|
252
|
+
/**
|
|
253
|
+
* Whether installs fail when the `postInstallationUrl` doesn't match `post_installation_urls`.
|
|
254
|
+
* @internal
|
|
255
|
+
* @deprecated Whether installs fail when the `postInstallationUrl` doesn't match `post_installation_urls`.
|
|
256
|
+
* @targetRemovalDate 2026-12-01
|
|
257
|
+
*/
|
|
258
|
+
validatePostInstallationUrl?: boolean | null;
|
|
240
259
|
}
|
|
241
260
|
interface CreatedBy {
|
|
242
261
|
/**
|
|
@@ -420,6 +439,21 @@ declare enum LoginPolicy {
|
|
|
420
439
|
}
|
|
421
440
|
/** @enumType */
|
|
422
441
|
type LoginPolicyWithLiterals = LoginPolicy | 'LOGIN_POLICY_UNKNOWN' | 'LOGIN_POLICY_REQUIRED' | 'LOGIN_POLICY_OPTIONAL';
|
|
442
|
+
interface CompanionAppOptions {
|
|
443
|
+
/**
|
|
444
|
+
* ID of the site or account that owns the companion app.
|
|
445
|
+
* @format GUID
|
|
446
|
+
*/
|
|
447
|
+
tenantId?: string;
|
|
448
|
+
/** Type of tenant that owns the companion app. */
|
|
449
|
+
tenantType?: TenantTypeWithLiterals;
|
|
450
|
+
}
|
|
451
|
+
declare enum TenantType {
|
|
452
|
+
SITE = "SITE",
|
|
453
|
+
ACCOUNT = "ACCOUNT"
|
|
454
|
+
}
|
|
455
|
+
/** @enumType */
|
|
456
|
+
type TenantTypeWithLiterals = TenantType | 'SITE' | 'ACCOUNT';
|
|
423
457
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
424
458
|
createdEvent?: EntityCreatedEvent;
|
|
425
459
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -1306,6 +1340,19 @@ interface SetCacheableAppResponse {
|
|
|
1306
1340
|
/** The updated app */
|
|
1307
1341
|
app?: V1App;
|
|
1308
1342
|
}
|
|
1343
|
+
interface SetCompanionAppOptionsRequest {
|
|
1344
|
+
/**
|
|
1345
|
+
* ID of the companion app to update.
|
|
1346
|
+
* @format GUID
|
|
1347
|
+
*/
|
|
1348
|
+
appId?: string;
|
|
1349
|
+
/** Owning site or account of the companion app. */
|
|
1350
|
+
companionAppOptions?: CompanionAppOptions;
|
|
1351
|
+
}
|
|
1352
|
+
interface SetCompanionAppOptionsResponse {
|
|
1353
|
+
/** Updated app. */
|
|
1354
|
+
app?: V1App;
|
|
1355
|
+
}
|
|
1309
1356
|
interface SetComponentsMetadataRequest {
|
|
1310
1357
|
/**
|
|
1311
1358
|
* App id of the app to update
|
|
@@ -1391,7 +1438,7 @@ interface AssociateServiceAppResponse {
|
|
|
1391
1438
|
* @returns Created app.
|
|
1392
1439
|
* @fqn wix.devcenter.apps.v1.AppsService.CreateApp
|
|
1393
1440
|
*/
|
|
1394
|
-
declare function createApp(app: V1App): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
1441
|
+
declare function createApp(app: V1App): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `appUrls.postInstallationUrls` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
1395
1442
|
/**
|
|
1396
1443
|
* Retrieves an app by ID. App secrets are omitted by default.
|
|
1397
1444
|
* To include `appSecrets`, add `APP_SECRETS` to `additionalFields`.
|
|
@@ -1405,7 +1452,7 @@ declare function createApp(app: V1App): Promise<NonNullablePaths<V1App, `name` |
|
|
|
1405
1452
|
* @returns Retrieved app.
|
|
1406
1453
|
* @fqn wix.devcenter.apps.v1.AppsService.GetApp
|
|
1407
1454
|
*/
|
|
1408
|
-
declare function getApp(appId: string, options?: GetAppOptions): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
1455
|
+
declare function getApp(appId: string, options?: GetAppOptions): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `appUrls.postInstallationUrls` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
1409
1456
|
interface GetAppOptions {
|
|
1410
1457
|
/** Whether to use a consistent read to retrieve the latest stored app data. Default: `false`. */
|
|
1411
1458
|
consistent?: boolean;
|
|
@@ -1443,7 +1490,7 @@ interface GetAppOptions {
|
|
|
1443
1490
|
* @returns Updated app.
|
|
1444
1491
|
* @fqn wix.devcenter.apps.v1.AppsService.UpdateApp
|
|
1445
1492
|
*/
|
|
1446
|
-
declare function updateApp(_id: string, app: NonNullablePaths<UpdateApp, `revision`, 0>): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
1493
|
+
declare function updateApp(_id: string, app: NonNullablePaths<UpdateApp, `revision`, 0>): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `appUrls.postInstallationUrls` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
1447
1494
|
interface UpdateApp {
|
|
1448
1495
|
/**
|
|
1449
1496
|
* App ID.
|
|
@@ -1592,6 +1639,11 @@ interface UpdateApp {
|
|
|
1592
1639
|
* @internal
|
|
1593
1640
|
*/
|
|
1594
1641
|
hostAppConfig?: HostAppConfig;
|
|
1642
|
+
/**
|
|
1643
|
+
* Tenant owning this companion app. Set by companion-app services at creation.
|
|
1644
|
+
* @internal
|
|
1645
|
+
*/
|
|
1646
|
+
companionAppOptions?: CompanionAppOptions;
|
|
1595
1647
|
}
|
|
1596
1648
|
/**
|
|
1597
1649
|
* Generates a slug for the app. If a slug already exists, returns the app with its existing slug.
|
|
@@ -1607,7 +1659,7 @@ interface UpdateApp {
|
|
|
1607
1659
|
* @permissionId DEV_CENTER.WRITE_APP
|
|
1608
1660
|
* @fqn wix.devcenter.apps.v1.AppsService.GenerateSlug
|
|
1609
1661
|
*/
|
|
1610
|
-
declare function generateSlug(appId: string): Promise<NonNullablePaths<GenerateSlugResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
1662
|
+
declare function generateSlug(appId: string): Promise<NonNullablePaths<GenerateSlugResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.appUrls.postInstallationUrls` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
1611
1663
|
/**
|
|
1612
1664
|
* Suggests a namespace using the app's stored name and its owning account's slug or company name.
|
|
1613
1665
|
* Falls back to the account slug when no company name is available.
|
|
@@ -1686,7 +1738,7 @@ interface SetNamespaceOptions {
|
|
|
1686
1738
|
* @permissionId WIX_DEVELOPERS.MODIFY_APP
|
|
1687
1739
|
* @fqn wix.devcenter.apps.v1.AppsService.CreateSecondarySecret
|
|
1688
1740
|
*/
|
|
1689
|
-
declare function createSecondarySecret(appId: string, options?: CreateSecondarySecretOptions): Promise<NonNullablePaths<CreateSecondarySecretResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
1741
|
+
declare function createSecondarySecret(appId: string, options?: CreateSecondarySecretOptions): Promise<NonNullablePaths<CreateSecondarySecretResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.appUrls.postInstallationUrls` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
1690
1742
|
interface CreateSecondarySecretOptions {
|
|
1691
1743
|
/** Latest app revision, available from Get App. An outdated revision is rejected. */
|
|
1692
1744
|
revision?: string;
|
|
@@ -1707,4 +1759,4 @@ interface CreateSecondarySecretOptions {
|
|
|
1707
1759
|
*/
|
|
1708
1760
|
declare function revokeSecret(appId: string, secretToRevoke: SecretToRevokeWithLiterals): Promise<RevokeSecretResponse>;
|
|
1709
1761
|
|
|
1710
|
-
export { type AccountInfo, Action, type ActionEvent, type ActionWithLiterals, type ActivateSecondarySecretRequest, type ActivateSecondarySecretResponse, type AddressLocation, type App, type AppChangedEvent, type AppComponentMetadata, type AppOwnerChangedEvent, type AppSecrets, type AppSlugChanged, AppType, type AppTypeWithLiterals, type AppUriMessage, type AppUrls, type AppUrlsChangedInOldServiceEvent, type AppUrlsChangedInOldServiceEventChangedUrlOneOf, type AppVersionApproved, type AppVersionArchived, type AppVersionCreated, type AppVersionDeclined, type AppVersionDraftChanged, type AppVersionPublished, type AppVersionReleased, type AppVersionStateChanged, type AppVersionStateChangedStateOneOf, type AppVersionSubmitted, type AssociateServiceAppRequest, type AssociateServiceAppResponse, type ConsentOptions, type ContactEmails, type CreateAppRequest, type CreateAppResponse, type CreateSecondarySecretOptions, type CreateSecondarySecretRequest, type CreateSecondarySecretResponse, type CreateServiceAppRequest, type CreateServiceAppResponse, type CreatedBy, CreatedByType, type CreatedByTypeWithLiterals, type CursorPaging, type Cursors, type DeleteAppRequest, type DeleteAppResponse, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, ForceCascadeDeleteAppDecision, type ForceCascadeDeleteAppDecisionWithLiterals, type ForceCascadeDeleteAppRequest, type ForceCascadeDeleteAppResponse, type GenerateSlugRequest, type GenerateSlugResponse, type GetAppOptions, type GetAppRequest, type GetAppResponse, type GetNamespaceSuggestionByNameOptions, type GetNamespaceSuggestionByNameRequest, type GetNamespaceSuggestionByNameResponse, type GetNamespaceSuggestionOptions, type GetNamespaceSuggestionRequest, type GetNamespaceSuggestionResponse, type HostAppConfig, type IdentificationData, type IdentificationDataIdOneOf, type InstallationPreferences, type InstallationPreferencesOpenButtonOptionsOneOf, LoginPolicy, type LoginPolicyWithLiterals, type MessageEnvelope, NamespaceType, type NamespaceTypeWithLiterals, OpenButtonAction, type OpenButtonActionWithLiterals, type OpenComponentId, type Paging, type PagingMetadataV2, type PartialVersionOptions, PermissionLevel, type PermissionLevelWithLiterals, type QueryAppRequest, type QueryAppResponse, type QueryV2, type QueryV2PagingMethodOneOf, RedirectTarget, type RedirectTargetWithLiterals, type RedirectUrlMessage, type RenameCodeIdentifierRequest, type RenameCodeIdentifierResponse, type RenameSlugRequest, type RenameSlugResponse, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type RevokeSecretRequest, type RevokeSecretResponse, type RollbackSecretRequest, type RollbackSecretResponse, type RotateSecretRequest, type RotateSecretResponse, SecretToRevoke, type SecretToRevokeWithLiterals, type SetAppOwnerRequest, type SetAppOwnerResponse, type SetCacheableAppRequest, type SetCacheableAppResponse, type SetCodeIdentifierRequest, type SetCodeIdentifierResponse, type SetComponentsMetadataRequest, type SetComponentsMetadataResponse, type SetExceededSizeRequest, type SetExceededSizeResponse, type SetHipaaCompliantRequest, type SetHipaaCompliantResponse, type SetNamespaceOptions, type SetNamespaceRequest, type SetNamespaceResponse, type SetOwnershipTagRequest, type SetOwnershipTagResponse, type SetPrivateAppRequest, type SetPrivateAppResponse, ShowConsentBehaviour, type ShowConsentBehaviourWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type SuggestCodeIdentifierRequest, type SuggestCodeIdentifierResponse, UninstallActions, type UninstallActionsWithLiterals, type UnreleasedChanges, type UpdateApp, type UpdateAppRequest, type UpdateAppResponse, type UpdateHostAppConfigRequest, type UpdateHostAppConfigResponse, type V1App, VersionStatus, type VersionStatusWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createApp, createSecondarySecret, generateSlug, getApp, getNamespaceSuggestion, getNamespaceSuggestionByName, revokeSecret, setNamespace, updateApp };
|
|
1762
|
+
export { type AccountInfo, Action, type ActionEvent, type ActionWithLiterals, type ActivateSecondarySecretRequest, type ActivateSecondarySecretResponse, type AddressLocation, type App, type AppChangedEvent, type AppComponentMetadata, type AppOwnerChangedEvent, type AppSecrets, type AppSlugChanged, AppType, type AppTypeWithLiterals, type AppUriMessage, type AppUrls, type AppUrlsChangedInOldServiceEvent, type AppUrlsChangedInOldServiceEventChangedUrlOneOf, type AppVersionApproved, type AppVersionArchived, type AppVersionCreated, type AppVersionDeclined, type AppVersionDraftChanged, type AppVersionPublished, type AppVersionReleased, type AppVersionStateChanged, type AppVersionStateChangedStateOneOf, type AppVersionSubmitted, type AssociateServiceAppRequest, type AssociateServiceAppResponse, type CompanionAppOptions, type ConsentOptions, type ContactEmails, type CreateAppRequest, type CreateAppResponse, type CreateSecondarySecretOptions, type CreateSecondarySecretRequest, type CreateSecondarySecretResponse, type CreateServiceAppRequest, type CreateServiceAppResponse, type CreatedBy, CreatedByType, type CreatedByTypeWithLiterals, type CursorPaging, type Cursors, type DeleteAppRequest, type DeleteAppResponse, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, ForceCascadeDeleteAppDecision, type ForceCascadeDeleteAppDecisionWithLiterals, type ForceCascadeDeleteAppRequest, type ForceCascadeDeleteAppResponse, type GenerateSlugRequest, type GenerateSlugResponse, type GetAppOptions, type GetAppRequest, type GetAppResponse, type GetNamespaceSuggestionByNameOptions, type GetNamespaceSuggestionByNameRequest, type GetNamespaceSuggestionByNameResponse, type GetNamespaceSuggestionOptions, type GetNamespaceSuggestionRequest, type GetNamespaceSuggestionResponse, type HostAppConfig, type IdentificationData, type IdentificationDataIdOneOf, type InstallationPreferences, type InstallationPreferencesOpenButtonOptionsOneOf, LoginPolicy, type LoginPolicyWithLiterals, type MessageEnvelope, NamespaceType, type NamespaceTypeWithLiterals, OpenButtonAction, type OpenButtonActionWithLiterals, type OpenComponentId, type Paging, type PagingMetadataV2, type PartialVersionOptions, PermissionLevel, type PermissionLevelWithLiterals, type QueryAppRequest, type QueryAppResponse, type QueryV2, type QueryV2PagingMethodOneOf, RedirectTarget, type RedirectTargetWithLiterals, type RedirectUrlMessage, type RenameCodeIdentifierRequest, type RenameCodeIdentifierResponse, type RenameSlugRequest, type RenameSlugResponse, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type RevokeSecretRequest, type RevokeSecretResponse, type RollbackSecretRequest, type RollbackSecretResponse, type RotateSecretRequest, type RotateSecretResponse, SecretToRevoke, type SecretToRevokeWithLiterals, type SetAppOwnerRequest, type SetAppOwnerResponse, type SetCacheableAppRequest, type SetCacheableAppResponse, type SetCodeIdentifierRequest, type SetCodeIdentifierResponse, type SetCompanionAppOptionsRequest, type SetCompanionAppOptionsResponse, type SetComponentsMetadataRequest, type SetComponentsMetadataResponse, type SetExceededSizeRequest, type SetExceededSizeResponse, type SetHipaaCompliantRequest, type SetHipaaCompliantResponse, type SetNamespaceOptions, type SetNamespaceRequest, type SetNamespaceResponse, type SetOwnershipTagRequest, type SetOwnershipTagResponse, type SetPrivateAppRequest, type SetPrivateAppResponse, ShowConsentBehaviour, type ShowConsentBehaviourWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type SuggestCodeIdentifierRequest, type SuggestCodeIdentifierResponse, TenantType, type TenantTypeWithLiterals, UninstallActions, type UninstallActionsWithLiterals, type UnreleasedChanges, type UpdateApp, type UpdateAppRequest, type UpdateAppResponse, type UpdateHostAppConfigRequest, type UpdateHostAppConfigResponse, type V1App, VersionStatus, type VersionStatusWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createApp, createSecondarySecret, generateSlug, getApp, getNamespaceSuggestion, getNamespaceSuggestionByName, revokeSecret, setNamespace, updateApp };
|
|
@@ -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 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { V1App, GetAppOptions, UpdateApp, GenerateSlugResponse, GetNamespaceSuggestionOptions, GetNamespaceSuggestionResponse, GetNamespaceSuggestionByNameOptions, GetNamespaceSuggestionByNameResponse, SetNamespaceOptions, SetNamespaceResponse, CreateSecondarySecretOptions, CreateSecondarySecretResponse, SecretToRevokeWithLiterals, RevokeSecretResponse } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, Action, ActionEvent, ActionWithLiterals, ActivateSecondarySecretRequest, ActivateSecondarySecretResponse, AddressLocation, App, AppChangedEvent, AppComponentMetadata, AppOwnerChangedEvent, AppSecrets, AppSlugChanged, AppType, AppTypeWithLiterals, AppUriMessage, AppUrls, AppUrlsChangedInOldServiceEvent, AppUrlsChangedInOldServiceEventChangedUrlOneOf, AppVersionApproved, AppVersionArchived, AppVersionCreated, AppVersionDeclined, AppVersionDraftChanged, AppVersionPublished, AppVersionReleased, AppVersionStateChanged, AppVersionStateChangedStateOneOf, AppVersionSubmitted, AssociateServiceAppRequest, AssociateServiceAppResponse, ConsentOptions, ContactEmails, CreateAppRequest, CreateAppResponse, CreateSecondarySecretRequest, CreateServiceAppRequest, CreateServiceAppResponse, CreatedBy, CreatedByType, CreatedByTypeWithLiterals, CursorPaging, Cursors, DeleteAppRequest, DeleteAppResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ForceCascadeDeleteAppDecision, ForceCascadeDeleteAppDecisionWithLiterals, ForceCascadeDeleteAppRequest, ForceCascadeDeleteAppResponse, GenerateSlugRequest, GetAppRequest, GetAppResponse, GetNamespaceSuggestionByNameRequest, GetNamespaceSuggestionRequest, HostAppConfig, IdentificationData, IdentificationDataIdOneOf, InstallationPreferences, InstallationPreferencesOpenButtonOptionsOneOf, LoginPolicy, LoginPolicyWithLiterals, MessageEnvelope, NamespaceType, NamespaceTypeWithLiterals, OpenButtonAction, OpenButtonActionWithLiterals, OpenComponentId, Paging, PagingMetadataV2, PartialVersionOptions, PermissionLevel, PermissionLevelWithLiterals, QueryAppRequest, QueryAppResponse, QueryV2, QueryV2PagingMethodOneOf, RedirectTarget, RedirectTargetWithLiterals, RedirectUrlMessage, RenameCodeIdentifierRequest, RenameCodeIdentifierResponse, RenameSlugRequest, RenameSlugResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, RevokeSecretRequest, RollbackSecretRequest, RollbackSecretResponse, RotateSecretRequest, RotateSecretResponse, SecretToRevoke, SetAppOwnerRequest, SetAppOwnerResponse, SetCacheableAppRequest, SetCacheableAppResponse, SetCodeIdentifierRequest, SetCodeIdentifierResponse, SetComponentsMetadataRequest, SetComponentsMetadataResponse, SetExceededSizeRequest, SetExceededSizeResponse, SetHipaaCompliantRequest, SetHipaaCompliantResponse, SetNamespaceRequest, SetOwnershipTagRequest, SetOwnershipTagResponse, SetPrivateAppRequest, SetPrivateAppResponse, ShowConsentBehaviour, ShowConsentBehaviourWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Status, StatusWithLiterals, SuggestCodeIdentifierRequest, SuggestCodeIdentifierResponse, UninstallActions, UninstallActionsWithLiterals, UnreleasedChanges, UpdateAppRequest, UpdateAppResponse, UpdateHostAppConfigRequest, UpdateHostAppConfigResponse, VersionStatus, VersionStatusWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, Action, ActionEvent, ActionWithLiterals, ActivateSecondarySecretRequest, ActivateSecondarySecretResponse, AddressLocation, App, AppChangedEvent, AppComponentMetadata, AppOwnerChangedEvent, AppSecrets, AppSlugChanged, AppType, AppTypeWithLiterals, AppUriMessage, AppUrls, AppUrlsChangedInOldServiceEvent, AppUrlsChangedInOldServiceEventChangedUrlOneOf, AppVersionApproved, AppVersionArchived, AppVersionCreated, AppVersionDeclined, AppVersionDraftChanged, AppVersionPublished, AppVersionReleased, AppVersionStateChanged, AppVersionStateChangedStateOneOf, AppVersionSubmitted, AssociateServiceAppRequest, AssociateServiceAppResponse, CompanionAppOptions, ConsentOptions, ContactEmails, CreateAppRequest, CreateAppResponse, CreateSecondarySecretRequest, CreateServiceAppRequest, CreateServiceAppResponse, CreatedBy, CreatedByType, CreatedByTypeWithLiterals, CursorPaging, Cursors, DeleteAppRequest, DeleteAppResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ForceCascadeDeleteAppDecision, ForceCascadeDeleteAppDecisionWithLiterals, ForceCascadeDeleteAppRequest, ForceCascadeDeleteAppResponse, GenerateSlugRequest, GetAppRequest, GetAppResponse, GetNamespaceSuggestionByNameRequest, GetNamespaceSuggestionRequest, HostAppConfig, IdentificationData, IdentificationDataIdOneOf, InstallationPreferences, InstallationPreferencesOpenButtonOptionsOneOf, LoginPolicy, LoginPolicyWithLiterals, MessageEnvelope, NamespaceType, NamespaceTypeWithLiterals, OpenButtonAction, OpenButtonActionWithLiterals, OpenComponentId, Paging, PagingMetadataV2, PartialVersionOptions, PermissionLevel, PermissionLevelWithLiterals, QueryAppRequest, QueryAppResponse, QueryV2, QueryV2PagingMethodOneOf, RedirectTarget, RedirectTargetWithLiterals, RedirectUrlMessage, RenameCodeIdentifierRequest, RenameCodeIdentifierResponse, RenameSlugRequest, RenameSlugResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, RevokeSecretRequest, RollbackSecretRequest, RollbackSecretResponse, RotateSecretRequest, RotateSecretResponse, SecretToRevoke, SetAppOwnerRequest, SetAppOwnerResponse, SetCacheableAppRequest, SetCacheableAppResponse, SetCodeIdentifierRequest, SetCodeIdentifierResponse, SetCompanionAppOptionsRequest, SetCompanionAppOptionsResponse, SetComponentsMetadataRequest, SetComponentsMetadataResponse, SetExceededSizeRequest, SetExceededSizeResponse, SetHipaaCompliantRequest, SetHipaaCompliantResponse, SetNamespaceRequest, SetOwnershipTagRequest, SetOwnershipTagResponse, SetPrivateAppRequest, SetPrivateAppResponse, ShowConsentBehaviour, ShowConsentBehaviourWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Status, StatusWithLiterals, SuggestCodeIdentifierRequest, SuggestCodeIdentifierResponse, TenantType, TenantTypeWithLiterals, UninstallActions, UninstallActionsWithLiterals, UnreleasedChanges, UpdateAppRequest, UpdateAppResponse, UpdateHostAppConfigRequest, UpdateHostAppConfigResponse, VersionStatus, VersionStatusWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createApp$1(httpClient: HttpClient): CreateAppSignature;
|
|
6
6
|
interface CreateAppSignature {
|
|
@@ -14,7 +14,7 @@ interface CreateAppSignature {
|
|
|
14
14
|
* @param - App to create.
|
|
15
15
|
* @returns Created app.
|
|
16
16
|
*/
|
|
17
|
-
(app: V1App): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
17
|
+
(app: V1App): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `appUrls.postInstallationUrls` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
18
18
|
}
|
|
19
19
|
declare function getApp$1(httpClient: HttpClient): GetAppSignature;
|
|
20
20
|
interface GetAppSignature {
|
|
@@ -25,7 +25,7 @@ interface GetAppSignature {
|
|
|
25
25
|
* @param - App ID.
|
|
26
26
|
* @returns Retrieved app.
|
|
27
27
|
*/
|
|
28
|
-
(appId: string, options?: GetAppOptions): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
28
|
+
(appId: string, options?: GetAppOptions): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `appUrls.postInstallationUrls` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
29
29
|
}
|
|
30
30
|
declare function updateApp$1(httpClient: HttpClient): UpdateAppSignature;
|
|
31
31
|
interface UpdateAppSignature {
|
|
@@ -47,7 +47,7 @@ interface UpdateAppSignature {
|
|
|
47
47
|
* @param - App ID.
|
|
48
48
|
* @returns Updated app.
|
|
49
49
|
*/
|
|
50
|
-
(_id: string, app: NonNullablePaths<UpdateApp, `revision`, 0>): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
50
|
+
(_id: string, app: NonNullablePaths<UpdateApp, `revision`, 0>): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `appUrls.postInstallationUrls` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
51
51
|
}
|
|
52
52
|
declare function generateSlug$1(httpClient: HttpClient): GenerateSlugSignature;
|
|
53
53
|
interface GenerateSlugSignature {
|
|
@@ -58,7 +58,7 @@ interface GenerateSlugSignature {
|
|
|
58
58
|
* The exact names `google`, `facebook`, and `amazon` require privileged authorization (case-insensitive).
|
|
59
59
|
* @param - App ID.
|
|
60
60
|
*/
|
|
61
|
-
(appId: string): Promise<NonNullablePaths<GenerateSlugResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
61
|
+
(appId: string): Promise<NonNullablePaths<GenerateSlugResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.appUrls.postInstallationUrls` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
62
62
|
}
|
|
63
63
|
declare function getNamespaceSuggestion$1(httpClient: HttpClient): GetNamespaceSuggestionSignature;
|
|
64
64
|
interface GetNamespaceSuggestionSignature {
|
|
@@ -114,7 +114,7 @@ interface CreateSecondarySecretSignature {
|
|
|
114
114
|
* the real check is the MANUAL validateUpdateAppPermission(...) in code.
|
|
115
115
|
* @param - App ID.
|
|
116
116
|
*/
|
|
117
|
-
(appId: string, options?: CreateSecondarySecretOptions): Promise<NonNullablePaths<CreateSecondarySecretResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
117
|
+
(appId: string, options?: CreateSecondarySecretOptions): Promise<NonNullablePaths<CreateSecondarySecretResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.appUrls.postInstallationUrls` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
118
118
|
}
|
|
119
119
|
declare function revokeSecret$1(httpClient: HttpClient): RevokeSecretSignature;
|
|
120
120
|
interface RevokeSecretSignature {
|
|
@@ -153,6 +153,11 @@ interface V1App {
|
|
|
153
153
|
* @internal
|
|
154
154
|
*/
|
|
155
155
|
hostAppConfig?: HostAppConfig;
|
|
156
|
+
/**
|
|
157
|
+
* Tenant owning this companion app. Set by companion-app services at creation.
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
160
|
+
companionAppOptions?: CompanionAppOptions;
|
|
156
161
|
}
|
|
157
162
|
interface AppSecrets {
|
|
158
163
|
/**
|
|
@@ -237,6 +242,20 @@ interface AppUrls {
|
|
|
237
242
|
* @maxSize 100
|
|
238
243
|
*/
|
|
239
244
|
redirectUris?: string[];
|
|
245
|
+
/**
|
|
246
|
+
* Allowed post-installation URLs, where Wix redirects the user after installing the app from an external install link.
|
|
247
|
+
* A `postInstallationUrl` matches an entry when they are equal, ignoring the query string.
|
|
248
|
+
* @format WEB_URL
|
|
249
|
+
* @maxSize 100
|
|
250
|
+
*/
|
|
251
|
+
postInstallationUrls?: string[];
|
|
252
|
+
/**
|
|
253
|
+
* Whether installs fail when the `postInstallationUrl` doesn't match `post_installation_urls`.
|
|
254
|
+
* @internal
|
|
255
|
+
* @deprecated Whether installs fail when the `postInstallationUrl` doesn't match `post_installation_urls`.
|
|
256
|
+
* @targetRemovalDate 2026-12-01
|
|
257
|
+
*/
|
|
258
|
+
validatePostInstallationUrl?: boolean | null;
|
|
240
259
|
}
|
|
241
260
|
interface CreatedBy {
|
|
242
261
|
/**
|
|
@@ -420,6 +439,21 @@ declare enum LoginPolicy {
|
|
|
420
439
|
}
|
|
421
440
|
/** @enumType */
|
|
422
441
|
type LoginPolicyWithLiterals = LoginPolicy | 'LOGIN_POLICY_UNKNOWN' | 'LOGIN_POLICY_REQUIRED' | 'LOGIN_POLICY_OPTIONAL';
|
|
442
|
+
interface CompanionAppOptions {
|
|
443
|
+
/**
|
|
444
|
+
* ID of the site or account that owns the companion app.
|
|
445
|
+
* @format GUID
|
|
446
|
+
*/
|
|
447
|
+
tenantId?: string;
|
|
448
|
+
/** Type of tenant that owns the companion app. */
|
|
449
|
+
tenantType?: TenantTypeWithLiterals;
|
|
450
|
+
}
|
|
451
|
+
declare enum TenantType {
|
|
452
|
+
SITE = "SITE",
|
|
453
|
+
ACCOUNT = "ACCOUNT"
|
|
454
|
+
}
|
|
455
|
+
/** @enumType */
|
|
456
|
+
type TenantTypeWithLiterals = TenantType | 'SITE' | 'ACCOUNT';
|
|
423
457
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
424
458
|
createdEvent?: EntityCreatedEvent;
|
|
425
459
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -1306,6 +1340,19 @@ interface SetCacheableAppResponse {
|
|
|
1306
1340
|
/** The updated app */
|
|
1307
1341
|
app?: V1App;
|
|
1308
1342
|
}
|
|
1343
|
+
interface SetCompanionAppOptionsRequest {
|
|
1344
|
+
/**
|
|
1345
|
+
* ID of the companion app to update.
|
|
1346
|
+
* @format GUID
|
|
1347
|
+
*/
|
|
1348
|
+
appId?: string;
|
|
1349
|
+
/** Owning site or account of the companion app. */
|
|
1350
|
+
companionAppOptions?: CompanionAppOptions;
|
|
1351
|
+
}
|
|
1352
|
+
interface SetCompanionAppOptionsResponse {
|
|
1353
|
+
/** Updated app. */
|
|
1354
|
+
app?: V1App;
|
|
1355
|
+
}
|
|
1309
1356
|
interface SetComponentsMetadataRequest {
|
|
1310
1357
|
/**
|
|
1311
1358
|
* App id of the app to update
|
|
@@ -1391,7 +1438,7 @@ interface AssociateServiceAppResponse {
|
|
|
1391
1438
|
* @returns Created app.
|
|
1392
1439
|
* @fqn wix.devcenter.apps.v1.AppsService.CreateApp
|
|
1393
1440
|
*/
|
|
1394
|
-
declare function createApp(app: V1App): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
1441
|
+
declare function createApp(app: V1App): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `appUrls.postInstallationUrls` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
1395
1442
|
/**
|
|
1396
1443
|
* Retrieves an app by ID. App secrets are omitted by default.
|
|
1397
1444
|
* To include `appSecrets`, add `APP_SECRETS` to `additionalFields`.
|
|
@@ -1405,7 +1452,7 @@ declare function createApp(app: V1App): Promise<NonNullablePaths<V1App, `name` |
|
|
|
1405
1452
|
* @returns Retrieved app.
|
|
1406
1453
|
* @fqn wix.devcenter.apps.v1.AppsService.GetApp
|
|
1407
1454
|
*/
|
|
1408
|
-
declare function getApp(appId: string, options?: GetAppOptions): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
1455
|
+
declare function getApp(appId: string, options?: GetAppOptions): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `appUrls.postInstallationUrls` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
1409
1456
|
interface GetAppOptions {
|
|
1410
1457
|
/** Whether to use a consistent read to retrieve the latest stored app data. Default: `false`. */
|
|
1411
1458
|
consistent?: boolean;
|
|
@@ -1443,7 +1490,7 @@ interface GetAppOptions {
|
|
|
1443
1490
|
* @returns Updated app.
|
|
1444
1491
|
* @fqn wix.devcenter.apps.v1.AppsService.UpdateApp
|
|
1445
1492
|
*/
|
|
1446
|
-
declare function updateApp(_id: string, app: NonNullablePaths<UpdateApp, `revision`, 0>): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
1493
|
+
declare function updateApp(_id: string, app: NonNullablePaths<UpdateApp, `revision`, 0>): Promise<NonNullablePaths<V1App, `name` | `appSecrets.appSecret` | `appSecrets.webhookPublicKey` | `appSecrets.secondarySecretActive` | `status` | `appUrls.redirectUris` | `appUrls.postInstallationUrls` | `createdBy._id` | `createdBy.type` | `installationPreferences.openComponentIdOptions.componentId` | `installationPreferences.overridePostInstallationRedirect` | `installationPreferences.openButtonAction` | `installationPreferences.uninstallAction` | `unreleasedChanges.componentsChanges` | `unreleasedChanges.appTranslationsChanges` | `unreleasedChanges.componentsTranslationChanges` | `unreleasedChanges.appPermissionsChanges` | `unreleasedChanges.appEntityChanges`, 2>>;
|
|
1447
1494
|
interface UpdateApp {
|
|
1448
1495
|
/**
|
|
1449
1496
|
* App ID.
|
|
@@ -1592,6 +1639,11 @@ interface UpdateApp {
|
|
|
1592
1639
|
* @internal
|
|
1593
1640
|
*/
|
|
1594
1641
|
hostAppConfig?: HostAppConfig;
|
|
1642
|
+
/**
|
|
1643
|
+
* Tenant owning this companion app. Set by companion-app services at creation.
|
|
1644
|
+
* @internal
|
|
1645
|
+
*/
|
|
1646
|
+
companionAppOptions?: CompanionAppOptions;
|
|
1595
1647
|
}
|
|
1596
1648
|
/**
|
|
1597
1649
|
* Generates a slug for the app. If a slug already exists, returns the app with its existing slug.
|
|
@@ -1607,7 +1659,7 @@ interface UpdateApp {
|
|
|
1607
1659
|
* @permissionId DEV_CENTER.WRITE_APP
|
|
1608
1660
|
* @fqn wix.devcenter.apps.v1.AppsService.GenerateSlug
|
|
1609
1661
|
*/
|
|
1610
|
-
declare function generateSlug(appId: string): Promise<NonNullablePaths<GenerateSlugResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
1662
|
+
declare function generateSlug(appId: string): Promise<NonNullablePaths<GenerateSlugResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.appUrls.postInstallationUrls` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
1611
1663
|
/**
|
|
1612
1664
|
* Suggests a namespace using the app's stored name and its owning account's slug or company name.
|
|
1613
1665
|
* Falls back to the account slug when no company name is available.
|
|
@@ -1686,7 +1738,7 @@ interface SetNamespaceOptions {
|
|
|
1686
1738
|
* @permissionId WIX_DEVELOPERS.MODIFY_APP
|
|
1687
1739
|
* @fqn wix.devcenter.apps.v1.AppsService.CreateSecondarySecret
|
|
1688
1740
|
*/
|
|
1689
|
-
declare function createSecondarySecret(appId: string, options?: CreateSecondarySecretOptions): Promise<NonNullablePaths<CreateSecondarySecretResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
1741
|
+
declare function createSecondarySecret(appId: string, options?: CreateSecondarySecretOptions): Promise<NonNullablePaths<CreateSecondarySecretResponse, `app.name` | `app.appSecrets.appSecret` | `app.appSecrets.webhookPublicKey` | `app.appSecrets.secondarySecretActive` | `app.status` | `app.appUrls.redirectUris` | `app.appUrls.postInstallationUrls` | `app.createdBy._id` | `app.createdBy.type` | `app.installationPreferences.openComponentIdOptions.componentId` | `app.installationPreferences.overridePostInstallationRedirect` | `app.installationPreferences.openButtonAction` | `app.installationPreferences.uninstallAction` | `app.unreleasedChanges.componentsChanges` | `app.unreleasedChanges.appTranslationsChanges` | `app.unreleasedChanges.componentsTranslationChanges` | `app.unreleasedChanges.appPermissionsChanges` | `app.unreleasedChanges.appEntityChanges`, 3>>;
|
|
1690
1742
|
interface CreateSecondarySecretOptions {
|
|
1691
1743
|
/** Latest app revision, available from Get App. An outdated revision is rejected. */
|
|
1692
1744
|
revision?: string;
|
|
@@ -1707,4 +1759,4 @@ interface CreateSecondarySecretOptions {
|
|
|
1707
1759
|
*/
|
|
1708
1760
|
declare function revokeSecret(appId: string, secretToRevoke: SecretToRevokeWithLiterals): Promise<RevokeSecretResponse>;
|
|
1709
1761
|
|
|
1710
|
-
export { type AccountInfo, Action, type ActionEvent, type ActionWithLiterals, type ActivateSecondarySecretRequest, type ActivateSecondarySecretResponse, type AddressLocation, type App, type AppChangedEvent, type AppComponentMetadata, type AppOwnerChangedEvent, type AppSecrets, type AppSlugChanged, AppType, type AppTypeWithLiterals, type AppUriMessage, type AppUrls, type AppUrlsChangedInOldServiceEvent, type AppUrlsChangedInOldServiceEventChangedUrlOneOf, type AppVersionApproved, type AppVersionArchived, type AppVersionCreated, type AppVersionDeclined, type AppVersionDraftChanged, type AppVersionPublished, type AppVersionReleased, type AppVersionStateChanged, type AppVersionStateChangedStateOneOf, type AppVersionSubmitted, type AssociateServiceAppRequest, type AssociateServiceAppResponse, type ConsentOptions, type ContactEmails, type CreateAppRequest, type CreateAppResponse, type CreateSecondarySecretOptions, type CreateSecondarySecretRequest, type CreateSecondarySecretResponse, type CreateServiceAppRequest, type CreateServiceAppResponse, type CreatedBy, CreatedByType, type CreatedByTypeWithLiterals, type CursorPaging, type Cursors, type DeleteAppRequest, type DeleteAppResponse, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, ForceCascadeDeleteAppDecision, type ForceCascadeDeleteAppDecisionWithLiterals, type ForceCascadeDeleteAppRequest, type ForceCascadeDeleteAppResponse, type GenerateSlugRequest, type GenerateSlugResponse, type GetAppOptions, type GetAppRequest, type GetAppResponse, type GetNamespaceSuggestionByNameOptions, type GetNamespaceSuggestionByNameRequest, type GetNamespaceSuggestionByNameResponse, type GetNamespaceSuggestionOptions, type GetNamespaceSuggestionRequest, type GetNamespaceSuggestionResponse, type HostAppConfig, type IdentificationData, type IdentificationDataIdOneOf, type InstallationPreferences, type InstallationPreferencesOpenButtonOptionsOneOf, LoginPolicy, type LoginPolicyWithLiterals, type MessageEnvelope, NamespaceType, type NamespaceTypeWithLiterals, OpenButtonAction, type OpenButtonActionWithLiterals, type OpenComponentId, type Paging, type PagingMetadataV2, type PartialVersionOptions, PermissionLevel, type PermissionLevelWithLiterals, type QueryAppRequest, type QueryAppResponse, type QueryV2, type QueryV2PagingMethodOneOf, RedirectTarget, type RedirectTargetWithLiterals, type RedirectUrlMessage, type RenameCodeIdentifierRequest, type RenameCodeIdentifierResponse, type RenameSlugRequest, type RenameSlugResponse, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type RevokeSecretRequest, type RevokeSecretResponse, type RollbackSecretRequest, type RollbackSecretResponse, type RotateSecretRequest, type RotateSecretResponse, SecretToRevoke, type SecretToRevokeWithLiterals, type SetAppOwnerRequest, type SetAppOwnerResponse, type SetCacheableAppRequest, type SetCacheableAppResponse, type SetCodeIdentifierRequest, type SetCodeIdentifierResponse, type SetComponentsMetadataRequest, type SetComponentsMetadataResponse, type SetExceededSizeRequest, type SetExceededSizeResponse, type SetHipaaCompliantRequest, type SetHipaaCompliantResponse, type SetNamespaceOptions, type SetNamespaceRequest, type SetNamespaceResponse, type SetOwnershipTagRequest, type SetOwnershipTagResponse, type SetPrivateAppRequest, type SetPrivateAppResponse, ShowConsentBehaviour, type ShowConsentBehaviourWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type SuggestCodeIdentifierRequest, type SuggestCodeIdentifierResponse, UninstallActions, type UninstallActionsWithLiterals, type UnreleasedChanges, type UpdateApp, type UpdateAppRequest, type UpdateAppResponse, type UpdateHostAppConfigRequest, type UpdateHostAppConfigResponse, type V1App, VersionStatus, type VersionStatusWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createApp, createSecondarySecret, generateSlug, getApp, getNamespaceSuggestion, getNamespaceSuggestionByName, revokeSecret, setNamespace, updateApp };
|
|
1762
|
+
export { type AccountInfo, Action, type ActionEvent, type ActionWithLiterals, type ActivateSecondarySecretRequest, type ActivateSecondarySecretResponse, type AddressLocation, type App, type AppChangedEvent, type AppComponentMetadata, type AppOwnerChangedEvent, type AppSecrets, type AppSlugChanged, AppType, type AppTypeWithLiterals, type AppUriMessage, type AppUrls, type AppUrlsChangedInOldServiceEvent, type AppUrlsChangedInOldServiceEventChangedUrlOneOf, type AppVersionApproved, type AppVersionArchived, type AppVersionCreated, type AppVersionDeclined, type AppVersionDraftChanged, type AppVersionPublished, type AppVersionReleased, type AppVersionStateChanged, type AppVersionStateChangedStateOneOf, type AppVersionSubmitted, type AssociateServiceAppRequest, type AssociateServiceAppResponse, type CompanionAppOptions, type ConsentOptions, type ContactEmails, type CreateAppRequest, type CreateAppResponse, type CreateSecondarySecretOptions, type CreateSecondarySecretRequest, type CreateSecondarySecretResponse, type CreateServiceAppRequest, type CreateServiceAppResponse, type CreatedBy, CreatedByType, type CreatedByTypeWithLiterals, type CursorPaging, type Cursors, type DeleteAppRequest, type DeleteAppResponse, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, ForceCascadeDeleteAppDecision, type ForceCascadeDeleteAppDecisionWithLiterals, type ForceCascadeDeleteAppRequest, type ForceCascadeDeleteAppResponse, type GenerateSlugRequest, type GenerateSlugResponse, type GetAppOptions, type GetAppRequest, type GetAppResponse, type GetNamespaceSuggestionByNameOptions, type GetNamespaceSuggestionByNameRequest, type GetNamespaceSuggestionByNameResponse, type GetNamespaceSuggestionOptions, type GetNamespaceSuggestionRequest, type GetNamespaceSuggestionResponse, type HostAppConfig, type IdentificationData, type IdentificationDataIdOneOf, type InstallationPreferences, type InstallationPreferencesOpenButtonOptionsOneOf, LoginPolicy, type LoginPolicyWithLiterals, type MessageEnvelope, NamespaceType, type NamespaceTypeWithLiterals, OpenButtonAction, type OpenButtonActionWithLiterals, type OpenComponentId, type Paging, type PagingMetadataV2, type PartialVersionOptions, PermissionLevel, type PermissionLevelWithLiterals, type QueryAppRequest, type QueryAppResponse, type QueryV2, type QueryV2PagingMethodOneOf, RedirectTarget, type RedirectTargetWithLiterals, type RedirectUrlMessage, type RenameCodeIdentifierRequest, type RenameCodeIdentifierResponse, type RenameSlugRequest, type RenameSlugResponse, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type RevokeSecretRequest, type RevokeSecretResponse, type RollbackSecretRequest, type RollbackSecretResponse, type RotateSecretRequest, type RotateSecretResponse, SecretToRevoke, type SecretToRevokeWithLiterals, type SetAppOwnerRequest, type SetAppOwnerResponse, type SetCacheableAppRequest, type SetCacheableAppResponse, type SetCodeIdentifierRequest, type SetCodeIdentifierResponse, type SetCompanionAppOptionsRequest, type SetCompanionAppOptionsResponse, type SetComponentsMetadataRequest, type SetComponentsMetadataResponse, type SetExceededSizeRequest, type SetExceededSizeResponse, type SetHipaaCompliantRequest, type SetHipaaCompliantResponse, type SetNamespaceOptions, type SetNamespaceRequest, type SetNamespaceResponse, type SetOwnershipTagRequest, type SetOwnershipTagResponse, type SetPrivateAppRequest, type SetPrivateAppResponse, ShowConsentBehaviour, type ShowConsentBehaviourWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type SuggestCodeIdentifierRequest, type SuggestCodeIdentifierResponse, TenantType, type TenantTypeWithLiterals, UninstallActions, type UninstallActionsWithLiterals, type UnreleasedChanges, type UpdateApp, type UpdateAppRequest, type UpdateAppResponse, type UpdateHostAppConfigRequest, type UpdateHostAppConfigResponse, type V1App, VersionStatus, type VersionStatusWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createApp, createSecondarySecret, generateSlug, getApp, getNamespaceSuggestion, getNamespaceSuggestionByName, revokeSecret, setNamespace, updateApp };
|