@wix/auto_sdk_containers_projects 1.0.9 → 1.0.11
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 +24 -5
- package/build/cjs/index.js +69 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +98 -5
- package/build/cjs/index.typings.js +61 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +65 -4
- package/build/cjs/meta.js +48 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +24 -5
- package/build/es/index.mjs +67 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +98 -5
- package/build/es/index.typings.mjs +59 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +65 -4
- package/build/es/meta.mjs +46 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +24 -5
- package/build/internal/cjs/index.typings.d.ts +98 -5
- package/build/internal/cjs/meta.d.ts +65 -4
- package/build/internal/es/index.d.mts +24 -5
- package/build/internal/es/index.typings.d.mts +98 -5
- package/build/internal/es/meta.d.mts +65 -4
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { Project, UpdateProject, ResumeProjectResponse, RegenerateProjectNameResponse, RegenerateProjectIconResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, RestoreReleaseOptions, RestoreReleaseResponse, ListProjectsOptions, ListProjectsResponse, GetHimalayaAuthorizationResponse, PlatformWithLiterals, StartMobileBuildOptions, StartMobileBuildResponse, GetLatestMobileBuildsOptions, GetLatestMobileBuildsResponse } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, ActionEvent, AdditionalDataFilterMismatchType, AdditionalDataFilterMissingKey, AdditionalDataFilterMustHaveKey, AdditionalDataMissingValue, AdditionalFilterCantBeEmpty, ConductByScopeResponse, ConductByScopesResponse, ConductResponse, ConductionException, ConductionResult, ConductionStatus, ConductionStatusStatusOneOf, CreateAgentSessionRequest, CreateAgentSessionResponse, CreateProjectRequest, CreateProjectResponse, CursorPaging, CursorPagingMetadata, Cursors, DeleteProjectRequest, DeleteProjectResponse, DidNotFindEligibleFilter, DomainEvent, DomainEventBodyOneOf, DynamicConfigConductionResult, DynamicConfigStatus, DynamicConfigStatusStatusOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FailedMobileBuildPlatform, FailedToFetchExperiment, FailedToRunToss, FailureKind, FailureKindWithLiterals, FilterNotImplemented, FilterNotSupported, FilterOperandEmpty, GeneralError, GetAgentConfigRequest, GetAgentConfigResponse, GetAgentExperimentsRequest, GetAgentExperimentsResponse, GetHimalayaAuthorizationRequest, GetLatestMobileBuildsRequest, GetProjectRequest, GetProjectResponse, IdentificationData, IdentificationDataIdOneOf, InvalidLibraryConfiguration, IsEnabledFieldNotFound, IsEnabledFieldNotOfTypeBoolean, ListProjectsForCurrentUserRequest, ListProjectsForCurrentUserResponse, ListProjectsRequest, MessageEnvelope, MissingElementInContextForBiProfileError, MissingExperimentId, MissingFilterTarget, MissingPlugins, MissingSeed, MissingSeedKeyType, MissingSeedType, MobileBuild, NoResultForConduction, NotImplemented, Platform, PlatformMobileBuilds, PopulationError, ProjectPlanReady, ProjectResumeRequested, ProjectStartRequested, ProjectStatus, ProjectStatusWithLiterals, RefreshAgentSiteTokenRequest, RefreshAgentSiteTokenResponse, RegenerateProjectIconRequest, RegenerateProjectNameRequest, RestoreInfo, RestoreReleaseRequest, ResumeProjectRequest, SandboxStatus, SandboxStatusWithLiterals, SaveProjectDesignRequest, StartMobileBuildRequest, StartProjectRequest, StartProjectResponse, Status, StatusWithLiterals, SuccessfulResult, UpdateProjectRequest, UpdateProjectResponse, V1AdditionalDataFilterMismatchType, V1AdditionalDataFilterMissingKey, V1AdditionalDataFilterMustHaveKey, V1AdditionalDataMissingValue, V1AdditionalFilterCantBeEmpty, V1ConductionException, V1DidNotFindEligibleFilter, V1FailedToFetchExperiment, V1FailedToRunToss, V1FilterNotImplemented, V1FilterNotSupported, V1FilterOperandEmpty, V1GeneralError, V1MissingElementInContextForBiProfileError, V1MissingExperimentId, V1MissingFilterTarget, V1MissingPlugins, V1MissingSeed, V1MissingSeedKeyType, V1MissingSeedType, V1NoResultForConduction, V1Platform, V1PlatformWithLiterals, V1PopulationError, V1SuccessfulResult, Variant, VariantValue, VariantValueValueOneOf, VariantWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
|
|
2
|
+
import { Project, UpdateProject, ResumeProjectResponse, RegenerateProjectNameResponse, RegenerateProjectIconResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, RestoreReleaseOptions, RestoreReleaseResponse, ListProjectsOptions, ListProjectsResponse, GetHimalayaAuthorizationResponse, PlatformWithLiterals, StartMobileBuildOptions, StartMobileBuildResponse, GetLatestMobileBuildsOptions, GetLatestMobileBuildsResponse, ClaimHimalayaAppResponse } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, ActionEvent, AdditionalDataFilterMismatchType, AdditionalDataFilterMissingKey, AdditionalDataFilterMustHaveKey, AdditionalDataMissingValue, AdditionalFilterCantBeEmpty, AndroidFormat, AndroidFormatWithLiterals, ClaimHimalayaAppRequest, ConductByScopeResponse, ConductByScopesResponse, ConductResponse, ConductionException, ConductionResult, ConductionStatus, ConductionStatusStatusOneOf, CreateAgentSessionRequest, CreateAgentSessionResponse, CreateProjectRequest, CreateProjectResponse, CursorPaging, CursorPagingMetadata, Cursors, DeleteProjectRequest, DeleteProjectResponse, DidNotFindEligibleFilter, DomainEvent, DomainEventBodyOneOf, DynamicConfigConductionResult, DynamicConfigStatus, DynamicConfigStatusStatusOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FailedMobileBuildPlatform, FailedToFetchExperiment, FailedToRunToss, FailureKind, FailureKindWithLiterals, FilterNotImplemented, FilterNotSupported, FilterOperandEmpty, GeneralError, GetAgentConfigRequest, GetAgentConfigResponse, GetAgentExperimentsRequest, GetAgentExperimentsResponse, GetHimalayaAuthorizationRequest, GetLatestMobileBuildsRequest, GetProjectRequest, GetProjectResponse, IdentificationData, IdentificationDataIdOneOf, InvalidLibraryConfiguration, IsEnabledFieldNotFound, IsEnabledFieldNotOfTypeBoolean, ListProjectsForCurrentUserRequest, ListProjectsForCurrentUserResponse, ListProjectsRequest, MessageEnvelope, MissingElementInContextForBiProfileError, MissingExperimentId, MissingFilterTarget, MissingPlugins, MissingSeed, MissingSeedKeyType, MissingSeedType, MobileBuild, NoResultForConduction, NotImplemented, Platform, PlatformMobileBuilds, PopulationError, ProjectPlanReady, ProjectResumeRequested, ProjectStartRequested, ProjectStatus, ProjectStatusWithLiterals, RefreshAgentSiteTokenRequest, RefreshAgentSiteTokenResponse, RegenerateProjectIconRequest, RegenerateProjectNameRequest, RestoreInfo, RestoreReleaseRequest, ResumeProjectRequest, SandboxStatus, SandboxStatusWithLiterals, SaveProjectDesignRequest, StartMobileBuildRequest, StartProjectRequest, StartProjectResponse, Status, StatusWithLiterals, SuccessfulResult, UpdateProjectRequest, UpdateProjectResponse, V1AdditionalDataFilterMismatchType, V1AdditionalDataFilterMissingKey, V1AdditionalDataFilterMustHaveKey, V1AdditionalDataMissingValue, V1AdditionalFilterCantBeEmpty, V1ConductionException, V1DidNotFindEligibleFilter, V1FailedToFetchExperiment, V1FailedToRunToss, V1FilterNotImplemented, V1FilterNotSupported, V1FilterOperandEmpty, V1GeneralError, V1MissingElementInContextForBiProfileError, V1MissingExperimentId, V1MissingFilterTarget, V1MissingPlugins, V1MissingSeed, V1MissingSeedKeyType, V1MissingSeedType, V1NoResultForConduction, V1Platform, V1PlatformWithLiterals, V1PopulationError, V1SuccessfulResult, Variant, VariantValue, VariantValueValueOneOf, VariantWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
/** @internal */
|
|
6
6
|
declare function createProject$1(httpClient: HttpClient): CreateProjectSignature;
|
|
@@ -173,7 +173,7 @@ interface StartMobileBuildSignature {
|
|
|
173
173
|
* @param - ID of the project to build.
|
|
174
174
|
* @param - Platforms to build. One build is started for each platform.
|
|
175
175
|
*/
|
|
176
|
-
(projectId: string, platforms: PlatformWithLiterals[], options?: NonNullablePaths<StartMobileBuildOptions, `himalayaControlToken`, 0>): Promise<NonNullablePaths<StartMobileBuildResponse, `builds` | `builds.${number}.jobId` | `builds.${number}.platform` | `builds.${number}.releaseId` | `builds.${number}.appVersion` | `builds.${number}.status` | `builds.${number}.failureKind` | `builds.${number}.himalayaStatus` | `builds.${number}.errorMessage` | `builds.${number}.downloadUrl` | `builds.${number}.installPageUrl` | `builds.${number}.downloadExpired` | `failedPlatforms` | `failedPlatforms.${number}.platform` | `failedPlatforms.${number}.errorCode` | `failedPlatforms.${number}.errorMessage`, 2>>;
|
|
176
|
+
(projectId: string, platforms: PlatformWithLiterals[], options?: NonNullablePaths<StartMobileBuildOptions, `himalayaControlToken`, 0>): Promise<NonNullablePaths<StartMobileBuildResponse, `builds` | `builds.${number}.jobId` | `builds.${number}.platform` | `builds.${number}.releaseId` | `builds.${number}.appVersion` | `builds.${number}.status` | `builds.${number}.failureKind` | `builds.${number}.himalayaStatus` | `builds.${number}.errorMessage` | `builds.${number}.downloadUrl` | `builds.${number}.installPageUrl` | `builds.${number}.downloadExpired` | `builds.${number}.androidFormat` | `builds.${number}.apkDownloadUrl` | `failedPlatforms` | `failedPlatforms.${number}.platform` | `failedPlatforms.${number}.errorCode` | `failedPlatforms.${number}.errorMessage`, 2>>;
|
|
177
177
|
}
|
|
178
178
|
declare function getLatestMobileBuilds$1(httpClient: HttpClient): GetLatestMobileBuildsSignature;
|
|
179
179
|
interface GetLatestMobileBuildsSignature {
|
|
@@ -188,7 +188,25 @@ interface GetLatestMobileBuildsSignature {
|
|
|
188
188
|
* before the response. Without it, the stored state is returned as is.
|
|
189
189
|
* @param - ID of the project.
|
|
190
190
|
*/
|
|
191
|
-
(projectId: string, options?: GetLatestMobileBuildsOptions): Promise<NonNullablePaths<GetLatestMobileBuildsResponse, `platforms` | `platforms.${number}.platform` | `platforms.${number}.lastAttempt.jobId` | `platforms.${number}.lastAttempt.platform` | `platforms.${number}.lastAttempt.releaseId` | `platforms.${number}.lastAttempt.appVersion` | `platforms.${number}.lastAttempt.status` | `platforms.${number}.lastAttempt.failureKind` | `platforms.${number}.lastAttempt.himalayaStatus` | `platforms.${number}.lastAttempt.errorMessage` | `platforms.${number}.lastAttempt.downloadUrl` | `platforms.${number}.lastAttempt.installPageUrl` | `platforms.${number}.lastAttempt.downloadExpired` | `refreshFailed`, 3>>;
|
|
191
|
+
(projectId: string, options?: GetLatestMobileBuildsOptions): Promise<NonNullablePaths<GetLatestMobileBuildsResponse, `platforms` | `platforms.${number}.platform` | `platforms.${number}.lastAttempt.jobId` | `platforms.${number}.lastAttempt.platform` | `platforms.${number}.lastAttempt.releaseId` | `platforms.${number}.lastAttempt.appVersion` | `platforms.${number}.lastAttempt.status` | `platforms.${number}.lastAttempt.failureKind` | `platforms.${number}.lastAttempt.himalayaStatus` | `platforms.${number}.lastAttempt.errorMessage` | `platforms.${number}.lastAttempt.downloadUrl` | `platforms.${number}.lastAttempt.installPageUrl` | `platforms.${number}.lastAttempt.downloadExpired` | `platforms.${number}.lastAttempt.androidFormat` | `platforms.${number}.lastAttempt.apkDownloadUrl` | `refreshFailed`, 3>>;
|
|
192
|
+
}
|
|
193
|
+
declare function claimHimalayaApp$1(httpClient: HttpClient): ClaimHimalayaAppSignature;
|
|
194
|
+
interface ClaimHimalayaAppSignature {
|
|
195
|
+
/**
|
|
196
|
+
* Claims the canonical Himalaya app for a NEW site-tenanted project, or returns the one already
|
|
197
|
+
* bound to it.
|
|
198
|
+
*
|
|
199
|
+
* This exists so the BROWSER never asserts the (MetaSite, project) pair to Himalaya. Containers
|
|
200
|
+
* is the authority on project -> MetaSite: it reads the project from its own store with a
|
|
201
|
+
* consistent read and takes the MetaSite from this call's identity context, then claims
|
|
202
|
+
* server-to-server with a site USER token minted for the initiating collaborator. Himalaya
|
|
203
|
+
* recognises that token as minted by THIS service and trusts the pair on that basis. A dashboard
|
|
204
|
+
* calling Himalaya directly could name another site's project UUID and reserve its global slug.
|
|
205
|
+
*
|
|
206
|
+
* Idempotent per pair: an already-claimed project returns its existing canonical app.
|
|
207
|
+
* @param - Site-tenanted Containers project to claim a Himalaya app for.
|
|
208
|
+
*/
|
|
209
|
+
(projectId: string): Promise<NonNullablePaths<ClaimHimalayaAppResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp`, 0>>;
|
|
192
210
|
}
|
|
193
211
|
|
|
194
212
|
/** @internal */
|
|
@@ -210,5 +228,6 @@ declare const listProjects: MaybeContext<BuildRESTFunction<typeof listProjects$1
|
|
|
210
228
|
declare const getHimalayaAuthorization: MaybeContext<BuildRESTFunction<typeof getHimalayaAuthorization$1> & typeof getHimalayaAuthorization$1>;
|
|
211
229
|
declare const startMobileBuild: MaybeContext<BuildRESTFunction<typeof startMobileBuild$1> & typeof startMobileBuild$1>;
|
|
212
230
|
declare const getLatestMobileBuilds: MaybeContext<BuildRESTFunction<typeof getLatestMobileBuilds$1> & typeof getLatestMobileBuilds$1>;
|
|
231
|
+
declare const claimHimalayaApp: MaybeContext<BuildRESTFunction<typeof claimHimalayaApp$1> & typeof claimHimalayaApp$1>;
|
|
213
232
|
|
|
214
|
-
export { GetHimalayaAuthorizationResponse, GetLatestMobileBuildsOptions, GetLatestMobileBuildsResponse, ListProjectsOptions, ListProjectsResponse, PlatformWithLiterals, Project, RegenerateProjectIconResponse, RegenerateProjectNameResponse, RestoreReleaseOptions, RestoreReleaseResponse, ResumeProjectResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, StartMobileBuildOptions, StartMobileBuildResponse, UpdateProject, createProject, deleteProject, getHimalayaAuthorization, getLatestMobileBuilds, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild, updateProject };
|
|
233
|
+
export { ClaimHimalayaAppResponse, GetHimalayaAuthorizationResponse, GetLatestMobileBuildsOptions, GetLatestMobileBuildsResponse, ListProjectsOptions, ListProjectsResponse, PlatformWithLiterals, Project, RegenerateProjectIconResponse, RegenerateProjectNameResponse, RestoreReleaseOptions, RestoreReleaseResponse, ResumeProjectResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, StartMobileBuildOptions, StartMobileBuildResponse, UpdateProject, claimHimalayaApp, createProject, deleteProject, getHimalayaAuthorization, getLatestMobileBuilds, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild, updateProject };
|
|
@@ -1274,16 +1274,40 @@ interface StartMobileBuildRequest {
|
|
|
1274
1274
|
* @maxLength 200
|
|
1275
1275
|
*/
|
|
1276
1276
|
canonicalApp?: string;
|
|
1277
|
+
/**
|
|
1278
|
+
* Android only. Kind of file to build. Default: `APK`.
|
|
1279
|
+
*
|
|
1280
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app in
|
|
1281
|
+
* Himalaya. With `AAB`, `platforms` must be only `ANDROID`, and `owner_authorization` is required.
|
|
1282
|
+
*/
|
|
1283
|
+
androidFormat?: AndroidFormatWithLiterals;
|
|
1284
|
+
/**
|
|
1285
|
+
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
1286
|
+
* Required with `android_format: AAB`: Himalaya checks that whoever starts a Google Play file owns the site.
|
|
1287
|
+
*
|
|
1288
|
+
* Used for this call only. It isn't stored or returned.
|
|
1289
|
+
* @maxLength 4096
|
|
1290
|
+
*/
|
|
1291
|
+
ownerAuthorization?: string;
|
|
1277
1292
|
}
|
|
1278
1293
|
/** Platform that an app-file build targets. */
|
|
1279
1294
|
declare enum Platform {
|
|
1280
1295
|
/** iOS. The build makes an `.ipa` file and an install page. */
|
|
1281
1296
|
IOS = "IOS",
|
|
1282
|
-
/** Android. The build makes an `.apk` file. */
|
|
1297
|
+
/** Android. The build makes an `.apk` file, or an `.aab` file for Google Play (see `androidFormat`). */
|
|
1283
1298
|
ANDROID = "ANDROID"
|
|
1284
1299
|
}
|
|
1285
1300
|
/** @enumType */
|
|
1286
1301
|
type PlatformWithLiterals = Platform | 'IOS' | 'ANDROID';
|
|
1302
|
+
/** Kind of file an Android build makes. */
|
|
1303
|
+
declare enum AndroidFormat {
|
|
1304
|
+
/** An `.apk` file, to install on a phone and test. */
|
|
1305
|
+
APK = "APK",
|
|
1306
|
+
/** An `.aab` file (Android App Bundle), the file to upload to Google Play. It can't be installed on a phone. */
|
|
1307
|
+
AAB = "AAB"
|
|
1308
|
+
}
|
|
1309
|
+
/** @enumType */
|
|
1310
|
+
type AndroidFormatWithLiterals = AndroidFormat | 'APK' | 'AAB';
|
|
1287
1311
|
interface StartMobileBuildResponse {
|
|
1288
1312
|
/**
|
|
1289
1313
|
* Started builds, one for each platform that was accepted.
|
|
@@ -1330,7 +1354,7 @@ interface MobileBuild {
|
|
|
1330
1354
|
*/
|
|
1331
1355
|
errorMessage?: string;
|
|
1332
1356
|
/**
|
|
1333
|
-
* URL of the built file: an `.ipa` file for iOS, or an `.apk` file for Android.
|
|
1357
|
+
* URL of the built file: an `.ipa` file for iOS, or an `.apk` or `.aab` file for Android.
|
|
1334
1358
|
* Returned only when `status` is `SUCCEEDED`. Can be empty for iOS.
|
|
1335
1359
|
* @format WEB_URL
|
|
1336
1360
|
*/
|
|
@@ -1351,6 +1375,14 @@ interface MobileBuild {
|
|
|
1351
1375
|
builtDate?: Date | null;
|
|
1352
1376
|
/** Date and time the build last changed. */
|
|
1353
1377
|
_updatedDate?: Date | null;
|
|
1378
|
+
/** Android only. Kind of file the build made: an `.apk` to install and test, or an `.aab` to upload to Google Play. */
|
|
1379
|
+
androidFormat?: AndroidFormatWithLiterals;
|
|
1380
|
+
/**
|
|
1381
|
+
* Android `AAB` builds only. URL of an `.apk` file of the same build, to install on a phone and test.
|
|
1382
|
+
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `download_url`.
|
|
1383
|
+
* @format WEB_URL
|
|
1384
|
+
*/
|
|
1385
|
+
apkDownloadUrl?: string;
|
|
1354
1386
|
}
|
|
1355
1387
|
/** Status of an app-file build. */
|
|
1356
1388
|
declare enum Status {
|
|
@@ -1422,6 +1454,32 @@ interface PlatformMobileBuilds {
|
|
|
1422
1454
|
/** The last build that succeeded. Its links can be expired. Not returned when no build succeeded. */
|
|
1423
1455
|
lastSuccessfulBuild?: MobileBuild;
|
|
1424
1456
|
}
|
|
1457
|
+
interface ClaimHimalayaAppRequest {
|
|
1458
|
+
/**
|
|
1459
|
+
* Site-tenanted Containers project to claim a Himalaya app for.
|
|
1460
|
+
* @format GUID
|
|
1461
|
+
*/
|
|
1462
|
+
projectId: string;
|
|
1463
|
+
}
|
|
1464
|
+
interface ClaimHimalayaAppResponse {
|
|
1465
|
+
/** Version of the authorization capability contract. Matches GetHimalayaAuthorizationResponse. */
|
|
1466
|
+
authorizationVersion?: number;
|
|
1467
|
+
/**
|
|
1468
|
+
* Trusted MetaSite selected from request identity context, never from the request body.
|
|
1469
|
+
* @format GUID
|
|
1470
|
+
*/
|
|
1471
|
+
metaSiteId?: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* Site-tenanted Containers project the app is bound to.
|
|
1474
|
+
* @format GUID
|
|
1475
|
+
*/
|
|
1476
|
+
projectId?: string;
|
|
1477
|
+
/**
|
|
1478
|
+
* Canonical Himalaya app slug, newly claimed or already bound.
|
|
1479
|
+
* @maxLength 200
|
|
1480
|
+
*/
|
|
1481
|
+
canonicalApp?: string;
|
|
1482
|
+
}
|
|
1425
1483
|
/**
|
|
1426
1484
|
* Creates a project from a template.
|
|
1427
1485
|
*
|
|
@@ -1769,7 +1827,7 @@ declare function getHimalayaAuthorization(projectId: string): Promise<NonNullabl
|
|
|
1769
1827
|
* @permissionId containers:projects:v1:project:start_mobile_build
|
|
1770
1828
|
* @fqn wix.containers.projects.v1.ContainersProjects.StartMobileBuild
|
|
1771
1829
|
*/
|
|
1772
|
-
declare function startMobileBuild(projectId: string, platforms: PlatformWithLiterals[], options?: NonNullablePaths<StartMobileBuildOptions, `himalayaControlToken`, 0>): Promise<NonNullablePaths<StartMobileBuildResponse, `builds` | `builds.${number}.jobId` | `builds.${number}.platform` | `builds.${number}.releaseId` | `builds.${number}.appVersion` | `builds.${number}.status` | `builds.${number}.failureKind` | `builds.${number}.himalayaStatus` | `builds.${number}.errorMessage` | `builds.${number}.downloadUrl` | `builds.${number}.installPageUrl` | `builds.${number}.downloadExpired` | `failedPlatforms` | `failedPlatforms.${number}.platform` | `failedPlatforms.${number}.errorCode` | `failedPlatforms.${number}.errorMessage`, 2>>;
|
|
1830
|
+
declare function startMobileBuild(projectId: string, platforms: PlatformWithLiterals[], options?: NonNullablePaths<StartMobileBuildOptions, `himalayaControlToken`, 0>): Promise<NonNullablePaths<StartMobileBuildResponse, `builds` | `builds.${number}.jobId` | `builds.${number}.platform` | `builds.${number}.releaseId` | `builds.${number}.appVersion` | `builds.${number}.status` | `builds.${number}.failureKind` | `builds.${number}.himalayaStatus` | `builds.${number}.errorMessage` | `builds.${number}.downloadUrl` | `builds.${number}.installPageUrl` | `builds.${number}.downloadExpired` | `builds.${number}.androidFormat` | `builds.${number}.apkDownloadUrl` | `failedPlatforms` | `failedPlatforms.${number}.platform` | `failedPlatforms.${number}.errorCode` | `failedPlatforms.${number}.errorMessage`, 2>>;
|
|
1773
1831
|
interface StartMobileBuildOptions {
|
|
1774
1832
|
/**
|
|
1775
1833
|
* ID of the app release to build. When not specified, the app's live release is built.
|
|
@@ -1797,6 +1855,21 @@ interface StartMobileBuildOptions {
|
|
|
1797
1855
|
* @maxLength 200
|
|
1798
1856
|
*/
|
|
1799
1857
|
canonicalApp?: string;
|
|
1858
|
+
/**
|
|
1859
|
+
* Android only. Kind of file to build. Default: `APK`.
|
|
1860
|
+
*
|
|
1861
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app in
|
|
1862
|
+
* Himalaya. With `AAB`, `platforms` must be only `ANDROID`, and `owner_authorization` is required.
|
|
1863
|
+
*/
|
|
1864
|
+
androidFormat?: AndroidFormatWithLiterals;
|
|
1865
|
+
/**
|
|
1866
|
+
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
1867
|
+
* Required with `android_format: AAB`: Himalaya checks that whoever starts a Google Play file owns the site.
|
|
1868
|
+
*
|
|
1869
|
+
* Used for this call only. It isn't stored or returned.
|
|
1870
|
+
* @maxLength 4096
|
|
1871
|
+
*/
|
|
1872
|
+
ownerAuthorization?: string;
|
|
1800
1873
|
}
|
|
1801
1874
|
/**
|
|
1802
1875
|
* Retrieves the latest app-file builds of a project: for each platform, the last build that was
|
|
@@ -1814,7 +1887,7 @@ interface StartMobileBuildOptions {
|
|
|
1814
1887
|
* @permissionId containers:projects:v1:project:get_latest_mobile_builds
|
|
1815
1888
|
* @fqn wix.containers.projects.v1.ContainersProjects.GetLatestMobileBuilds
|
|
1816
1889
|
*/
|
|
1817
|
-
declare function getLatestMobileBuilds(projectId: string, options?: GetLatestMobileBuildsOptions): Promise<NonNullablePaths<GetLatestMobileBuildsResponse, `platforms` | `platforms.${number}.platform` | `platforms.${number}.lastAttempt.jobId` | `platforms.${number}.lastAttempt.platform` | `platforms.${number}.lastAttempt.releaseId` | `platforms.${number}.lastAttempt.appVersion` | `platforms.${number}.lastAttempt.status` | `platforms.${number}.lastAttempt.failureKind` | `platforms.${number}.lastAttempt.himalayaStatus` | `platforms.${number}.lastAttempt.errorMessage` | `platforms.${number}.lastAttempt.downloadUrl` | `platforms.${number}.lastAttempt.installPageUrl` | `platforms.${number}.lastAttempt.downloadExpired` | `refreshFailed`, 3>>;
|
|
1890
|
+
declare function getLatestMobileBuilds(projectId: string, options?: GetLatestMobileBuildsOptions): Promise<NonNullablePaths<GetLatestMobileBuildsResponse, `platforms` | `platforms.${number}.platform` | `platforms.${number}.lastAttempt.jobId` | `platforms.${number}.lastAttempt.platform` | `platforms.${number}.lastAttempt.releaseId` | `platforms.${number}.lastAttempt.appVersion` | `platforms.${number}.lastAttempt.status` | `platforms.${number}.lastAttempt.failureKind` | `platforms.${number}.lastAttempt.himalayaStatus` | `platforms.${number}.lastAttempt.errorMessage` | `platforms.${number}.lastAttempt.downloadUrl` | `platforms.${number}.lastAttempt.installPageUrl` | `platforms.${number}.lastAttempt.downloadExpired` | `platforms.${number}.lastAttempt.androidFormat` | `platforms.${number}.lastAttempt.apkDownloadUrl` | `refreshFailed`, 3>>;
|
|
1818
1891
|
interface GetLatestMobileBuildsOptions {
|
|
1819
1892
|
/**
|
|
1820
1893
|
* Short-lived control credential for the project's app.
|
|
@@ -1825,5 +1898,25 @@ interface GetLatestMobileBuildsOptions {
|
|
|
1825
1898
|
*/
|
|
1826
1899
|
himalayaControlToken?: string;
|
|
1827
1900
|
}
|
|
1901
|
+
/**
|
|
1902
|
+
* Claims the canonical Himalaya app for a NEW site-tenanted project, or returns the one already
|
|
1903
|
+
* bound to it.
|
|
1904
|
+
*
|
|
1905
|
+
* This exists so the BROWSER never asserts the (MetaSite, project) pair to Himalaya. Containers
|
|
1906
|
+
* is the authority on project -> MetaSite: it reads the project from its own store with a
|
|
1907
|
+
* consistent read and takes the MetaSite from this call's identity context, then claims
|
|
1908
|
+
* server-to-server with a site USER token minted for the initiating collaborator. Himalaya
|
|
1909
|
+
* recognises that token as minted by THIS service and trusts the pair on that basis. A dashboard
|
|
1910
|
+
* calling Himalaya directly could name another site's project UUID and reserve its global slug.
|
|
1911
|
+
*
|
|
1912
|
+
* Idempotent per pair: an already-claimed project returns its existing canonical app.
|
|
1913
|
+
* @param projectId - Site-tenanted Containers project to claim a Himalaya app for.
|
|
1914
|
+
* @public
|
|
1915
|
+
* @documentationMaturity preview
|
|
1916
|
+
* @requiredField projectId
|
|
1917
|
+
* @permissionId containers:projects:v1:project:claim_himalaya_app
|
|
1918
|
+
* @fqn wix.containers.projects.v1.ContainersProjects.ClaimHimalayaApp
|
|
1919
|
+
*/
|
|
1920
|
+
declare function claimHimalayaApp(projectId: string): Promise<NonNullablePaths<ClaimHimalayaAppResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp`, 0>>;
|
|
1828
1921
|
|
|
1829
|
-
export { type AccountInfo, type ActionEvent, type AdditionalDataFilterMismatchType, type AdditionalDataFilterMissingKey, type AdditionalDataFilterMustHaveKey, type AdditionalDataMissingValue, type AdditionalFilterCantBeEmpty, type ConductByScopeResponse, type ConductByScopesResponse, type ConductResponse, type ConductionException, type ConductionResult, type ConductionStatus, type ConductionStatusStatusOneOf, type CreateAgentSessionRequest, type CreateAgentSessionResponse, type CreateProjectRequest, type CreateProjectResponse, type CursorPaging, type CursorPagingMetadata, type Cursors, type DeleteProjectRequest, type DeleteProjectResponse, type DidNotFindEligibleFilter, type DomainEvent, type DomainEventBodyOneOf, type DynamicConfigConductionResult, type DynamicConfigStatus, type DynamicConfigStatusStatusOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailedMobileBuildPlatform, type FailedToFetchExperiment, type FailedToRunToss, FailureKind, type FailureKindWithLiterals, type FilterNotImplemented, type FilterNotSupported, type FilterOperandEmpty, type GeneralError, type GetAgentConfigRequest, type GetAgentConfigResponse, type GetAgentExperimentsRequest, type GetAgentExperimentsResponse, type GetHimalayaAuthorizationRequest, type GetHimalayaAuthorizationResponse, type GetLatestMobileBuildsOptions, type GetLatestMobileBuildsRequest, type GetLatestMobileBuildsResponse, type GetProjectRequest, type GetProjectResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidLibraryConfiguration, type IsEnabledFieldNotFound, type IsEnabledFieldNotOfTypeBoolean, type ListProjectsForCurrentUserRequest, type ListProjectsForCurrentUserResponse, type ListProjectsOptions, type ListProjectsRequest, type ListProjectsResponse, type MessageEnvelope, type MissingElementInContextForBiProfileError, type MissingExperimentId, type MissingFilterTarget, type MissingPlugins, type MissingSeed, type MissingSeedKeyType, type MissingSeedType, type MobileBuild, type NoResultForConduction, type NotImplemented, Platform, type PlatformMobileBuilds, type PlatformWithLiterals, type PopulationError, type Project, type ProjectPlanReady, type ProjectResumeRequested, type ProjectStartRequested, ProjectStatus, type ProjectStatusWithLiterals, type RefreshAgentSiteTokenRequest, type RefreshAgentSiteTokenResponse, type RegenerateProjectIconRequest, type RegenerateProjectIconResponse, type RegenerateProjectNameRequest, type RegenerateProjectNameResponse, type RestoreInfo, type RestoreReleaseOptions, type RestoreReleaseRequest, type RestoreReleaseResponse, type ResumeProjectRequest, type ResumeProjectResponse, SandboxStatus, type SandboxStatusWithLiterals, type SaveProjectDesignOptions, type SaveProjectDesignRequest, type SaveProjectDesignResponse, type StartMobileBuildOptions, type StartMobileBuildRequest, type StartMobileBuildResponse, type StartProjectRequest, type StartProjectResponse, Status, type StatusWithLiterals, type SuccessfulResult, type UpdateProject, type UpdateProjectRequest, type UpdateProjectResponse, type V1AdditionalDataFilterMismatchType, type V1AdditionalDataFilterMissingKey, type V1AdditionalDataFilterMustHaveKey, type V1AdditionalDataMissingValue, type V1AdditionalFilterCantBeEmpty, type V1ConductionException, type V1DidNotFindEligibleFilter, type V1FailedToFetchExperiment, type V1FailedToRunToss, type V1FilterNotImplemented, type V1FilterNotSupported, type V1FilterOperandEmpty, type V1GeneralError, type V1MissingElementInContextForBiProfileError, type V1MissingExperimentId, type V1MissingFilterTarget, type V1MissingPlugins, type V1MissingSeed, type V1MissingSeedKeyType, type V1MissingSeedType, type V1NoResultForConduction, V1Platform, type V1PlatformWithLiterals, type V1PopulationError, type V1SuccessfulResult, Variant, type VariantValue, type VariantValueValueOneOf, type VariantWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createProject, deleteProject, getHimalayaAuthorization, getLatestMobileBuilds, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild, updateProject };
|
|
1922
|
+
export { type AccountInfo, type ActionEvent, type AdditionalDataFilterMismatchType, type AdditionalDataFilterMissingKey, type AdditionalDataFilterMustHaveKey, type AdditionalDataMissingValue, type AdditionalFilterCantBeEmpty, AndroidFormat, type AndroidFormatWithLiterals, type ClaimHimalayaAppRequest, type ClaimHimalayaAppResponse, type ConductByScopeResponse, type ConductByScopesResponse, type ConductResponse, type ConductionException, type ConductionResult, type ConductionStatus, type ConductionStatusStatusOneOf, type CreateAgentSessionRequest, type CreateAgentSessionResponse, type CreateProjectRequest, type CreateProjectResponse, type CursorPaging, type CursorPagingMetadata, type Cursors, type DeleteProjectRequest, type DeleteProjectResponse, type DidNotFindEligibleFilter, type DomainEvent, type DomainEventBodyOneOf, type DynamicConfigConductionResult, type DynamicConfigStatus, type DynamicConfigStatusStatusOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailedMobileBuildPlatform, type FailedToFetchExperiment, type FailedToRunToss, FailureKind, type FailureKindWithLiterals, type FilterNotImplemented, type FilterNotSupported, type FilterOperandEmpty, type GeneralError, type GetAgentConfigRequest, type GetAgentConfigResponse, type GetAgentExperimentsRequest, type GetAgentExperimentsResponse, type GetHimalayaAuthorizationRequest, type GetHimalayaAuthorizationResponse, type GetLatestMobileBuildsOptions, type GetLatestMobileBuildsRequest, type GetLatestMobileBuildsResponse, type GetProjectRequest, type GetProjectResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidLibraryConfiguration, type IsEnabledFieldNotFound, type IsEnabledFieldNotOfTypeBoolean, type ListProjectsForCurrentUserRequest, type ListProjectsForCurrentUserResponse, type ListProjectsOptions, type ListProjectsRequest, type ListProjectsResponse, type MessageEnvelope, type MissingElementInContextForBiProfileError, type MissingExperimentId, type MissingFilterTarget, type MissingPlugins, type MissingSeed, type MissingSeedKeyType, type MissingSeedType, type MobileBuild, type NoResultForConduction, type NotImplemented, Platform, type PlatformMobileBuilds, type PlatformWithLiterals, type PopulationError, type Project, type ProjectPlanReady, type ProjectResumeRequested, type ProjectStartRequested, ProjectStatus, type ProjectStatusWithLiterals, type RefreshAgentSiteTokenRequest, type RefreshAgentSiteTokenResponse, type RegenerateProjectIconRequest, type RegenerateProjectIconResponse, type RegenerateProjectNameRequest, type RegenerateProjectNameResponse, type RestoreInfo, type RestoreReleaseOptions, type RestoreReleaseRequest, type RestoreReleaseResponse, type ResumeProjectRequest, type ResumeProjectResponse, SandboxStatus, type SandboxStatusWithLiterals, type SaveProjectDesignOptions, type SaveProjectDesignRequest, type SaveProjectDesignResponse, type StartMobileBuildOptions, type StartMobileBuildRequest, type StartMobileBuildResponse, type StartProjectRequest, type StartProjectResponse, Status, type StatusWithLiterals, type SuccessfulResult, type UpdateProject, type UpdateProjectRequest, type UpdateProjectResponse, type V1AdditionalDataFilterMismatchType, type V1AdditionalDataFilterMissingKey, type V1AdditionalDataFilterMustHaveKey, type V1AdditionalDataMissingValue, type V1AdditionalFilterCantBeEmpty, type V1ConductionException, type V1DidNotFindEligibleFilter, type V1FailedToFetchExperiment, type V1FailedToRunToss, type V1FilterNotImplemented, type V1FilterNotSupported, type V1FilterOperandEmpty, type V1GeneralError, type V1MissingElementInContextForBiProfileError, type V1MissingExperimentId, type V1MissingFilterTarget, type V1MissingPlugins, type V1MissingSeed, type V1MissingSeedKeyType, type V1MissingSeedType, type V1NoResultForConduction, V1Platform, type V1PlatformWithLiterals, type V1PopulationError, type V1SuccessfulResult, Variant, type VariantValue, type VariantValueValueOneOf, type VariantWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, claimHimalayaApp, createProject, deleteProject, getHimalayaAuthorization, getLatestMobileBuilds, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild, updateProject };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateProjectRequest as CreateProjectRequest$1, CreateProjectResponse as CreateProjectResponse$1, GetProjectRequest as GetProjectRequest$1, GetProjectResponse as GetProjectResponse$1, UpdateProjectRequest as UpdateProjectRequest$1, UpdateProjectResponse as UpdateProjectResponse$1, DeleteProjectRequest as DeleteProjectRequest$1, DeleteProjectResponse as DeleteProjectResponse$1, ResumeProjectRequest as ResumeProjectRequest$1, ResumeProjectResponse as ResumeProjectResponse$1, RegenerateProjectNameRequest as RegenerateProjectNameRequest$1, RegenerateProjectNameResponse as RegenerateProjectNameResponse$1, RegenerateProjectIconRequest as RegenerateProjectIconRequest$1, RegenerateProjectIconResponse as RegenerateProjectIconResponse$1, SaveProjectDesignRequest as SaveProjectDesignRequest$1, SaveProjectDesignResponse as SaveProjectDesignResponse$1, RestoreReleaseRequest as RestoreReleaseRequest$1, RestoreReleaseResponse as RestoreReleaseResponse$1, ListProjectsRequest as ListProjectsRequest$1, ListProjectsResponse as ListProjectsResponse$1, GetHimalayaAuthorizationRequest as GetHimalayaAuthorizationRequest$1, GetHimalayaAuthorizationResponse as GetHimalayaAuthorizationResponse$1, StartMobileBuildRequest as StartMobileBuildRequest$1, StartMobileBuildResponse as StartMobileBuildResponse$1, GetLatestMobileBuildsRequest as GetLatestMobileBuildsRequest$1, GetLatestMobileBuildsResponse as GetLatestMobileBuildsResponse$1 } from './index.typings.js';
|
|
1
|
+
import { CreateProjectRequest as CreateProjectRequest$1, CreateProjectResponse as CreateProjectResponse$1, GetProjectRequest as GetProjectRequest$1, GetProjectResponse as GetProjectResponse$1, UpdateProjectRequest as UpdateProjectRequest$1, UpdateProjectResponse as UpdateProjectResponse$1, DeleteProjectRequest as DeleteProjectRequest$1, DeleteProjectResponse as DeleteProjectResponse$1, ResumeProjectRequest as ResumeProjectRequest$1, ResumeProjectResponse as ResumeProjectResponse$1, RegenerateProjectNameRequest as RegenerateProjectNameRequest$1, RegenerateProjectNameResponse as RegenerateProjectNameResponse$1, RegenerateProjectIconRequest as RegenerateProjectIconRequest$1, RegenerateProjectIconResponse as RegenerateProjectIconResponse$1, SaveProjectDesignRequest as SaveProjectDesignRequest$1, SaveProjectDesignResponse as SaveProjectDesignResponse$1, RestoreReleaseRequest as RestoreReleaseRequest$1, RestoreReleaseResponse as RestoreReleaseResponse$1, ListProjectsRequest as ListProjectsRequest$1, ListProjectsResponse as ListProjectsResponse$1, GetHimalayaAuthorizationRequest as GetHimalayaAuthorizationRequest$1, GetHimalayaAuthorizationResponse as GetHimalayaAuthorizationResponse$1, StartMobileBuildRequest as StartMobileBuildRequest$1, StartMobileBuildResponse as StartMobileBuildResponse$1, GetLatestMobileBuildsRequest as GetLatestMobileBuildsRequest$1, GetLatestMobileBuildsResponse as GetLatestMobileBuildsResponse$1, ClaimHimalayaAppRequest as ClaimHimalayaAppRequest$1, ClaimHimalayaAppResponse as ClaimHimalayaAppResponse$1 } from './index.typings.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1319,16 +1319,40 @@ interface StartMobileBuildRequest {
|
|
|
1319
1319
|
* @maxLength 200
|
|
1320
1320
|
*/
|
|
1321
1321
|
canonicalApp?: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* Android only. Kind of file to build. Default: `APK`.
|
|
1324
|
+
*
|
|
1325
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app in
|
|
1326
|
+
* Himalaya. With `AAB`, `platforms` must be only `ANDROID`, and `owner_authorization` is required.
|
|
1327
|
+
*/
|
|
1328
|
+
androidFormat?: AndroidFormatWithLiterals;
|
|
1329
|
+
/**
|
|
1330
|
+
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
1331
|
+
* Required with `android_format: AAB`: Himalaya checks that whoever starts a Google Play file owns the site.
|
|
1332
|
+
*
|
|
1333
|
+
* Used for this call only. It isn't stored or returned.
|
|
1334
|
+
* @maxLength 4096
|
|
1335
|
+
*/
|
|
1336
|
+
ownerAuthorization?: string;
|
|
1322
1337
|
}
|
|
1323
1338
|
/** Platform that an app-file build targets. */
|
|
1324
1339
|
declare enum Platform {
|
|
1325
1340
|
/** iOS. The build makes an `.ipa` file and an install page. */
|
|
1326
1341
|
IOS = "IOS",
|
|
1327
|
-
/** Android. The build makes an `.apk` file. */
|
|
1342
|
+
/** Android. The build makes an `.apk` file, or an `.aab` file for Google Play (see `androidFormat`). */
|
|
1328
1343
|
ANDROID = "ANDROID"
|
|
1329
1344
|
}
|
|
1330
1345
|
/** @enumType */
|
|
1331
1346
|
type PlatformWithLiterals = Platform | 'IOS' | 'ANDROID';
|
|
1347
|
+
/** Kind of file an Android build makes. */
|
|
1348
|
+
declare enum AndroidFormat {
|
|
1349
|
+
/** An `.apk` file, to install on a phone and test. */
|
|
1350
|
+
APK = "APK",
|
|
1351
|
+
/** An `.aab` file (Android App Bundle), the file to upload to Google Play. It can't be installed on a phone. */
|
|
1352
|
+
AAB = "AAB"
|
|
1353
|
+
}
|
|
1354
|
+
/** @enumType */
|
|
1355
|
+
type AndroidFormatWithLiterals = AndroidFormat | 'APK' | 'AAB';
|
|
1332
1356
|
interface StartMobileBuildResponse {
|
|
1333
1357
|
/**
|
|
1334
1358
|
* Started builds, one for each platform that was accepted.
|
|
@@ -1375,7 +1399,7 @@ interface MobileBuild {
|
|
|
1375
1399
|
*/
|
|
1376
1400
|
errorMessage?: string;
|
|
1377
1401
|
/**
|
|
1378
|
-
* URL of the built file: an `.ipa` file for iOS, or an `.apk` file for Android.
|
|
1402
|
+
* URL of the built file: an `.ipa` file for iOS, or an `.apk` or `.aab` file for Android.
|
|
1379
1403
|
* Returned only when `status` is `SUCCEEDED`. Can be empty for iOS.
|
|
1380
1404
|
* @format WEB_URL
|
|
1381
1405
|
*/
|
|
@@ -1396,6 +1420,14 @@ interface MobileBuild {
|
|
|
1396
1420
|
builtDate?: Date | null;
|
|
1397
1421
|
/** Date and time the build last changed. */
|
|
1398
1422
|
updatedDate?: Date | null;
|
|
1423
|
+
/** Android only. Kind of file the build made: an `.apk` to install and test, or an `.aab` to upload to Google Play. */
|
|
1424
|
+
androidFormat?: AndroidFormatWithLiterals;
|
|
1425
|
+
/**
|
|
1426
|
+
* Android `AAB` builds only. URL of an `.apk` file of the same build, to install on a phone and test.
|
|
1427
|
+
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `download_url`.
|
|
1428
|
+
* @format WEB_URL
|
|
1429
|
+
*/
|
|
1430
|
+
apkDownloadUrl?: string;
|
|
1399
1431
|
}
|
|
1400
1432
|
/** Status of an app-file build. */
|
|
1401
1433
|
declare enum Status {
|
|
@@ -1467,6 +1499,32 @@ interface PlatformMobileBuilds {
|
|
|
1467
1499
|
/** The last build that succeeded. Its links can be expired. Not returned when no build succeeded. */
|
|
1468
1500
|
lastSuccessfulBuild?: MobileBuild;
|
|
1469
1501
|
}
|
|
1502
|
+
interface ClaimHimalayaAppRequest {
|
|
1503
|
+
/**
|
|
1504
|
+
* Site-tenanted Containers project to claim a Himalaya app for.
|
|
1505
|
+
* @format GUID
|
|
1506
|
+
*/
|
|
1507
|
+
projectId: string;
|
|
1508
|
+
}
|
|
1509
|
+
interface ClaimHimalayaAppResponse {
|
|
1510
|
+
/** Version of the authorization capability contract. Matches GetHimalayaAuthorizationResponse. */
|
|
1511
|
+
authorizationVersion?: number;
|
|
1512
|
+
/**
|
|
1513
|
+
* Trusted MetaSite selected from request identity context, never from the request body.
|
|
1514
|
+
* @format GUID
|
|
1515
|
+
*/
|
|
1516
|
+
metaSiteId?: string;
|
|
1517
|
+
/**
|
|
1518
|
+
* Site-tenanted Containers project the app is bound to.
|
|
1519
|
+
* @format GUID
|
|
1520
|
+
*/
|
|
1521
|
+
projectId?: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* Canonical Himalaya app slug, newly claimed or already bound.
|
|
1524
|
+
* @maxLength 200
|
|
1525
|
+
*/
|
|
1526
|
+
canonicalApp?: string;
|
|
1527
|
+
}
|
|
1470
1528
|
|
|
1471
1529
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1472
1530
|
getUrl: (context: any) => string;
|
|
@@ -1513,5 +1571,8 @@ declare function startMobileBuild(): __PublicMethodMetaInfo<'POST', {
|
|
|
1513
1571
|
declare function getLatestMobileBuilds(): __PublicMethodMetaInfo<'POST', {
|
|
1514
1572
|
projectId: string;
|
|
1515
1573
|
}, GetLatestMobileBuildsRequest$1, GetLatestMobileBuildsRequest, GetLatestMobileBuildsResponse$1, GetLatestMobileBuildsResponse>;
|
|
1574
|
+
declare function claimHimalayaApp(): __PublicMethodMetaInfo<'POST', {
|
|
1575
|
+
projectId: string;
|
|
1576
|
+
}, ClaimHimalayaAppRequest$1, ClaimHimalayaAppRequest, ClaimHimalayaAppResponse$1, ClaimHimalayaAppResponse>;
|
|
1516
1577
|
|
|
1517
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AdditionalDataFilterMismatchType as AdditionalDataFilterMismatchTypeOriginal, type AdditionalDataFilterMissingKey as AdditionalDataFilterMissingKeyOriginal, type AdditionalDataFilterMustHaveKey as AdditionalDataFilterMustHaveKeyOriginal, type AdditionalDataMissingValue as AdditionalDataMissingValueOriginal, type AdditionalFilterCantBeEmpty as AdditionalFilterCantBeEmptyOriginal, type ConductByScopeResponse as ConductByScopeResponseOriginal, type ConductByScopesResponse as ConductByScopesResponseOriginal, type ConductResponse as ConductResponseOriginal, type ConductionException as ConductionExceptionOriginal, type ConductionResult as ConductionResultOriginal, type ConductionStatus as ConductionStatusOriginal, type ConductionStatusStatusOneOf as ConductionStatusStatusOneOfOriginal, type CreateAgentSessionRequest as CreateAgentSessionRequestOriginal, type CreateAgentSessionResponse as CreateAgentSessionResponseOriginal, type CreateProjectRequest as CreateProjectRequestOriginal, type CreateProjectResponse as CreateProjectResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DeleteProjectRequest as DeleteProjectRequestOriginal, type DeleteProjectResponse as DeleteProjectResponseOriginal, type DidNotFindEligibleFilter as DidNotFindEligibleFilterOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DynamicConfigConductionResult as DynamicConfigConductionResultOriginal, type DynamicConfigStatus as DynamicConfigStatusOriginal, type DynamicConfigStatusStatusOneOf as DynamicConfigStatusStatusOneOfOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type FailedMobileBuildPlatform as FailedMobileBuildPlatformOriginal, type FailedToFetchExperiment as FailedToFetchExperimentOriginal, type FailedToRunToss as FailedToRunTossOriginal, FailureKind as FailureKindOriginal, type FailureKindWithLiterals as FailureKindWithLiteralsOriginal, type FilterNotImplemented as FilterNotImplementedOriginal, type FilterNotSupported as FilterNotSupportedOriginal, type FilterOperandEmpty as FilterOperandEmptyOriginal, type GeneralError as GeneralErrorOriginal, type GetAgentConfigRequest as GetAgentConfigRequestOriginal, type GetAgentConfigResponse as GetAgentConfigResponseOriginal, type GetAgentExperimentsRequest as GetAgentExperimentsRequestOriginal, type GetAgentExperimentsResponse as GetAgentExperimentsResponseOriginal, type GetHimalayaAuthorizationRequest as GetHimalayaAuthorizationRequestOriginal, type GetHimalayaAuthorizationResponse as GetHimalayaAuthorizationResponseOriginal, type GetLatestMobileBuildsRequest as GetLatestMobileBuildsRequestOriginal, type GetLatestMobileBuildsResponse as GetLatestMobileBuildsResponseOriginal, type GetProjectRequest as GetProjectRequestOriginal, type GetProjectResponse as GetProjectResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvalidLibraryConfiguration as InvalidLibraryConfigurationOriginal, type IsEnabledFieldNotFound as IsEnabledFieldNotFoundOriginal, type IsEnabledFieldNotOfTypeBoolean as IsEnabledFieldNotOfTypeBooleanOriginal, type ListProjectsForCurrentUserRequest as ListProjectsForCurrentUserRequestOriginal, type ListProjectsForCurrentUserResponse as ListProjectsForCurrentUserResponseOriginal, type ListProjectsRequest as ListProjectsRequestOriginal, type ListProjectsResponse as ListProjectsResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MissingElementInContextForBiProfileError as MissingElementInContextForBiProfileErrorOriginal, type MissingExperimentId as MissingExperimentIdOriginal, type MissingFilterTarget as MissingFilterTargetOriginal, type MissingPlugins as MissingPluginsOriginal, type MissingSeedKeyType as MissingSeedKeyTypeOriginal, type MissingSeed as MissingSeedOriginal, type MissingSeedType as MissingSeedTypeOriginal, type MobileBuild as MobileBuildOriginal, type NoResultForConduction as NoResultForConductionOriginal, type NotImplemented as NotImplementedOriginal, type PlatformMobileBuilds as PlatformMobileBuildsOriginal, Platform as PlatformOriginal, type PlatformWithLiterals as PlatformWithLiteralsOriginal, type PopulationError as PopulationErrorOriginal, type Project as ProjectOriginal, type ProjectPlanReady as ProjectPlanReadyOriginal, type ProjectResumeRequested as ProjectResumeRequestedOriginal, type ProjectStartRequested as ProjectStartRequestedOriginal, ProjectStatus as ProjectStatusOriginal, type ProjectStatusWithLiterals as ProjectStatusWithLiteralsOriginal, type RefreshAgentSiteTokenRequest as RefreshAgentSiteTokenRequestOriginal, type RefreshAgentSiteTokenResponse as RefreshAgentSiteTokenResponseOriginal, type RegenerateProjectIconRequest as RegenerateProjectIconRequestOriginal, type RegenerateProjectIconResponse as RegenerateProjectIconResponseOriginal, type RegenerateProjectNameRequest as RegenerateProjectNameRequestOriginal, type RegenerateProjectNameResponse as RegenerateProjectNameResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RestoreReleaseRequest as RestoreReleaseRequestOriginal, type RestoreReleaseResponse as RestoreReleaseResponseOriginal, type ResumeProjectRequest as ResumeProjectRequestOriginal, type ResumeProjectResponse as ResumeProjectResponseOriginal, SandboxStatus as SandboxStatusOriginal, type SandboxStatusWithLiterals as SandboxStatusWithLiteralsOriginal, type SaveProjectDesignRequest as SaveProjectDesignRequestOriginal, type SaveProjectDesignResponse as SaveProjectDesignResponseOriginal, type StartMobileBuildRequest as StartMobileBuildRequestOriginal, type StartMobileBuildResponse as StartMobileBuildResponseOriginal, type StartProjectRequest as StartProjectRequestOriginal, type StartProjectResponse as StartProjectResponseOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type SuccessfulResult as SuccessfulResultOriginal, type UpdateProjectRequest as UpdateProjectRequestOriginal, type UpdateProjectResponse as UpdateProjectResponseOriginal, type V1AdditionalDataFilterMismatchType as V1AdditionalDataFilterMismatchTypeOriginal, type V1AdditionalDataFilterMissingKey as V1AdditionalDataFilterMissingKeyOriginal, type V1AdditionalDataFilterMustHaveKey as V1AdditionalDataFilterMustHaveKeyOriginal, type V1AdditionalDataMissingValue as V1AdditionalDataMissingValueOriginal, type V1AdditionalFilterCantBeEmpty as V1AdditionalFilterCantBeEmptyOriginal, type V1ConductionException as V1ConductionExceptionOriginal, type V1DidNotFindEligibleFilter as V1DidNotFindEligibleFilterOriginal, type V1FailedToFetchExperiment as V1FailedToFetchExperimentOriginal, type V1FailedToRunToss as V1FailedToRunTossOriginal, type V1FilterNotImplemented as V1FilterNotImplementedOriginal, type V1FilterNotSupported as V1FilterNotSupportedOriginal, type V1FilterOperandEmpty as V1FilterOperandEmptyOriginal, type V1GeneralError as V1GeneralErrorOriginal, type V1MissingElementInContextForBiProfileError as V1MissingElementInContextForBiProfileErrorOriginal, type V1MissingExperimentId as V1MissingExperimentIdOriginal, type V1MissingFilterTarget as V1MissingFilterTargetOriginal, type V1MissingPlugins as V1MissingPluginsOriginal, type V1MissingSeedKeyType as V1MissingSeedKeyTypeOriginal, type V1MissingSeed as V1MissingSeedOriginal, type V1MissingSeedType as V1MissingSeedTypeOriginal, type V1NoResultForConduction as V1NoResultForConductionOriginal, V1Platform as V1PlatformOriginal, type V1PlatformWithLiterals as V1PlatformWithLiteralsOriginal, type V1PopulationError as V1PopulationErrorOriginal, type V1SuccessfulResult as V1SuccessfulResultOriginal, Variant as VariantOriginal, type VariantValue as VariantValueOriginal, type VariantValueValueOneOf as VariantValueValueOneOfOriginal, type VariantWithLiterals as VariantWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, createProject, deleteProject, getHimalayaAuthorization, getLatestMobileBuilds, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild, updateProject };
|
|
1578
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AdditionalDataFilterMismatchType as AdditionalDataFilterMismatchTypeOriginal, type AdditionalDataFilterMissingKey as AdditionalDataFilterMissingKeyOriginal, type AdditionalDataFilterMustHaveKey as AdditionalDataFilterMustHaveKeyOriginal, type AdditionalDataMissingValue as AdditionalDataMissingValueOriginal, type AdditionalFilterCantBeEmpty as AdditionalFilterCantBeEmptyOriginal, AndroidFormat as AndroidFormatOriginal, type AndroidFormatWithLiterals as AndroidFormatWithLiteralsOriginal, type ClaimHimalayaAppRequest as ClaimHimalayaAppRequestOriginal, type ClaimHimalayaAppResponse as ClaimHimalayaAppResponseOriginal, type ConductByScopeResponse as ConductByScopeResponseOriginal, type ConductByScopesResponse as ConductByScopesResponseOriginal, type ConductResponse as ConductResponseOriginal, type ConductionException as ConductionExceptionOriginal, type ConductionResult as ConductionResultOriginal, type ConductionStatus as ConductionStatusOriginal, type ConductionStatusStatusOneOf as ConductionStatusStatusOneOfOriginal, type CreateAgentSessionRequest as CreateAgentSessionRequestOriginal, type CreateAgentSessionResponse as CreateAgentSessionResponseOriginal, type CreateProjectRequest as CreateProjectRequestOriginal, type CreateProjectResponse as CreateProjectResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DeleteProjectRequest as DeleteProjectRequestOriginal, type DeleteProjectResponse as DeleteProjectResponseOriginal, type DidNotFindEligibleFilter as DidNotFindEligibleFilterOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DynamicConfigConductionResult as DynamicConfigConductionResultOriginal, type DynamicConfigStatus as DynamicConfigStatusOriginal, type DynamicConfigStatusStatusOneOf as DynamicConfigStatusStatusOneOfOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type FailedMobileBuildPlatform as FailedMobileBuildPlatformOriginal, type FailedToFetchExperiment as FailedToFetchExperimentOriginal, type FailedToRunToss as FailedToRunTossOriginal, FailureKind as FailureKindOriginal, type FailureKindWithLiterals as FailureKindWithLiteralsOriginal, type FilterNotImplemented as FilterNotImplementedOriginal, type FilterNotSupported as FilterNotSupportedOriginal, type FilterOperandEmpty as FilterOperandEmptyOriginal, type GeneralError as GeneralErrorOriginal, type GetAgentConfigRequest as GetAgentConfigRequestOriginal, type GetAgentConfigResponse as GetAgentConfigResponseOriginal, type GetAgentExperimentsRequest as GetAgentExperimentsRequestOriginal, type GetAgentExperimentsResponse as GetAgentExperimentsResponseOriginal, type GetHimalayaAuthorizationRequest as GetHimalayaAuthorizationRequestOriginal, type GetHimalayaAuthorizationResponse as GetHimalayaAuthorizationResponseOriginal, type GetLatestMobileBuildsRequest as GetLatestMobileBuildsRequestOriginal, type GetLatestMobileBuildsResponse as GetLatestMobileBuildsResponseOriginal, type GetProjectRequest as GetProjectRequestOriginal, type GetProjectResponse as GetProjectResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvalidLibraryConfiguration as InvalidLibraryConfigurationOriginal, type IsEnabledFieldNotFound as IsEnabledFieldNotFoundOriginal, type IsEnabledFieldNotOfTypeBoolean as IsEnabledFieldNotOfTypeBooleanOriginal, type ListProjectsForCurrentUserRequest as ListProjectsForCurrentUserRequestOriginal, type ListProjectsForCurrentUserResponse as ListProjectsForCurrentUserResponseOriginal, type ListProjectsRequest as ListProjectsRequestOriginal, type ListProjectsResponse as ListProjectsResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MissingElementInContextForBiProfileError as MissingElementInContextForBiProfileErrorOriginal, type MissingExperimentId as MissingExperimentIdOriginal, type MissingFilterTarget as MissingFilterTargetOriginal, type MissingPlugins as MissingPluginsOriginal, type MissingSeedKeyType as MissingSeedKeyTypeOriginal, type MissingSeed as MissingSeedOriginal, type MissingSeedType as MissingSeedTypeOriginal, type MobileBuild as MobileBuildOriginal, type NoResultForConduction as NoResultForConductionOriginal, type NotImplemented as NotImplementedOriginal, type PlatformMobileBuilds as PlatformMobileBuildsOriginal, Platform as PlatformOriginal, type PlatformWithLiterals as PlatformWithLiteralsOriginal, type PopulationError as PopulationErrorOriginal, type Project as ProjectOriginal, type ProjectPlanReady as ProjectPlanReadyOriginal, type ProjectResumeRequested as ProjectResumeRequestedOriginal, type ProjectStartRequested as ProjectStartRequestedOriginal, ProjectStatus as ProjectStatusOriginal, type ProjectStatusWithLiterals as ProjectStatusWithLiteralsOriginal, type RefreshAgentSiteTokenRequest as RefreshAgentSiteTokenRequestOriginal, type RefreshAgentSiteTokenResponse as RefreshAgentSiteTokenResponseOriginal, type RegenerateProjectIconRequest as RegenerateProjectIconRequestOriginal, type RegenerateProjectIconResponse as RegenerateProjectIconResponseOriginal, type RegenerateProjectNameRequest as RegenerateProjectNameRequestOriginal, type RegenerateProjectNameResponse as RegenerateProjectNameResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RestoreReleaseRequest as RestoreReleaseRequestOriginal, type RestoreReleaseResponse as RestoreReleaseResponseOriginal, type ResumeProjectRequest as ResumeProjectRequestOriginal, type ResumeProjectResponse as ResumeProjectResponseOriginal, SandboxStatus as SandboxStatusOriginal, type SandboxStatusWithLiterals as SandboxStatusWithLiteralsOriginal, type SaveProjectDesignRequest as SaveProjectDesignRequestOriginal, type SaveProjectDesignResponse as SaveProjectDesignResponseOriginal, type StartMobileBuildRequest as StartMobileBuildRequestOriginal, type StartMobileBuildResponse as StartMobileBuildResponseOriginal, type StartProjectRequest as StartProjectRequestOriginal, type StartProjectResponse as StartProjectResponseOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type SuccessfulResult as SuccessfulResultOriginal, type UpdateProjectRequest as UpdateProjectRequestOriginal, type UpdateProjectResponse as UpdateProjectResponseOriginal, type V1AdditionalDataFilterMismatchType as V1AdditionalDataFilterMismatchTypeOriginal, type V1AdditionalDataFilterMissingKey as V1AdditionalDataFilterMissingKeyOriginal, type V1AdditionalDataFilterMustHaveKey as V1AdditionalDataFilterMustHaveKeyOriginal, type V1AdditionalDataMissingValue as V1AdditionalDataMissingValueOriginal, type V1AdditionalFilterCantBeEmpty as V1AdditionalFilterCantBeEmptyOriginal, type V1ConductionException as V1ConductionExceptionOriginal, type V1DidNotFindEligibleFilter as V1DidNotFindEligibleFilterOriginal, type V1FailedToFetchExperiment as V1FailedToFetchExperimentOriginal, type V1FailedToRunToss as V1FailedToRunTossOriginal, type V1FilterNotImplemented as V1FilterNotImplementedOriginal, type V1FilterNotSupported as V1FilterNotSupportedOriginal, type V1FilterOperandEmpty as V1FilterOperandEmptyOriginal, type V1GeneralError as V1GeneralErrorOriginal, type V1MissingElementInContextForBiProfileError as V1MissingElementInContextForBiProfileErrorOriginal, type V1MissingExperimentId as V1MissingExperimentIdOriginal, type V1MissingFilterTarget as V1MissingFilterTargetOriginal, type V1MissingPlugins as V1MissingPluginsOriginal, type V1MissingSeedKeyType as V1MissingSeedKeyTypeOriginal, type V1MissingSeed as V1MissingSeedOriginal, type V1MissingSeedType as V1MissingSeedTypeOriginal, type V1NoResultForConduction as V1NoResultForConductionOriginal, V1Platform as V1PlatformOriginal, type V1PlatformWithLiterals as V1PlatformWithLiteralsOriginal, type V1PopulationError as V1PopulationErrorOriginal, type V1SuccessfulResult as V1SuccessfulResultOriginal, Variant as VariantOriginal, type VariantValue as VariantValueOriginal, type VariantValueValueOneOf as VariantValueValueOneOfOriginal, type VariantWithLiterals as VariantWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, claimHimalayaApp, createProject, deleteProject, getHimalayaAuthorization, getLatestMobileBuilds, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild, updateProject };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { Project, UpdateProject, ResumeProjectResponse, RegenerateProjectNameResponse, RegenerateProjectIconResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, RestoreReleaseOptions, RestoreReleaseResponse, ListProjectsOptions, ListProjectsResponse, GetHimalayaAuthorizationResponse, PlatformWithLiterals, StartMobileBuildOptions, StartMobileBuildResponse, GetLatestMobileBuildsOptions, GetLatestMobileBuildsResponse } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, ActionEvent, AdditionalDataFilterMismatchType, AdditionalDataFilterMissingKey, AdditionalDataFilterMustHaveKey, AdditionalDataMissingValue, AdditionalFilterCantBeEmpty, ConductByScopeResponse, ConductByScopesResponse, ConductResponse, ConductionException, ConductionResult, ConductionStatus, ConductionStatusStatusOneOf, CreateAgentSessionRequest, CreateAgentSessionResponse, CreateProjectRequest, CreateProjectResponse, CursorPaging, CursorPagingMetadata, Cursors, DeleteProjectRequest, DeleteProjectResponse, DidNotFindEligibleFilter, DomainEvent, DomainEventBodyOneOf, DynamicConfigConductionResult, DynamicConfigStatus, DynamicConfigStatusStatusOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FailedMobileBuildPlatform, FailedToFetchExperiment, FailedToRunToss, FailureKind, FailureKindWithLiterals, FilterNotImplemented, FilterNotSupported, FilterOperandEmpty, GeneralError, GetAgentConfigRequest, GetAgentConfigResponse, GetAgentExperimentsRequest, GetAgentExperimentsResponse, GetHimalayaAuthorizationRequest, GetLatestMobileBuildsRequest, GetProjectRequest, GetProjectResponse, IdentificationData, IdentificationDataIdOneOf, InvalidLibraryConfiguration, IsEnabledFieldNotFound, IsEnabledFieldNotOfTypeBoolean, ListProjectsForCurrentUserRequest, ListProjectsForCurrentUserResponse, ListProjectsRequest, MessageEnvelope, MissingElementInContextForBiProfileError, MissingExperimentId, MissingFilterTarget, MissingPlugins, MissingSeed, MissingSeedKeyType, MissingSeedType, MobileBuild, NoResultForConduction, NotImplemented, Platform, PlatformMobileBuilds, PopulationError, ProjectPlanReady, ProjectResumeRequested, ProjectStartRequested, ProjectStatus, ProjectStatusWithLiterals, RefreshAgentSiteTokenRequest, RefreshAgentSiteTokenResponse, RegenerateProjectIconRequest, RegenerateProjectNameRequest, RestoreInfo, RestoreReleaseRequest, ResumeProjectRequest, SandboxStatus, SandboxStatusWithLiterals, SaveProjectDesignRequest, StartMobileBuildRequest, StartProjectRequest, StartProjectResponse, Status, StatusWithLiterals, SuccessfulResult, UpdateProjectRequest, UpdateProjectResponse, V1AdditionalDataFilterMismatchType, V1AdditionalDataFilterMissingKey, V1AdditionalDataFilterMustHaveKey, V1AdditionalDataMissingValue, V1AdditionalFilterCantBeEmpty, V1ConductionException, V1DidNotFindEligibleFilter, V1FailedToFetchExperiment, V1FailedToRunToss, V1FilterNotImplemented, V1FilterNotSupported, V1FilterOperandEmpty, V1GeneralError, V1MissingElementInContextForBiProfileError, V1MissingExperimentId, V1MissingFilterTarget, V1MissingPlugins, V1MissingSeed, V1MissingSeedKeyType, V1MissingSeedType, V1NoResultForConduction, V1Platform, V1PlatformWithLiterals, V1PopulationError, V1SuccessfulResult, Variant, VariantValue, VariantValueValueOneOf, VariantWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
2
|
+
import { Project, UpdateProject, ResumeProjectResponse, RegenerateProjectNameResponse, RegenerateProjectIconResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, RestoreReleaseOptions, RestoreReleaseResponse, ListProjectsOptions, ListProjectsResponse, GetHimalayaAuthorizationResponse, PlatformWithLiterals, StartMobileBuildOptions, StartMobileBuildResponse, GetLatestMobileBuildsOptions, GetLatestMobileBuildsResponse, ClaimHimalayaAppResponse } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, ActionEvent, AdditionalDataFilterMismatchType, AdditionalDataFilterMissingKey, AdditionalDataFilterMustHaveKey, AdditionalDataMissingValue, AdditionalFilterCantBeEmpty, AndroidFormat, AndroidFormatWithLiterals, ClaimHimalayaAppRequest, ConductByScopeResponse, ConductByScopesResponse, ConductResponse, ConductionException, ConductionResult, ConductionStatus, ConductionStatusStatusOneOf, CreateAgentSessionRequest, CreateAgentSessionResponse, CreateProjectRequest, CreateProjectResponse, CursorPaging, CursorPagingMetadata, Cursors, DeleteProjectRequest, DeleteProjectResponse, DidNotFindEligibleFilter, DomainEvent, DomainEventBodyOneOf, DynamicConfigConductionResult, DynamicConfigStatus, DynamicConfigStatusStatusOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FailedMobileBuildPlatform, FailedToFetchExperiment, FailedToRunToss, FailureKind, FailureKindWithLiterals, FilterNotImplemented, FilterNotSupported, FilterOperandEmpty, GeneralError, GetAgentConfigRequest, GetAgentConfigResponse, GetAgentExperimentsRequest, GetAgentExperimentsResponse, GetHimalayaAuthorizationRequest, GetLatestMobileBuildsRequest, GetProjectRequest, GetProjectResponse, IdentificationData, IdentificationDataIdOneOf, InvalidLibraryConfiguration, IsEnabledFieldNotFound, IsEnabledFieldNotOfTypeBoolean, ListProjectsForCurrentUserRequest, ListProjectsForCurrentUserResponse, ListProjectsRequest, MessageEnvelope, MissingElementInContextForBiProfileError, MissingExperimentId, MissingFilterTarget, MissingPlugins, MissingSeed, MissingSeedKeyType, MissingSeedType, MobileBuild, NoResultForConduction, NotImplemented, Platform, PlatformMobileBuilds, PopulationError, ProjectPlanReady, ProjectResumeRequested, ProjectStartRequested, ProjectStatus, ProjectStatusWithLiterals, RefreshAgentSiteTokenRequest, RefreshAgentSiteTokenResponse, RegenerateProjectIconRequest, RegenerateProjectNameRequest, RestoreInfo, RestoreReleaseRequest, ResumeProjectRequest, SandboxStatus, SandboxStatusWithLiterals, SaveProjectDesignRequest, StartMobileBuildRequest, StartProjectRequest, StartProjectResponse, Status, StatusWithLiterals, SuccessfulResult, UpdateProjectRequest, UpdateProjectResponse, V1AdditionalDataFilterMismatchType, V1AdditionalDataFilterMissingKey, V1AdditionalDataFilterMustHaveKey, V1AdditionalDataMissingValue, V1AdditionalFilterCantBeEmpty, V1ConductionException, V1DidNotFindEligibleFilter, V1FailedToFetchExperiment, V1FailedToRunToss, V1FilterNotImplemented, V1FilterNotSupported, V1FilterOperandEmpty, V1GeneralError, V1MissingElementInContextForBiProfileError, V1MissingExperimentId, V1MissingFilterTarget, V1MissingPlugins, V1MissingSeed, V1MissingSeedKeyType, V1MissingSeedType, V1NoResultForConduction, V1Platform, V1PlatformWithLiterals, V1PopulationError, V1SuccessfulResult, Variant, VariantValue, VariantValueValueOneOf, VariantWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
/** @internal */
|
|
6
6
|
declare function createProject$1(httpClient: HttpClient): CreateProjectSignature;
|
|
@@ -173,7 +173,7 @@ interface StartMobileBuildSignature {
|
|
|
173
173
|
* @param - ID of the project to build.
|
|
174
174
|
* @param - Platforms to build. One build is started for each platform.
|
|
175
175
|
*/
|
|
176
|
-
(projectId: string, platforms: PlatformWithLiterals[], options?: NonNullablePaths<StartMobileBuildOptions, `himalayaControlToken`, 0>): Promise<NonNullablePaths<StartMobileBuildResponse, `builds` | `builds.${number}.jobId` | `builds.${number}.platform` | `builds.${number}.releaseId` | `builds.${number}.appVersion` | `builds.${number}.status` | `builds.${number}.failureKind` | `builds.${number}.himalayaStatus` | `builds.${number}.errorMessage` | `builds.${number}.downloadUrl` | `builds.${number}.installPageUrl` | `builds.${number}.downloadExpired` | `failedPlatforms` | `failedPlatforms.${number}.platform` | `failedPlatforms.${number}.errorCode` | `failedPlatforms.${number}.errorMessage`, 2>>;
|
|
176
|
+
(projectId: string, platforms: PlatformWithLiterals[], options?: NonNullablePaths<StartMobileBuildOptions, `himalayaControlToken`, 0>): Promise<NonNullablePaths<StartMobileBuildResponse, `builds` | `builds.${number}.jobId` | `builds.${number}.platform` | `builds.${number}.releaseId` | `builds.${number}.appVersion` | `builds.${number}.status` | `builds.${number}.failureKind` | `builds.${number}.himalayaStatus` | `builds.${number}.errorMessage` | `builds.${number}.downloadUrl` | `builds.${number}.installPageUrl` | `builds.${number}.downloadExpired` | `builds.${number}.androidFormat` | `builds.${number}.apkDownloadUrl` | `failedPlatforms` | `failedPlatforms.${number}.platform` | `failedPlatforms.${number}.errorCode` | `failedPlatforms.${number}.errorMessage`, 2>>;
|
|
177
177
|
}
|
|
178
178
|
declare function getLatestMobileBuilds$1(httpClient: HttpClient): GetLatestMobileBuildsSignature;
|
|
179
179
|
interface GetLatestMobileBuildsSignature {
|
|
@@ -188,7 +188,25 @@ interface GetLatestMobileBuildsSignature {
|
|
|
188
188
|
* before the response. Without it, the stored state is returned as is.
|
|
189
189
|
* @param - ID of the project.
|
|
190
190
|
*/
|
|
191
|
-
(projectId: string, options?: GetLatestMobileBuildsOptions): Promise<NonNullablePaths<GetLatestMobileBuildsResponse, `platforms` | `platforms.${number}.platform` | `platforms.${number}.lastAttempt.jobId` | `platforms.${number}.lastAttempt.platform` | `platforms.${number}.lastAttempt.releaseId` | `platforms.${number}.lastAttempt.appVersion` | `platforms.${number}.lastAttempt.status` | `platforms.${number}.lastAttempt.failureKind` | `platforms.${number}.lastAttempt.himalayaStatus` | `platforms.${number}.lastAttempt.errorMessage` | `platforms.${number}.lastAttempt.downloadUrl` | `platforms.${number}.lastAttempt.installPageUrl` | `platforms.${number}.lastAttempt.downloadExpired` | `refreshFailed`, 3>>;
|
|
191
|
+
(projectId: string, options?: GetLatestMobileBuildsOptions): Promise<NonNullablePaths<GetLatestMobileBuildsResponse, `platforms` | `platforms.${number}.platform` | `platforms.${number}.lastAttempt.jobId` | `platforms.${number}.lastAttempt.platform` | `platforms.${number}.lastAttempt.releaseId` | `platforms.${number}.lastAttempt.appVersion` | `platforms.${number}.lastAttempt.status` | `platforms.${number}.lastAttempt.failureKind` | `platforms.${number}.lastAttempt.himalayaStatus` | `platforms.${number}.lastAttempt.errorMessage` | `platforms.${number}.lastAttempt.downloadUrl` | `platforms.${number}.lastAttempt.installPageUrl` | `platforms.${number}.lastAttempt.downloadExpired` | `platforms.${number}.lastAttempt.androidFormat` | `platforms.${number}.lastAttempt.apkDownloadUrl` | `refreshFailed`, 3>>;
|
|
192
|
+
}
|
|
193
|
+
declare function claimHimalayaApp$1(httpClient: HttpClient): ClaimHimalayaAppSignature;
|
|
194
|
+
interface ClaimHimalayaAppSignature {
|
|
195
|
+
/**
|
|
196
|
+
* Claims the canonical Himalaya app for a NEW site-tenanted project, or returns the one already
|
|
197
|
+
* bound to it.
|
|
198
|
+
*
|
|
199
|
+
* This exists so the BROWSER never asserts the (MetaSite, project) pair to Himalaya. Containers
|
|
200
|
+
* is the authority on project -> MetaSite: it reads the project from its own store with a
|
|
201
|
+
* consistent read and takes the MetaSite from this call's identity context, then claims
|
|
202
|
+
* server-to-server with a site USER token minted for the initiating collaborator. Himalaya
|
|
203
|
+
* recognises that token as minted by THIS service and trusts the pair on that basis. A dashboard
|
|
204
|
+
* calling Himalaya directly could name another site's project UUID and reserve its global slug.
|
|
205
|
+
*
|
|
206
|
+
* Idempotent per pair: an already-claimed project returns its existing canonical app.
|
|
207
|
+
* @param - Site-tenanted Containers project to claim a Himalaya app for.
|
|
208
|
+
*/
|
|
209
|
+
(projectId: string): Promise<NonNullablePaths<ClaimHimalayaAppResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp`, 0>>;
|
|
192
210
|
}
|
|
193
211
|
|
|
194
212
|
/** @internal */
|
|
@@ -210,5 +228,6 @@ declare const listProjects: MaybeContext<BuildRESTFunction<typeof listProjects$1
|
|
|
210
228
|
declare const getHimalayaAuthorization: MaybeContext<BuildRESTFunction<typeof getHimalayaAuthorization$1> & typeof getHimalayaAuthorization$1>;
|
|
211
229
|
declare const startMobileBuild: MaybeContext<BuildRESTFunction<typeof startMobileBuild$1> & typeof startMobileBuild$1>;
|
|
212
230
|
declare const getLatestMobileBuilds: MaybeContext<BuildRESTFunction<typeof getLatestMobileBuilds$1> & typeof getLatestMobileBuilds$1>;
|
|
231
|
+
declare const claimHimalayaApp: MaybeContext<BuildRESTFunction<typeof claimHimalayaApp$1> & typeof claimHimalayaApp$1>;
|
|
213
232
|
|
|
214
|
-
export { GetHimalayaAuthorizationResponse, GetLatestMobileBuildsOptions, GetLatestMobileBuildsResponse, ListProjectsOptions, ListProjectsResponse, PlatformWithLiterals, Project, RegenerateProjectIconResponse, RegenerateProjectNameResponse, RestoreReleaseOptions, RestoreReleaseResponse, ResumeProjectResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, StartMobileBuildOptions, StartMobileBuildResponse, UpdateProject, createProject, deleteProject, getHimalayaAuthorization, getLatestMobileBuilds, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild, updateProject };
|
|
233
|
+
export { ClaimHimalayaAppResponse, GetHimalayaAuthorizationResponse, GetLatestMobileBuildsOptions, GetLatestMobileBuildsResponse, ListProjectsOptions, ListProjectsResponse, PlatformWithLiterals, Project, RegenerateProjectIconResponse, RegenerateProjectNameResponse, RestoreReleaseOptions, RestoreReleaseResponse, ResumeProjectResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, StartMobileBuildOptions, StartMobileBuildResponse, UpdateProject, claimHimalayaApp, createProject, deleteProject, getHimalayaAuthorization, getLatestMobileBuilds, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild, updateProject };
|