@wix/create-app 0.0.119 → 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
@@ -52561,6 +52561,7 @@ function SelectInput2({
52561
52561
  info,
52562
52562
  options,
52563
52563
  isActive,
52564
+ value: value2,
52564
52565
  onSubmit,
52565
52566
  limit = 10,
52566
52567
  initialIndex
@@ -52569,19 +52570,19 @@ function SelectInput2({
52569
52570
  throw new Error("SelectInput: options cannot be empty");
52570
52571
  }
52571
52572
  const [inputState, setInputState] = (0, import_react47.useState)(
52572
- () => InputState.NotSubmitted()
52573
+ () => value2 ?? InputState.NotSubmitted()
52573
52574
  );
52574
52575
  const handleHighlight = (0, import_react47.useCallback)(
52575
- ({ value: value2 }) => {
52576
- setInputState(InputState.NotSubmitted(value2));
52576
+ ({ value: value3 }) => {
52577
+ setInputState(InputState.NotSubmitted(value3));
52577
52578
  },
52578
52579
  []
52579
52580
  );
52580
52581
  const handleSelect = (0, import_react47.useCallback)(
52581
- ({ value: value2 }) => {
52582
- if (!(0, import_variant7.isType)(value2.availability, SelectOptionAvailability.Disabled)) {
52583
- setInputState(InputState.Submitted(value2));
52584
- onSubmit(value2);
52582
+ ({ value: value3 }) => {
52583
+ if (!(0, import_variant7.isType)(value3.availability, SelectOptionAvailability.Disabled)) {
52584
+ setInputState(InputState.Submitted(value3));
52585
+ onSubmit(value3);
52585
52586
  }
52586
52587
  },
52587
52588
  [onSubmit]
@@ -52599,6 +52600,11 @@ function SelectInput2({
52599
52600
  setInputState(InputState.NotSubmitted(inputState.value));
52600
52601
  }
52601
52602
  }, [isActive]);
52603
+ (0, import_react47.useEffect)(() => {
52604
+ if (value2) {
52605
+ setInputState(value2);
52606
+ }
52607
+ }, [value2, setInputState]);
52602
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(
52603
52609
  SelectInput_default,
52604
52610
  {
@@ -57450,6 +57456,7 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57450
57456
  UploadApplicationFailed: {},
57451
57457
  FailedToCreateDevCenterApp: {},
57452
57458
  FailedToCreateDevCenterOAuthApp: {},
57459
+ FailedToUpdateDevCenterOAuthApp: {},
57453
57460
  FailedToAddPermission: {},
57454
57461
  FailedToGetPlacements: {},
57455
57462
  FailedToGetAppSecret: {},
@@ -57653,7 +57660,8 @@ var CliUserErrorCode = (0, import_variant11.variant)({
57653
57660
  FailedToCleanDistFolder: {},
57654
57661
  FailedToIdentifyProgramFlow: (0, import_variant11.fields)(),
57655
57662
  BuildOutputMissing: (0, import_variant11.fields)(),
57656
- FailedToCreateMonitoringVitePlugin: (0, import_variant11.fields)()
57663
+ FailedToCreateMonitoringVitePlugin: (0, import_variant11.fields)(),
57664
+ FailedToSyncVeloCLIServerDocumentUpdate: {}
57657
57665
  });
57658
57666
  var CliErrorCode = (0, import_variant11.variant)({
57659
57667
  ...CliSystemErrorCode,
@@ -58414,6 +58422,12 @@ function resolveComWixpressAccountApiAccountServiceUrl(opts) {
58414
58422
  srcPath: "/_api/account-server",
58415
58423
  destPath: ""
58416
58424
  }
58425
+ ],
58426
+ "twins._base_domain_": [
58427
+ {
58428
+ srcPath: "/_api/account-server",
58429
+ destPath: ""
58430
+ }
58417
58431
  ]
58418
58432
  };
58419
58433
  return resolveUrl(Object.assign(opts, { domainToMappings }));
@@ -67020,6 +67034,9 @@ function getErrorComponent(code, cause) {
67020
67034
  FailedToCreateDevCenterOAuthApp: () => {
67021
67035
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to register your oauth application in Wix" });
67022
67036
  },
67037
+ FailedToUpdateDevCenterOAuthApp: () => {
67038
+ return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to update your oauth application in Wix" });
67039
+ },
67023
67040
  FailedToAddPermission: () => {
67024
67041
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to add permission" });
67025
67042
  },
@@ -67951,6 +67968,15 @@ function getErrorComponent(code, cause) {
67951
67968
  }
67952
67969
  );
67953
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
+ },
67954
67980
  CreateVersionDeprecated: ({ packageManagerRunCmd }) => {
67955
67981
  return () => /* @__PURE__ */ import_react78.default.createElement(
67956
67982
  CreateVersionDeprecationMessage,
@@ -71717,7 +71743,7 @@ function reportCommandStartEvent({
71717
71743
  var package_default = {
71718
71744
  name: "@wix/create-app",
71719
71745
  description: "Create Wix apps",
71720
- version: "0.0.119",
71746
+ version: "0.0.120",
71721
71747
  author: "Ihor Machuzhak",
71722
71748
  bin: "bin/index.cjs",
71723
71749
  devDependencies: {
@@ -75862,6 +75888,11 @@ init_esm_shims();
75862
75888
  var _createOAuthAppRequest = { oAuthApp: "_oAuthApp" };
75863
75889
  var _createOAuthAppResponse = { oAuthApp: "_oAuthApp" };
75864
75890
  var _oAuthApp = { createdDate: "google.protobuf.Timestamp" };
75891
+ var _updateOAuthAppRequest = {
75892
+ mask: "google.protobuf.FieldMask",
75893
+ oAuthApp: "_oAuthApp"
75894
+ };
75895
+ var _updateOAuthAppResponse = { oAuthApp: "_oAuthApp" };
75865
75896
  function resolveWixHeadlessV1OAuthAppServiceUrl(opts) {
75866
75897
  var domainToMappings = {
75867
75898
  "manage._base_domain_": [
@@ -75915,6 +75946,32 @@ function createOAuthApp(payload5) {
75915
75946
  __createOAuthApp.__isAmbassador = true;
75916
75947
  return __createOAuthApp;
75917
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
+ }
75918
75975
 
75919
75976
  // ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-version/build/es/http.impl.js
75920
75977
  init_esm_shims();
@@ -77293,6 +77350,8 @@ var ComponentType;
77293
77350
  ComponentType3["EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER"] = "EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER";
77294
77351
  ComponentType3["WIX_HOSTING_APP_ENVIRONMENT_PROVIDER"] = "WIX_HOSTING_APP_ENVIRONMENT_PROVIDER";
77295
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";
77296
77355
  })(ComponentType || (ComponentType = {}));
77297
77356
  var WidgetVertical;
77298
77357
  (function(WidgetVertical3) {
@@ -77684,6 +77743,7 @@ var Tag;
77684
77743
  Tag3["ECOM_CREATE_PAY_LINK"] = "ECOM_CREATE_PAY_LINK";
77685
77744
  Tag3["ECOM_DELIVERY_PROFILES"] = "ECOM_DELIVERY_PROFILES";
77686
77745
  Tag3["ADD_TO_CATEGORY"] = "ADD_TO_CATEGORY";
77746
+ Tag3["MY_BUSINESS"] = "MY_BUSINESS";
77687
77747
  })(Tag || (Tag = {}));
77688
77748
  var FilterSelectionType;
77689
77749
  (function(FilterSelectionType3) {
@@ -77936,6 +77996,8 @@ var DecorationType;
77936
77996
  DecorationType3["FONT_SIZE"] = "FONT_SIZE";
77937
77997
  DecorationType3["EXTERNAL"] = "EXTERNAL";
77938
77998
  DecorationType3["STRIKETHROUGH"] = "STRIKETHROUGH";
77999
+ DecorationType3["SUPERSCRIPT"] = "SUPERSCRIPT";
78000
+ DecorationType3["SUBSCRIPT"] = "SUBSCRIPT";
77939
78001
  })(DecorationType || (DecorationType = {}));
77940
78002
  var FontType;
77941
78003
  (function(FontType3) {
@@ -78506,6 +78568,7 @@ var FactorType;
78506
78568
  FactorType3["EMAIL"] = "EMAIL";
78507
78569
  FactorType3["TOTP"] = "TOTP";
78508
78570
  FactorType3["PUSH"] = "PUSH";
78571
+ FactorType3["WEBAUTHN"] = "WEBAUTHN";
78509
78572
  })(FactorType || (FactorType = {}));
78510
78573
  var MonitoringType;
78511
78574
  (function(MonitoringType3) {
@@ -78601,6 +78664,7 @@ var CssPropertyType;
78601
78664
  CssPropertyType3["backgroundRepeat"] = "backgroundRepeat";
78602
78665
  CssPropertyType3["backgroundAttachment"] = "backgroundAttachment";
78603
78666
  CssPropertyType3["fill"] = "fill";
78667
+ CssPropertyType3["fillOpacity"] = "fillOpacity";
78604
78668
  CssPropertyType3["margin"] = "margin";
78605
78669
  CssPropertyType3["marginTop"] = "marginTop";
78606
78670
  CssPropertyType3["marginRight"] = "marginRight";
@@ -78667,6 +78731,7 @@ var CssPropertyType;
78667
78731
  CssPropertyType3["textTransform"] = "textTransform";
78668
78732
  CssPropertyType3["textShadow"] = "textShadow";
78669
78733
  CssPropertyType3["textOverflow"] = "textOverflow";
78734
+ CssPropertyType3["textIndent"] = "textIndent";
78670
78735
  CssPropertyType3["textDecoration"] = "textDecoration";
78671
78736
  CssPropertyType3["textDecorationColor"] = "textDecorationColor";
78672
78737
  CssPropertyType3["textDecorationLine"] = "textDecorationLine";
@@ -78691,6 +78756,9 @@ var CssPropertyType;
78691
78756
  CssPropertyType3["objectPosition"] = "objectPosition";
78692
78757
  CssPropertyType3["mixBlendMode"] = "mixBlendMode";
78693
78758
  CssPropertyType3["isolation"] = "isolation";
78759
+ CssPropertyType3["stroke"] = "stroke";
78760
+ CssPropertyType3["strokeWidth"] = "strokeWidth";
78761
+ CssPropertyType3["strokeOpacity"] = "strokeOpacity";
78694
78762
  })(CssPropertyType || (CssPropertyType = {}));
78695
78763
  var CssDataType;
78696
78764
  (function(CssDataType3) {
@@ -78747,6 +78815,11 @@ var WritingModeValue;
78747
78815
  WritingModeValue3["sidewaysRl"] = "sidewaysRl";
78748
78816
  WritingModeValue3["sidewaysLr"] = "sidewaysLr";
78749
78817
  })(WritingModeValue || (WritingModeValue = {}));
78818
+ var BackgroundModeEnum;
78819
+ (function(BackgroundModeEnum3) {
78820
+ BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
78821
+ BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
78822
+ })(BackgroundModeEnum || (BackgroundModeEnum = {}));
78750
78823
  var DataType;
78751
78824
  (function(DataType3) {
78752
78825
  DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
@@ -78774,6 +78847,7 @@ var DataType;
78774
78847
  DataType3["container"] = "container";
78775
78848
  DataType3["arrayItems"] = "arrayItems";
78776
78849
  DataType3["direction"] = "direction";
78850
+ DataType3["menuItems"] = "menuItems";
78777
78851
  })(DataType || (DataType = {}));
78778
78852
  var A11yAttributes;
78779
78853
  (function(A11yAttributes3) {
@@ -78826,7 +78900,17 @@ var ContainerType;
78826
78900
  ContainerType3["simple"] = "simple";
78827
78901
  ContainerType3["slot"] = "slot";
78828
78902
  ContainerType3["placeholder"] = "placeholder";
78903
+ ContainerType3["template"] = "template";
78829
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 = {}));
78830
78914
  var ElementTypeEnumElementType;
78831
78915
  (function(ElementTypeEnumElementType2) {
78832
78916
  ElementTypeEnumElementType2["UNKNOWN_ElementType"] = "UNKNOWN_ElementType";
@@ -78906,15 +78990,14 @@ var Archetype;
78906
78990
  Archetype3["VectorArt"] = "VectorArt";
78907
78991
  Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
78908
78992
  })(Archetype || (Archetype = {}));
78909
- var ResizeDirection;
78910
- (function(ResizeDirection3) {
78911
- ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
78912
- ResizeDirection3["horizontal"] = "horizontal";
78913
- ResizeDirection3["vertical"] = "vertical";
78914
- ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
78915
- ResizeDirection3["aspectRatio"] = "aspectRatio";
78916
- ResizeDirection3["none"] = "none";
78917
- })(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 = {}));
78918
79001
  var ContentResizeDirection;
78919
79002
  (function(ContentResizeDirection3) {
78920
79003
  ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
@@ -78923,6 +79006,17 @@ var ContentResizeDirection;
78923
79006
  ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
78924
79007
  ContentResizeDirection3["none"] = "none";
78925
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 = {}));
78926
79020
  var RestrictionLevel;
78927
79021
  (function(RestrictionLevel3) {
78928
79022
  RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
@@ -79258,6 +79352,7 @@ var ComponentType2;
79258
79352
  ComponentType3["WIX_HOSTING_APP_ENVIRONMENT_PROVIDER"] = "WIX_HOSTING_APP_ENVIRONMENT_PROVIDER";
79259
79353
  ComponentType3["SDK_EXPORTS"] = "SDK_EXPORTS";
79260
79354
  ComponentType3["VIEWER_SERVICE"] = "VIEWER_SERVICE";
79355
+ ComponentType3["WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN"] = "WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN";
79261
79356
  })(ComponentType2 || (ComponentType2 = {}));
79262
79357
  var WidgetVertical2;
79263
79358
  (function(WidgetVertical3) {
@@ -79902,6 +79997,8 @@ var DecorationType2;
79902
79997
  DecorationType3["FONT_SIZE"] = "FONT_SIZE";
79903
79998
  DecorationType3["EXTERNAL"] = "EXTERNAL";
79904
79999
  DecorationType3["STRIKETHROUGH"] = "STRIKETHROUGH";
80000
+ DecorationType3["SUPERSCRIPT"] = "SUPERSCRIPT";
80001
+ DecorationType3["SUBSCRIPT"] = "SUBSCRIPT";
79905
80002
  })(DecorationType2 || (DecorationType2 = {}));
79906
80003
  var FontType2;
79907
80004
  (function(FontType3) {
@@ -80635,6 +80732,7 @@ var CssPropertyType2;
80635
80732
  CssPropertyType3["textTransform"] = "textTransform";
80636
80733
  CssPropertyType3["textShadow"] = "textShadow";
80637
80734
  CssPropertyType3["textOverflow"] = "textOverflow";
80735
+ CssPropertyType3["textIndent"] = "textIndent";
80638
80736
  CssPropertyType3["textDecoration"] = "textDecoration";
80639
80737
  CssPropertyType3["textDecorationColor"] = "textDecorationColor";
80640
80738
  CssPropertyType3["textDecorationLine"] = "textDecorationLine";
@@ -80718,6 +80816,11 @@ var WritingModeValue2;
80718
80816
  WritingModeValue3["sidewaysRl"] = "sidewaysRl";
80719
80817
  WritingModeValue3["sidewaysLr"] = "sidewaysLr";
80720
80818
  })(WritingModeValue2 || (WritingModeValue2 = {}));
80819
+ var BackgroundModeEnum2;
80820
+ (function(BackgroundModeEnum3) {
80821
+ BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
80822
+ BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
80823
+ })(BackgroundModeEnum2 || (BackgroundModeEnum2 = {}));
80721
80824
  var DataType2;
80722
80825
  (function(DataType3) {
80723
80826
  DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
@@ -80800,6 +80903,15 @@ var ContainerType2;
80800
80903
  ContainerType3["placeholder"] = "placeholder";
80801
80904
  ContainerType3["template"] = "template";
80802
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 = {}));
80803
80915
  var ElementType2;
80804
80916
  (function(ElementType3) {
80805
80917
  ElementType3["UNKNOWN_ElementType"] = "UNKNOWN_ElementType";
@@ -80879,15 +80991,14 @@ var Archetype2;
80879
80991
  Archetype3["VectorArt"] = "VectorArt";
80880
80992
  Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
80881
80993
  })(Archetype2 || (Archetype2 = {}));
80882
- var ResizeDirection2;
80883
- (function(ResizeDirection3) {
80884
- ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
80885
- ResizeDirection3["horizontal"] = "horizontal";
80886
- ResizeDirection3["vertical"] = "vertical";
80887
- ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
80888
- ResizeDirection3["aspectRatio"] = "aspectRatio";
80889
- ResizeDirection3["none"] = "none";
80890
- })(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 = {}));
80891
81002
  var ContentResizeDirection2;
80892
81003
  (function(ContentResizeDirection3) {
80893
81004
  ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
@@ -80896,6 +81007,17 @@ var ContentResizeDirection2;
80896
81007
  ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
80897
81008
  ContentResizeDirection3["none"] = "none";
80898
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 = {}));
80899
81021
  var RestrictionLevel2;
80900
81022
  (function(RestrictionLevel3) {
80901
81023
  RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
@@ -81238,6 +81360,22 @@ var DevCenterClient = class {
81238
81360
  });
81239
81361
  }
81240
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
+ };
81241
81379
  getAppSecret = async (req) => {
81242
81380
  try {
81243
81381
  const { data } = await pRetry(