@wix/cli-app 1.1.97 → 1.1.98
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/{AddPermissionCommand-5WDEMAQT.js → AddPermissionCommand-DYGRTPW3.js} +2 -2
- package/build/{CreateVersionCommand-P5USV364.js → CreateVersionCommand-7U7SHHMS.js} +3 -3
- package/build/{DevCommand-IREOMDTX.js → DevCommand-XFK47XPN.js} +10 -10
- package/build/{GenerateCommand-GE4M3AJ5.js → GenerateCommand-P6JVFBKZ.js} +98 -122
- package/build/GenerateCommand-P6JVFBKZ.js.map +1 -0
- package/build/{LogsCommand-6YLQXT36.js → LogsCommand-NCHV2GN7.js} +3 -3
- package/build/PreviewCommand-Q42SZUIS.js +19 -0
- package/build/ReleaseCommand-ICLGFGPC.js +23 -0
- package/build/{ServeCommand-DERBPIYF.js → ServeCommand-I6VZS2YK.js} +3 -3
- package/build/{build-TKRTNJPW.js → build-Z4VNDOIL.js} +6 -6
- package/build/{chunk-SONMTNBR.js → chunk-DSA62VDV.js} +2 -2
- package/build/chunk-GTPRE7FA.js +182 -0
- package/build/chunk-GTPRE7FA.js.map +1 -0
- package/build/{chunk-XR7UD5CN.js → chunk-HHUDSUDG.js} +6 -6
- package/build/{chunk-RMWMWFQH.js → chunk-HIQCBMWB.js} +2 -2
- package/build/{chunk-OOHZARMV.js → chunk-JKPPIEED.js} +7 -7
- package/build/{chunk-NIDWJY72.js → chunk-ONIPG3V2.js} +2 -2
- package/build/{chunk-XQE6EJ45.js → chunk-QYBJOKX2.js} +2 -2
- package/build/{chunk-QXIFG4RP.js → chunk-RGMFONBO.js} +3 -3
- package/build/{chunk-6U232VOB.js → chunk-SVPWVNP3.js} +152 -34
- package/build/{chunk-6U232VOB.js.map → chunk-SVPWVNP3.js.map} +1 -1
- package/build/{chunk-A3XZG5CV.js → chunk-VFINMMGN.js} +2 -2
- package/build/{chunk-Y7OW7ICG.js → chunk-X67AAT4X.js} +5 -5
- package/build/{chunk-TQQIULI5.js → chunk-X76FK2NI.js} +2 -2
- package/build/{chunk-7TAGHLLP.js → chunk-XGQZVXNJ.js} +3 -3
- package/build/{chunk-VVQKEYFV.js → chunk-Z27QYOLS.js} +29 -11
- package/build/{chunk-VVQKEYFV.js.map → chunk-Z27QYOLS.js.map} +1 -1
- package/build/{chunk-LXXN3RII.js → chunk-ZCGI26DD.js} +2 -1
- package/build/chunk-ZCGI26DD.js.map +1 -0
- package/build/{chunk-3DCNRTOG.js → chunk-ZJEKZSOD.js} +2 -2
- package/build/{chunk-RYRMNBF7.js → chunk-ZLQLKGPF.js} +5 -5
- package/build/{chunk-FNPNJNSH.js → chunk-ZVIUVZJY.js} +6 -6
- package/build/index.js +49 -31
- package/build/index.js.map +1 -1
- package/build/{preview-MJMZWFUW.js → preview-EBGBJIU5.js} +13 -13
- package/build/{release-LNE5ADW6.js → release-Y6DR4WSP.js} +15 -15
- package/build/{render-command-3YMVNHZ2.js → render-command-WEM3G7VN.js} +6 -6
- package/package.json +3 -3
- package/build/GenerateCommand-GE4M3AJ5.js.map +0 -1
- package/build/PreviewCommand-K2K72XRF.js +0 -19
- package/build/ReleaseCommand-E2YTBK5B.js +0 -23
- package/build/chunk-IN7IXPNO.js +0 -23
- package/build/chunk-IN7IXPNO.js.map +0 -1
- package/build/chunk-LXXN3RII.js.map +0 -1
- /package/build/{AddPermissionCommand-5WDEMAQT.js.map → AddPermissionCommand-DYGRTPW3.js.map} +0 -0
- /package/build/{CreateVersionCommand-P5USV364.js.map → CreateVersionCommand-7U7SHHMS.js.map} +0 -0
- /package/build/{DevCommand-IREOMDTX.js.map → DevCommand-XFK47XPN.js.map} +0 -0
- /package/build/{LogsCommand-6YLQXT36.js.map → LogsCommand-NCHV2GN7.js.map} +0 -0
- /package/build/{PreviewCommand-K2K72XRF.js.map → PreviewCommand-Q42SZUIS.js.map} +0 -0
- /package/build/{ReleaseCommand-E2YTBK5B.js.map → ReleaseCommand-ICLGFGPC.js.map} +0 -0
- /package/build/{ServeCommand-DERBPIYF.js.map → ServeCommand-I6VZS2YK.js.map} +0 -0
- /package/build/{build-TKRTNJPW.js.map → build-Z4VNDOIL.js.map} +0 -0
- /package/build/{chunk-SONMTNBR.js.map → chunk-DSA62VDV.js.map} +0 -0
- /package/build/{chunk-XR7UD5CN.js.map → chunk-HHUDSUDG.js.map} +0 -0
- /package/build/{chunk-RMWMWFQH.js.map → chunk-HIQCBMWB.js.map} +0 -0
- /package/build/{chunk-OOHZARMV.js.map → chunk-JKPPIEED.js.map} +0 -0
- /package/build/{chunk-NIDWJY72.js.map → chunk-ONIPG3V2.js.map} +0 -0
- /package/build/{chunk-XQE6EJ45.js.map → chunk-QYBJOKX2.js.map} +0 -0
- /package/build/{chunk-QXIFG4RP.js.map → chunk-RGMFONBO.js.map} +0 -0
- /package/build/{chunk-A3XZG5CV.js.map → chunk-VFINMMGN.js.map} +0 -0
- /package/build/{chunk-Y7OW7ICG.js.map → chunk-X67AAT4X.js.map} +0 -0
- /package/build/{chunk-TQQIULI5.js.map → chunk-X76FK2NI.js.map} +0 -0
- /package/build/{chunk-7TAGHLLP.js.map → chunk-XGQZVXNJ.js.map} +0 -0
- /package/build/{chunk-3DCNRTOG.js.map → chunk-ZJEKZSOD.js.map} +0 -0
- /package/build/{chunk-RYRMNBF7.js.map → chunk-ZLQLKGPF.js.map} +0 -0
- /package/build/{chunk-FNPNJNSH.js.map → chunk-ZVIUVZJY.js.map} +0 -0
- /package/build/{preview-MJMZWFUW.js.map → preview-EBGBJIU5.js.map} +0 -0
- /package/build/{release-LNE5ADW6.js.map → release-Y6DR4WSP.js.map} +0 -0
- /package/build/{render-command-3YMVNHZ2.js.map → render-command-WEM3G7VN.js.map} +0 -0
|
@@ -143832,7 +143832,7 @@ var require_chokidar = __commonJS({
|
|
|
143832
143832
|
var package_default = {
|
|
143833
143833
|
name: "@wix/cli-app",
|
|
143834
143834
|
description: "CLI tool for Wix apps",
|
|
143835
|
-
version: "1.1.
|
|
143835
|
+
version: "1.1.98",
|
|
143836
143836
|
author: "Amit Dahan",
|
|
143837
143837
|
dependencies: {
|
|
143838
143838
|
esbuild: "^0.25.0",
|
|
@@ -143850,7 +143850,7 @@ var package_default = {
|
|
|
143850
143850
|
"@wix/ambassador-cli-site-override-service-v1-site-override": "^1.0.9",
|
|
143851
143851
|
"@wix/ambassador-ctp-app-cloud-backend-service-v1-app-cloud-backend-deployment": "^1.0.11",
|
|
143852
143852
|
"@wix/ambassador-ctp-gradual-rollout-v1-app-config": "^1.0.78",
|
|
143853
|
-
"@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.
|
|
143853
|
+
"@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.43",
|
|
143854
143854
|
"@wix/app-cloud-uploader": "^1.18.0",
|
|
143855
143855
|
"@wix/arm-client": "workspace:*",
|
|
143856
143856
|
"@wix/bi-logger-dev-tools-data": "^1.112.0",
|
|
@@ -144038,6 +144038,7 @@ var CliSystemErrorCode = (0, import_variant.variant)({
|
|
|
144038
144038
|
UploadApplicationFailed: {},
|
|
144039
144039
|
FailedToCreateDevCenterApp: {},
|
|
144040
144040
|
FailedToCreateDevCenterOAuthApp: {},
|
|
144041
|
+
FailedToUpdateDevCenterOAuthApp: {},
|
|
144041
144042
|
FailedToAddPermission: {},
|
|
144042
144043
|
FailedToGetPlacements: {},
|
|
144043
144044
|
FailedToGetAppSecret: {},
|
|
@@ -154280,6 +154281,7 @@ function SelectInput2({
|
|
|
154280
154281
|
info,
|
|
154281
154282
|
options,
|
|
154282
154283
|
isActive,
|
|
154284
|
+
value: value2,
|
|
154283
154285
|
onSubmit,
|
|
154284
154286
|
limit = 10,
|
|
154285
154287
|
initialIndex
|
|
@@ -154288,19 +154290,19 @@ function SelectInput2({
|
|
|
154288
154290
|
throw new Error("SelectInput: options cannot be empty");
|
|
154289
154291
|
}
|
|
154290
154292
|
const [inputState, setInputState] = (0, import_react52.useState)(
|
|
154291
|
-
() => InputState.NotSubmitted()
|
|
154293
|
+
() => value2 ?? InputState.NotSubmitted()
|
|
154292
154294
|
);
|
|
154293
154295
|
const handleHighlight = (0, import_react52.useCallback)(
|
|
154294
|
-
({ value:
|
|
154295
|
-
setInputState(InputState.NotSubmitted(
|
|
154296
|
+
({ value: value3 }) => {
|
|
154297
|
+
setInputState(InputState.NotSubmitted(value3));
|
|
154296
154298
|
},
|
|
154297
154299
|
[]
|
|
154298
154300
|
);
|
|
154299
154301
|
const handleSelect = (0, import_react52.useCallback)(
|
|
154300
|
-
({ value:
|
|
154301
|
-
if (!(0, import_variant10.isType)(
|
|
154302
|
-
setInputState(InputState.Submitted(
|
|
154303
|
-
onSubmit(
|
|
154302
|
+
({ value: value3 }) => {
|
|
154303
|
+
if (!(0, import_variant10.isType)(value3.availability, SelectOptionAvailability.Disabled)) {
|
|
154304
|
+
setInputState(InputState.Submitted(value3));
|
|
154305
|
+
onSubmit(value3);
|
|
154304
154306
|
}
|
|
154305
154307
|
},
|
|
154306
154308
|
[onSubmit]
|
|
@@ -154318,6 +154320,11 @@ function SelectInput2({
|
|
|
154318
154320
|
setInputState(InputState.NotSubmitted(inputState.value));
|
|
154319
154321
|
}
|
|
154320
154322
|
}, [isActive]);
|
|
154323
|
+
(0, import_react52.useEffect)(() => {
|
|
154324
|
+
if (value2) {
|
|
154325
|
+
setInputState(value2);
|
|
154326
|
+
}
|
|
154327
|
+
}, [value2, setInputState]);
|
|
154321
154328
|
return /* @__PURE__ */ import_react52.default.createElement(import_react52.default.Fragment, null, /* @__PURE__ */ import_react52.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react52.default.createElement(Text2, null, /* @__PURE__ */ import_react52.default.createElement(InputLabel, null, label), " ", info && (0, import_variant10.isType)(inputState, InputState.NotSubmitted) && /* @__PURE__ */ import_react52.default.createElement(Text2, { skin: "secondary" }, info))), /* @__PURE__ */ import_react52.default.createElement(Placeholder2, { inputState }), (0, import_variant10.isType)(inputState, InputState.NotSubmitted) && /* @__PURE__ */ import_react52.default.createElement(Box_default, null, /* @__PURE__ */ import_react52.default.createElement(
|
|
154322
154329
|
SelectInput_default,
|
|
154323
154330
|
{
|
|
@@ -162443,6 +162450,9 @@ function getErrorComponent(code, cause) {
|
|
|
162443
162450
|
FailedToCreateDevCenterOAuthApp: () => {
|
|
162444
162451
|
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to register your oauth application in Wix" });
|
|
162445
162452
|
},
|
|
162453
|
+
FailedToUpdateDevCenterOAuthApp: () => {
|
|
162454
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to update your oauth application in Wix" });
|
|
162455
|
+
},
|
|
162446
162456
|
FailedToAddPermission: () => {
|
|
162447
162457
|
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to add permission" });
|
|
162448
162458
|
},
|
|
@@ -164335,6 +164345,12 @@ function resolveComWixpressAccountApiAccountServiceUrl(opts) {
|
|
|
164335
164345
|
srcPath: "/_api/account-server",
|
|
164336
164346
|
destPath: ""
|
|
164337
164347
|
}
|
|
164348
|
+
],
|
|
164349
|
+
"twins._base_domain_": [
|
|
164350
|
+
{
|
|
164351
|
+
srcPath: "/_api/account-server",
|
|
164352
|
+
destPath: ""
|
|
164353
|
+
}
|
|
164338
164354
|
]
|
|
164339
164355
|
};
|
|
164340
164356
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -166436,6 +166452,7 @@ var ComponentType;
|
|
|
166436
166452
|
ComponentType3["WIX_HOSTING_APP_ENVIRONMENT_PROVIDER"] = "WIX_HOSTING_APP_ENVIRONMENT_PROVIDER";
|
|
166437
166453
|
ComponentType3["SDK_EXPORTS"] = "SDK_EXPORTS";
|
|
166438
166454
|
ComponentType3["VIEWER_SERVICE"] = "VIEWER_SERVICE";
|
|
166455
|
+
ComponentType3["WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN"] = "WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN";
|
|
166439
166456
|
})(ComponentType || (ComponentType = {}));
|
|
166440
166457
|
var WidgetVertical;
|
|
166441
166458
|
(function(WidgetVertical3) {
|
|
@@ -167815,6 +167832,7 @@ var CssPropertyType;
|
|
|
167815
167832
|
CssPropertyType3["textTransform"] = "textTransform";
|
|
167816
167833
|
CssPropertyType3["textShadow"] = "textShadow";
|
|
167817
167834
|
CssPropertyType3["textOverflow"] = "textOverflow";
|
|
167835
|
+
CssPropertyType3["textIndent"] = "textIndent";
|
|
167818
167836
|
CssPropertyType3["textDecoration"] = "textDecoration";
|
|
167819
167837
|
CssPropertyType3["textDecorationColor"] = "textDecorationColor";
|
|
167820
167838
|
CssPropertyType3["textDecorationLine"] = "textDecorationLine";
|
|
@@ -167898,6 +167916,11 @@ var WritingModeValue;
|
|
|
167898
167916
|
WritingModeValue3["sidewaysRl"] = "sidewaysRl";
|
|
167899
167917
|
WritingModeValue3["sidewaysLr"] = "sidewaysLr";
|
|
167900
167918
|
})(WritingModeValue || (WritingModeValue = {}));
|
|
167919
|
+
var BackgroundModeEnum;
|
|
167920
|
+
(function(BackgroundModeEnum3) {
|
|
167921
|
+
BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
|
|
167922
|
+
BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
|
|
167923
|
+
})(BackgroundModeEnum || (BackgroundModeEnum = {}));
|
|
167901
167924
|
var DataType;
|
|
167902
167925
|
(function(DataType3) {
|
|
167903
167926
|
DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
|
|
@@ -167980,6 +168003,15 @@ var ContainerType;
|
|
|
167980
168003
|
ContainerType3["placeholder"] = "placeholder";
|
|
167981
168004
|
ContainerType3["template"] = "template";
|
|
167982
168005
|
})(ContainerType || (ContainerType = {}));
|
|
168006
|
+
var ResizeDirection;
|
|
168007
|
+
(function(ResizeDirection3) {
|
|
168008
|
+
ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
|
|
168009
|
+
ResizeDirection3["horizontal"] = "horizontal";
|
|
168010
|
+
ResizeDirection3["vertical"] = "vertical";
|
|
168011
|
+
ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
168012
|
+
ResizeDirection3["aspectRatio"] = "aspectRatio";
|
|
168013
|
+
ResizeDirection3["none"] = "none";
|
|
168014
|
+
})(ResizeDirection || (ResizeDirection = {}));
|
|
167983
168015
|
var ElementType;
|
|
167984
168016
|
(function(ElementType3) {
|
|
167985
168017
|
ElementType3["UNKNOWN_ElementType"] = "UNKNOWN_ElementType";
|
|
@@ -168060,22 +168092,13 @@ var Archetype;
|
|
|
168060
168092
|
Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
|
|
168061
168093
|
})(Archetype || (Archetype = {}));
|
|
168062
168094
|
var NativeStateType;
|
|
168063
|
-
(function(
|
|
168064
|
-
|
|
168065
|
-
|
|
168066
|
-
|
|
168067
|
-
|
|
168068
|
-
|
|
168095
|
+
(function(NativeStateType3) {
|
|
168096
|
+
NativeStateType3["UNKNOWN_NativeStateType"] = "UNKNOWN_NativeStateType";
|
|
168097
|
+
NativeStateType3["hover"] = "hover";
|
|
168098
|
+
NativeStateType3["focus"] = "focus";
|
|
168099
|
+
NativeStateType3["disabled"] = "disabled";
|
|
168100
|
+
NativeStateType3["invalid"] = "invalid";
|
|
168069
168101
|
})(NativeStateType || (NativeStateType = {}));
|
|
168070
|
-
var ResizeDirection;
|
|
168071
|
-
(function(ResizeDirection3) {
|
|
168072
|
-
ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
|
|
168073
|
-
ResizeDirection3["horizontal"] = "horizontal";
|
|
168074
|
-
ResizeDirection3["vertical"] = "vertical";
|
|
168075
|
-
ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
168076
|
-
ResizeDirection3["aspectRatio"] = "aspectRatio";
|
|
168077
|
-
ResizeDirection3["none"] = "none";
|
|
168078
|
-
})(ResizeDirection || (ResizeDirection = {}));
|
|
168079
168102
|
var ContentResizeDirection;
|
|
168080
168103
|
(function(ContentResizeDirection3) {
|
|
168081
168104
|
ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
|
|
@@ -168084,6 +168107,17 @@ var ContentResizeDirection;
|
|
|
168084
168107
|
ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
168085
168108
|
ContentResizeDirection3["none"] = "none";
|
|
168086
168109
|
})(ContentResizeDirection || (ContentResizeDirection = {}));
|
|
168110
|
+
var InteractionsTrigger;
|
|
168111
|
+
(function(InteractionsTrigger3) {
|
|
168112
|
+
InteractionsTrigger3["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
|
|
168113
|
+
InteractionsTrigger3["hover"] = "hover";
|
|
168114
|
+
InteractionsTrigger3["click"] = "click";
|
|
168115
|
+
InteractionsTrigger3["viewEnter"] = "viewEnter";
|
|
168116
|
+
InteractionsTrigger3["pageVisible"] = "pageVisible";
|
|
168117
|
+
InteractionsTrigger3["viewProgress"] = "viewProgress";
|
|
168118
|
+
InteractionsTrigger3["pointerMove"] = "pointerMove";
|
|
168119
|
+
InteractionsTrigger3["animationEnd"] = "animationEnd";
|
|
168120
|
+
})(InteractionsTrigger || (InteractionsTrigger = {}));
|
|
168087
168121
|
var RestrictionLevel;
|
|
168088
168122
|
(function(RestrictionLevel3) {
|
|
168089
168123
|
RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
|
|
@@ -170891,6 +170925,11 @@ init_esm_shims();
|
|
|
170891
170925
|
var _createOAuthAppRequest = { oAuthApp: "_oAuthApp" };
|
|
170892
170926
|
var _createOAuthAppResponse = { oAuthApp: "_oAuthApp" };
|
|
170893
170927
|
var _oAuthApp = { createdDate: "google.protobuf.Timestamp" };
|
|
170928
|
+
var _updateOAuthAppRequest = {
|
|
170929
|
+
mask: "google.protobuf.FieldMask",
|
|
170930
|
+
oAuthApp: "_oAuthApp"
|
|
170931
|
+
};
|
|
170932
|
+
var _updateOAuthAppResponse = { oAuthApp: "_oAuthApp" };
|
|
170894
170933
|
function resolveWixHeadlessV1OAuthAppServiceUrl(opts) {
|
|
170895
170934
|
var domainToMappings = {
|
|
170896
170935
|
"manage._base_domain_": [
|
|
@@ -170944,6 +170983,32 @@ function createOAuthApp(payload4) {
|
|
|
170944
170983
|
__createOAuthApp.__isAmbassador = true;
|
|
170945
170984
|
return __createOAuthApp;
|
|
170946
170985
|
}
|
|
170986
|
+
function updateOAuthApp(payload4) {
|
|
170987
|
+
var _a2 = serializer(_updateOAuthAppRequest, { _oAuthApp }), toReq = _a2.toJSON, fromReq = _a2.fromJSON;
|
|
170988
|
+
var fromRes = serializer(_updateOAuthAppResponse, {
|
|
170989
|
+
_oAuthApp
|
|
170990
|
+
}).fromJSON;
|
|
170991
|
+
function __updateOAuthApp(_a3) {
|
|
170992
|
+
var host = _a3.host;
|
|
170993
|
+
var serializedData = toReq(payload4);
|
|
170994
|
+
var metadata = {
|
|
170995
|
+
entityFqdn: "wix.headless.v1.o_auth_app",
|
|
170996
|
+
method: "PATCH",
|
|
170997
|
+
methodFqn: "wix.headless.v1.OAuthAppService.UpdateOAuthApp",
|
|
170998
|
+
url: resolveWixHeadlessV1OAuthAppServiceUrl({
|
|
170999
|
+
protoPath: "/v1/oauth-apps/{oAuthApp.id}",
|
|
171000
|
+
data: serializedData,
|
|
171001
|
+
host
|
|
171002
|
+
}),
|
|
171003
|
+
data: serializedData,
|
|
171004
|
+
transformResponse: fromRes
|
|
171005
|
+
};
|
|
171006
|
+
return metadata;
|
|
171007
|
+
}
|
|
171008
|
+
__updateOAuthApp.fromReq = fromReq;
|
|
171009
|
+
__updateOAuthApp.__isAmbassador = true;
|
|
171010
|
+
return __updateOAuthApp;
|
|
171011
|
+
}
|
|
170947
171012
|
|
|
170948
171013
|
// ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-version/build/es/http.impl.js
|
|
170949
171014
|
init_esm_shims();
|
|
@@ -172322,6 +172387,8 @@ var ComponentType2;
|
|
|
172322
172387
|
ComponentType3["EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER"] = "EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER";
|
|
172323
172388
|
ComponentType3["WIX_HOSTING_APP_ENVIRONMENT_PROVIDER"] = "WIX_HOSTING_APP_ENVIRONMENT_PROVIDER";
|
|
172324
172389
|
ComponentType3["SDK_EXPORTS"] = "SDK_EXPORTS";
|
|
172390
|
+
ComponentType3["VIEWER_SERVICE"] = "VIEWER_SERVICE";
|
|
172391
|
+
ComponentType3["WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN"] = "WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN";
|
|
172325
172392
|
})(ComponentType2 || (ComponentType2 = {}));
|
|
172326
172393
|
var WidgetVertical2;
|
|
172327
172394
|
(function(WidgetVertical3) {
|
|
@@ -172713,6 +172780,7 @@ var Tag2;
|
|
|
172713
172780
|
Tag3["ECOM_CREATE_PAY_LINK"] = "ECOM_CREATE_PAY_LINK";
|
|
172714
172781
|
Tag3["ECOM_DELIVERY_PROFILES"] = "ECOM_DELIVERY_PROFILES";
|
|
172715
172782
|
Tag3["ADD_TO_CATEGORY"] = "ADD_TO_CATEGORY";
|
|
172783
|
+
Tag3["MY_BUSINESS"] = "MY_BUSINESS";
|
|
172716
172784
|
})(Tag2 || (Tag2 = {}));
|
|
172717
172785
|
var FilterSelectionType2;
|
|
172718
172786
|
(function(FilterSelectionType3) {
|
|
@@ -172965,6 +173033,8 @@ var DecorationType2;
|
|
|
172965
173033
|
DecorationType3["FONT_SIZE"] = "FONT_SIZE";
|
|
172966
173034
|
DecorationType3["EXTERNAL"] = "EXTERNAL";
|
|
172967
173035
|
DecorationType3["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
173036
|
+
DecorationType3["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
173037
|
+
DecorationType3["SUBSCRIPT"] = "SUBSCRIPT";
|
|
172968
173038
|
})(DecorationType2 || (DecorationType2 = {}));
|
|
172969
173039
|
var FontType2;
|
|
172970
173040
|
(function(FontType3) {
|
|
@@ -173535,6 +173605,7 @@ var FactorType2;
|
|
|
173535
173605
|
FactorType3["EMAIL"] = "EMAIL";
|
|
173536
173606
|
FactorType3["TOTP"] = "TOTP";
|
|
173537
173607
|
FactorType3["PUSH"] = "PUSH";
|
|
173608
|
+
FactorType3["WEBAUTHN"] = "WEBAUTHN";
|
|
173538
173609
|
})(FactorType2 || (FactorType2 = {}));
|
|
173539
173610
|
var MonitoringType2;
|
|
173540
173611
|
(function(MonitoringType3) {
|
|
@@ -173630,6 +173701,7 @@ var CssPropertyType2;
|
|
|
173630
173701
|
CssPropertyType3["backgroundRepeat"] = "backgroundRepeat";
|
|
173631
173702
|
CssPropertyType3["backgroundAttachment"] = "backgroundAttachment";
|
|
173632
173703
|
CssPropertyType3["fill"] = "fill";
|
|
173704
|
+
CssPropertyType3["fillOpacity"] = "fillOpacity";
|
|
173633
173705
|
CssPropertyType3["margin"] = "margin";
|
|
173634
173706
|
CssPropertyType3["marginTop"] = "marginTop";
|
|
173635
173707
|
CssPropertyType3["marginRight"] = "marginRight";
|
|
@@ -173696,6 +173768,7 @@ var CssPropertyType2;
|
|
|
173696
173768
|
CssPropertyType3["textTransform"] = "textTransform";
|
|
173697
173769
|
CssPropertyType3["textShadow"] = "textShadow";
|
|
173698
173770
|
CssPropertyType3["textOverflow"] = "textOverflow";
|
|
173771
|
+
CssPropertyType3["textIndent"] = "textIndent";
|
|
173699
173772
|
CssPropertyType3["textDecoration"] = "textDecoration";
|
|
173700
173773
|
CssPropertyType3["textDecorationColor"] = "textDecorationColor";
|
|
173701
173774
|
CssPropertyType3["textDecorationLine"] = "textDecorationLine";
|
|
@@ -173720,6 +173793,9 @@ var CssPropertyType2;
|
|
|
173720
173793
|
CssPropertyType3["objectPosition"] = "objectPosition";
|
|
173721
173794
|
CssPropertyType3["mixBlendMode"] = "mixBlendMode";
|
|
173722
173795
|
CssPropertyType3["isolation"] = "isolation";
|
|
173796
|
+
CssPropertyType3["stroke"] = "stroke";
|
|
173797
|
+
CssPropertyType3["strokeWidth"] = "strokeWidth";
|
|
173798
|
+
CssPropertyType3["strokeOpacity"] = "strokeOpacity";
|
|
173723
173799
|
})(CssPropertyType2 || (CssPropertyType2 = {}));
|
|
173724
173800
|
var CssDataType2;
|
|
173725
173801
|
(function(CssDataType3) {
|
|
@@ -173776,6 +173852,11 @@ var WritingModeValue2;
|
|
|
173776
173852
|
WritingModeValue3["sidewaysRl"] = "sidewaysRl";
|
|
173777
173853
|
WritingModeValue3["sidewaysLr"] = "sidewaysLr";
|
|
173778
173854
|
})(WritingModeValue2 || (WritingModeValue2 = {}));
|
|
173855
|
+
var BackgroundModeEnum2;
|
|
173856
|
+
(function(BackgroundModeEnum3) {
|
|
173857
|
+
BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
|
|
173858
|
+
BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
|
|
173859
|
+
})(BackgroundModeEnum2 || (BackgroundModeEnum2 = {}));
|
|
173779
173860
|
var DataType2;
|
|
173780
173861
|
(function(DataType3) {
|
|
173781
173862
|
DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
|
|
@@ -173803,6 +173884,7 @@ var DataType2;
|
|
|
173803
173884
|
DataType3["container"] = "container";
|
|
173804
173885
|
DataType3["arrayItems"] = "arrayItems";
|
|
173805
173886
|
DataType3["direction"] = "direction";
|
|
173887
|
+
DataType3["menuItems"] = "menuItems";
|
|
173806
173888
|
})(DataType2 || (DataType2 = {}));
|
|
173807
173889
|
var A11yAttributes2;
|
|
173808
173890
|
(function(A11yAttributes3) {
|
|
@@ -173855,7 +173937,17 @@ var ContainerType2;
|
|
|
173855
173937
|
ContainerType3["simple"] = "simple";
|
|
173856
173938
|
ContainerType3["slot"] = "slot";
|
|
173857
173939
|
ContainerType3["placeholder"] = "placeholder";
|
|
173940
|
+
ContainerType3["template"] = "template";
|
|
173858
173941
|
})(ContainerType2 || (ContainerType2 = {}));
|
|
173942
|
+
var ResizeDirection2;
|
|
173943
|
+
(function(ResizeDirection3) {
|
|
173944
|
+
ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
|
|
173945
|
+
ResizeDirection3["horizontal"] = "horizontal";
|
|
173946
|
+
ResizeDirection3["vertical"] = "vertical";
|
|
173947
|
+
ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
173948
|
+
ResizeDirection3["aspectRatio"] = "aspectRatio";
|
|
173949
|
+
ResizeDirection3["none"] = "none";
|
|
173950
|
+
})(ResizeDirection2 || (ResizeDirection2 = {}));
|
|
173859
173951
|
var ElementTypeEnumElementType;
|
|
173860
173952
|
(function(ElementTypeEnumElementType2) {
|
|
173861
173953
|
ElementTypeEnumElementType2["UNKNOWN_ElementType"] = "UNKNOWN_ElementType";
|
|
@@ -173935,15 +174027,14 @@ var Archetype2;
|
|
|
173935
174027
|
Archetype3["VectorArt"] = "VectorArt";
|
|
173936
174028
|
Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
|
|
173937
174029
|
})(Archetype2 || (Archetype2 = {}));
|
|
173938
|
-
var
|
|
173939
|
-
(function(
|
|
173940
|
-
|
|
173941
|
-
|
|
173942
|
-
|
|
173943
|
-
|
|
173944
|
-
|
|
173945
|
-
|
|
173946
|
-
})(ResizeDirection2 || (ResizeDirection2 = {}));
|
|
174030
|
+
var NativeStateType2;
|
|
174031
|
+
(function(NativeStateType3) {
|
|
174032
|
+
NativeStateType3["UNKNOWN_NativeStateType"] = "UNKNOWN_NativeStateType";
|
|
174033
|
+
NativeStateType3["hover"] = "hover";
|
|
174034
|
+
NativeStateType3["focus"] = "focus";
|
|
174035
|
+
NativeStateType3["disabled"] = "disabled";
|
|
174036
|
+
NativeStateType3["invalid"] = "invalid";
|
|
174037
|
+
})(NativeStateType2 || (NativeStateType2 = {}));
|
|
173947
174038
|
var ContentResizeDirection2;
|
|
173948
174039
|
(function(ContentResizeDirection3) {
|
|
173949
174040
|
ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
|
|
@@ -173952,6 +174043,17 @@ var ContentResizeDirection2;
|
|
|
173952
174043
|
ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
173953
174044
|
ContentResizeDirection3["none"] = "none";
|
|
173954
174045
|
})(ContentResizeDirection2 || (ContentResizeDirection2 = {}));
|
|
174046
|
+
var InteractionsTrigger2;
|
|
174047
|
+
(function(InteractionsTrigger3) {
|
|
174048
|
+
InteractionsTrigger3["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
|
|
174049
|
+
InteractionsTrigger3["hover"] = "hover";
|
|
174050
|
+
InteractionsTrigger3["click"] = "click";
|
|
174051
|
+
InteractionsTrigger3["viewEnter"] = "viewEnter";
|
|
174052
|
+
InteractionsTrigger3["pageVisible"] = "pageVisible";
|
|
174053
|
+
InteractionsTrigger3["viewProgress"] = "viewProgress";
|
|
174054
|
+
InteractionsTrigger3["pointerMove"] = "pointerMove";
|
|
174055
|
+
InteractionsTrigger3["animationEnd"] = "animationEnd";
|
|
174056
|
+
})(InteractionsTrigger2 || (InteractionsTrigger2 = {}));
|
|
173955
174057
|
var RestrictionLevel2;
|
|
173956
174058
|
(function(RestrictionLevel3) {
|
|
173957
174059
|
RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
|
|
@@ -174334,6 +174436,22 @@ var DevCenterClient = class {
|
|
|
174334
174436
|
});
|
|
174335
174437
|
}
|
|
174336
174438
|
};
|
|
174439
|
+
updateOAuthApp = async (oAuthApp) => {
|
|
174440
|
+
try {
|
|
174441
|
+
const { data } = await this.httpClient.request(
|
|
174442
|
+
updateOAuthApp({
|
|
174443
|
+
oAuthApp,
|
|
174444
|
+
mask: ["allowedDomains", "allowedRedirectUris"]
|
|
174445
|
+
})
|
|
174446
|
+
);
|
|
174447
|
+
return createOAuthAppSchema.parse(data).oAuthApp;
|
|
174448
|
+
} catch (e2) {
|
|
174449
|
+
throw new CliError({
|
|
174450
|
+
code: CliErrorCode.FailedToUpdateDevCenterOAuthApp(),
|
|
174451
|
+
cause: e2
|
|
174452
|
+
});
|
|
174453
|
+
}
|
|
174454
|
+
};
|
|
174337
174455
|
getAppSecret = async (req) => {
|
|
174338
174456
|
try {
|
|
174339
174457
|
const { data } = await pRetry(
|
|
@@ -177864,4 +177982,4 @@ mustache/mustache.mjs:
|
|
|
177864
177982
|
* http://github.com/janl/mustache.js
|
|
177865
177983
|
*)
|
|
177866
177984
|
*/
|
|
177867
|
-
//# sourceMappingURL=chunk-
|
|
177985
|
+
//# sourceMappingURL=chunk-SVPWVNP3.js.map
|