@wix/create-app 0.0.127 → 0.0.129
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/index.js +139 -334
- package/build/index.js.map +1 -1
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -45652,7 +45652,7 @@ var require_loader = __commonJS({
|
|
|
45652
45652
|
simpleEscapeMap[i2] = simpleEscapeSequence(i2);
|
|
45653
45653
|
}
|
|
45654
45654
|
var i2;
|
|
45655
|
-
function
|
|
45655
|
+
function State2(input, options) {
|
|
45656
45656
|
this.input = input;
|
|
45657
45657
|
this.filename = options["filename"] || null;
|
|
45658
45658
|
this.schema = options["schema"] || DEFAULT_FULL_SCHEMA;
|
|
@@ -46619,7 +46619,7 @@ var require_loader = __commonJS({
|
|
|
46619
46619
|
input = input.slice(1);
|
|
46620
46620
|
}
|
|
46621
46621
|
}
|
|
46622
|
-
var state = new
|
|
46622
|
+
var state = new State2(input, options);
|
|
46623
46623
|
var nullpos = input.indexOf("\0");
|
|
46624
46624
|
if (nullpos !== -1) {
|
|
46625
46625
|
state.position = nullpos;
|
|
@@ -46779,7 +46779,7 @@ var require_dumper = __commonJS({
|
|
|
46779
46779
|
}
|
|
46780
46780
|
return "\\" + handle + common2.repeat("0", length - string.length) + string;
|
|
46781
46781
|
}
|
|
46782
|
-
function
|
|
46782
|
+
function State2(options) {
|
|
46783
46783
|
this.schema = options["schema"] || DEFAULT_FULL_SCHEMA;
|
|
46784
46784
|
this.indent = Math.max(1, options["indent"] || 2);
|
|
46785
46785
|
this.noArrayIndent = options["noArrayIndent"] || false;
|
|
@@ -47210,7 +47210,7 @@ var require_dumper = __commonJS({
|
|
|
47210
47210
|
}
|
|
47211
47211
|
function dump(input, options) {
|
|
47212
47212
|
options = options || {};
|
|
47213
|
-
var state = new
|
|
47213
|
+
var state = new State2(options);
|
|
47214
47214
|
if (!state.noRefs) getDuplicateReferences(input, state);
|
|
47215
47215
|
if (writeNode(state, 0, input, true, true)) return state.dump + "\n";
|
|
47216
47216
|
return "";
|
|
@@ -57984,7 +57984,6 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
|
|
|
57984
57984
|
FailedToDeployDocument: {},
|
|
57985
57985
|
WaitForEditorInstallationStateFailure: {},
|
|
57986
57986
|
EditorPendingInstallationCheckTimedout: {},
|
|
57987
|
-
FailedToParseLatestVersion: (0, import_variant11.fields)(),
|
|
57988
57987
|
FailedToGetMonitoringLoaderScript: (0, import_variant11.fields)(),
|
|
57989
57988
|
FailedToFetchWixLockFile: {},
|
|
57990
57989
|
FailedToGetSdkSlotData: {},
|
|
@@ -58001,7 +58000,8 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
|
|
|
58001
58000
|
FailedCreatingNewFunnelProject: {},
|
|
58002
58001
|
FailedToFindAstroConfig: {},
|
|
58003
58002
|
FailedToCreateShareUrl: {},
|
|
58004
|
-
FailedToListShareUrls: {}
|
|
58003
|
+
FailedToListShareUrls: {},
|
|
58004
|
+
FailedToParseNextVersion: (0, import_variant11.fields)()
|
|
58005
58005
|
});
|
|
58006
58006
|
var CliUserErrorCode = (0, import_variant11.variant)({
|
|
58007
58007
|
LatestVersionOfCreateAppRequired: (0, import_variant11.fields)(),
|
|
@@ -58092,7 +58092,6 @@ var CliUserErrorCode = (0, import_variant11.variant)({
|
|
|
58092
58092
|
FailedToApplySiteFsManagerExternalUpdates: {},
|
|
58093
58093
|
ServeDeprecated: (0, import_variant11.fields)(),
|
|
58094
58094
|
CannotFindConfigReferencedAsset: (0, import_variant11.fields)(),
|
|
58095
|
-
CannotReleaseLockedApplication: {},
|
|
58096
58095
|
FailedToCreateIntellisenseAdapter: {},
|
|
58097
58096
|
FailedToInitIntellisenseAdapterTypes: {},
|
|
58098
58097
|
FailedToUpdateIntellisenseAdapterTypes: {},
|
|
@@ -58955,6 +58954,18 @@ function resolveWixIdentityOauth2V1Oauth2NgUrl(opts) {
|
|
|
58955
58954
|
{
|
|
58956
58955
|
srcPath: "/v1/oauth/authorize",
|
|
58957
58956
|
destPath: "/v1/oauth/authorize"
|
|
58957
|
+
},
|
|
58958
|
+
{
|
|
58959
|
+
srcPath: "/v1/oauth/user-info",
|
|
58960
|
+
destPath: "/v1/oauth/user-info"
|
|
58961
|
+
},
|
|
58962
|
+
{
|
|
58963
|
+
srcPath: "/iam/wix-idp/v1/oauth/token",
|
|
58964
|
+
destPath: "/v1/oauth/token"
|
|
58965
|
+
},
|
|
58966
|
+
{
|
|
58967
|
+
srcPath: "/iam/wix-idp/v1/oauth/user-info",
|
|
58968
|
+
destPath: "/v1/oauth/user-info"
|
|
58958
58969
|
}
|
|
58959
58970
|
],
|
|
58960
58971
|
_: [
|
|
@@ -58974,6 +58985,30 @@ function resolveWixIdentityOauth2V1Oauth2NgUrl(opts) {
|
|
|
58974
58985
|
srcPath: "/oauth2-ng",
|
|
58975
58986
|
destPath: ""
|
|
58976
58987
|
}
|
|
58988
|
+
],
|
|
58989
|
+
"apps._base_domain_": [
|
|
58990
|
+
{
|
|
58991
|
+
srcPath: "/oauth2/callback",
|
|
58992
|
+
destPath: "/oauth2/callback"
|
|
58993
|
+
}
|
|
58994
|
+
],
|
|
58995
|
+
"editor._base_domain_": [
|
|
58996
|
+
{
|
|
58997
|
+
srcPath: "/oauth2/callback",
|
|
58998
|
+
destPath: "/oauth2/callback"
|
|
58999
|
+
}
|
|
59000
|
+
],
|
|
59001
|
+
"blocks._base_domain_": [
|
|
59002
|
+
{
|
|
59003
|
+
srcPath: "/oauth2/callback",
|
|
59004
|
+
destPath: "/oauth2/callback"
|
|
59005
|
+
}
|
|
59006
|
+
],
|
|
59007
|
+
"create.editorx": [
|
|
59008
|
+
{
|
|
59009
|
+
srcPath: "/oauth2/callback",
|
|
59010
|
+
destPath: "/oauth2/callback"
|
|
59011
|
+
}
|
|
58977
59012
|
]
|
|
58978
59013
|
};
|
|
58979
59014
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -68471,15 +68506,6 @@ function getErrorComponent(code, cause) {
|
|
|
68471
68506
|
}
|
|
68472
68507
|
);
|
|
68473
68508
|
},
|
|
68474
|
-
CannotReleaseLockedApplication: () => {
|
|
68475
|
-
return () => /* @__PURE__ */ import_react77.default.createElement(
|
|
68476
|
-
ErrorMessage,
|
|
68477
|
-
{
|
|
68478
|
-
message: "A new version of the app can not be released at this point.",
|
|
68479
|
-
explanation: "We\u2019re reviewing this app. You can\u2019t update new changes while it\u2019s in review."
|
|
68480
|
-
}
|
|
68481
|
-
);
|
|
68482
|
-
},
|
|
68483
68509
|
FailedToCreateIntellisenseAdapter: () => {
|
|
68484
68510
|
return () => /* @__PURE__ */ import_react77.default.createElement(
|
|
68485
68511
|
ErrorMessage,
|
|
@@ -68614,14 +68640,6 @@ ${errorMessage2}`
|
|
|
68614
68640
|
/* @__PURE__ */ import_react77.default.createElement(Text2, null, content.trim())
|
|
68615
68641
|
))))));
|
|
68616
68642
|
},
|
|
68617
|
-
FailedToParseLatestVersion: ({ version }) => {
|
|
68618
|
-
return () => /* @__PURE__ */ import_react77.default.createElement(
|
|
68619
|
-
SystemErrorMessage,
|
|
68620
|
-
{
|
|
68621
|
-
message: `The version "${version}" produced by the system does not conform to the expected semantic versioning format and could not be parsed.`
|
|
68622
|
-
}
|
|
68623
|
-
);
|
|
68624
|
-
},
|
|
68625
68643
|
FailedToFetchWixLockFile: () => {
|
|
68626
68644
|
return () => /* @__PURE__ */ import_react77.default.createElement(SystemErrorMessage, { message: `Failed to fetch "wix.lock" file.` });
|
|
68627
68645
|
},
|
|
@@ -68773,6 +68791,14 @@ ${errorMessage2}`
|
|
|
68773
68791
|
},
|
|
68774
68792
|
FailedToListShareUrls: () => {
|
|
68775
68793
|
return () => /* @__PURE__ */ import_react77.default.createElement(SystemErrorMessage, { message: "Failed to list preview URLs." });
|
|
68794
|
+
},
|
|
68795
|
+
FailedToParseNextVersion: ({ version }) => {
|
|
68796
|
+
return () => /* @__PURE__ */ import_react77.default.createElement(
|
|
68797
|
+
SystemErrorMessage,
|
|
68798
|
+
{
|
|
68799
|
+
message: `The version "${version}" produced by the system does not conform to the expected semantic versioning format and could not be parsed.`
|
|
68800
|
+
}
|
|
68801
|
+
);
|
|
68776
68802
|
}
|
|
68777
68803
|
});
|
|
68778
68804
|
}
|
|
@@ -72308,7 +72334,7 @@ function reportCommandStartEvent({
|
|
|
72308
72334
|
var package_default = {
|
|
72309
72335
|
name: "@wix/create-app",
|
|
72310
72336
|
description: "Create Wix apps",
|
|
72311
|
-
version: "0.0.
|
|
72337
|
+
version: "0.0.129",
|
|
72312
72338
|
author: "Ihor Machuzhak",
|
|
72313
72339
|
bin: "bin/index.cjs",
|
|
72314
72340
|
devDependencies: {
|
|
@@ -72318,7 +72344,7 @@ var package_default = {
|
|
|
72318
72344
|
"@types/react": "^18.3.3",
|
|
72319
72345
|
"@types/semver": "^7.5.8",
|
|
72320
72346
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
72321
|
-
"@wix/bi-logger-dev-tools-data": "^1.
|
|
72347
|
+
"@wix/bi-logger-dev-tools-data": "^1.116.0",
|
|
72322
72348
|
"@wix/cli-auth": "workspace:*",
|
|
72323
72349
|
"@wix/cli-error": "workspace:*",
|
|
72324
72350
|
"@wix/cli-error-reporting": "workspace:*",
|
|
@@ -76557,176 +76583,6 @@ function updateOAuthApp(payload5) {
|
|
|
76557
76583
|
return __updateOAuthApp;
|
|
76558
76584
|
}
|
|
76559
76585
|
|
|
76560
|
-
// ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-version/build/es/http.impl.js
|
|
76561
|
-
init_esm_shims();
|
|
76562
|
-
var _appVersion = {
|
|
76563
|
-
createdDate: "google.protobuf.Timestamp",
|
|
76564
|
-
updatedDate: "google.protobuf.Timestamp"
|
|
76565
|
-
};
|
|
76566
|
-
var _queryAppVersionRequest = {};
|
|
76567
|
-
var _queryAppVersionResponse = { appVersions: "_appVersion" };
|
|
76568
|
-
function resolveWixDevcenterAppsVersionsV1AppVersionsServiceUrl(opts) {
|
|
76569
|
-
var domainToMappings = {
|
|
76570
|
-
"bo._base_domain_": [
|
|
76571
|
-
{
|
|
76572
|
-
srcPath: "/app-versions",
|
|
76573
|
-
destPath: ""
|
|
76574
|
-
}
|
|
76575
|
-
],
|
|
76576
|
-
"wixbo.ai": [
|
|
76577
|
-
{
|
|
76578
|
-
srcPath: "/app-versions",
|
|
76579
|
-
destPath: ""
|
|
76580
|
-
}
|
|
76581
|
-
],
|
|
76582
|
-
"wix-bo.com": [
|
|
76583
|
-
{
|
|
76584
|
-
srcPath: "/app-versions",
|
|
76585
|
-
destPath: ""
|
|
76586
|
-
}
|
|
76587
|
-
],
|
|
76588
|
-
"dev._base_domain_": [
|
|
76589
|
-
{
|
|
76590
|
-
srcPath: "/app-versions",
|
|
76591
|
-
destPath: ""
|
|
76592
|
-
}
|
|
76593
|
-
],
|
|
76594
|
-
"editor._base_domain_": [
|
|
76595
|
-
{
|
|
76596
|
-
srcPath: "/_api/app-versions",
|
|
76597
|
-
destPath: ""
|
|
76598
|
-
}
|
|
76599
|
-
],
|
|
76600
|
-
"blocks._base_domain_": [
|
|
76601
|
-
{
|
|
76602
|
-
srcPath: "/_api/app-versions",
|
|
76603
|
-
destPath: ""
|
|
76604
|
-
}
|
|
76605
|
-
],
|
|
76606
|
-
"create.editorx": [
|
|
76607
|
-
{
|
|
76608
|
-
srcPath: "/_api/app-versions",
|
|
76609
|
-
destPath: ""
|
|
76610
|
-
}
|
|
76611
|
-
],
|
|
76612
|
-
"manage._base_domain_": [
|
|
76613
|
-
{
|
|
76614
|
-
srcPath: "/_api/app-versions",
|
|
76615
|
-
destPath: ""
|
|
76616
|
-
}
|
|
76617
|
-
]
|
|
76618
|
-
};
|
|
76619
|
-
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
76620
|
-
}
|
|
76621
|
-
function queryAppVersion(payload5) {
|
|
76622
|
-
var _a3 = serializer(_queryAppVersionRequest, {}), toReq = _a3.toJSON, fromReq = _a3.fromJSON;
|
|
76623
|
-
var fromRes = serializer(_queryAppVersionResponse, {
|
|
76624
|
-
_appVersion
|
|
76625
|
-
}).fromJSON;
|
|
76626
|
-
function __queryAppVersion(_a4) {
|
|
76627
|
-
var host = _a4.host;
|
|
76628
|
-
var serializedData = toReq(payload5);
|
|
76629
|
-
var metadata = {
|
|
76630
|
-
entityFqdn: "wix.devcenter.apps.v1.app_version",
|
|
76631
|
-
method: "POST",
|
|
76632
|
-
methodFqn: "wix.devcenter.apps.versions.v1.AppVersionsService.QueryAppVersion",
|
|
76633
|
-
url: resolveWixDevcenterAppsVersionsV1AppVersionsServiceUrl({
|
|
76634
|
-
protoPath: "/v1/app-versions/query",
|
|
76635
|
-
data: serializedData,
|
|
76636
|
-
host
|
|
76637
|
-
}),
|
|
76638
|
-
data: serializedData,
|
|
76639
|
-
transformResponse: fromRes
|
|
76640
|
-
};
|
|
76641
|
-
return metadata;
|
|
76642
|
-
}
|
|
76643
|
-
__queryAppVersion.fromReq = fromReq;
|
|
76644
|
-
__queryAppVersion.__isAmbassador = true;
|
|
76645
|
-
return __queryAppVersion;
|
|
76646
|
-
}
|
|
76647
|
-
|
|
76648
|
-
// ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-version/build/es/types.impl.js
|
|
76649
|
-
init_esm_shims();
|
|
76650
|
-
var State;
|
|
76651
|
-
(function(State3) {
|
|
76652
|
-
State3["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
76653
|
-
State3["UNLOCKED_DRAFT"] = "UNLOCKED_DRAFT";
|
|
76654
|
-
State3["LOCKED_DRAFT"] = "LOCKED_DRAFT";
|
|
76655
|
-
State3["PRODUCTION"] = "PRODUCTION";
|
|
76656
|
-
})(State || (State = {}));
|
|
76657
|
-
var Status;
|
|
76658
|
-
(function(Status5) {
|
|
76659
|
-
Status5["UNKNOWN"] = "UNKNOWN";
|
|
76660
|
-
Status5["DEPRECATED"] = "DEPRECATED";
|
|
76661
|
-
Status5["ARCHIVED"] = "ARCHIVED";
|
|
76662
|
-
})(Status || (Status = {}));
|
|
76663
|
-
var CreatedByType;
|
|
76664
|
-
(function(CreatedByType3) {
|
|
76665
|
-
CreatedByType3["UNKNOWN_CREATED_BY"] = "UNKNOWN_CREATED_BY";
|
|
76666
|
-
CreatedByType3["USER"] = "USER";
|
|
76667
|
-
CreatedByType3["SERVICE"] = "SERVICE";
|
|
76668
|
-
CreatedByType3["ACCOUNT"] = "ACCOUNT";
|
|
76669
|
-
})(CreatedByType || (CreatedByType = {}));
|
|
76670
|
-
var PromoteStrategy;
|
|
76671
|
-
(function(PromoteStrategy2) {
|
|
76672
|
-
PromoteStrategy2["UNKNOWN_STRATEGY"] = "UNKNOWN_STRATEGY";
|
|
76673
|
-
PromoteStrategy2["ENTIRE_APP"] = "ENTIRE_APP";
|
|
76674
|
-
})(PromoteStrategy || (PromoteStrategy = {}));
|
|
76675
|
-
var VersionStatus;
|
|
76676
|
-
(function(VersionStatus3) {
|
|
76677
|
-
VersionStatus3["NONE_STATUS"] = "NONE_STATUS";
|
|
76678
|
-
VersionStatus3["DRAFT"] = "DRAFT";
|
|
76679
|
-
VersionStatus3["SUBMITTED"] = "SUBMITTED";
|
|
76680
|
-
VersionStatus3["IN_REVIEW"] = "IN_REVIEW";
|
|
76681
|
-
VersionStatus3["APPROVED"] = "APPROVED";
|
|
76682
|
-
VersionStatus3["PUBLISHED"] = "PUBLISHED";
|
|
76683
|
-
VersionStatus3["DECLINED"] = "DECLINED";
|
|
76684
|
-
VersionStatus3["ARCHIVED"] = "ARCHIVED";
|
|
76685
|
-
VersionStatus3["HIDDEN"] = "HIDDEN";
|
|
76686
|
-
VersionStatus3["RELEASED"] = "RELEASED";
|
|
76687
|
-
})(VersionStatus || (VersionStatus = {}));
|
|
76688
|
-
var SortOrder;
|
|
76689
|
-
(function(SortOrder2) {
|
|
76690
|
-
SortOrder2["ASC"] = "ASC";
|
|
76691
|
-
SortOrder2["DESC"] = "DESC";
|
|
76692
|
-
})(SortOrder || (SortOrder = {}));
|
|
76693
|
-
var PlanStatus;
|
|
76694
|
-
(function(PlanStatus3) {
|
|
76695
|
-
PlanStatus3["UNKNOWN"] = "UNKNOWN";
|
|
76696
|
-
PlanStatus3["VISIBLE"] = "VISIBLE";
|
|
76697
|
-
PlanStatus3["HIDDEN"] = "HIDDEN";
|
|
76698
|
-
})(PlanStatus || (PlanStatus = {}));
|
|
76699
|
-
var PlanDescription;
|
|
76700
|
-
(function(PlanDescription3) {
|
|
76701
|
-
PlanDescription3["UNKNOWN_DESCRIPTION"] = "UNKNOWN_DESCRIPTION";
|
|
76702
|
-
PlanDescription3["BENEFITS"] = "BENEFITS";
|
|
76703
|
-
PlanDescription3["CUSTOM_TEXT"] = "CUSTOM_TEXT";
|
|
76704
|
-
})(PlanDescription || (PlanDescription = {}));
|
|
76705
|
-
var BusinessModel;
|
|
76706
|
-
(function(BusinessModel3) {
|
|
76707
|
-
BusinessModel3["None"] = "None";
|
|
76708
|
-
BusinessModel3["FREEMIUM"] = "FREEMIUM";
|
|
76709
|
-
BusinessModel3["PREMIUM"] = "PREMIUM";
|
|
76710
|
-
BusinessModel3["FREE"] = "FREE";
|
|
76711
|
-
BusinessModel3["WIX_PREMIUM"] = "WIX_PREMIUM";
|
|
76712
|
-
BusinessModel3["DYNAMIC"] = "DYNAMIC";
|
|
76713
|
-
})(BusinessModel || (BusinessModel = {}));
|
|
76714
|
-
var Action;
|
|
76715
|
-
(function(Action2) {
|
|
76716
|
-
Action2["CREATED"] = "CREATED";
|
|
76717
|
-
Action2["UPDATED"] = "UPDATED";
|
|
76718
|
-
Action2["RESTORED"] = "RESTORED";
|
|
76719
|
-
Action2["DELETED"] = "DELETED";
|
|
76720
|
-
})(Action || (Action = {}));
|
|
76721
|
-
var WebhookIdentityType;
|
|
76722
|
-
(function(WebhookIdentityType4) {
|
|
76723
|
-
WebhookIdentityType4["UNKNOWN"] = "UNKNOWN";
|
|
76724
|
-
WebhookIdentityType4["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
76725
|
-
WebhookIdentityType4["MEMBER"] = "MEMBER";
|
|
76726
|
-
WebhookIdentityType4["WIX_USER"] = "WIX_USER";
|
|
76727
|
-
WebhookIdentityType4["APP"] = "APP";
|
|
76728
|
-
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
76729
|
-
|
|
76730
76586
|
// ../../node_modules/@wix/ambassador-devcenter-myapps-v1-my-app/build/es/http.impl.js
|
|
76731
76587
|
init_esm_shims();
|
|
76732
76588
|
var _myApp = {
|
|
@@ -78263,6 +78119,8 @@ var BackOfficeHostingPlatforms;
|
|
|
78263
78119
|
BackOfficeHostingPlatforms3["DATA"] = "DATA";
|
|
78264
78120
|
BackOfficeHostingPlatforms3["LITE_DASHBOARD"] = "LITE_DASHBOARD";
|
|
78265
78121
|
BackOfficeHostingPlatforms3["PICASSO_EDITOR"] = "PICASSO_EDITOR";
|
|
78122
|
+
BackOfficeHostingPlatforms3["BASE44_DASHBOARD_POC"] = "BASE44_DASHBOARD_POC";
|
|
78123
|
+
BackOfficeHostingPlatforms3["WIXEL_EDITOR"] = "WIXEL_EDITOR";
|
|
78266
78124
|
})(BackOfficeHostingPlatforms || (BackOfficeHostingPlatforms = {}));
|
|
78267
78125
|
var DtsDefinitionType;
|
|
78268
78126
|
(function(DtsDefinitionType3) {
|
|
@@ -78315,11 +78173,11 @@ var Domain;
|
|
|
78315
78173
|
Domain3["USER"] = "USER";
|
|
78316
78174
|
Domain3["WIX"] = "WIX";
|
|
78317
78175
|
})(Domain || (Domain = {}));
|
|
78318
|
-
var
|
|
78319
|
-
(function(
|
|
78320
|
-
|
|
78321
|
-
|
|
78322
|
-
})(
|
|
78176
|
+
var Status;
|
|
78177
|
+
(function(Status4) {
|
|
78178
|
+
Status4["ACTIVE"] = "ACTIVE";
|
|
78179
|
+
Status4["INACTIVE"] = "INACTIVE";
|
|
78180
|
+
})(Status || (Status = {}));
|
|
78323
78181
|
var TextInputDisplayType;
|
|
78324
78182
|
(function(TextInputDisplayType3) {
|
|
78325
78183
|
TextInputDisplayType3["TEXT"] = "TEXT";
|
|
@@ -78732,13 +78590,13 @@ var NavigationType;
|
|
|
78732
78590
|
NavigationType3["NAVIGATE"] = "NAVIGATE";
|
|
78733
78591
|
NavigationType3["MODAL"] = "MODAL";
|
|
78734
78592
|
})(NavigationType || (NavigationType = {}));
|
|
78735
|
-
var
|
|
78736
|
-
(function(
|
|
78737
|
-
|
|
78738
|
-
|
|
78739
|
-
|
|
78740
|
-
|
|
78741
|
-
})(
|
|
78593
|
+
var State;
|
|
78594
|
+
(function(State2) {
|
|
78595
|
+
State2["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
78596
|
+
State2["DEFAULT_ON"] = "DEFAULT_ON";
|
|
78597
|
+
State2["DEFAULT_OFF"] = "DEFAULT_OFF";
|
|
78598
|
+
State2["ALWAYS_ON"] = "ALWAYS_ON";
|
|
78599
|
+
})(State || (State = {}));
|
|
78742
78600
|
var NotificationTopicState;
|
|
78743
78601
|
(function(NotificationTopicState3) {
|
|
78744
78602
|
NotificationTopicState3["UNKNOWN_STATE"] = "UNKNOWN_STATE";
|
|
@@ -79867,6 +79725,7 @@ var GroupType;
|
|
|
79867
79725
|
GroupType3["gap"] = "gap";
|
|
79868
79726
|
GroupType3["arrayItems"] = "arrayItems";
|
|
79869
79727
|
GroupType3["arrayItem"] = "arrayItem";
|
|
79728
|
+
GroupType3["listItem"] = "listItem";
|
|
79870
79729
|
})(GroupType || (GroupType = {}));
|
|
79871
79730
|
var CssPropertyEnumCssPropertyType;
|
|
79872
79731
|
(function(CssPropertyEnumCssPropertyType3) {
|
|
@@ -80280,14 +80139,14 @@ var VersionType;
|
|
|
80280
80139
|
VersionType2["LATEST_VERSION"] = "LATEST_VERSION";
|
|
80281
80140
|
VersionType2["DEV_VERSION"] = "DEV_VERSION";
|
|
80282
80141
|
})(VersionType || (VersionType = {}));
|
|
80283
|
-
var
|
|
80284
|
-
(function(
|
|
80285
|
-
|
|
80286
|
-
|
|
80287
|
-
|
|
80288
|
-
|
|
80289
|
-
|
|
80290
|
-
})(
|
|
80142
|
+
var WebhookIdentityType;
|
|
80143
|
+
(function(WebhookIdentityType3) {
|
|
80144
|
+
WebhookIdentityType3["UNKNOWN"] = "UNKNOWN";
|
|
80145
|
+
WebhookIdentityType3["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
80146
|
+
WebhookIdentityType3["MEMBER"] = "MEMBER";
|
|
80147
|
+
WebhookIdentityType3["WIX_USER"] = "WIX_USER";
|
|
80148
|
+
WebhookIdentityType3["APP"] = "APP";
|
|
80149
|
+
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
80291
80150
|
|
|
80292
80151
|
// ../dev-center-client/src/schemas.ts
|
|
80293
80152
|
init_esm_shims();
|
|
@@ -80303,19 +80162,19 @@ var Classification;
|
|
|
80303
80162
|
Classification2["HEADLESS"] = "HEADLESS";
|
|
80304
80163
|
Classification2["FUNCTION_ACTIVATION_APP"] = "FUNCTION_ACTIVATION_APP";
|
|
80305
80164
|
})(Classification || (Classification = {}));
|
|
80306
|
-
var
|
|
80307
|
-
(function(
|
|
80308
|
-
|
|
80309
|
-
|
|
80310
|
-
|
|
80311
|
-
|
|
80312
|
-
|
|
80313
|
-
|
|
80314
|
-
|
|
80315
|
-
|
|
80316
|
-
|
|
80317
|
-
|
|
80318
|
-
})(
|
|
80165
|
+
var VersionStatus;
|
|
80166
|
+
(function(VersionStatus2) {
|
|
80167
|
+
VersionStatus2["NONE_STATUS"] = "NONE_STATUS";
|
|
80168
|
+
VersionStatus2["DRAFT"] = "DRAFT";
|
|
80169
|
+
VersionStatus2["SUBMITTED"] = "SUBMITTED";
|
|
80170
|
+
VersionStatus2["IN_REVIEW"] = "IN_REVIEW";
|
|
80171
|
+
VersionStatus2["APPROVED"] = "APPROVED";
|
|
80172
|
+
VersionStatus2["PUBLISHED"] = "PUBLISHED";
|
|
80173
|
+
VersionStatus2["DECLINED"] = "DECLINED";
|
|
80174
|
+
VersionStatus2["ARCHIVED"] = "ARCHIVED";
|
|
80175
|
+
VersionStatus2["HIDDEN"] = "HIDDEN";
|
|
80176
|
+
VersionStatus2["RELEASED"] = "RELEASED";
|
|
80177
|
+
})(VersionStatus || (VersionStatus = {}));
|
|
80319
80178
|
var ComponentType2;
|
|
80320
80179
|
(function(ComponentType3) {
|
|
80321
80180
|
ComponentType3["NONE"] = "NONE";
|
|
@@ -80810,6 +80669,8 @@ var BackOfficeHostingPlatforms2;
|
|
|
80810
80669
|
BackOfficeHostingPlatforms3["DATA"] = "DATA";
|
|
80811
80670
|
BackOfficeHostingPlatforms3["LITE_DASHBOARD"] = "LITE_DASHBOARD";
|
|
80812
80671
|
BackOfficeHostingPlatforms3["PICASSO_EDITOR"] = "PICASSO_EDITOR";
|
|
80672
|
+
BackOfficeHostingPlatforms3["BASE44_DASHBOARD_POC"] = "BASE44_DASHBOARD_POC";
|
|
80673
|
+
BackOfficeHostingPlatforms3["WIXEL_EDITOR"] = "WIXEL_EDITOR";
|
|
80813
80674
|
})(BackOfficeHostingPlatforms2 || (BackOfficeHostingPlatforms2 = {}));
|
|
80814
80675
|
var DtsDefinitionType2;
|
|
80815
80676
|
(function(DtsDefinitionType3) {
|
|
@@ -80862,11 +80723,11 @@ var Domain2;
|
|
|
80862
80723
|
Domain3["USER"] = "USER";
|
|
80863
80724
|
Domain3["WIX"] = "WIX";
|
|
80864
80725
|
})(Domain2 || (Domain2 = {}));
|
|
80865
|
-
var
|
|
80866
|
-
(function(
|
|
80867
|
-
|
|
80868
|
-
|
|
80869
|
-
})(
|
|
80726
|
+
var Status2;
|
|
80727
|
+
(function(Status4) {
|
|
80728
|
+
Status4["ACTIVE"] = "ACTIVE";
|
|
80729
|
+
Status4["INACTIVE"] = "INACTIVE";
|
|
80730
|
+
})(Status2 || (Status2 = {}));
|
|
80870
80731
|
var TextInputDisplayType2;
|
|
80871
80732
|
(function(TextInputDisplayType3) {
|
|
80872
80733
|
TextInputDisplayType3["TEXT"] = "TEXT";
|
|
@@ -82397,6 +82258,7 @@ var GroupType2;
|
|
|
82397
82258
|
GroupType3["UNKNOWN_GroupType"] = "UNKNOWN_GroupType";
|
|
82398
82259
|
GroupType3["cssDataType"] = "cssDataType";
|
|
82399
82260
|
GroupType3["dataType"] = "dataType";
|
|
82261
|
+
GroupType3["preset"] = "preset";
|
|
82400
82262
|
GroupType3["background"] = "background";
|
|
82401
82263
|
GroupType3["margin"] = "margin";
|
|
82402
82264
|
GroupType3["padding"] = "padding";
|
|
@@ -82411,6 +82273,9 @@ var GroupType2;
|
|
|
82411
82273
|
GroupType3["font"] = "font";
|
|
82412
82274
|
GroupType3["textDecoration"] = "textDecoration";
|
|
82413
82275
|
GroupType3["gap"] = "gap";
|
|
82276
|
+
GroupType3["arrayItems"] = "arrayItems";
|
|
82277
|
+
GroupType3["arrayItem"] = "arrayItem";
|
|
82278
|
+
GroupType3["listItem"] = "listItem";
|
|
82414
82279
|
})(GroupType2 || (GroupType2 = {}));
|
|
82415
82280
|
var CssPropertyEnumCssPropertyType2;
|
|
82416
82281
|
(function(CssPropertyEnumCssPropertyType3) {
|
|
@@ -82653,40 +82518,40 @@ var MediaType;
|
|
|
82653
82518
|
MediaType2["IMAGE"] = "IMAGE";
|
|
82654
82519
|
MediaType2["YOUTUBE"] = "YOUTUBE";
|
|
82655
82520
|
})(MediaType || (MediaType = {}));
|
|
82656
|
-
var
|
|
82657
|
-
(function(
|
|
82658
|
-
|
|
82659
|
-
|
|
82660
|
-
|
|
82661
|
-
})(
|
|
82662
|
-
var
|
|
82663
|
-
(function(
|
|
82664
|
-
|
|
82665
|
-
|
|
82666
|
-
|
|
82667
|
-
})(
|
|
82668
|
-
var
|
|
82669
|
-
(function(
|
|
82670
|
-
|
|
82671
|
-
|
|
82672
|
-
|
|
82673
|
-
|
|
82674
|
-
|
|
82675
|
-
|
|
82676
|
-
})(
|
|
82521
|
+
var PlanStatus;
|
|
82522
|
+
(function(PlanStatus2) {
|
|
82523
|
+
PlanStatus2["UNKNOWN"] = "UNKNOWN";
|
|
82524
|
+
PlanStatus2["VISIBLE"] = "VISIBLE";
|
|
82525
|
+
PlanStatus2["HIDDEN"] = "HIDDEN";
|
|
82526
|
+
})(PlanStatus || (PlanStatus = {}));
|
|
82527
|
+
var PlanDescription;
|
|
82528
|
+
(function(PlanDescription2) {
|
|
82529
|
+
PlanDescription2["UNKNOWN_DESCRIPTION"] = "UNKNOWN_DESCRIPTION";
|
|
82530
|
+
PlanDescription2["BENEFITS"] = "BENEFITS";
|
|
82531
|
+
PlanDescription2["CUSTOM_TEXT"] = "CUSTOM_TEXT";
|
|
82532
|
+
})(PlanDescription || (PlanDescription = {}));
|
|
82533
|
+
var BusinessModel;
|
|
82534
|
+
(function(BusinessModel2) {
|
|
82535
|
+
BusinessModel2["None"] = "None";
|
|
82536
|
+
BusinessModel2["FREEMIUM"] = "FREEMIUM";
|
|
82537
|
+
BusinessModel2["PREMIUM"] = "PREMIUM";
|
|
82538
|
+
BusinessModel2["FREE"] = "FREE";
|
|
82539
|
+
BusinessModel2["WIX_PREMIUM"] = "WIX_PREMIUM";
|
|
82540
|
+
BusinessModel2["DYNAMIC"] = "DYNAMIC";
|
|
82541
|
+
})(BusinessModel || (BusinessModel = {}));
|
|
82677
82542
|
var TranslationType;
|
|
82678
82543
|
(function(TranslationType2) {
|
|
82679
82544
|
TranslationType2["UNINITIALIZED"] = "UNINITIALIZED";
|
|
82680
82545
|
TranslationType2["COMPONENT"] = "COMPONENT";
|
|
82681
82546
|
})(TranslationType || (TranslationType = {}));
|
|
82682
|
-
var
|
|
82683
|
-
(function(
|
|
82684
|
-
|
|
82685
|
-
|
|
82686
|
-
|
|
82687
|
-
|
|
82688
|
-
|
|
82689
|
-
})(
|
|
82547
|
+
var WebhookIdentityType2;
|
|
82548
|
+
(function(WebhookIdentityType3) {
|
|
82549
|
+
WebhookIdentityType3["UNKNOWN"] = "UNKNOWN";
|
|
82550
|
+
WebhookIdentityType3["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
82551
|
+
WebhookIdentityType3["MEMBER"] = "MEMBER";
|
|
82552
|
+
WebhookIdentityType3["WIX_USER"] = "WIX_USER";
|
|
82553
|
+
WebhookIdentityType3["APP"] = "APP";
|
|
82554
|
+
})(WebhookIdentityType2 || (WebhookIdentityType2 = {}));
|
|
82690
82555
|
|
|
82691
82556
|
// ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-template/build/es/types.impl.js
|
|
82692
82557
|
init_esm_shims();
|
|
@@ -82715,12 +82580,12 @@ var NamespaceType;
|
|
|
82715
82580
|
NamespaceType2["ACCOUNT"] = "ACCOUNT";
|
|
82716
82581
|
NamespaceType2["COMPANY"] = "COMPANY";
|
|
82717
82582
|
})(NamespaceType || (NamespaceType = {}));
|
|
82718
|
-
var
|
|
82719
|
-
(function(
|
|
82720
|
-
|
|
82721
|
-
|
|
82722
|
-
|
|
82723
|
-
})(
|
|
82583
|
+
var Status3;
|
|
82584
|
+
(function(Status4) {
|
|
82585
|
+
Status4["ACTIVE"] = "ACTIVE";
|
|
82586
|
+
Status4["DEPRECATED"] = "DEPRECATED";
|
|
82587
|
+
Status4["ARCHIVED"] = "ARCHIVED";
|
|
82588
|
+
})(Status3 || (Status3 = {}));
|
|
82724
82589
|
var AppType3;
|
|
82725
82590
|
(function(AppType4) {
|
|
82726
82591
|
AppType4["SITE_APP"] = "SITE_APP";
|
|
@@ -82730,11 +82595,11 @@ var AppType3;
|
|
|
82730
82595
|
AppType4["HEADLESS"] = "HEADLESS";
|
|
82731
82596
|
AppType4["FUNCTION_ACTIVATION_APP"] = "FUNCTION_ACTIVATION_APP";
|
|
82732
82597
|
})(AppType3 || (AppType3 = {}));
|
|
82733
|
-
var
|
|
82734
|
-
(function(
|
|
82735
|
-
|
|
82736
|
-
|
|
82737
|
-
})(
|
|
82598
|
+
var CreatedByType;
|
|
82599
|
+
(function(CreatedByType2) {
|
|
82600
|
+
CreatedByType2["USER"] = "USER";
|
|
82601
|
+
CreatedByType2["APP"] = "APP";
|
|
82602
|
+
})(CreatedByType || (CreatedByType = {}));
|
|
82738
82603
|
var ShowConsentBehaviour;
|
|
82739
82604
|
(function(ShowConsentBehaviour2) {
|
|
82740
82605
|
ShowConsentBehaviour2["DEFAULT_BEHAVIOUR"] = "DEFAULT_BEHAVIOUR";
|
|
@@ -82795,19 +82660,6 @@ var appByVersionSchema = z.object({
|
|
|
82795
82660
|
components: componentsSchema
|
|
82796
82661
|
})
|
|
82797
82662
|
});
|
|
82798
|
-
var appVersionSchema = z.object({
|
|
82799
|
-
appVersions: z.array(
|
|
82800
|
-
z.object({
|
|
82801
|
-
/** Application ID */
|
|
82802
|
-
id: z.string(),
|
|
82803
|
-
fullVersion: z.string().optional().default("0.0.0"),
|
|
82804
|
-
/** indicates if this is the draft instance of the version. */
|
|
82805
|
-
state: z.string().optional(),
|
|
82806
|
-
/** status of the app */
|
|
82807
|
-
status: z.string().optional()
|
|
82808
|
-
})
|
|
82809
|
-
)
|
|
82810
|
-
});
|
|
82811
82663
|
var appSecretsSchema = z.object({
|
|
82812
82664
|
appSecret: z.string(),
|
|
82813
82665
|
webhookPublicKey: z.string()
|
|
@@ -83008,55 +82860,8 @@ var DevCenterClient = class {
|
|
|
83008
82860
|
});
|
|
83009
82861
|
}
|
|
83010
82862
|
};
|
|
83011
|
-
queryAppVersion = async ({ appId }) => {
|
|
83012
|
-
try {
|
|
83013
|
-
const { data } = await pRetry(
|
|
83014
|
-
() => this.httpClient.request(
|
|
83015
|
-
queryAppVersion({
|
|
83016
|
-
query: {
|
|
83017
|
-
paging: {
|
|
83018
|
-
limit: 1
|
|
83019
|
-
},
|
|
83020
|
-
filter: { appId },
|
|
83021
|
-
sort: [{ fieldName: "updatedDate", order: SortOrder.DESC }]
|
|
83022
|
-
}
|
|
83023
|
-
})
|
|
83024
|
-
),
|
|
83025
|
-
this.retryOptions
|
|
83026
|
-
);
|
|
83027
|
-
const parsedData = appVersionSchema.parse(data);
|
|
83028
|
-
const lastVersion = parsedData.appVersions[0];
|
|
83029
|
-
if (!lastVersion) {
|
|
83030
|
-
throw new CliError({
|
|
83031
|
-
code: CliErrorCode.AppForVersionNotFound({
|
|
83032
|
-
version: "latest"
|
|
83033
|
-
}),
|
|
83034
|
-
cause: null
|
|
83035
|
-
});
|
|
83036
|
-
}
|
|
83037
|
-
return {
|
|
83038
|
-
latestVersion: lastVersion.fullVersion,
|
|
83039
|
-
isPublished: lastVersion.state === State.PRODUCTION,
|
|
83040
|
-
isLocked: lastVersion.state === State.LOCKED_DRAFT
|
|
83041
|
-
};
|
|
83042
|
-
} catch (cause) {
|
|
83043
|
-
if (isHttpError(cause) && cause.response?.status === 404) {
|
|
83044
|
-
throw new CliError({
|
|
83045
|
-
code: CliErrorCode.AppForVersionNotFound({
|
|
83046
|
-
version: "latest"
|
|
83047
|
-
}),
|
|
83048
|
-
cause
|
|
83049
|
-
});
|
|
83050
|
-
}
|
|
83051
|
-
throw new CliError({
|
|
83052
|
-
code: CliErrorCode.FailedToFetchAppForVersion(),
|
|
83053
|
-
cause
|
|
83054
|
-
});
|
|
83055
|
-
}
|
|
83056
|
-
};
|
|
83057
82863
|
/**
|
|
83058
82864
|
* This method is deprecated.
|
|
83059
|
-
* Use `queryAppVersion()` if you need to get information about app version.
|
|
83060
82865
|
*/
|
|
83061
82866
|
getAppByVersion = async ({
|
|
83062
82867
|
appId,
|