@wix/cli-app 1.1.97 → 1.1.99

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.
Files changed (69) hide show
  1. package/build/{AddPermissionCommand-5WDEMAQT.js → AddPermissionCommand-DC6GXXUX.js} +2 -2
  2. package/build/{CreateVersionCommand-P5USV364.js → CreateVersionCommand-NING6RKM.js} +3 -3
  3. package/build/{DevCommand-IREOMDTX.js → DevCommand-NLVZANSK.js} +10 -10
  4. package/build/{GenerateCommand-GE4M3AJ5.js → GenerateCommand-3RZEFOP3.js} +98 -122
  5. package/build/GenerateCommand-3RZEFOP3.js.map +1 -0
  6. package/build/{LogsCommand-6YLQXT36.js → LogsCommand-UIIDYFQK.js} +3 -3
  7. package/build/PreviewCommand-OVDMT5L2.js +19 -0
  8. package/build/ReleaseCommand-6ONFPEQI.js +23 -0
  9. package/build/{ServeCommand-DERBPIYF.js → ServeCommand-5T3JJWI5.js} +3 -3
  10. package/build/{build-TKRTNJPW.js → build-I5URVDDZ.js} +6 -6
  11. package/build/{chunk-FNPNJNSH.js → chunk-3KBAM36R.js} +6 -6
  12. package/build/{chunk-6U232VOB.js → chunk-7KO5UFHH.js} +152 -34
  13. package/build/{chunk-6U232VOB.js.map → chunk-7KO5UFHH.js.map} +1 -1
  14. package/build/{chunk-NIDWJY72.js → chunk-EGBP6ZTW.js} +2 -2
  15. package/build/{chunk-XR7UD5CN.js → chunk-EGDKLG3J.js} +6 -6
  16. package/build/{chunk-3DCNRTOG.js → chunk-EW7TFFRA.js} +2 -2
  17. package/build/{chunk-OOHZARMV.js → chunk-H5L3KOIJ.js} +7 -7
  18. package/build/{chunk-RYRMNBF7.js → chunk-HMJYM5XX.js} +5 -5
  19. package/build/chunk-ICRDPRK4.js +182 -0
  20. package/build/chunk-ICRDPRK4.js.map +1 -0
  21. package/build/{chunk-Y7OW7ICG.js → chunk-JV6MCORR.js} +5 -5
  22. package/build/{chunk-XQE6EJ45.js → chunk-KDY5ZJQC.js} +2 -2
  23. package/build/{chunk-VVQKEYFV.js → chunk-ULVKXUUR.js} +29 -11
  24. package/build/{chunk-VVQKEYFV.js.map → chunk-ULVKXUUR.js.map} +1 -1
  25. package/build/{chunk-RMWMWFQH.js → chunk-V6IENLNG.js} +2 -2
  26. package/build/{chunk-7TAGHLLP.js → chunk-WAZBUAZT.js} +3 -3
  27. package/build/{chunk-SONMTNBR.js → chunk-WEQCA67S.js} +2 -2
  28. package/build/{chunk-TQQIULI5.js → chunk-X4WC4WEL.js} +2 -2
  29. package/build/{chunk-QXIFG4RP.js → chunk-XDRRW2V3.js} +3 -3
  30. package/build/{chunk-LXXN3RII.js → chunk-ZCGI26DD.js} +2 -1
  31. package/build/chunk-ZCGI26DD.js.map +1 -0
  32. package/build/{chunk-A3XZG5CV.js → chunk-ZKWKQI2N.js} +2 -2
  33. package/build/index.js +49 -31
  34. package/build/index.js.map +1 -1
  35. package/build/{preview-MJMZWFUW.js → preview-KDLRHSAI.js} +13 -13
  36. package/build/{release-LNE5ADW6.js → release-TR6PZHWK.js} +15 -15
  37. package/build/{render-command-3YMVNHZ2.js → render-command-O5QZMHVM.js} +6 -6
  38. package/package.json +3 -3
  39. package/build/GenerateCommand-GE4M3AJ5.js.map +0 -1
  40. package/build/PreviewCommand-K2K72XRF.js +0 -19
  41. package/build/ReleaseCommand-E2YTBK5B.js +0 -23
  42. package/build/chunk-IN7IXPNO.js +0 -23
  43. package/build/chunk-IN7IXPNO.js.map +0 -1
  44. package/build/chunk-LXXN3RII.js.map +0 -1
  45. /package/build/{AddPermissionCommand-5WDEMAQT.js.map → AddPermissionCommand-DC6GXXUX.js.map} +0 -0
  46. /package/build/{CreateVersionCommand-P5USV364.js.map → CreateVersionCommand-NING6RKM.js.map} +0 -0
  47. /package/build/{DevCommand-IREOMDTX.js.map → DevCommand-NLVZANSK.js.map} +0 -0
  48. /package/build/{LogsCommand-6YLQXT36.js.map → LogsCommand-UIIDYFQK.js.map} +0 -0
  49. /package/build/{PreviewCommand-K2K72XRF.js.map → PreviewCommand-OVDMT5L2.js.map} +0 -0
  50. /package/build/{ReleaseCommand-E2YTBK5B.js.map → ReleaseCommand-6ONFPEQI.js.map} +0 -0
  51. /package/build/{ServeCommand-DERBPIYF.js.map → ServeCommand-5T3JJWI5.js.map} +0 -0
  52. /package/build/{build-TKRTNJPW.js.map → build-I5URVDDZ.js.map} +0 -0
  53. /package/build/{chunk-FNPNJNSH.js.map → chunk-3KBAM36R.js.map} +0 -0
  54. /package/build/{chunk-NIDWJY72.js.map → chunk-EGBP6ZTW.js.map} +0 -0
  55. /package/build/{chunk-XR7UD5CN.js.map → chunk-EGDKLG3J.js.map} +0 -0
  56. /package/build/{chunk-3DCNRTOG.js.map → chunk-EW7TFFRA.js.map} +0 -0
  57. /package/build/{chunk-OOHZARMV.js.map → chunk-H5L3KOIJ.js.map} +0 -0
  58. /package/build/{chunk-RYRMNBF7.js.map → chunk-HMJYM5XX.js.map} +0 -0
  59. /package/build/{chunk-Y7OW7ICG.js.map → chunk-JV6MCORR.js.map} +0 -0
  60. /package/build/{chunk-XQE6EJ45.js.map → chunk-KDY5ZJQC.js.map} +0 -0
  61. /package/build/{chunk-RMWMWFQH.js.map → chunk-V6IENLNG.js.map} +0 -0
  62. /package/build/{chunk-7TAGHLLP.js.map → chunk-WAZBUAZT.js.map} +0 -0
  63. /package/build/{chunk-SONMTNBR.js.map → chunk-WEQCA67S.js.map} +0 -0
  64. /package/build/{chunk-TQQIULI5.js.map → chunk-X4WC4WEL.js.map} +0 -0
  65. /package/build/{chunk-QXIFG4RP.js.map → chunk-XDRRW2V3.js.map} +0 -0
  66. /package/build/{chunk-A3XZG5CV.js.map → chunk-ZKWKQI2N.js.map} +0 -0
  67. /package/build/{preview-MJMZWFUW.js.map → preview-KDLRHSAI.js.map} +0 -0
  68. /package/build/{release-LNE5ADW6.js.map → release-TR6PZHWK.js.map} +0 -0
  69. /package/build/{render-command-3YMVNHZ2.js.map → render-command-O5QZMHVM.js.map} +0 -0
@@ -2,7 +2,7 @@ import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  useTunnel
5
- } from "./chunk-SONMTNBR.js";
5
+ } from "./chunk-WEQCA67S.js";
6
6
  import "./chunk-GWE3BRHX.js";
7
7
  import {
8
8
  Box_default,
@@ -23,7 +23,7 @@ import {
23
23
  useProjectModel,
24
24
  useTranslation,
25
25
  z
26
- } from "./chunk-6U232VOB.js";
26
+ } from "./chunk-7KO5UFHH.js";
27
27
  import {
28
28
  __toESM,
29
29
  init_esm_shims
@@ -279,4 +279,4 @@ var LogsCommand = ({ version }) => {
279
279
  export {
280
280
  LogsCommand
281
281
  };
282
- //# sourceMappingURL=LogsCommand-6YLQXT36.js.map
282
+ //# sourceMappingURL=LogsCommand-UIIDYFQK.js.map
@@ -0,0 +1,19 @@
1
+ import { createRequire as _createRequire } from 'node:module';
2
+ const require = _createRequire(import.meta.url);
3
+ import {
4
+ PreviewCommand
5
+ } from "./chunk-3KBAM36R.js";
6
+ import "./chunk-WAZBUAZT.js";
7
+ import "./chunk-H5L3KOIJ.js";
8
+ import "./chunk-EW7TFFRA.js";
9
+ import "./chunk-WEQCA67S.js";
10
+ import "./chunk-GWE3BRHX.js";
11
+ import "./chunk-ZKWKQI2N.js";
12
+ import "./chunk-XDRRW2V3.js";
13
+ import "./chunk-ULVKXUUR.js";
14
+ import "./chunk-7KO5UFHH.js";
15
+ import "./chunk-4EFJZ3GQ.js";
16
+ export {
17
+ PreviewCommand
18
+ };
19
+ //# sourceMappingURL=PreviewCommand-OVDMT5L2.js.map
@@ -0,0 +1,23 @@
1
+ import { createRequire as _createRequire } from 'node:module';
2
+ const require = _createRequire(import.meta.url);
3
+ import {
4
+ ReleaseCommand,
5
+ ReleaseVersionType
6
+ } from "./chunk-EGDKLG3J.js";
7
+ import "./chunk-3KBAM36R.js";
8
+ import "./chunk-WAZBUAZT.js";
9
+ import "./chunk-H5L3KOIJ.js";
10
+ import "./chunk-KDY5ZJQC.js";
11
+ import "./chunk-EW7TFFRA.js";
12
+ import "./chunk-WEQCA67S.js";
13
+ import "./chunk-GWE3BRHX.js";
14
+ import "./chunk-ZKWKQI2N.js";
15
+ import "./chunk-XDRRW2V3.js";
16
+ import "./chunk-ULVKXUUR.js";
17
+ import "./chunk-7KO5UFHH.js";
18
+ import "./chunk-4EFJZ3GQ.js";
19
+ export {
20
+ ReleaseCommand,
21
+ ReleaseVersionType
22
+ };
23
+ //# sourceMappingURL=ReleaseCommand-6ONFPEQI.js.map
@@ -3,14 +3,14 @@ const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  createPackageManager,
5
5
  getRepoType
6
- } from "./chunk-TQQIULI5.js";
6
+ } from "./chunk-X4WC4WEL.js";
7
7
  import "./chunk-GWE3BRHX.js";
8
8
  import {
9
9
  CliError,
10
10
  CliErrorCode,
11
11
  useAsync,
12
12
  useProjectModel
13
- } from "./chunk-6U232VOB.js";
13
+ } from "./chunk-7KO5UFHH.js";
14
14
  import {
15
15
  init_esm_shims
16
16
  } from "./chunk-4EFJZ3GQ.js";
@@ -40,4 +40,4 @@ var ServeCommandDeprecated = () => {
40
40
  export {
41
41
  ServeCommandDeprecated
42
42
  };
43
- //# sourceMappingURL=ServeCommand-DERBPIYF.js.map
43
+ //# sourceMappingURL=ServeCommand-5T3JJWI5.js.map
@@ -2,10 +2,10 @@ import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  writeAppManifestFile
5
- } from "./chunk-7TAGHLLP.js";
5
+ } from "./chunk-WAZBUAZT.js";
6
6
  import {
7
7
  createLogger
8
- } from "./chunk-RMWMWFQH.js";
8
+ } from "./chunk-V6IENLNG.js";
9
9
  import {
10
10
  createAppManifest,
11
11
  getComponentBuildSourceBuilder,
@@ -14,15 +14,15 @@ import {
14
14
  getViteConfig4 as getViteConfig3,
15
15
  getViteConfig5 as getViteConfig4,
16
16
  validateComponents
17
- } from "./chunk-QXIFG4RP.js";
18
- import "./chunk-VVQKEYFV.js";
17
+ } from "./chunk-XDRRW2V3.js";
18
+ import "./chunk-ULVKXUUR.js";
19
19
  import {
20
20
  CliError,
21
21
  CliErrorCode,
22
22
  DevCenterComponent,
23
23
  getDistFolder,
24
24
  require_lib
25
- } from "./chunk-6U232VOB.js";
25
+ } from "./chunk-7KO5UFHH.js";
26
26
  import {
27
27
  __toESM,
28
28
  init_esm_shims
@@ -133,4 +133,4 @@ async function build(projectModel) {
133
133
  export {
134
134
  build
135
135
  };
136
- //# sourceMappingURL=build-TKRTNJPW.js.map
136
+ //# sourceMappingURL=build-I5URVDDZ.js.map
@@ -2,7 +2,7 @@ import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  readAppManifestFile
5
- } from "./chunk-7TAGHLLP.js";
5
+ } from "./chunk-WAZBUAZT.js";
6
6
  import {
7
7
  ArmTagProvider,
8
8
  ExtensionDataProvider,
@@ -16,16 +16,16 @@ import {
16
16
  useResolvePlatformUrl,
17
17
  useSite,
18
18
  useSiteOverrideClient
19
- } from "./chunk-OOHZARMV.js";
19
+ } from "./chunk-H5L3KOIJ.js";
20
20
  import {
21
21
  useBackendComponents
22
- } from "./chunk-3DCNRTOG.js";
22
+ } from "./chunk-EW7TFFRA.js";
23
23
  import {
24
24
  getMonitoringProvider,
25
25
  updateAppManifestComponents,
26
26
  updateMonitoring,
27
27
  updateTopology
28
- } from "./chunk-QXIFG4RP.js";
28
+ } from "./chunk-XDRRW2V3.js";
29
29
  import {
30
30
  Alert,
31
31
  BROWSER_STATICS_FOLDER,
@@ -57,7 +57,7 @@ import {
57
57
  useHttpClient,
58
58
  useProjectModel,
59
59
  useTranslation
60
- } from "./chunk-6U232VOB.js";
60
+ } from "./chunk-7KO5UFHH.js";
61
61
  import {
62
62
  __toESM,
63
63
  init_esm_shims
@@ -294,4 +294,4 @@ export {
294
294
  assertBuildOutputExists,
295
295
  PreviewCommand
296
296
  };
297
- //# sourceMappingURL=chunk-FNPNJNSH.js.map
297
+ //# sourceMappingURL=chunk-3KBAM36R.js.map
@@ -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.97",
143835
+ version: "1.1.99",
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.35",
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: value2 }) => {
154295
- setInputState(InputState.NotSubmitted(value2));
154296
+ ({ value: value3 }) => {
154297
+ setInputState(InputState.NotSubmitted(value3));
154296
154298
  },
154297
154299
  []
154298
154300
  );
154299
154301
  const handleSelect = (0, import_react52.useCallback)(
154300
- ({ value: value2 }) => {
154301
- if (!(0, import_variant10.isType)(value2.availability, SelectOptionAvailability.Disabled)) {
154302
- setInputState(InputState.Submitted(value2));
154303
- onSubmit(value2);
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(NativeStateType2) {
168064
- NativeStateType2["UNKNOWN_NativeStateType"] = "UNKNOWN_NativeStateType";
168065
- NativeStateType2["hover"] = "hover";
168066
- NativeStateType2["focus"] = "focus";
168067
- NativeStateType2["disabled"] = "disabled";
168068
- NativeStateType2["invalid"] = "invalid";
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 ResizeDirection2;
173939
- (function(ResizeDirection3) {
173940
- ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
173941
- ResizeDirection3["horizontal"] = "horizontal";
173942
- ResizeDirection3["vertical"] = "vertical";
173943
- ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
173944
- ResizeDirection3["aspectRatio"] = "aspectRatio";
173945
- ResizeDirection3["none"] = "none";
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-6U232VOB.js.map
177985
+ //# sourceMappingURL=chunk-7KO5UFHH.js.map