@wix/auto_sdk_containers_projects 1.0.7 → 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.
- package/build/cjs/index.d.ts +37 -3
- package/build/cjs/index.js +220 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +849 -5
- package/build/cjs/index.typings.js +201 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +779 -5
- package/build/cjs/meta.js +171 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +37 -3
- package/build/es/index.mjs +214 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +849 -5
- package/build/es/index.typings.mjs +195 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +779 -5
- package/build/es/meta.mjs +165 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +37 -3
- package/build/internal/cjs/index.typings.d.ts +849 -5
- package/build/internal/cjs/meta.d.ts +779 -5
- package/build/internal/es/index.d.mts +37 -3
- package/build/internal/es/index.typings.d.mts +849 -5
- package/build/internal/es/meta.d.mts +779 -5
- package/package.json +4 -4
package/build/es/meta.mjs
CHANGED
|
@@ -15,6 +15,22 @@ var TRANSFORM_PATHS_3 = [
|
|
|
15
15
|
{ path: "projects.createdDate" },
|
|
16
16
|
{ path: "projects.updatedDate" }
|
|
17
17
|
];
|
|
18
|
+
var TRANSFORM_PATHS_4 = [
|
|
19
|
+
{ path: "builds.downloadExpiresDate" },
|
|
20
|
+
{ path: "builds.createdDate" },
|
|
21
|
+
{ path: "builds.builtDate" },
|
|
22
|
+
{ path: "builds.updatedDate" }
|
|
23
|
+
];
|
|
24
|
+
var TRANSFORM_PATHS_5 = [
|
|
25
|
+
{ path: "platforms.lastAttempt.downloadExpiresDate" },
|
|
26
|
+
{ path: "platforms.lastAttempt.createdDate" },
|
|
27
|
+
{ path: "platforms.lastAttempt.builtDate" },
|
|
28
|
+
{ path: "platforms.lastAttempt.updatedDate" },
|
|
29
|
+
{ path: "platforms.lastSuccessfulBuild.downloadExpiresDate" },
|
|
30
|
+
{ path: "platforms.lastSuccessfulBuild.createdDate" },
|
|
31
|
+
{ path: "platforms.lastSuccessfulBuild.builtDate" },
|
|
32
|
+
{ path: "platforms.lastSuccessfulBuild.updatedDate" }
|
|
33
|
+
];
|
|
18
34
|
function resolveWixContainersProjectsV1ContainersProjectsUrl(opts) {
|
|
19
35
|
const domainToMappings = {
|
|
20
36
|
"manage._base_domain_": [
|
|
@@ -322,6 +338,60 @@ function getHimalayaAuthorization(payload) {
|
|
|
322
338
|
}
|
|
323
339
|
return __getHimalayaAuthorization;
|
|
324
340
|
}
|
|
341
|
+
function startMobileBuild(payload) {
|
|
342
|
+
function __startMobileBuild({ host }) {
|
|
343
|
+
const metadata = {
|
|
344
|
+
entityFqdn: "wix.containers.projects.v1.project",
|
|
345
|
+
method: "POST",
|
|
346
|
+
methodFqn: "wix.containers.projects.v1.ContainersProjects.StartMobileBuild",
|
|
347
|
+
packageName: PACKAGE_NAME,
|
|
348
|
+
migrationOptions: {
|
|
349
|
+
optInTransformResponse: true
|
|
350
|
+
},
|
|
351
|
+
url: resolveWixContainersProjectsV1ContainersProjectsUrl({
|
|
352
|
+
protoPath: "/v1/projects/{projectId}/mobile-builds",
|
|
353
|
+
data: payload,
|
|
354
|
+
host
|
|
355
|
+
}),
|
|
356
|
+
data: payload,
|
|
357
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
358
|
+
{
|
|
359
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
360
|
+
paths: TRANSFORM_PATHS_4
|
|
361
|
+
}
|
|
362
|
+
])
|
|
363
|
+
};
|
|
364
|
+
return metadata;
|
|
365
|
+
}
|
|
366
|
+
return __startMobileBuild;
|
|
367
|
+
}
|
|
368
|
+
function getLatestMobileBuilds(payload) {
|
|
369
|
+
function __getLatestMobileBuilds({ host }) {
|
|
370
|
+
const metadata = {
|
|
371
|
+
entityFqdn: "wix.containers.projects.v1.project",
|
|
372
|
+
method: "POST",
|
|
373
|
+
methodFqn: "wix.containers.projects.v1.ContainersProjects.GetLatestMobileBuilds",
|
|
374
|
+
packageName: PACKAGE_NAME,
|
|
375
|
+
migrationOptions: {
|
|
376
|
+
optInTransformResponse: true
|
|
377
|
+
},
|
|
378
|
+
url: resolveWixContainersProjectsV1ContainersProjectsUrl({
|
|
379
|
+
protoPath: "/v1/projects/{projectId}/mobile-builds/latest",
|
|
380
|
+
data: payload,
|
|
381
|
+
host
|
|
382
|
+
}),
|
|
383
|
+
data: payload,
|
|
384
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
385
|
+
{
|
|
386
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
387
|
+
paths: TRANSFORM_PATHS_5
|
|
388
|
+
}
|
|
389
|
+
])
|
|
390
|
+
};
|
|
391
|
+
return metadata;
|
|
392
|
+
}
|
|
393
|
+
return __getLatestMobileBuilds;
|
|
394
|
+
}
|
|
325
395
|
|
|
326
396
|
// src/containers-projects-v1-project-projects.types.ts
|
|
327
397
|
var ProjectStatus = /* @__PURE__ */ ((ProjectStatus2) => {
|
|
@@ -335,12 +405,42 @@ var SandboxStatus = /* @__PURE__ */ ((SandboxStatus2) => {
|
|
|
335
405
|
SandboxStatus2["CREATING"] = "CREATING";
|
|
336
406
|
return SandboxStatus2;
|
|
337
407
|
})(SandboxStatus || {});
|
|
338
|
-
var
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
return
|
|
343
|
-
})(
|
|
408
|
+
var V1Platform = /* @__PURE__ */ ((V1Platform2) => {
|
|
409
|
+
V1Platform2["IOS"] = "IOS";
|
|
410
|
+
V1Platform2["ANDROID"] = "ANDROID";
|
|
411
|
+
V1Platform2["HIMALAYA_MOBILE"] = "HIMALAYA_MOBILE";
|
|
412
|
+
return V1Platform2;
|
|
413
|
+
})(V1Platform || {});
|
|
414
|
+
var Variant = /* @__PURE__ */ ((Variant2) => {
|
|
415
|
+
Variant2["VARIANT_UNSPECIFIED"] = "VARIANT_UNSPECIFIED";
|
|
416
|
+
Variant2["A"] = "A";
|
|
417
|
+
Variant2["B"] = "B";
|
|
418
|
+
Variant2["C"] = "C";
|
|
419
|
+
Variant2["D"] = "D";
|
|
420
|
+
Variant2["E"] = "E";
|
|
421
|
+
Variant2["F"] = "F";
|
|
422
|
+
Variant2["G"] = "G";
|
|
423
|
+
Variant2["H"] = "H";
|
|
424
|
+
Variant2["I"] = "I";
|
|
425
|
+
Variant2["J"] = "J";
|
|
426
|
+
Variant2["K"] = "K";
|
|
427
|
+
Variant2["L"] = "L";
|
|
428
|
+
Variant2["M"] = "M";
|
|
429
|
+
Variant2["N"] = "N";
|
|
430
|
+
Variant2["O"] = "O";
|
|
431
|
+
Variant2["P"] = "P";
|
|
432
|
+
Variant2["Q"] = "Q";
|
|
433
|
+
Variant2["R"] = "R";
|
|
434
|
+
Variant2["S"] = "S";
|
|
435
|
+
Variant2["T"] = "T";
|
|
436
|
+
Variant2["U"] = "U";
|
|
437
|
+
Variant2["V"] = "V";
|
|
438
|
+
Variant2["W"] = "W";
|
|
439
|
+
Variant2["X"] = "X";
|
|
440
|
+
Variant2["Y"] = "Y";
|
|
441
|
+
Variant2["Z"] = "Z";
|
|
442
|
+
return Variant2;
|
|
443
|
+
})(Variant || {});
|
|
344
444
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
345
445
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
346
446
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -349,6 +449,23 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
349
449
|
WebhookIdentityType2["APP"] = "APP";
|
|
350
450
|
return WebhookIdentityType2;
|
|
351
451
|
})(WebhookIdentityType || {});
|
|
452
|
+
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
453
|
+
Platform2["IOS"] = "IOS";
|
|
454
|
+
Platform2["ANDROID"] = "ANDROID";
|
|
455
|
+
return Platform2;
|
|
456
|
+
})(Platform || {});
|
|
457
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
458
|
+
Status2["IN_PROGRESS"] = "IN_PROGRESS";
|
|
459
|
+
Status2["SUCCEEDED"] = "SUCCEEDED";
|
|
460
|
+
Status2["FAILED"] = "FAILED";
|
|
461
|
+
Status2["CANCELED"] = "CANCELED";
|
|
462
|
+
return Status2;
|
|
463
|
+
})(Status || {});
|
|
464
|
+
var FailureKind = /* @__PURE__ */ ((FailureKind2) => {
|
|
465
|
+
FailureKind2["SIGNING"] = "SIGNING";
|
|
466
|
+
FailureKind2["BUILD"] = "BUILD";
|
|
467
|
+
return FailureKind2;
|
|
468
|
+
})(FailureKind || {});
|
|
352
469
|
|
|
353
470
|
// src/containers-projects-v1-project-projects.meta.ts
|
|
354
471
|
function createProject2() {
|
|
@@ -549,14 +666,55 @@ function getHimalayaAuthorization2() {
|
|
|
549
666
|
__originalResponseType: null
|
|
550
667
|
};
|
|
551
668
|
}
|
|
669
|
+
function startMobileBuild2() {
|
|
670
|
+
const payload = { projectId: ":projectId" };
|
|
671
|
+
const getRequestOptions = startMobileBuild(payload);
|
|
672
|
+
const getUrl = (context) => {
|
|
673
|
+
const { url } = getRequestOptions(context);
|
|
674
|
+
return url;
|
|
675
|
+
};
|
|
676
|
+
return {
|
|
677
|
+
getUrl,
|
|
678
|
+
httpMethod: "POST",
|
|
679
|
+
path: "/v1/projects/{projectId}/mobile-builds",
|
|
680
|
+
pathParams: { projectId: "projectId" },
|
|
681
|
+
__requestType: null,
|
|
682
|
+
__originalRequestType: null,
|
|
683
|
+
__responseType: null,
|
|
684
|
+
__originalResponseType: null
|
|
685
|
+
};
|
|
686
|
+
}
|
|
687
|
+
function getLatestMobileBuilds2() {
|
|
688
|
+
const payload = { projectId: ":projectId" };
|
|
689
|
+
const getRequestOptions = getLatestMobileBuilds(payload);
|
|
690
|
+
const getUrl = (context) => {
|
|
691
|
+
const { url } = getRequestOptions(context);
|
|
692
|
+
return url;
|
|
693
|
+
};
|
|
694
|
+
return {
|
|
695
|
+
getUrl,
|
|
696
|
+
httpMethod: "POST",
|
|
697
|
+
path: "/v1/projects/{projectId}/mobile-builds/latest",
|
|
698
|
+
pathParams: { projectId: "projectId" },
|
|
699
|
+
__requestType: null,
|
|
700
|
+
__originalRequestType: null,
|
|
701
|
+
__responseType: null,
|
|
702
|
+
__originalResponseType: null
|
|
703
|
+
};
|
|
704
|
+
}
|
|
552
705
|
export {
|
|
706
|
+
FailureKind as FailureKindOriginal,
|
|
553
707
|
Platform as PlatformOriginal,
|
|
554
708
|
ProjectStatus as ProjectStatusOriginal,
|
|
555
709
|
SandboxStatus as SandboxStatusOriginal,
|
|
710
|
+
Status as StatusOriginal,
|
|
711
|
+
V1Platform as V1PlatformOriginal,
|
|
712
|
+
Variant as VariantOriginal,
|
|
556
713
|
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
557
714
|
createProject2 as createProject,
|
|
558
715
|
deleteProject2 as deleteProject,
|
|
559
716
|
getHimalayaAuthorization2 as getHimalayaAuthorization,
|
|
717
|
+
getLatestMobileBuilds2 as getLatestMobileBuilds,
|
|
560
718
|
getProject2 as getProject,
|
|
561
719
|
listProjects2 as listProjects,
|
|
562
720
|
regenerateProjectIcon2 as regenerateProjectIcon,
|
|
@@ -564,6 +722,7 @@ export {
|
|
|
564
722
|
restoreRelease2 as restoreRelease,
|
|
565
723
|
resumeProject2 as resumeProject,
|
|
566
724
|
saveProjectDesign2 as saveProjectDesign,
|
|
725
|
+
startMobileBuild2 as startMobileBuild,
|
|
567
726
|
updateProject2 as updateProject
|
|
568
727
|
};
|
|
569
728
|
//# sourceMappingURL=meta.mjs.map
|