@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/cjs/meta.js
CHANGED
|
@@ -20,13 +20,18 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
FailureKindOriginal: () => FailureKind,
|
|
23
24
|
PlatformOriginal: () => Platform,
|
|
24
25
|
ProjectStatusOriginal: () => ProjectStatus,
|
|
25
26
|
SandboxStatusOriginal: () => SandboxStatus,
|
|
27
|
+
StatusOriginal: () => Status,
|
|
28
|
+
V1PlatformOriginal: () => V1Platform,
|
|
29
|
+
VariantOriginal: () => Variant,
|
|
26
30
|
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
27
31
|
createProject: () => createProject2,
|
|
28
32
|
deleteProject: () => deleteProject2,
|
|
29
33
|
getHimalayaAuthorization: () => getHimalayaAuthorization2,
|
|
34
|
+
getLatestMobileBuilds: () => getLatestMobileBuilds2,
|
|
30
35
|
getProject: () => getProject2,
|
|
31
36
|
listProjects: () => listProjects2,
|
|
32
37
|
regenerateProjectIcon: () => regenerateProjectIcon2,
|
|
@@ -34,6 +39,7 @@ __export(meta_exports, {
|
|
|
34
39
|
restoreRelease: () => restoreRelease2,
|
|
35
40
|
resumeProject: () => resumeProject2,
|
|
36
41
|
saveProjectDesign: () => saveProjectDesign2,
|
|
42
|
+
startMobileBuild: () => startMobileBuild2,
|
|
37
43
|
updateProject: () => updateProject2
|
|
38
44
|
});
|
|
39
45
|
module.exports = __toCommonJS(meta_exports);
|
|
@@ -55,6 +61,22 @@ var TRANSFORM_PATHS_3 = [
|
|
|
55
61
|
{ path: "projects.createdDate" },
|
|
56
62
|
{ path: "projects.updatedDate" }
|
|
57
63
|
];
|
|
64
|
+
var TRANSFORM_PATHS_4 = [
|
|
65
|
+
{ path: "builds.downloadExpiresDate" },
|
|
66
|
+
{ path: "builds.createdDate" },
|
|
67
|
+
{ path: "builds.builtDate" },
|
|
68
|
+
{ path: "builds.updatedDate" }
|
|
69
|
+
];
|
|
70
|
+
var TRANSFORM_PATHS_5 = [
|
|
71
|
+
{ path: "platforms.lastAttempt.downloadExpiresDate" },
|
|
72
|
+
{ path: "platforms.lastAttempt.createdDate" },
|
|
73
|
+
{ path: "platforms.lastAttempt.builtDate" },
|
|
74
|
+
{ path: "platforms.lastAttempt.updatedDate" },
|
|
75
|
+
{ path: "platforms.lastSuccessfulBuild.downloadExpiresDate" },
|
|
76
|
+
{ path: "platforms.lastSuccessfulBuild.createdDate" },
|
|
77
|
+
{ path: "platforms.lastSuccessfulBuild.builtDate" },
|
|
78
|
+
{ path: "platforms.lastSuccessfulBuild.updatedDate" }
|
|
79
|
+
];
|
|
58
80
|
function resolveWixContainersProjectsV1ContainersProjectsUrl(opts) {
|
|
59
81
|
const domainToMappings = {
|
|
60
82
|
"manage._base_domain_": [
|
|
@@ -362,6 +384,60 @@ function getHimalayaAuthorization(payload) {
|
|
|
362
384
|
}
|
|
363
385
|
return __getHimalayaAuthorization;
|
|
364
386
|
}
|
|
387
|
+
function startMobileBuild(payload) {
|
|
388
|
+
function __startMobileBuild({ host }) {
|
|
389
|
+
const metadata = {
|
|
390
|
+
entityFqdn: "wix.containers.projects.v1.project",
|
|
391
|
+
method: "POST",
|
|
392
|
+
methodFqn: "wix.containers.projects.v1.ContainersProjects.StartMobileBuild",
|
|
393
|
+
packageName: PACKAGE_NAME,
|
|
394
|
+
migrationOptions: {
|
|
395
|
+
optInTransformResponse: true
|
|
396
|
+
},
|
|
397
|
+
url: resolveWixContainersProjectsV1ContainersProjectsUrl({
|
|
398
|
+
protoPath: "/v1/projects/{projectId}/mobile-builds",
|
|
399
|
+
data: payload,
|
|
400
|
+
host
|
|
401
|
+
}),
|
|
402
|
+
data: payload,
|
|
403
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
404
|
+
{
|
|
405
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
406
|
+
paths: TRANSFORM_PATHS_4
|
|
407
|
+
}
|
|
408
|
+
])
|
|
409
|
+
};
|
|
410
|
+
return metadata;
|
|
411
|
+
}
|
|
412
|
+
return __startMobileBuild;
|
|
413
|
+
}
|
|
414
|
+
function getLatestMobileBuilds(payload) {
|
|
415
|
+
function __getLatestMobileBuilds({ host }) {
|
|
416
|
+
const metadata = {
|
|
417
|
+
entityFqdn: "wix.containers.projects.v1.project",
|
|
418
|
+
method: "POST",
|
|
419
|
+
methodFqn: "wix.containers.projects.v1.ContainersProjects.GetLatestMobileBuilds",
|
|
420
|
+
packageName: PACKAGE_NAME,
|
|
421
|
+
migrationOptions: {
|
|
422
|
+
optInTransformResponse: true
|
|
423
|
+
},
|
|
424
|
+
url: resolveWixContainersProjectsV1ContainersProjectsUrl({
|
|
425
|
+
protoPath: "/v1/projects/{projectId}/mobile-builds/latest",
|
|
426
|
+
data: payload,
|
|
427
|
+
host
|
|
428
|
+
}),
|
|
429
|
+
data: payload,
|
|
430
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
431
|
+
{
|
|
432
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
433
|
+
paths: TRANSFORM_PATHS_5
|
|
434
|
+
}
|
|
435
|
+
])
|
|
436
|
+
};
|
|
437
|
+
return metadata;
|
|
438
|
+
}
|
|
439
|
+
return __getLatestMobileBuilds;
|
|
440
|
+
}
|
|
365
441
|
|
|
366
442
|
// src/containers-projects-v1-project-projects.types.ts
|
|
367
443
|
var ProjectStatus = /* @__PURE__ */ ((ProjectStatus2) => {
|
|
@@ -375,12 +451,42 @@ var SandboxStatus = /* @__PURE__ */ ((SandboxStatus2) => {
|
|
|
375
451
|
SandboxStatus2["CREATING"] = "CREATING";
|
|
376
452
|
return SandboxStatus2;
|
|
377
453
|
})(SandboxStatus || {});
|
|
378
|
-
var
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
return
|
|
383
|
-
})(
|
|
454
|
+
var V1Platform = /* @__PURE__ */ ((V1Platform2) => {
|
|
455
|
+
V1Platform2["IOS"] = "IOS";
|
|
456
|
+
V1Platform2["ANDROID"] = "ANDROID";
|
|
457
|
+
V1Platform2["HIMALAYA_MOBILE"] = "HIMALAYA_MOBILE";
|
|
458
|
+
return V1Platform2;
|
|
459
|
+
})(V1Platform || {});
|
|
460
|
+
var Variant = /* @__PURE__ */ ((Variant2) => {
|
|
461
|
+
Variant2["VARIANT_UNSPECIFIED"] = "VARIANT_UNSPECIFIED";
|
|
462
|
+
Variant2["A"] = "A";
|
|
463
|
+
Variant2["B"] = "B";
|
|
464
|
+
Variant2["C"] = "C";
|
|
465
|
+
Variant2["D"] = "D";
|
|
466
|
+
Variant2["E"] = "E";
|
|
467
|
+
Variant2["F"] = "F";
|
|
468
|
+
Variant2["G"] = "G";
|
|
469
|
+
Variant2["H"] = "H";
|
|
470
|
+
Variant2["I"] = "I";
|
|
471
|
+
Variant2["J"] = "J";
|
|
472
|
+
Variant2["K"] = "K";
|
|
473
|
+
Variant2["L"] = "L";
|
|
474
|
+
Variant2["M"] = "M";
|
|
475
|
+
Variant2["N"] = "N";
|
|
476
|
+
Variant2["O"] = "O";
|
|
477
|
+
Variant2["P"] = "P";
|
|
478
|
+
Variant2["Q"] = "Q";
|
|
479
|
+
Variant2["R"] = "R";
|
|
480
|
+
Variant2["S"] = "S";
|
|
481
|
+
Variant2["T"] = "T";
|
|
482
|
+
Variant2["U"] = "U";
|
|
483
|
+
Variant2["V"] = "V";
|
|
484
|
+
Variant2["W"] = "W";
|
|
485
|
+
Variant2["X"] = "X";
|
|
486
|
+
Variant2["Y"] = "Y";
|
|
487
|
+
Variant2["Z"] = "Z";
|
|
488
|
+
return Variant2;
|
|
489
|
+
})(Variant || {});
|
|
384
490
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
385
491
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
386
492
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -389,6 +495,23 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
389
495
|
WebhookIdentityType2["APP"] = "APP";
|
|
390
496
|
return WebhookIdentityType2;
|
|
391
497
|
})(WebhookIdentityType || {});
|
|
498
|
+
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
499
|
+
Platform2["IOS"] = "IOS";
|
|
500
|
+
Platform2["ANDROID"] = "ANDROID";
|
|
501
|
+
return Platform2;
|
|
502
|
+
})(Platform || {});
|
|
503
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
504
|
+
Status2["IN_PROGRESS"] = "IN_PROGRESS";
|
|
505
|
+
Status2["SUCCEEDED"] = "SUCCEEDED";
|
|
506
|
+
Status2["FAILED"] = "FAILED";
|
|
507
|
+
Status2["CANCELED"] = "CANCELED";
|
|
508
|
+
return Status2;
|
|
509
|
+
})(Status || {});
|
|
510
|
+
var FailureKind = /* @__PURE__ */ ((FailureKind2) => {
|
|
511
|
+
FailureKind2["SIGNING"] = "SIGNING";
|
|
512
|
+
FailureKind2["BUILD"] = "BUILD";
|
|
513
|
+
return FailureKind2;
|
|
514
|
+
})(FailureKind || {});
|
|
392
515
|
|
|
393
516
|
// src/containers-projects-v1-project-projects.meta.ts
|
|
394
517
|
function createProject2() {
|
|
@@ -589,15 +712,56 @@ function getHimalayaAuthorization2() {
|
|
|
589
712
|
__originalResponseType: null
|
|
590
713
|
};
|
|
591
714
|
}
|
|
715
|
+
function startMobileBuild2() {
|
|
716
|
+
const payload = { projectId: ":projectId" };
|
|
717
|
+
const getRequestOptions = startMobileBuild(payload);
|
|
718
|
+
const getUrl = (context) => {
|
|
719
|
+
const { url } = getRequestOptions(context);
|
|
720
|
+
return url;
|
|
721
|
+
};
|
|
722
|
+
return {
|
|
723
|
+
getUrl,
|
|
724
|
+
httpMethod: "POST",
|
|
725
|
+
path: "/v1/projects/{projectId}/mobile-builds",
|
|
726
|
+
pathParams: { projectId: "projectId" },
|
|
727
|
+
__requestType: null,
|
|
728
|
+
__originalRequestType: null,
|
|
729
|
+
__responseType: null,
|
|
730
|
+
__originalResponseType: null
|
|
731
|
+
};
|
|
732
|
+
}
|
|
733
|
+
function getLatestMobileBuilds2() {
|
|
734
|
+
const payload = { projectId: ":projectId" };
|
|
735
|
+
const getRequestOptions = getLatestMobileBuilds(payload);
|
|
736
|
+
const getUrl = (context) => {
|
|
737
|
+
const { url } = getRequestOptions(context);
|
|
738
|
+
return url;
|
|
739
|
+
};
|
|
740
|
+
return {
|
|
741
|
+
getUrl,
|
|
742
|
+
httpMethod: "POST",
|
|
743
|
+
path: "/v1/projects/{projectId}/mobile-builds/latest",
|
|
744
|
+
pathParams: { projectId: "projectId" },
|
|
745
|
+
__requestType: null,
|
|
746
|
+
__originalRequestType: null,
|
|
747
|
+
__responseType: null,
|
|
748
|
+
__originalResponseType: null
|
|
749
|
+
};
|
|
750
|
+
}
|
|
592
751
|
// Annotate the CommonJS export names for ESM import in node:
|
|
593
752
|
0 && (module.exports = {
|
|
753
|
+
FailureKindOriginal,
|
|
594
754
|
PlatformOriginal,
|
|
595
755
|
ProjectStatusOriginal,
|
|
596
756
|
SandboxStatusOriginal,
|
|
757
|
+
StatusOriginal,
|
|
758
|
+
V1PlatformOriginal,
|
|
759
|
+
VariantOriginal,
|
|
597
760
|
WebhookIdentityTypeOriginal,
|
|
598
761
|
createProject,
|
|
599
762
|
deleteProject,
|
|
600
763
|
getHimalayaAuthorization,
|
|
764
|
+
getLatestMobileBuilds,
|
|
601
765
|
getProject,
|
|
602
766
|
listProjects,
|
|
603
767
|
regenerateProjectIcon,
|
|
@@ -605,6 +769,7 @@ function getHimalayaAuthorization2() {
|
|
|
605
769
|
restoreRelease,
|
|
606
770
|
resumeProject,
|
|
607
771
|
saveProjectDesign,
|
|
772
|
+
startMobileBuild,
|
|
608
773
|
updateProject
|
|
609
774
|
});
|
|
610
775
|
//# sourceMappingURL=meta.js.map
|