@wix/auto_sdk_containers_projects 1.0.8 → 1.0.9

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.
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
- import { Project, ResumeProjectResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, RestoreReleaseOptions, RestoreReleaseResponse, GetHimalayaAuthorizationResponse } 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, FailedToFetchExperiment, FailedToRunToss, FilterNotImplemented, FilterNotSupported, FilterOperandEmpty, GeneralError, GetAgentConfigRequest, GetAgentConfigResponse, GetAgentExperimentsRequest, GetAgentExperimentsResponse, GetHimalayaAuthorizationRequest, GetProjectRequest, GetProjectResponse, IdentificationData, IdentificationDataIdOneOf, InvalidLibraryConfiguration, IsEnabledFieldNotFound, IsEnabledFieldNotOfTypeBoolean, ListProjectsForCurrentUserRequest, ListProjectsForCurrentUserResponse, ListProjectsOptions, ListProjectsRequest, ListProjectsResponse, MessageEnvelope, MissingElementInContextForBiProfileError, MissingExperimentId, MissingFilterTarget, MissingPlugins, MissingSeed, MissingSeedKeyType, MissingSeedType, NoResultForConduction, NotImplemented, Platform, PlatformWithLiterals, PopulationError, ProjectPlanReady, ProjectResumeRequested, ProjectStartRequested, ProjectStatus, ProjectStatusWithLiterals, RefreshAgentSiteTokenRequest, RefreshAgentSiteTokenResponse, RegenerateProjectIconRequest, RegenerateProjectIconResponse, RegenerateProjectNameRequest, RegenerateProjectNameResponse, RestoreInfo, RestoreReleaseRequest, ResumeProjectRequest, SandboxStatus, SandboxStatusWithLiterals, SaveProjectDesignRequest, StartProjectRequest, StartProjectResponse, SuccessfulResult, UpdateProject, UpdateProjectRequest, UpdateProjectResponse, V1AdditionalDataFilterMismatchType, V1AdditionalDataFilterMissingKey, V1AdditionalDataFilterMustHaveKey, V1AdditionalDataMissingValue, V1AdditionalFilterCantBeEmpty, V1ConductionException, V1DidNotFindEligibleFilter, V1FailedToFetchExperiment, V1FailedToRunToss, V1FilterNotImplemented, V1FilterNotSupported, V1FilterOperandEmpty, V1GeneralError, V1MissingElementInContextForBiProfileError, V1MissingExperimentId, V1MissingFilterTarget, V1MissingPlugins, V1MissingSeed, V1MissingSeedKeyType, V1MissingSeedType, V1NoResultForConduction, V1PopulationError, V1SuccessfulResult, Variant, VariantValue, VariantValueValueOneOf, VariantWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
2
+ import { Project, ResumeProjectResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, RestoreReleaseOptions, RestoreReleaseResponse, 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, ListProjectsOptions, ListProjectsRequest, ListProjectsResponse, MessageEnvelope, MissingElementInContextForBiProfileError, MissingExperimentId, MissingFilterTarget, MissingPlugins, MissingSeed, MissingSeedKeyType, MissingSeedType, MobileBuild, NoResultForConduction, NotImplemented, Platform, PlatformMobileBuilds, PopulationError, ProjectPlanReady, ProjectResumeRequested, ProjectStartRequested, ProjectStatus, ProjectStatusWithLiterals, RefreshAgentSiteTokenRequest, RefreshAgentSiteTokenResponse, RegenerateProjectIconRequest, RegenerateProjectIconResponse, RegenerateProjectNameRequest, RegenerateProjectNameResponse, RestoreInfo, RestoreReleaseRequest, ResumeProjectRequest, SandboxStatus, SandboxStatusWithLiterals, SaveProjectDesignRequest, StartMobileBuildRequest, StartProjectRequest, StartProjectResponse, Status, StatusWithLiterals, SuccessfulResult, UpdateProject, 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
  declare function getProject$1(httpClient: HttpClient): GetProjectSignature;
6
6
  interface GetProjectSignature {
@@ -88,11 +88,45 @@ interface GetHimalayaAuthorizationSignature {
88
88
  */
89
89
  (projectId: string): Promise<NonNullablePaths<GetHimalayaAuthorizationResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp` | `workerLaunch` | `saveDesign`, 0>>;
90
90
  }
91
+ declare function startMobileBuild$1(httpClient: HttpClient): StartMobileBuildSignature;
92
+ interface StartMobileBuildSignature {
93
+ /**
94
+ * Starts building the installable app files of a project, one build for each platform.
95
+ *
96
+ * The builds run in the background and take several minutes. To follow them, call
97
+ * [Get Latest Mobile Builds](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-latest-mobile-builds)
98
+ * with `himalayaControlToken`.
99
+ *
100
+ * For projects whose `platform` is `HIMALAYA_MOBILE`, call
101
+ * [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
102
+ * first, and specify the returned `canonicalApp`.
103
+ * @param - ID of the project to build.
104
+ * @param - Platforms to build. One build is started for each platform.
105
+ */
106
+ (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>>;
107
+ }
108
+ declare function getLatestMobileBuilds$1(httpClient: HttpClient): GetLatestMobileBuildsSignature;
109
+ interface GetLatestMobileBuildsSignature {
110
+ /**
111
+ * Retrieves the latest app-file builds of a project: for each platform, the last build that was
112
+ * started and the last build that succeeded.
113
+ *
114
+ * The caller must be authorized to work on the project's app, as for
115
+ * [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization).
116
+ *
117
+ * When `himalayaControlToken` is specified, builds that are still in progress are refreshed
118
+ * before the response. Without it, the stored state is returned as is.
119
+ * @param - ID of the project.
120
+ */
121
+ (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>>;
122
+ }
91
123
 
92
124
  declare const getProject: MaybeContext<BuildRESTFunction<typeof getProject$1> & typeof getProject$1>;
93
125
  declare const resumeProject: MaybeContext<BuildRESTFunction<typeof resumeProject$1> & typeof resumeProject$1>;
94
126
  declare const saveProjectDesign: MaybeContext<BuildRESTFunction<typeof saveProjectDesign$1> & typeof saveProjectDesign$1>;
95
127
  declare const restoreRelease: MaybeContext<BuildRESTFunction<typeof restoreRelease$1> & typeof restoreRelease$1>;
96
128
  declare const getHimalayaAuthorization: MaybeContext<BuildRESTFunction<typeof getHimalayaAuthorization$1> & typeof getHimalayaAuthorization$1>;
129
+ declare const startMobileBuild: MaybeContext<BuildRESTFunction<typeof startMobileBuild$1> & typeof startMobileBuild$1>;
130
+ declare const getLatestMobileBuilds: MaybeContext<BuildRESTFunction<typeof getLatestMobileBuilds$1> & typeof getLatestMobileBuilds$1>;
97
131
 
98
- export { GetHimalayaAuthorizationResponse, Project, RestoreReleaseOptions, RestoreReleaseResponse, ResumeProjectResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, getHimalayaAuthorization, getProject, restoreRelease, resumeProject, saveProjectDesign };
132
+ export { GetHimalayaAuthorizationResponse, GetLatestMobileBuildsOptions, GetLatestMobileBuildsResponse, PlatformWithLiterals, Project, RestoreReleaseOptions, RestoreReleaseResponse, ResumeProjectResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, StartMobileBuildOptions, StartMobileBuildResponse, getHimalayaAuthorization, getLatestMobileBuilds, getProject, restoreRelease, resumeProject, saveProjectDesign, startMobileBuild };
@@ -20,14 +20,18 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
+ FailureKind: () => FailureKind,
23
24
  Platform: () => Platform,
24
25
  ProjectStatus: () => ProjectStatus,
25
26
  SandboxStatus: () => SandboxStatus,
27
+ Status: () => Status,
28
+ V1Platform: () => V1Platform,
26
29
  Variant: () => Variant,
27
30
  WebhookIdentityType: () => WebhookIdentityType,
28
31
  createProject: () => createProject4,
29
32
  deleteProject: () => deleteProject4,
30
33
  getHimalayaAuthorization: () => getHimalayaAuthorization4,
34
+ getLatestMobileBuilds: () => getLatestMobileBuilds4,
31
35
  getProject: () => getProject4,
32
36
  listProjects: () => listProjects4,
33
37
  regenerateProjectIcon: () => regenerateProjectIcon4,
@@ -35,6 +39,7 @@ __export(index_exports, {
35
39
  restoreRelease: () => restoreRelease4,
36
40
  resumeProject: () => resumeProject4,
37
41
  saveProjectDesign: () => saveProjectDesign4,
42
+ startMobileBuild: () => startMobileBuild4,
38
43
  updateProject: () => updateProject4
39
44
  });
40
45
  module.exports = __toCommonJS(index_exports);
@@ -60,6 +65,22 @@ var TRANSFORM_PATHS_3 = [
60
65
  { path: "projects.createdDate" },
61
66
  { path: "projects.updatedDate" }
62
67
  ];
68
+ var TRANSFORM_PATHS_4 = [
69
+ { path: "builds.downloadExpiresDate" },
70
+ { path: "builds.createdDate" },
71
+ { path: "builds.builtDate" },
72
+ { path: "builds.updatedDate" }
73
+ ];
74
+ var TRANSFORM_PATHS_5 = [
75
+ { path: "platforms.lastAttempt.downloadExpiresDate" },
76
+ { path: "platforms.lastAttempt.createdDate" },
77
+ { path: "platforms.lastAttempt.builtDate" },
78
+ { path: "platforms.lastAttempt.updatedDate" },
79
+ { path: "platforms.lastSuccessfulBuild.downloadExpiresDate" },
80
+ { path: "platforms.lastSuccessfulBuild.createdDate" },
81
+ { path: "platforms.lastSuccessfulBuild.builtDate" },
82
+ { path: "platforms.lastSuccessfulBuild.updatedDate" }
83
+ ];
63
84
  function resolveWixContainersProjectsV1ContainersProjectsUrl(opts) {
64
85
  const domainToMappings = {
65
86
  "manage._base_domain_": [
@@ -367,6 +388,60 @@ function getHimalayaAuthorization(payload) {
367
388
  }
368
389
  return __getHimalayaAuthorization;
369
390
  }
391
+ function startMobileBuild(payload) {
392
+ function __startMobileBuild({ host }) {
393
+ const metadata = {
394
+ entityFqdn: "wix.containers.projects.v1.project",
395
+ method: "POST",
396
+ methodFqn: "wix.containers.projects.v1.ContainersProjects.StartMobileBuild",
397
+ packageName: PACKAGE_NAME,
398
+ migrationOptions: {
399
+ optInTransformResponse: true
400
+ },
401
+ url: resolveWixContainersProjectsV1ContainersProjectsUrl({
402
+ protoPath: "/v1/projects/{projectId}/mobile-builds",
403
+ data: payload,
404
+ host
405
+ }),
406
+ data: payload,
407
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
408
+ {
409
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
410
+ paths: TRANSFORM_PATHS_4
411
+ }
412
+ ])
413
+ };
414
+ return metadata;
415
+ }
416
+ return __startMobileBuild;
417
+ }
418
+ function getLatestMobileBuilds(payload) {
419
+ function __getLatestMobileBuilds({ host }) {
420
+ const metadata = {
421
+ entityFqdn: "wix.containers.projects.v1.project",
422
+ method: "POST",
423
+ methodFqn: "wix.containers.projects.v1.ContainersProjects.GetLatestMobileBuilds",
424
+ packageName: PACKAGE_NAME,
425
+ migrationOptions: {
426
+ optInTransformResponse: true
427
+ },
428
+ url: resolveWixContainersProjectsV1ContainersProjectsUrl({
429
+ protoPath: "/v1/projects/{projectId}/mobile-builds/latest",
430
+ data: payload,
431
+ host
432
+ }),
433
+ data: payload,
434
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
435
+ {
436
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
437
+ paths: TRANSFORM_PATHS_5
438
+ }
439
+ ])
440
+ };
441
+ return metadata;
442
+ }
443
+ return __getLatestMobileBuilds;
444
+ }
370
445
 
371
446
  // src/containers-projects-v1-project-projects.universal.ts
372
447
  var ProjectStatus = /* @__PURE__ */ ((ProjectStatus2) => {
@@ -380,12 +455,12 @@ var SandboxStatus = /* @__PURE__ */ ((SandboxStatus2) => {
380
455
  SandboxStatus2["CREATING"] = "CREATING";
381
456
  return SandboxStatus2;
382
457
  })(SandboxStatus || {});
383
- var Platform = /* @__PURE__ */ ((Platform2) => {
384
- Platform2["IOS"] = "IOS";
385
- Platform2["ANDROID"] = "ANDROID";
386
- Platform2["HIMALAYA_MOBILE"] = "HIMALAYA_MOBILE";
387
- return Platform2;
388
- })(Platform || {});
458
+ var V1Platform = /* @__PURE__ */ ((V1Platform2) => {
459
+ V1Platform2["IOS"] = "IOS";
460
+ V1Platform2["ANDROID"] = "ANDROID";
461
+ V1Platform2["HIMALAYA_MOBILE"] = "HIMALAYA_MOBILE";
462
+ return V1Platform2;
463
+ })(V1Platform || {});
389
464
  var Variant = /* @__PURE__ */ ((Variant2) => {
390
465
  Variant2["VARIANT_UNSPECIFIED"] = "VARIANT_UNSPECIFIED";
391
466
  Variant2["A"] = "A";
@@ -424,6 +499,23 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
424
499
  WebhookIdentityType2["APP"] = "APP";
425
500
  return WebhookIdentityType2;
426
501
  })(WebhookIdentityType || {});
502
+ var Platform = /* @__PURE__ */ ((Platform2) => {
503
+ Platform2["IOS"] = "IOS";
504
+ Platform2["ANDROID"] = "ANDROID";
505
+ return Platform2;
506
+ })(Platform || {});
507
+ var Status = /* @__PURE__ */ ((Status2) => {
508
+ Status2["IN_PROGRESS"] = "IN_PROGRESS";
509
+ Status2["SUCCEEDED"] = "SUCCEEDED";
510
+ Status2["FAILED"] = "FAILED";
511
+ Status2["CANCELED"] = "CANCELED";
512
+ return Status2;
513
+ })(Status || {});
514
+ var FailureKind = /* @__PURE__ */ ((FailureKind2) => {
515
+ FailureKind2["SIGNING"] = "SIGNING";
516
+ FailureKind2["BUILD"] = "BUILD";
517
+ return FailureKind2;
518
+ })(FailureKind || {});
427
519
  async function createProject2(project) {
428
520
  const { httpClient, sideEffects } = arguments[1];
429
521
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ project });
@@ -718,6 +810,72 @@ async function getHimalayaAuthorization2(projectId) {
718
810
  throw transformedError;
719
811
  }
720
812
  }
813
+ async function startMobileBuild2(projectId, platforms, options) {
814
+ const { httpClient, sideEffects } = arguments[3];
815
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
816
+ projectId,
817
+ platforms,
818
+ releaseId: options?.releaseId,
819
+ appVersion: options?.appVersion,
820
+ himalayaControlToken: options?.himalayaControlToken,
821
+ canonicalApp: options?.canonicalApp
822
+ });
823
+ const reqOpts = startMobileBuild(payload);
824
+ sideEffects?.onSiteCall?.();
825
+ try {
826
+ const result = await httpClient.request(reqOpts);
827
+ sideEffects?.onSuccess?.(result);
828
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
829
+ } catch (err) {
830
+ const transformedError = (0, import_transform_error.transformError)(
831
+ err,
832
+ {
833
+ spreadPathsToArguments: {},
834
+ explicitPathsToArguments: {
835
+ projectId: "$[0]",
836
+ platforms: "$[1]",
837
+ releaseId: "$[2].releaseId",
838
+ appVersion: "$[2].appVersion",
839
+ himalayaControlToken: "$[2].himalayaControlToken",
840
+ canonicalApp: "$[2].canonicalApp"
841
+ },
842
+ singleArgumentUnchanged: false
843
+ },
844
+ ["projectId", "platforms", "options"]
845
+ );
846
+ sideEffects?.onError?.(err);
847
+ throw transformedError;
848
+ }
849
+ }
850
+ async function getLatestMobileBuilds2(projectId, options) {
851
+ const { httpClient, sideEffects } = arguments[2];
852
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
853
+ projectId,
854
+ himalayaControlToken: options?.himalayaControlToken
855
+ });
856
+ const reqOpts = getLatestMobileBuilds(payload);
857
+ sideEffects?.onSiteCall?.();
858
+ try {
859
+ const result = await httpClient.request(reqOpts);
860
+ sideEffects?.onSuccess?.(result);
861
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
862
+ } catch (err) {
863
+ const transformedError = (0, import_transform_error.transformError)(
864
+ err,
865
+ {
866
+ spreadPathsToArguments: {},
867
+ explicitPathsToArguments: {
868
+ projectId: "$[0]",
869
+ himalayaControlToken: "$[1].himalayaControlToken"
870
+ },
871
+ singleArgumentUnchanged: false
872
+ },
873
+ ["projectId", "options"]
874
+ );
875
+ sideEffects?.onError?.(err);
876
+ throw transformedError;
877
+ }
878
+ }
721
879
 
722
880
  // src/containers-projects-v1-project-projects.public.ts
723
881
  function createProject3(httpClient) {
@@ -804,6 +962,23 @@ function getHimalayaAuthorization3(httpClient) {
804
962
  { httpClient }
805
963
  );
806
964
  }
965
+ function startMobileBuild3(httpClient) {
966
+ return (projectId, platforms, options) => startMobileBuild2(
967
+ projectId,
968
+ platforms,
969
+ options,
970
+ // @ts-ignore
971
+ { httpClient }
972
+ );
973
+ }
974
+ function getLatestMobileBuilds3(httpClient) {
975
+ return (projectId, options) => getLatestMobileBuilds2(
976
+ projectId,
977
+ options,
978
+ // @ts-ignore
979
+ { httpClient }
980
+ );
981
+ }
807
982
 
808
983
  // src/containers-projects-v1-project-projects.context.ts
809
984
  var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
@@ -818,16 +993,22 @@ var saveProjectDesign4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModu
818
993
  var restoreRelease4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(restoreRelease3);
819
994
  var listProjects4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listProjects3);
820
995
  var getHimalayaAuthorization4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getHimalayaAuthorization3);
996
+ var startMobileBuild4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(startMobileBuild3);
997
+ var getLatestMobileBuilds4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getLatestMobileBuilds3);
821
998
  // Annotate the CommonJS export names for ESM import in node:
822
999
  0 && (module.exports = {
1000
+ FailureKind,
823
1001
  Platform,
824
1002
  ProjectStatus,
825
1003
  SandboxStatus,
1004
+ Status,
1005
+ V1Platform,
826
1006
  Variant,
827
1007
  WebhookIdentityType,
828
1008
  createProject,
829
1009
  deleteProject,
830
1010
  getHimalayaAuthorization,
1011
+ getLatestMobileBuilds,
831
1012
  getProject,
832
1013
  listProjects,
833
1014
  regenerateProjectIcon,
@@ -835,6 +1016,7 @@ var getHimalayaAuthorization4 = /* @__PURE__ */ (0, import_rest_modules3.createR
835
1016
  restoreRelease,
836
1017
  resumeProject,
837
1018
  saveProjectDesign,
1019
+ startMobileBuild,
838
1020
  updateProject
839
1021
  });
840
1022
  //# sourceMappingURL=index.js.map