@wix/create-app 0.0.118 → 0.0.120

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 CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  metrics,
24
24
  propagation,
25
25
  trace
26
- } from "./chunk-YU54OBFT.js";
26
+ } from "./chunk-Z4MHKCET.js";
27
27
  import {
28
28
  LRUMap,
29
29
  SDK_VERSION,
@@ -73,7 +73,7 @@ import {
73
73
  stripUrlQueryAndFragment,
74
74
  suppressTracing,
75
75
  truncate
76
- } from "./chunk-XMTHMR2B.js";
76
+ } from "./chunk-C4SUTB4O.js";
77
77
  import {
78
78
  __commonJS,
79
79
  __dirname,
@@ -83,7 +83,7 @@ import {
83
83
  __toCommonJS,
84
84
  __toESM,
85
85
  init_esm_shims
86
- } from "./chunk-PYIAC2GK.js";
86
+ } from "./chunk-4EFJZ3GQ.js";
87
87
 
88
88
  // ../../node_modules/react/cjs/react.production.min.js
89
89
  var require_react_production_min = __commonJS({
@@ -10651,6 +10651,7 @@ var require_extsprintf = __commonJS({
10651
10651
  break;
10652
10652
  case "d":
10653
10653
  arg = Math.floor(arg);
10654
+ /*jsl:fallthru*/
10654
10655
  case "f":
10655
10656
  sign = sign && arg > 0 ? "+" : "";
10656
10657
  ret += sign + doPad(
@@ -14249,6 +14250,7 @@ var require_http = __commonJS({
14249
14250
  var lastRequest = res.req || req;
14250
14251
  if (res.statusCode !== 204 && lastRequest.method !== "HEAD" && config.decompress !== false) {
14251
14252
  switch (res.headers["content-encoding"]) {
14253
+ /*eslint default-case:0*/
14252
14254
  case "gzip":
14253
14255
  case "compress":
14254
14256
  case "deflate":
@@ -18204,6 +18206,8 @@ var require_semver = __commonJS({
18204
18206
  this.inc("patch", identifier, identifierBase);
18205
18207
  this.inc("pre", identifier, identifierBase);
18206
18208
  break;
18209
+ // If the input is a non-prerelease version, this acts the same as
18210
+ // prepatch.
18207
18211
  case "prerelease":
18208
18212
  if (this.prerelease.length === 0) {
18209
18213
  this.inc("patch", identifier, identifierBase);
@@ -18237,6 +18241,8 @@ var require_semver = __commonJS({
18237
18241
  }
18238
18242
  this.prerelease = [];
18239
18243
  break;
18244
+ // This probably shouldn't be used publicly.
18245
+ // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
18240
18246
  case "pre": {
18241
18247
  const base = Number(identifierBase) ? 1 : 0;
18242
18248
  if (this.prerelease.length === 0) {
@@ -19338,6 +19344,7 @@ var require_min_version = __commonJS({
19338
19344
  compver.prerelease.push(0);
19339
19345
  }
19340
19346
  compver.raw = compver.format();
19347
+ /* fallthrough */
19341
19348
  case "":
19342
19349
  case ">=":
19343
19350
  if (!setMin || gt(compver, setMin)) {
@@ -19347,6 +19354,7 @@ var require_min_version = __commonJS({
19347
19354
  case "<":
19348
19355
  case "<=":
19349
19356
  break;
19357
+ /* istanbul ignore next */
19350
19358
  default:
19351
19359
  throw new Error(`Unexpected operation: ${comparator.operator}`);
19352
19360
  }
@@ -41966,6 +41974,7 @@ var require_util3 = __commonJS({
41966
41974
  return true;
41967
41975
  }
41968
41976
  switch (field) {
41977
+ // eslint-disable-line default-case
41969
41978
  case "true": {
41970
41979
  return true;
41971
41980
  }
@@ -43932,17 +43941,21 @@ var require_ejs = __commonJS({
43932
43941
  }
43933
43942
  }
43934
43943
  switch (this.mode) {
43944
+ // Just executing code
43935
43945
  case Template.modes.EVAL:
43936
43946
  this.source += " ; " + line + "\n";
43937
43947
  break;
43948
+ // Exec, esc, and output
43938
43949
  case Template.modes.ESCAPED:
43939
43950
  this.source += " ; __append(escapeFn(" + stripSemi(line) + "))\n";
43940
43951
  break;
43952
+ // Exec and output
43941
43953
  case Template.modes.RAW:
43942
43954
  this.source += " ; __append(" + stripSemi(line) + ")\n";
43943
43955
  break;
43944
43956
  case Template.modes.COMMENT:
43945
43957
  break;
43958
+ // Literal <%% mode, append as raw output
43946
43959
  case Template.modes.LITERAL:
43947
43960
  this._addOutput(line);
43948
43961
  break;
@@ -49131,7 +49144,7 @@ var styles_default = styles2;
49131
49144
  // ../../node_modules/ink/build/reconciler.js
49132
49145
  if (process3.env["DEV"] === "true") {
49133
49146
  try {
49134
- await import("./devtools-JB2HYTEA.js");
49147
+ await import("./devtools-ZMIKPDMD.js");
49135
49148
  } catch (error) {
49136
49149
  if (error.code === "MODULE_NOT_FOUND") {
49137
49150
  console.warn(`
@@ -52548,6 +52561,7 @@ function SelectInput2({
52548
52561
  info,
52549
52562
  options,
52550
52563
  isActive,
52564
+ value: value2,
52551
52565
  onSubmit,
52552
52566
  limit = 10,
52553
52567
  initialIndex
@@ -52556,19 +52570,19 @@ function SelectInput2({
52556
52570
  throw new Error("SelectInput: options cannot be empty");
52557
52571
  }
52558
52572
  const [inputState, setInputState] = (0, import_react47.useState)(
52559
- () => InputState.NotSubmitted()
52573
+ () => value2 ?? InputState.NotSubmitted()
52560
52574
  );
52561
52575
  const handleHighlight = (0, import_react47.useCallback)(
52562
- ({ value: value2 }) => {
52563
- setInputState(InputState.NotSubmitted(value2));
52576
+ ({ value: value3 }) => {
52577
+ setInputState(InputState.NotSubmitted(value3));
52564
52578
  },
52565
52579
  []
52566
52580
  );
52567
52581
  const handleSelect = (0, import_react47.useCallback)(
52568
- ({ value: value2 }) => {
52569
- if (!(0, import_variant7.isType)(value2.availability, SelectOptionAvailability.Disabled)) {
52570
- setInputState(InputState.Submitted(value2));
52571
- onSubmit(value2);
52582
+ ({ value: value3 }) => {
52583
+ if (!(0, import_variant7.isType)(value3.availability, SelectOptionAvailability.Disabled)) {
52584
+ setInputState(InputState.Submitted(value3));
52585
+ onSubmit(value3);
52572
52586
  }
52573
52587
  },
52574
52588
  [onSubmit]
@@ -52586,6 +52600,11 @@ function SelectInput2({
52586
52600
  setInputState(InputState.NotSubmitted(inputState.value));
52587
52601
  }
52588
52602
  }, [isActive]);
52603
+ (0, import_react47.useEffect)(() => {
52604
+ if (value2) {
52605
+ setInputState(value2);
52606
+ }
52607
+ }, [value2, setInputState]);
52589
52608
  return /* @__PURE__ */ import_react47.default.createElement(import_react47.default.Fragment, null, /* @__PURE__ */ import_react47.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react47.default.createElement(Text2, null, /* @__PURE__ */ import_react47.default.createElement(InputLabel, null, label), " ", info && (0, import_variant7.isType)(inputState, InputState.NotSubmitted) && /* @__PURE__ */ import_react47.default.createElement(Text2, { skin: "secondary" }, info))), /* @__PURE__ */ import_react47.default.createElement(Placeholder2, { inputState }), (0, import_variant7.isType)(inputState, InputState.NotSubmitted) && /* @__PURE__ */ import_react47.default.createElement(Box_default, null, /* @__PURE__ */ import_react47.default.createElement(
52590
52609
  SelectInput_default,
52591
52610
  {
@@ -57437,6 +57456,7 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57437
57456
  UploadApplicationFailed: {},
57438
57457
  FailedToCreateDevCenterApp: {},
57439
57458
  FailedToCreateDevCenterOAuthApp: {},
57459
+ FailedToUpdateDevCenterOAuthApp: {},
57440
57460
  FailedToAddPermission: {},
57441
57461
  FailedToGetPlacements: {},
57442
57462
  FailedToGetAppSecret: {},
@@ -57640,7 +57660,8 @@ var CliUserErrorCode = (0, import_variant11.variant)({
57640
57660
  FailedToCleanDistFolder: {},
57641
57661
  FailedToIdentifyProgramFlow: (0, import_variant11.fields)(),
57642
57662
  BuildOutputMissing: (0, import_variant11.fields)(),
57643
- FailedToCreateMonitoringVitePlugin: (0, import_variant11.fields)()
57663
+ FailedToCreateMonitoringVitePlugin: (0, import_variant11.fields)(),
57664
+ FailedToSyncVeloCLIServerDocumentUpdate: {}
57644
57665
  });
57645
57666
  var CliErrorCode = (0, import_variant11.variant)({
57646
57667
  ...CliSystemErrorCode,
@@ -58401,6 +58422,12 @@ function resolveComWixpressAccountApiAccountServiceUrl(opts) {
58401
58422
  srcPath: "/_api/account-server",
58402
58423
  destPath: ""
58403
58424
  }
58425
+ ],
58426
+ "twins._base_domain_": [
58427
+ {
58428
+ srcPath: "/_api/account-server",
58429
+ destPath: ""
58430
+ }
58404
58431
  ]
58405
58432
  };
58406
58433
  return resolveUrl(Object.assign(opts, { domainToMappings }));
@@ -58874,7 +58901,7 @@ var AuthClient = class {
58874
58901
  const { data } = await httpClient.request(getMyAccount({}));
58875
58902
  return getMyAccountSchema.parse(data).account;
58876
58903
  } catch (error) {
58877
- if (isHttpError(error) && error.response?.status === 428 && error.response.data?.details?.applicationError?.code === 48876) {
58904
+ if (isHttpError(error) && error.response?.status === 428 && error.response.data?.details?.applicationError?.code === "48876") {
58878
58905
  throw new CliError({
58879
58906
  code: CliErrorCode.InvalidApiKey(),
58880
58907
  cause: error
@@ -60532,9 +60559,11 @@ function parseDateTimeSkeleton(skeleton) {
60532
60559
  skeleton.replace(DATE_TIME_REGEX, function(match22) {
60533
60560
  var len = match22.length;
60534
60561
  switch (match22[0]) {
60562
+ // Era
60535
60563
  case "G":
60536
60564
  result.era = len === 4 ? "long" : len === 5 ? "narrow" : "short";
60537
60565
  break;
60566
+ // Year
60538
60567
  case "y":
60539
60568
  result.year = len === 2 ? "2-digit" : "numeric";
60540
60569
  break;
@@ -60543,13 +60572,16 @@ function parseDateTimeSkeleton(skeleton) {
60543
60572
  case "U":
60544
60573
  case "r":
60545
60574
  throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
60575
+ // Quarter
60546
60576
  case "q":
60547
60577
  case "Q":
60548
60578
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
60579
+ // Month
60549
60580
  case "M":
60550
60581
  case "L":
60551
60582
  result.month = ["numeric", "2-digit", "short", "long", "narrow"][len - 1];
60552
60583
  break;
60584
+ // Week
60553
60585
  case "w":
60554
60586
  case "W":
60555
60587
  throw new RangeError("`w/W` (week) patterns are not supported");
@@ -60560,6 +60592,7 @@ function parseDateTimeSkeleton(skeleton) {
60560
60592
  case "F":
60561
60593
  case "g":
60562
60594
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
60595
+ // Weekday
60563
60596
  case "E":
60564
60597
  result.weekday = len === 4 ? "long" : len === 5 ? "narrow" : "short";
60565
60598
  break;
@@ -60575,12 +60608,15 @@ function parseDateTimeSkeleton(skeleton) {
60575
60608
  }
60576
60609
  result.weekday = ["short", "long", "narrow", "short"][len - 4];
60577
60610
  break;
60611
+ // Period
60578
60612
  case "a":
60579
60613
  result.hour12 = true;
60580
60614
  break;
60581
60615
  case "b":
60616
+ // am, pm, noon, midnight
60582
60617
  case "B":
60583
60618
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
60619
+ // Hour
60584
60620
  case "h":
60585
60621
  result.hourCycle = "h12";
60586
60622
  result.hour = ["numeric", "2-digit"][len - 1];
@@ -60601,23 +60637,31 @@ function parseDateTimeSkeleton(skeleton) {
60601
60637
  case "J":
60602
60638
  case "C":
60603
60639
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
60640
+ // Minute
60604
60641
  case "m":
60605
60642
  result.minute = ["numeric", "2-digit"][len - 1];
60606
60643
  break;
60644
+ // Second
60607
60645
  case "s":
60608
60646
  result.second = ["numeric", "2-digit"][len - 1];
60609
60647
  break;
60610
60648
  case "S":
60611
60649
  case "A":
60612
60650
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
60651
+ // Zone
60613
60652
  case "z":
60614
60653
  result.timeZoneName = len < 4 ? "short" : "long";
60615
60654
  break;
60616
60655
  case "Z":
60656
+ // 1..3, 4, 5: The ISO8601 varios formats
60617
60657
  case "O":
60658
+ // 1, 4: milliseconds in day short, long
60618
60659
  case "v":
60660
+ // 1, 4: generic non-location format
60619
60661
  case "V":
60662
+ // 1, 2, 3, 4: time zone ID or city
60620
60663
  case "X":
60664
+ // 1, 2, 3, 4: The ISO8601 varios formats
60621
60665
  case "x":
60622
60666
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
60623
60667
  }
@@ -60820,6 +60864,7 @@ function parseNumberSkeleton(tokens) {
60820
60864
  case "notation-simple":
60821
60865
  result.notation = "standard";
60822
60866
  continue;
60867
+ // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
60823
60868
  case "unit-width-narrow":
60824
60869
  result.currencyDisplay = "narrowSymbol";
60825
60870
  result.unitDisplay = "narrow";
@@ -60859,6 +60904,7 @@ function parseNumberSkeleton(tokens) {
60859
60904
  case "rounding-mode-half-up":
60860
60905
  result.roundingMode = "halfExpand";
60861
60906
  continue;
60907
+ // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
60862
60908
  case "integer-width":
60863
60909
  if (token2.options.length > 1) {
60864
60910
  throw new RangeError("integer-width stems only accept a single optional option");
@@ -62703,6 +62749,7 @@ var Parser = (
62703
62749
  this.bump();
62704
62750
  this.bump();
62705
62751
  return "'";
62752
+ // '{', '<', '>', '}'
62706
62753
  case 123:
62707
62754
  case 60:
62708
62755
  case 62:
@@ -62768,6 +62815,7 @@ var Parser = (
62768
62815
  return this.error(ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE, createLocation(openingBracePosition, this.clonePosition()));
62769
62816
  }
62770
62817
  switch (this.char()) {
62818
+ // Simple argument: `{name}`
62771
62819
  case 125: {
62772
62820
  this.bump();
62773
62821
  return {
@@ -62780,6 +62828,7 @@ var Parser = (
62780
62828
  err: null
62781
62829
  };
62782
62830
  }
62831
+ // Argument with options: `{name, format, ...}`
62783
62832
  case 44: {
62784
62833
  this.bump();
62785
62834
  this.bumpSpace();
@@ -66985,6 +67034,9 @@ function getErrorComponent(code, cause) {
66985
67034
  FailedToCreateDevCenterOAuthApp: () => {
66986
67035
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to register your oauth application in Wix" });
66987
67036
  },
67037
+ FailedToUpdateDevCenterOAuthApp: () => {
67038
+ return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to update your oauth application in Wix" });
67039
+ },
66988
67040
  FailedToAddPermission: () => {
66989
67041
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to add permission" });
66990
67042
  },
@@ -67916,6 +67968,15 @@ function getErrorComponent(code, cause) {
67916
67968
  }
67917
67969
  );
67918
67970
  },
67971
+ FailedToSyncVeloCLIServerDocumentUpdate: () => {
67972
+ return () => /* @__PURE__ */ import_react78.default.createElement(
67973
+ ErrorMessage,
67974
+ {
67975
+ cause,
67976
+ message: "Failed to sync local file system document updates with the Editor."
67977
+ }
67978
+ );
67979
+ },
67919
67980
  CreateVersionDeprecated: ({ packageManagerRunCmd }) => {
67920
67981
  return () => /* @__PURE__ */ import_react78.default.createElement(
67921
67982
  CreateVersionDeprecationMessage,
@@ -68512,7 +68573,7 @@ var _nativeNodeFetchIntegration = (options = {}) => {
68512
68573
  return;
68513
68574
  }
68514
68575
  try {
68515
- const pkg = await import("./build-LO6DVUZE.js");
68576
+ const pkg = await import("./build-6IMWAXMA.js");
68516
68577
  const { FetchInstrumentation } = pkg;
68517
68578
  class SentryNodeFetchInstrumentation extends FetchInstrumentation {
68518
68579
  // We extend this method so we have access to request _and_ response for the breadcrumb
@@ -70912,7 +70973,7 @@ function createErrorReporter({ dsn, release: release2 }) {
70912
70973
  return result;
70913
70974
  },
70914
70975
  reportUserFeedback: async ({ userId, eventId, feedback }) => {
70915
- const { BrowserClient } = await import("./esm-CPSMWZLI.js");
70976
+ const { BrowserClient } = await import("./esm-KPR2HWDF.js");
70916
70977
  const client2 = new BrowserClient({
70917
70978
  enabled: sentryClient.getOptions().enabled,
70918
70979
  dsn: sentryClient.getOptions().dsn,
@@ -71040,6 +71101,7 @@ var UserFeedbackForm = ({ onSubmit }) => {
71040
71101
  return /* @__PURE__ */ import_react81.default.createElement(import_react81.default.Fragment, null, /* @__PURE__ */ import_react81.default.createElement(Box_default, { flexDirection: "column", marginTop: 1, marginBottom: 1 }, /* @__PURE__ */ import_react81.default.createElement(Text2, null, t3("user_feedback.title")), /* @__PURE__ */ import_react81.default.createElement(Text2, { skin: "secondary" }, t3("user_feedback.subtitle"))), /* @__PURE__ */ import_react81.default.createElement(
71041
71102
  ConfirmInput,
71042
71103
  {
71104
+ initialValue: false,
71043
71105
  label: t3("user_feedback.consent.label"),
71044
71106
  onSubmit: handleConsentSubmit
71045
71107
  }
@@ -71681,7 +71743,7 @@ function reportCommandStartEvent({
71681
71743
  var package_default = {
71682
71744
  name: "@wix/create-app",
71683
71745
  description: "Create Wix apps",
71684
- version: "0.0.118",
71746
+ version: "0.0.120",
71685
71747
  author: "Ihor Machuzhak",
71686
71748
  bin: "bin/index.cjs",
71687
71749
  devDependencies: {
@@ -71691,7 +71753,7 @@ var package_default = {
71691
71753
  "@types/react": "^18.3.3",
71692
71754
  "@types/semver": "^7.5.8",
71693
71755
  "@types/validate-npm-package-name": "^4.0.2",
71694
- "@wix/bi-logger-dev-tools-data": "^1.111.0",
71756
+ "@wix/bi-logger-dev-tools-data": "^1.112.0",
71695
71757
  "@wix/cli-auth": "workspace:*",
71696
71758
  "@wix/cli-error": "workspace:*",
71697
71759
  "@wix/cli-error-reporting": "workspace:*",
@@ -75826,6 +75888,11 @@ init_esm_shims();
75826
75888
  var _createOAuthAppRequest = { oAuthApp: "_oAuthApp" };
75827
75889
  var _createOAuthAppResponse = { oAuthApp: "_oAuthApp" };
75828
75890
  var _oAuthApp = { createdDate: "google.protobuf.Timestamp" };
75891
+ var _updateOAuthAppRequest = {
75892
+ mask: "google.protobuf.FieldMask",
75893
+ oAuthApp: "_oAuthApp"
75894
+ };
75895
+ var _updateOAuthAppResponse = { oAuthApp: "_oAuthApp" };
75829
75896
  function resolveWixHeadlessV1OAuthAppServiceUrl(opts) {
75830
75897
  var domainToMappings = {
75831
75898
  "manage._base_domain_": [
@@ -75879,6 +75946,32 @@ function createOAuthApp(payload5) {
75879
75946
  __createOAuthApp.__isAmbassador = true;
75880
75947
  return __createOAuthApp;
75881
75948
  }
75949
+ function updateOAuthApp(payload5) {
75950
+ var _a3 = serializer(_updateOAuthAppRequest, { _oAuthApp }), toReq = _a3.toJSON, fromReq = _a3.fromJSON;
75951
+ var fromRes = serializer(_updateOAuthAppResponse, {
75952
+ _oAuthApp
75953
+ }).fromJSON;
75954
+ function __updateOAuthApp(_a4) {
75955
+ var host = _a4.host;
75956
+ var serializedData = toReq(payload5);
75957
+ var metadata = {
75958
+ entityFqdn: "wix.headless.v1.o_auth_app",
75959
+ method: "PATCH",
75960
+ methodFqn: "wix.headless.v1.OAuthAppService.UpdateOAuthApp",
75961
+ url: resolveWixHeadlessV1OAuthAppServiceUrl({
75962
+ protoPath: "/v1/oauth-apps/{oAuthApp.id}",
75963
+ data: serializedData,
75964
+ host
75965
+ }),
75966
+ data: serializedData,
75967
+ transformResponse: fromRes
75968
+ };
75969
+ return metadata;
75970
+ }
75971
+ __updateOAuthApp.fromReq = fromReq;
75972
+ __updateOAuthApp.__isAmbassador = true;
75973
+ return __updateOAuthApp;
75974
+ }
75882
75975
 
75883
75976
  // ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-version/build/es/http.impl.js
75884
75977
  init_esm_shims();
@@ -77256,6 +77349,9 @@ var ComponentType;
77256
77349
  ComponentType3["BACKEND_WORKER"] = "BACKEND_WORKER";
77257
77350
  ComponentType3["EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER"] = "EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER";
77258
77351
  ComponentType3["WIX_HOSTING_APP_ENVIRONMENT_PROVIDER"] = "WIX_HOSTING_APP_ENVIRONMENT_PROVIDER";
77352
+ ComponentType3["SDK_EXPORTS"] = "SDK_EXPORTS";
77353
+ ComponentType3["VIEWER_SERVICE"] = "VIEWER_SERVICE";
77354
+ ComponentType3["WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN"] = "WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN";
77259
77355
  })(ComponentType || (ComponentType = {}));
77260
77356
  var WidgetVertical;
77261
77357
  (function(WidgetVertical3) {
@@ -77647,6 +77743,7 @@ var Tag;
77647
77743
  Tag3["ECOM_CREATE_PAY_LINK"] = "ECOM_CREATE_PAY_LINK";
77648
77744
  Tag3["ECOM_DELIVERY_PROFILES"] = "ECOM_DELIVERY_PROFILES";
77649
77745
  Tag3["ADD_TO_CATEGORY"] = "ADD_TO_CATEGORY";
77746
+ Tag3["MY_BUSINESS"] = "MY_BUSINESS";
77650
77747
  })(Tag || (Tag = {}));
77651
77748
  var FilterSelectionType;
77652
77749
  (function(FilterSelectionType3) {
@@ -77899,6 +77996,8 @@ var DecorationType;
77899
77996
  DecorationType3["FONT_SIZE"] = "FONT_SIZE";
77900
77997
  DecorationType3["EXTERNAL"] = "EXTERNAL";
77901
77998
  DecorationType3["STRIKETHROUGH"] = "STRIKETHROUGH";
77999
+ DecorationType3["SUPERSCRIPT"] = "SUPERSCRIPT";
78000
+ DecorationType3["SUBSCRIPT"] = "SUBSCRIPT";
77902
78001
  })(DecorationType || (DecorationType = {}));
77903
78002
  var FontType;
77904
78003
  (function(FontType3) {
@@ -78469,6 +78568,7 @@ var FactorType;
78469
78568
  FactorType3["EMAIL"] = "EMAIL";
78470
78569
  FactorType3["TOTP"] = "TOTP";
78471
78570
  FactorType3["PUSH"] = "PUSH";
78571
+ FactorType3["WEBAUTHN"] = "WEBAUTHN";
78472
78572
  })(FactorType || (FactorType = {}));
78473
78573
  var MonitoringType;
78474
78574
  (function(MonitoringType3) {
@@ -78564,6 +78664,7 @@ var CssPropertyType;
78564
78664
  CssPropertyType3["backgroundRepeat"] = "backgroundRepeat";
78565
78665
  CssPropertyType3["backgroundAttachment"] = "backgroundAttachment";
78566
78666
  CssPropertyType3["fill"] = "fill";
78667
+ CssPropertyType3["fillOpacity"] = "fillOpacity";
78567
78668
  CssPropertyType3["margin"] = "margin";
78568
78669
  CssPropertyType3["marginTop"] = "marginTop";
78569
78670
  CssPropertyType3["marginRight"] = "marginRight";
@@ -78630,6 +78731,7 @@ var CssPropertyType;
78630
78731
  CssPropertyType3["textTransform"] = "textTransform";
78631
78732
  CssPropertyType3["textShadow"] = "textShadow";
78632
78733
  CssPropertyType3["textOverflow"] = "textOverflow";
78734
+ CssPropertyType3["textIndent"] = "textIndent";
78633
78735
  CssPropertyType3["textDecoration"] = "textDecoration";
78634
78736
  CssPropertyType3["textDecorationColor"] = "textDecorationColor";
78635
78737
  CssPropertyType3["textDecorationLine"] = "textDecorationLine";
@@ -78654,6 +78756,9 @@ var CssPropertyType;
78654
78756
  CssPropertyType3["objectPosition"] = "objectPosition";
78655
78757
  CssPropertyType3["mixBlendMode"] = "mixBlendMode";
78656
78758
  CssPropertyType3["isolation"] = "isolation";
78759
+ CssPropertyType3["stroke"] = "stroke";
78760
+ CssPropertyType3["strokeWidth"] = "strokeWidth";
78761
+ CssPropertyType3["strokeOpacity"] = "strokeOpacity";
78657
78762
  })(CssPropertyType || (CssPropertyType = {}));
78658
78763
  var CssDataType;
78659
78764
  (function(CssDataType3) {
@@ -78667,6 +78772,7 @@ var CssDataType;
78667
78772
  CssDataType3["blendMode"] = "blendMode";
78668
78773
  CssDataType3["customEnum"] = "customEnum";
78669
78774
  CssDataType3["string"] = "string";
78775
+ CssDataType3["time"] = "time";
78670
78776
  })(CssDataType || (CssDataType = {}));
78671
78777
  var FilterFunction;
78672
78778
  (function(FilterFunction3) {
@@ -78709,6 +78815,11 @@ var WritingModeValue;
78709
78815
  WritingModeValue3["sidewaysRl"] = "sidewaysRl";
78710
78816
  WritingModeValue3["sidewaysLr"] = "sidewaysLr";
78711
78817
  })(WritingModeValue || (WritingModeValue = {}));
78818
+ var BackgroundModeEnum;
78819
+ (function(BackgroundModeEnum3) {
78820
+ BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
78821
+ BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
78822
+ })(BackgroundModeEnum || (BackgroundModeEnum = {}));
78712
78823
  var DataType;
78713
78824
  (function(DataType3) {
78714
78825
  DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
@@ -78736,6 +78847,7 @@ var DataType;
78736
78847
  DataType3["container"] = "container";
78737
78848
  DataType3["arrayItems"] = "arrayItems";
78738
78849
  DataType3["direction"] = "direction";
78850
+ DataType3["menuItems"] = "menuItems";
78739
78851
  })(DataType || (DataType = {}));
78740
78852
  var A11yAttributes;
78741
78853
  (function(A11yAttributes3) {
@@ -78788,7 +78900,17 @@ var ContainerType;
78788
78900
  ContainerType3["simple"] = "simple";
78789
78901
  ContainerType3["slot"] = "slot";
78790
78902
  ContainerType3["placeholder"] = "placeholder";
78903
+ ContainerType3["template"] = "template";
78791
78904
  })(ContainerType || (ContainerType = {}));
78905
+ var ResizeDirection;
78906
+ (function(ResizeDirection3) {
78907
+ ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
78908
+ ResizeDirection3["horizontal"] = "horizontal";
78909
+ ResizeDirection3["vertical"] = "vertical";
78910
+ ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
78911
+ ResizeDirection3["aspectRatio"] = "aspectRatio";
78912
+ ResizeDirection3["none"] = "none";
78913
+ })(ResizeDirection || (ResizeDirection = {}));
78792
78914
  var ElementTypeEnumElementType;
78793
78915
  (function(ElementTypeEnumElementType2) {
78794
78916
  ElementTypeEnumElementType2["UNKNOWN_ElementType"] = "UNKNOWN_ElementType";
@@ -78868,15 +78990,14 @@ var Archetype;
78868
78990
  Archetype3["VectorArt"] = "VectorArt";
78869
78991
  Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
78870
78992
  })(Archetype || (Archetype = {}));
78871
- var ResizeDirection;
78872
- (function(ResizeDirection3) {
78873
- ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
78874
- ResizeDirection3["horizontal"] = "horizontal";
78875
- ResizeDirection3["vertical"] = "vertical";
78876
- ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
78877
- ResizeDirection3["aspectRatio"] = "aspectRatio";
78878
- ResizeDirection3["none"] = "none";
78879
- })(ResizeDirection || (ResizeDirection = {}));
78993
+ var NativeStateType;
78994
+ (function(NativeStateType3) {
78995
+ NativeStateType3["UNKNOWN_NativeStateType"] = "UNKNOWN_NativeStateType";
78996
+ NativeStateType3["hover"] = "hover";
78997
+ NativeStateType3["focus"] = "focus";
78998
+ NativeStateType3["disabled"] = "disabled";
78999
+ NativeStateType3["invalid"] = "invalid";
79000
+ })(NativeStateType || (NativeStateType = {}));
78880
79001
  var ContentResizeDirection;
78881
79002
  (function(ContentResizeDirection3) {
78882
79003
  ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
@@ -78885,6 +79006,17 @@ var ContentResizeDirection;
78885
79006
  ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
78886
79007
  ContentResizeDirection3["none"] = "none";
78887
79008
  })(ContentResizeDirection || (ContentResizeDirection = {}));
79009
+ var InteractionsTrigger;
79010
+ (function(InteractionsTrigger3) {
79011
+ InteractionsTrigger3["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
79012
+ InteractionsTrigger3["hover"] = "hover";
79013
+ InteractionsTrigger3["click"] = "click";
79014
+ InteractionsTrigger3["viewEnter"] = "viewEnter";
79015
+ InteractionsTrigger3["pageVisible"] = "pageVisible";
79016
+ InteractionsTrigger3["viewProgress"] = "viewProgress";
79017
+ InteractionsTrigger3["pointerMove"] = "pointerMove";
79018
+ InteractionsTrigger3["animationEnd"] = "animationEnd";
79019
+ })(InteractionsTrigger || (InteractionsTrigger = {}));
78888
79020
  var RestrictionLevel;
78889
79021
  (function(RestrictionLevel3) {
78890
79022
  RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
@@ -79219,6 +79351,8 @@ var ComponentType2;
79219
79351
  ComponentType3["EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER"] = "EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER";
79220
79352
  ComponentType3["WIX_HOSTING_APP_ENVIRONMENT_PROVIDER"] = "WIX_HOSTING_APP_ENVIRONMENT_PROVIDER";
79221
79353
  ComponentType3["SDK_EXPORTS"] = "SDK_EXPORTS";
79354
+ ComponentType3["VIEWER_SERVICE"] = "VIEWER_SERVICE";
79355
+ ComponentType3["WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN"] = "WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN";
79222
79356
  })(ComponentType2 || (ComponentType2 = {}));
79223
79357
  var WidgetVertical2;
79224
79358
  (function(WidgetVertical3) {
@@ -79610,6 +79744,7 @@ var Tag2;
79610
79744
  Tag3["ECOM_CREATE_PAY_LINK"] = "ECOM_CREATE_PAY_LINK";
79611
79745
  Tag3["ECOM_DELIVERY_PROFILES"] = "ECOM_DELIVERY_PROFILES";
79612
79746
  Tag3["ADD_TO_CATEGORY"] = "ADD_TO_CATEGORY";
79747
+ Tag3["MY_BUSINESS"] = "MY_BUSINESS";
79613
79748
  })(Tag2 || (Tag2 = {}));
79614
79749
  var FilterSelectionType2;
79615
79750
  (function(FilterSelectionType3) {
@@ -79862,6 +79997,8 @@ var DecorationType2;
79862
79997
  DecorationType3["FONT_SIZE"] = "FONT_SIZE";
79863
79998
  DecorationType3["EXTERNAL"] = "EXTERNAL";
79864
79999
  DecorationType3["STRIKETHROUGH"] = "STRIKETHROUGH";
80000
+ DecorationType3["SUPERSCRIPT"] = "SUPERSCRIPT";
80001
+ DecorationType3["SUBSCRIPT"] = "SUBSCRIPT";
79865
80002
  })(DecorationType2 || (DecorationType2 = {}));
79866
80003
  var FontType2;
79867
80004
  (function(FontType3) {
@@ -80432,6 +80569,7 @@ var FactorType2;
80432
80569
  FactorType3["EMAIL"] = "EMAIL";
80433
80570
  FactorType3["TOTP"] = "TOTP";
80434
80571
  FactorType3["PUSH"] = "PUSH";
80572
+ FactorType3["WEBAUTHN"] = "WEBAUTHN";
80435
80573
  })(FactorType2 || (FactorType2 = {}));
80436
80574
  var MonitoringType2;
80437
80575
  (function(MonitoringType3) {
@@ -80527,6 +80665,7 @@ var CssPropertyType2;
80527
80665
  CssPropertyType3["backgroundRepeat"] = "backgroundRepeat";
80528
80666
  CssPropertyType3["backgroundAttachment"] = "backgroundAttachment";
80529
80667
  CssPropertyType3["fill"] = "fill";
80668
+ CssPropertyType3["fillOpacity"] = "fillOpacity";
80530
80669
  CssPropertyType3["margin"] = "margin";
80531
80670
  CssPropertyType3["marginTop"] = "marginTop";
80532
80671
  CssPropertyType3["marginRight"] = "marginRight";
@@ -80593,6 +80732,7 @@ var CssPropertyType2;
80593
80732
  CssPropertyType3["textTransform"] = "textTransform";
80594
80733
  CssPropertyType3["textShadow"] = "textShadow";
80595
80734
  CssPropertyType3["textOverflow"] = "textOverflow";
80735
+ CssPropertyType3["textIndent"] = "textIndent";
80596
80736
  CssPropertyType3["textDecoration"] = "textDecoration";
80597
80737
  CssPropertyType3["textDecorationColor"] = "textDecorationColor";
80598
80738
  CssPropertyType3["textDecorationLine"] = "textDecorationLine";
@@ -80617,6 +80757,9 @@ var CssPropertyType2;
80617
80757
  CssPropertyType3["objectPosition"] = "objectPosition";
80618
80758
  CssPropertyType3["mixBlendMode"] = "mixBlendMode";
80619
80759
  CssPropertyType3["isolation"] = "isolation";
80760
+ CssPropertyType3["stroke"] = "stroke";
80761
+ CssPropertyType3["strokeWidth"] = "strokeWidth";
80762
+ CssPropertyType3["strokeOpacity"] = "strokeOpacity";
80620
80763
  })(CssPropertyType2 || (CssPropertyType2 = {}));
80621
80764
  var CssDataType2;
80622
80765
  (function(CssDataType3) {
@@ -80673,6 +80816,11 @@ var WritingModeValue2;
80673
80816
  WritingModeValue3["sidewaysRl"] = "sidewaysRl";
80674
80817
  WritingModeValue3["sidewaysLr"] = "sidewaysLr";
80675
80818
  })(WritingModeValue2 || (WritingModeValue2 = {}));
80819
+ var BackgroundModeEnum2;
80820
+ (function(BackgroundModeEnum3) {
80821
+ BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
80822
+ BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
80823
+ })(BackgroundModeEnum2 || (BackgroundModeEnum2 = {}));
80676
80824
  var DataType2;
80677
80825
  (function(DataType3) {
80678
80826
  DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
@@ -80700,6 +80848,7 @@ var DataType2;
80700
80848
  DataType3["container"] = "container";
80701
80849
  DataType3["arrayItems"] = "arrayItems";
80702
80850
  DataType3["direction"] = "direction";
80851
+ DataType3["menuItems"] = "menuItems";
80703
80852
  })(DataType2 || (DataType2 = {}));
80704
80853
  var A11yAttributes2;
80705
80854
  (function(A11yAttributes3) {
@@ -80752,7 +80901,17 @@ var ContainerType2;
80752
80901
  ContainerType3["simple"] = "simple";
80753
80902
  ContainerType3["slot"] = "slot";
80754
80903
  ContainerType3["placeholder"] = "placeholder";
80904
+ ContainerType3["template"] = "template";
80755
80905
  })(ContainerType2 || (ContainerType2 = {}));
80906
+ var ResizeDirection2;
80907
+ (function(ResizeDirection3) {
80908
+ ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
80909
+ ResizeDirection3["horizontal"] = "horizontal";
80910
+ ResizeDirection3["vertical"] = "vertical";
80911
+ ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
80912
+ ResizeDirection3["aspectRatio"] = "aspectRatio";
80913
+ ResizeDirection3["none"] = "none";
80914
+ })(ResizeDirection2 || (ResizeDirection2 = {}));
80756
80915
  var ElementType2;
80757
80916
  (function(ElementType3) {
80758
80917
  ElementType3["UNKNOWN_ElementType"] = "UNKNOWN_ElementType";
@@ -80832,15 +80991,14 @@ var Archetype2;
80832
80991
  Archetype3["VectorArt"] = "VectorArt";
80833
80992
  Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
80834
80993
  })(Archetype2 || (Archetype2 = {}));
80835
- var ResizeDirection2;
80836
- (function(ResizeDirection3) {
80837
- ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
80838
- ResizeDirection3["horizontal"] = "horizontal";
80839
- ResizeDirection3["vertical"] = "vertical";
80840
- ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
80841
- ResizeDirection3["aspectRatio"] = "aspectRatio";
80842
- ResizeDirection3["none"] = "none";
80843
- })(ResizeDirection2 || (ResizeDirection2 = {}));
80994
+ var NativeStateType2;
80995
+ (function(NativeStateType3) {
80996
+ NativeStateType3["UNKNOWN_NativeStateType"] = "UNKNOWN_NativeStateType";
80997
+ NativeStateType3["hover"] = "hover";
80998
+ NativeStateType3["focus"] = "focus";
80999
+ NativeStateType3["disabled"] = "disabled";
81000
+ NativeStateType3["invalid"] = "invalid";
81001
+ })(NativeStateType2 || (NativeStateType2 = {}));
80844
81002
  var ContentResizeDirection2;
80845
81003
  (function(ContentResizeDirection3) {
80846
81004
  ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
@@ -80849,6 +81007,17 @@ var ContentResizeDirection2;
80849
81007
  ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
80850
81008
  ContentResizeDirection3["none"] = "none";
80851
81009
  })(ContentResizeDirection2 || (ContentResizeDirection2 = {}));
81010
+ var InteractionsTrigger2;
81011
+ (function(InteractionsTrigger3) {
81012
+ InteractionsTrigger3["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
81013
+ InteractionsTrigger3["hover"] = "hover";
81014
+ InteractionsTrigger3["click"] = "click";
81015
+ InteractionsTrigger3["viewEnter"] = "viewEnter";
81016
+ InteractionsTrigger3["pageVisible"] = "pageVisible";
81017
+ InteractionsTrigger3["viewProgress"] = "viewProgress";
81018
+ InteractionsTrigger3["pointerMove"] = "pointerMove";
81019
+ InteractionsTrigger3["animationEnd"] = "animationEnd";
81020
+ })(InteractionsTrigger2 || (InteractionsTrigger2 = {}));
80852
81021
  var RestrictionLevel2;
80853
81022
  (function(RestrictionLevel3) {
80854
81023
  RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
@@ -81191,6 +81360,22 @@ var DevCenterClient = class {
81191
81360
  });
81192
81361
  }
81193
81362
  };
81363
+ updateOAuthApp = async (oAuthApp) => {
81364
+ try {
81365
+ const { data } = await this.httpClient.request(
81366
+ updateOAuthApp({
81367
+ oAuthApp,
81368
+ mask: ["allowedDomains", "allowedRedirectUris"]
81369
+ })
81370
+ );
81371
+ return createOAuthAppSchema.parse(data).oAuthApp;
81372
+ } catch (e2) {
81373
+ throw new CliError({
81374
+ code: CliErrorCode.FailedToUpdateDevCenterOAuthApp(),
81375
+ cause: e2
81376
+ });
81377
+ }
81378
+ };
81194
81379
  getAppSecret = async (req) => {
81195
81380
  try {
81196
81381
  const { data } = await pRetry(