@wix/auto_sdk_urls_editor 1.0.3 → 1.0.5

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 (45) hide show
  1. package/build/cjs/src/editorurls-v2-editor-urls-editor.context.d.ts +1 -1
  2. package/build/cjs/src/editorurls-v2-editor-urls-editor.meta.d.ts +1 -1
  3. package/build/cjs/src/editorurls-v2-editor-urls-editor.meta.js.map +1 -1
  4. package/build/cjs/src/editorurls-v2-editor-urls-editor.public.d.ts +3 -3
  5. package/build/cjs/src/editorurls-v2-editor-urls-editor.public.js.map +1 -1
  6. package/build/cjs/src/editorurls-v2-editor-urls-editor.types.d.ts +3 -8
  7. package/build/cjs/src/editorurls-v2-editor-urls-editor.types.js +2 -0
  8. package/build/cjs/src/editorurls-v2-editor-urls-editor.types.js.map +1 -1
  9. package/build/cjs/src/editorurls-v2-editor-urls-editor.universal.d.ts +10 -8
  10. package/build/cjs/src/editorurls-v2-editor-urls-editor.universal.js +4 -0
  11. package/build/cjs/src/editorurls-v2-editor-urls-editor.universal.js.map +1 -1
  12. package/build/es/src/editorurls-v2-editor-urls-editor.context.d.ts +1 -1
  13. package/build/es/src/editorurls-v2-editor-urls-editor.meta.d.ts +1 -1
  14. package/build/es/src/editorurls-v2-editor-urls-editor.meta.js.map +1 -1
  15. package/build/es/src/editorurls-v2-editor-urls-editor.public.d.ts +3 -3
  16. package/build/es/src/editorurls-v2-editor-urls-editor.public.js.map +1 -1
  17. package/build/es/src/editorurls-v2-editor-urls-editor.types.d.ts +3 -8
  18. package/build/es/src/editorurls-v2-editor-urls-editor.types.js +2 -0
  19. package/build/es/src/editorurls-v2-editor-urls-editor.types.js.map +1 -1
  20. package/build/es/src/editorurls-v2-editor-urls-editor.universal.d.ts +10 -8
  21. package/build/es/src/editorurls-v2-editor-urls-editor.universal.js +4 -0
  22. package/build/es/src/editorurls-v2-editor-urls-editor.universal.js.map +1 -1
  23. package/build/internal/cjs/src/editorurls-v2-editor-urls-editor.context.d.ts +1 -1
  24. package/build/internal/cjs/src/editorurls-v2-editor-urls-editor.meta.d.ts +1 -1
  25. package/build/internal/cjs/src/editorurls-v2-editor-urls-editor.meta.js.map +1 -1
  26. package/build/internal/cjs/src/editorurls-v2-editor-urls-editor.public.d.ts +3 -3
  27. package/build/internal/cjs/src/editorurls-v2-editor-urls-editor.public.js.map +1 -1
  28. package/build/internal/cjs/src/editorurls-v2-editor-urls-editor.types.d.ts +3 -8
  29. package/build/internal/cjs/src/editorurls-v2-editor-urls-editor.types.js +2 -0
  30. package/build/internal/cjs/src/editorurls-v2-editor-urls-editor.types.js.map +1 -1
  31. package/build/internal/cjs/src/editorurls-v2-editor-urls-editor.universal.d.ts +10 -8
  32. package/build/internal/cjs/src/editorurls-v2-editor-urls-editor.universal.js +4 -0
  33. package/build/internal/cjs/src/editorurls-v2-editor-urls-editor.universal.js.map +1 -1
  34. package/build/internal/es/src/editorurls-v2-editor-urls-editor.context.d.ts +1 -1
  35. package/build/internal/es/src/editorurls-v2-editor-urls-editor.meta.d.ts +1 -1
  36. package/build/internal/es/src/editorurls-v2-editor-urls-editor.meta.js.map +1 -1
  37. package/build/internal/es/src/editorurls-v2-editor-urls-editor.public.d.ts +3 -3
  38. package/build/internal/es/src/editorurls-v2-editor-urls-editor.public.js.map +1 -1
  39. package/build/internal/es/src/editorurls-v2-editor-urls-editor.types.d.ts +3 -8
  40. package/build/internal/es/src/editorurls-v2-editor-urls-editor.types.js +2 -0
  41. package/build/internal/es/src/editorurls-v2-editor-urls-editor.types.js.map +1 -1
  42. package/build/internal/es/src/editorurls-v2-editor-urls-editor.universal.d.ts +10 -8
  43. package/build/internal/es/src/editorurls-v2-editor-urls-editor.universal.js +4 -0
  44. package/build/internal/es/src/editorurls-v2-editor-urls-editor.universal.js.map +1 -1
  45. package/package.json +4 -4
@@ -2,4 +2,4 @@ import { getEditorUrls as publicGetEditorUrls } from './editorurls-v2-editor-url
2
2
  import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
3
3
  export declare const getEditorUrls: MaybeContext<BuildRESTFunction<typeof publicGetEditorUrls> & typeof publicGetEditorUrls>;
4
4
  export { EditorType } from './editorurls-v2-editor-urls-editor.universal.js';
5
- export { EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, GetEditorUrlsResponseNonNullableFields, } from './editorurls-v2-editor-urls-editor.universal.js';
5
+ export { EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, } from './editorurls-v2-editor-urls-editor.universal.js';
@@ -10,4 +10,4 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
10
10
  __responseType: Q;
11
11
  __originalResponseType: R;
12
12
  };
13
- export declare function getEditorUrls(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsResponse & ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsResponseNonNullableFields, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsResponse & ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsResponseNonNullableFields>;
13
+ export declare function getEditorUrls(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsResponse, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.meta.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gHAAkG;AAsBlG,SAAgB,aAAa;IAU3B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE7D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,sCA8BC"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.meta.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gHAAkG;AAsBlG,SAAgB,aAAa;IAQ3B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE7D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,sCA4BC"}
@@ -1,5 +1,5 @@
1
1
  import { HttpClient } from '@wix/sdk-types';
2
- import { GetEditorUrlsResponse, GetEditorUrlsResponseNonNullableFields } from './editorurls-v2-editor-urls-editor.universal.js';
2
+ import { GetEditorUrlsResponse } from './editorurls-v2-editor-urls-editor.universal.js';
3
3
  export declare const __metadata: {
4
4
  PACKAGE_NAME: string;
5
5
  };
@@ -8,6 +8,6 @@ interface GetEditorUrlsSignature {
8
8
  /**
9
9
  * Retrieves a site's Editor URLs.
10
10
  */
11
- (): Promise<GetEditorUrlsResponse & GetEditorUrlsResponseNonNullableFields>;
11
+ (): Promise<GetEditorUrlsResponse>;
12
12
  }
13
- export { EditorType, EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, GetEditorUrlsResponseNonNullableFields, } from './editorurls-v2-editor-urls-editor.universal.js';
13
+ export { EditorType, EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, } from './editorurls-v2-editor-urls-editor.universal.js';
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.public.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.public.ts"],"names":[],"mappings":";;;AACA,mHAIyD;AAE5C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,IAAA,6DAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAND,sCAMC;AASD,iHAMyD;AALvD,2IAAA,UAAU,OAAA"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.public.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.public.ts"],"names":[],"mappings":";;;AACA,mHAGyD;AAE5C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,IAAA,6DAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAND,sCAMC;AASD,iHAKyD;AAJvD,2IAAA,UAAU,OAAA"}
@@ -27,7 +27,9 @@ export declare enum EditorType {
27
27
  /** Deprecated. Expected end-of-life date: July 1, 2024. */
28
28
  EDITOR_X = "EDITOR_X",
29
29
  /** Wix's Editor built for agencies and enterprises. */
30
- WIX_STUDIO = "WIX_STUDIO"
30
+ WIX_STUDIO = "WIX_STUDIO",
31
+ /** Editor 3 */
32
+ ODEDITOR = "ODEDITOR"
31
33
  }
32
34
  export interface GetEditorUrlsRequest {
33
35
  }
@@ -35,10 +37,3 @@ export interface GetEditorUrlsResponse {
35
37
  /** Editor URL. */
36
38
  urls?: EditorUrls;
37
39
  }
38
- interface EditorUrlsNonNullableFields {
39
- editorType: EditorType;
40
- }
41
- export interface GetEditorUrlsResponseNonNullableFields {
42
- urls?: EditorUrlsNonNullableFields;
43
- }
44
- export {};
@@ -11,5 +11,7 @@ var EditorType;
11
11
  EditorType["EDITOR_X"] = "EDITOR_X";
12
12
  /** Wix's Editor built for agencies and enterprises. */
13
13
  EditorType["WIX_STUDIO"] = "WIX_STUDIO";
14
+ /** Editor 3 */
15
+ EditorType["ODEDITOR"] = "ODEDITOR";
14
16
  })(EditorType || (exports.EditorType = EditorType = {}));
15
17
  //# sourceMappingURL=editorurls-v2-editor-urls-editor.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.types.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.types.ts"],"names":[],"mappings":";;;AAsBA,IAAY,UASX;AATD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;AAC3B,CAAC,EATW,UAAU,0BAAV,UAAU,QASrB"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.types.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.types.ts"],"names":[],"mappings":";;;AAsBA,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;IACzB,eAAe;IACf,mCAAqB,CAAA;AACvB,CAAC,EAXW,UAAU,0BAAV,UAAU,QAWrB"}
@@ -1,3 +1,4 @@
1
+ import { NonNullablePaths } from '@wix/sdk-types';
1
2
  export interface EditorUrls {
2
3
  /**
3
4
  * Editor type.
@@ -27,7 +28,9 @@ export declare enum EditorType {
27
28
  /** Deprecated. Expected end-of-life date: July 1, 2024. */
28
29
  EDITOR_X = "EDITOR_X",
29
30
  /** Wix's Editor built for agencies and enterprises. */
30
- WIX_STUDIO = "WIX_STUDIO"
31
+ WIX_STUDIO = "WIX_STUDIO",
32
+ /** Editor 3 */
33
+ ODEDITOR = "ODEDITOR"
31
34
  }
32
35
  export interface GetEditorUrlsRequest {
33
36
  }
@@ -35,16 +38,13 @@ export interface GetEditorUrlsResponse {
35
38
  /** Editor URL. */
36
39
  urls?: EditorUrls;
37
40
  }
38
- interface EditorUrlsNonNullableFields {
39
- editorType: EditorType;
40
- }
41
- export interface GetEditorUrlsResponseNonNullableFields {
42
- urls?: EditorUrlsNonNullableFields;
43
- }
41
+ type EditorUrlsNonNullablePaths = `editorType`;
44
42
  /**
45
43
  * Retrieves a site's Editor URLs.
46
44
  * @public
47
45
  * @permissionId MetaSite.Read
46
+ * @permissionScope Manage Stores
47
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
48
48
  * @permissionScope Manage Bookings Services and Settings
49
49
  * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
50
50
  * @permissionScope Manage Events
@@ -64,5 +64,7 @@ export interface GetEditorUrlsResponseNonNullableFields {
64
64
  * @applicableIdentity APP
65
65
  * @fqn wix.editorurls.v2.EditorUrlsApi.GetEditorUrls
66
66
  */
67
- export declare function getEditorUrls(): Promise<GetEditorUrlsResponse & GetEditorUrlsResponseNonNullableFields>;
67
+ export declare function getEditorUrls(): Promise<NonNullablePaths<GetEditorUrlsResponse, {
68
+ [P in EditorUrlsNonNullablePaths]: `urls.${P}`;
69
+ }[EditorUrlsNonNullablePaths]>>;
68
70
  export {};
@@ -37,11 +37,15 @@ var EditorType;
37
37
  EditorType["EDITOR_X"] = "EDITOR_X";
38
38
  /** Wix's Editor built for agencies and enterprises. */
39
39
  EditorType["WIX_STUDIO"] = "WIX_STUDIO";
40
+ /** Editor 3 */
41
+ EditorType["ODEDITOR"] = "ODEDITOR";
40
42
  })(EditorType || (exports.EditorType = EditorType = {}));
41
43
  /**
42
44
  * Retrieves a site's Editor URLs.
43
45
  * @public
44
46
  * @permissionId MetaSite.Read
47
+ * @permissionScope Manage Stores
48
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
45
49
  * @permissionScope Manage Bookings Services and Settings
46
50
  * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
47
51
  * @permissionScope Manage Events
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.universal.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,gHAAkG;AAwBlG,IAAY,UASX;AATD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;AAC3B,CAAC,EATW,UAAU,0BAAV,UAAU,QASrB;AAiBD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACI,KAAK,UAAU,aAAa;IAGjC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GAAG,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE3E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAjCD,sCAiCC"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.universal.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,gHAAkG;AAwBlG,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;IACzB,eAAe;IACf,mCAAqB,CAAA;AACvB,CAAC,EAXW,UAAU,0BAAV,UAAU,QAWrB;AAWD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACI,KAAK,UAAU,aAAa;IAQjC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GAAG,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE3E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtCD,sCAsCC"}
@@ -2,4 +2,4 @@ import { getEditorUrls as publicGetEditorUrls } from './editorurls-v2-editor-url
2
2
  import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
3
3
  export declare const getEditorUrls: MaybeContext<BuildRESTFunction<typeof publicGetEditorUrls> & typeof publicGetEditorUrls>;
4
4
  export { EditorType } from './editorurls-v2-editor-urls-editor.universal.js';
5
- export { EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, GetEditorUrlsResponseNonNullableFields, } from './editorurls-v2-editor-urls-editor.universal.js';
5
+ export { EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, } from './editorurls-v2-editor-urls-editor.universal.js';
@@ -10,4 +10,4 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
10
10
  __responseType: Q;
11
11
  __originalResponseType: R;
12
12
  };
13
- export declare function getEditorUrls(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsResponse & ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsResponseNonNullableFields, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsResponse & ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsResponseNonNullableFields>;
13
+ export declare function getEditorUrls(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsResponse, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.meta.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,mCAAmC,MAAM,4CAA4C,CAAC;AAsBlG,MAAM,UAAU,aAAa;IAU3B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE7D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.meta.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,mCAAmC,MAAM,4CAA4C,CAAC;AAsBlG,MAAM,UAAU,aAAa;IAQ3B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE7D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { HttpClient } from '@wix/sdk-types';
2
- import { GetEditorUrlsResponse, GetEditorUrlsResponseNonNullableFields } from './editorurls-v2-editor-urls-editor.universal.js';
2
+ import { GetEditorUrlsResponse } from './editorurls-v2-editor-urls-editor.universal.js';
3
3
  export declare const __metadata: {
4
4
  PACKAGE_NAME: string;
5
5
  };
@@ -8,6 +8,6 @@ interface GetEditorUrlsSignature {
8
8
  /**
9
9
  * Retrieves a site's Editor URLs.
10
10
  */
11
- (): Promise<GetEditorUrlsResponse & GetEditorUrlsResponseNonNullableFields>;
11
+ (): Promise<GetEditorUrlsResponse>;
12
12
  }
13
- export { EditorType, EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, GetEditorUrlsResponseNonNullableFields, } from './editorurls-v2-editor-urls-editor.universal.js';
13
+ export { EditorType, EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, } from './editorurls-v2-editor-urls-editor.universal.js';
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.public.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.public.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,aAAa,IAAI,sBAAsB,GACxC,MAAM,iDAAiD,CAAC;AAEzD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,sBAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AASD,OAAO,EACL,UAAU,GAKX,MAAM,iDAAiD,CAAC"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.public.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.public.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,IAAI,sBAAsB,GACxC,MAAM,iDAAiD,CAAC;AAEzD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,sBAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AASD,OAAO,EACL,UAAU,GAIX,MAAM,iDAAiD,CAAC"}
@@ -27,7 +27,9 @@ export declare enum EditorType {
27
27
  /** Deprecated. Expected end-of-life date: July 1, 2024. */
28
28
  EDITOR_X = "EDITOR_X",
29
29
  /** Wix's Editor built for agencies and enterprises. */
30
- WIX_STUDIO = "WIX_STUDIO"
30
+ WIX_STUDIO = "WIX_STUDIO",
31
+ /** Editor 3 */
32
+ ODEDITOR = "ODEDITOR"
31
33
  }
32
34
  export interface GetEditorUrlsRequest {
33
35
  }
@@ -35,10 +37,3 @@ export interface GetEditorUrlsResponse {
35
37
  /** Editor URL. */
36
38
  urls?: EditorUrls;
37
39
  }
38
- interface EditorUrlsNonNullableFields {
39
- editorType: EditorType;
40
- }
41
- export interface GetEditorUrlsResponseNonNullableFields {
42
- urls?: EditorUrlsNonNullableFields;
43
- }
44
- export {};
@@ -8,5 +8,7 @@ export var EditorType;
8
8
  EditorType["EDITOR_X"] = "EDITOR_X";
9
9
  /** Wix's Editor built for agencies and enterprises. */
10
10
  EditorType["WIX_STUDIO"] = "WIX_STUDIO";
11
+ /** Editor 3 */
12
+ EditorType["ODEDITOR"] = "ODEDITOR";
11
13
  })(EditorType || (EditorType = {}));
12
14
  //# sourceMappingURL=editorurls-v2-editor-urls-editor.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.types.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.types.ts"],"names":[],"mappings":"AAsBA,MAAM,CAAN,IAAY,UASX;AATD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;AAC3B,CAAC,EATW,UAAU,KAAV,UAAU,QASrB"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.types.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.types.ts"],"names":[],"mappings":"AAsBA,MAAM,CAAN,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;IACzB,eAAe;IACf,mCAAqB,CAAA;AACvB,CAAC,EAXW,UAAU,KAAV,UAAU,QAWrB"}
@@ -1,3 +1,4 @@
1
+ import { NonNullablePaths } from '@wix/sdk-types';
1
2
  export interface EditorUrls {
2
3
  /**
3
4
  * Editor type.
@@ -27,7 +28,9 @@ export declare enum EditorType {
27
28
  /** Deprecated. Expected end-of-life date: July 1, 2024. */
28
29
  EDITOR_X = "EDITOR_X",
29
30
  /** Wix's Editor built for agencies and enterprises. */
30
- WIX_STUDIO = "WIX_STUDIO"
31
+ WIX_STUDIO = "WIX_STUDIO",
32
+ /** Editor 3 */
33
+ ODEDITOR = "ODEDITOR"
31
34
  }
32
35
  export interface GetEditorUrlsRequest {
33
36
  }
@@ -35,16 +38,13 @@ export interface GetEditorUrlsResponse {
35
38
  /** Editor URL. */
36
39
  urls?: EditorUrls;
37
40
  }
38
- interface EditorUrlsNonNullableFields {
39
- editorType: EditorType;
40
- }
41
- export interface GetEditorUrlsResponseNonNullableFields {
42
- urls?: EditorUrlsNonNullableFields;
43
- }
41
+ type EditorUrlsNonNullablePaths = `editorType`;
44
42
  /**
45
43
  * Retrieves a site's Editor URLs.
46
44
  * @public
47
45
  * @permissionId MetaSite.Read
46
+ * @permissionScope Manage Stores
47
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
48
48
  * @permissionScope Manage Bookings Services and Settings
49
49
  * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
50
50
  * @permissionScope Manage Events
@@ -64,5 +64,7 @@ export interface GetEditorUrlsResponseNonNullableFields {
64
64
  * @applicableIdentity APP
65
65
  * @fqn wix.editorurls.v2.EditorUrlsApi.GetEditorUrls
66
66
  */
67
- export declare function getEditorUrls(): Promise<GetEditorUrlsResponse & GetEditorUrlsResponseNonNullableFields>;
67
+ export declare function getEditorUrls(): Promise<NonNullablePaths<GetEditorUrlsResponse, {
68
+ [P in EditorUrlsNonNullablePaths]: `urls.${P}`;
69
+ }[EditorUrlsNonNullablePaths]>>;
68
70
  export {};
@@ -11,11 +11,15 @@ export var EditorType;
11
11
  EditorType["EDITOR_X"] = "EDITOR_X";
12
12
  /** Wix's Editor built for agencies and enterprises. */
13
13
  EditorType["WIX_STUDIO"] = "WIX_STUDIO";
14
+ /** Editor 3 */
15
+ EditorType["ODEDITOR"] = "ODEDITOR";
14
16
  })(EditorType || (EditorType = {}));
15
17
  /**
16
18
  * Retrieves a site's Editor URLs.
17
19
  * @public
18
20
  * @permissionId MetaSite.Read
21
+ * @permissionScope Manage Stores
22
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
19
23
  * @permissionScope Manage Bookings Services and Settings
20
24
  * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
21
25
  * @permissionScope Manage Events
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.universal.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,mCAAmC,MAAM,4CAA4C,CAAC;AAwBlG,MAAM,CAAN,IAAY,UASX;AATD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;AAC3B,CAAC,EATW,UAAU,KAAV,UAAU,QASrB;AAiBD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa;IAGjC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GAAG,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE3E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.universal.js","sourceRoot":"","sources":["../../../src/editorurls-v2-editor-urls-editor.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,mCAAmC,MAAM,4CAA4C,CAAC;AAwBlG,MAAM,CAAN,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;IACzB,eAAe;IACf,mCAAqB,CAAA;AACvB,CAAC,EAXW,UAAU,KAAV,UAAU,QAWrB;AAWD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa;IAQjC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GAAG,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE3E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
@@ -2,4 +2,4 @@ import { getEditorUrls as publicGetEditorUrls } from './editorurls-v2-editor-url
2
2
  import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
3
3
  export declare const getEditorUrls: MaybeContext<BuildRESTFunction<typeof publicGetEditorUrls> & typeof publicGetEditorUrls>;
4
4
  export { EditorType } from './editorurls-v2-editor-urls-editor.universal.js';
5
- export { EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, GetEditorUrlsResponseNonNullableFields, } from './editorurls-v2-editor-urls-editor.universal.js';
5
+ export { EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, } from './editorurls-v2-editor-urls-editor.universal.js';
@@ -10,4 +10,4 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
10
10
  __responseType: Q;
11
11
  __originalResponseType: R;
12
12
  };
13
- export declare function getEditorUrls(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsResponse & ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsResponseNonNullableFields, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsResponse & ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsResponseNonNullableFields>;
13
+ export declare function getEditorUrls(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsResponse, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.meta.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gHAAkG;AAsBlG,SAAgB,aAAa;IAU3B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE7D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,sCA8BC"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.meta.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gHAAkG;AAsBlG,SAAgB,aAAa;IAQ3B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE7D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,sCA4BC"}
@@ -1,5 +1,5 @@
1
1
  import { HttpClient } from '@wix/sdk-types';
2
- import { GetEditorUrlsResponse, GetEditorUrlsResponseNonNullableFields } from './editorurls-v2-editor-urls-editor.universal.js';
2
+ import { GetEditorUrlsResponse } from './editorurls-v2-editor-urls-editor.universal.js';
3
3
  export declare const __metadata: {
4
4
  PACKAGE_NAME: string;
5
5
  };
@@ -8,6 +8,6 @@ interface GetEditorUrlsSignature {
8
8
  /**
9
9
  * Retrieves a site's Editor URLs.
10
10
  */
11
- (): Promise<GetEditorUrlsResponse & GetEditorUrlsResponseNonNullableFields>;
11
+ (): Promise<GetEditorUrlsResponse>;
12
12
  }
13
- export { EditorType, EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, GetEditorUrlsResponseNonNullableFields, } from './editorurls-v2-editor-urls-editor.universal.js';
13
+ export { EditorType, EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, } from './editorurls-v2-editor-urls-editor.universal.js';
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.public.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.public.ts"],"names":[],"mappings":";;;AACA,mHAIyD;AAE5C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,IAAA,6DAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAND,sCAMC;AASD,iHAMyD;AALvD,2IAAA,UAAU,OAAA"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.public.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.public.ts"],"names":[],"mappings":";;;AACA,mHAGyD;AAE5C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,IAAA,6DAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAND,sCAMC;AASD,iHAKyD;AAJvD,2IAAA,UAAU,OAAA"}
@@ -27,7 +27,9 @@ export declare enum EditorType {
27
27
  /** Deprecated. Expected end-of-life date: July 1, 2024. */
28
28
  EDITOR_X = "EDITOR_X",
29
29
  /** Wix's Editor built for agencies and enterprises. */
30
- WIX_STUDIO = "WIX_STUDIO"
30
+ WIX_STUDIO = "WIX_STUDIO",
31
+ /** Editor 3 */
32
+ ODEDITOR = "ODEDITOR"
31
33
  }
32
34
  export interface GetEditorUrlsRequest {
33
35
  }
@@ -35,10 +37,3 @@ export interface GetEditorUrlsResponse {
35
37
  /** Editor URL. */
36
38
  urls?: EditorUrls;
37
39
  }
38
- interface EditorUrlsNonNullableFields {
39
- editorType: EditorType;
40
- }
41
- export interface GetEditorUrlsResponseNonNullableFields {
42
- urls?: EditorUrlsNonNullableFields;
43
- }
44
- export {};
@@ -11,5 +11,7 @@ var EditorType;
11
11
  EditorType["EDITOR_X"] = "EDITOR_X";
12
12
  /** Wix's Editor built for agencies and enterprises. */
13
13
  EditorType["WIX_STUDIO"] = "WIX_STUDIO";
14
+ /** Editor 3 */
15
+ EditorType["ODEDITOR"] = "ODEDITOR";
14
16
  })(EditorType || (exports.EditorType = EditorType = {}));
15
17
  //# sourceMappingURL=editorurls-v2-editor-urls-editor.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.types.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.types.ts"],"names":[],"mappings":";;;AAsBA,IAAY,UASX;AATD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;AAC3B,CAAC,EATW,UAAU,0BAAV,UAAU,QASrB"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.types.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.types.ts"],"names":[],"mappings":";;;AAsBA,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;IACzB,eAAe;IACf,mCAAqB,CAAA;AACvB,CAAC,EAXW,UAAU,0BAAV,UAAU,QAWrB"}
@@ -1,3 +1,4 @@
1
+ import { NonNullablePaths } from '@wix/sdk-types';
1
2
  export interface EditorUrls {
2
3
  /**
3
4
  * Editor type.
@@ -27,7 +28,9 @@ export declare enum EditorType {
27
28
  /** Deprecated. Expected end-of-life date: July 1, 2024. */
28
29
  EDITOR_X = "EDITOR_X",
29
30
  /** Wix's Editor built for agencies and enterprises. */
30
- WIX_STUDIO = "WIX_STUDIO"
31
+ WIX_STUDIO = "WIX_STUDIO",
32
+ /** Editor 3 */
33
+ ODEDITOR = "ODEDITOR"
31
34
  }
32
35
  export interface GetEditorUrlsRequest {
33
36
  }
@@ -35,16 +38,13 @@ export interface GetEditorUrlsResponse {
35
38
  /** Editor URL. */
36
39
  urls?: EditorUrls;
37
40
  }
38
- interface EditorUrlsNonNullableFields {
39
- editorType: EditorType;
40
- }
41
- export interface GetEditorUrlsResponseNonNullableFields {
42
- urls?: EditorUrlsNonNullableFields;
43
- }
41
+ type EditorUrlsNonNullablePaths = `editorType`;
44
42
  /**
45
43
  * Retrieves a site's Editor URLs.
46
44
  * @public
47
45
  * @permissionId MetaSite.Read
46
+ * @permissionScope Manage Stores
47
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
48
48
  * @permissionScope Manage Bookings Services and Settings
49
49
  * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
50
50
  * @permissionScope Manage Events
@@ -64,5 +64,7 @@ export interface GetEditorUrlsResponseNonNullableFields {
64
64
  * @applicableIdentity APP
65
65
  * @fqn wix.editorurls.v2.EditorUrlsApi.GetEditorUrls
66
66
  */
67
- export declare function getEditorUrls(): Promise<GetEditorUrlsResponse & GetEditorUrlsResponseNonNullableFields>;
67
+ export declare function getEditorUrls(): Promise<NonNullablePaths<GetEditorUrlsResponse, {
68
+ [P in EditorUrlsNonNullablePaths]: `urls.${P}`;
69
+ }[EditorUrlsNonNullablePaths]>>;
68
70
  export {};
@@ -37,11 +37,15 @@ var EditorType;
37
37
  EditorType["EDITOR_X"] = "EDITOR_X";
38
38
  /** Wix's Editor built for agencies and enterprises. */
39
39
  EditorType["WIX_STUDIO"] = "WIX_STUDIO";
40
+ /** Editor 3 */
41
+ EditorType["ODEDITOR"] = "ODEDITOR";
40
42
  })(EditorType || (exports.EditorType = EditorType = {}));
41
43
  /**
42
44
  * Retrieves a site's Editor URLs.
43
45
  * @public
44
46
  * @permissionId MetaSite.Read
47
+ * @permissionScope Manage Stores
48
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
45
49
  * @permissionScope Manage Bookings Services and Settings
46
50
  * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
47
51
  * @permissionScope Manage Events
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.universal.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,gHAAkG;AAwBlG,IAAY,UASX;AATD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;AAC3B,CAAC,EATW,UAAU,0BAAV,UAAU,QASrB;AAiBD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACI,KAAK,UAAU,aAAa;IAGjC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GAAG,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE3E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAjCD,sCAiCC"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.universal.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,gHAAkG;AAwBlG,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;IACzB,eAAe;IACf,mCAAqB,CAAA;AACvB,CAAC,EAXW,UAAU,0BAAV,UAAU,QAWrB;AAWD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACI,KAAK,UAAU,aAAa;IAQjC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GAAG,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE3E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAtCD,sCAsCC"}
@@ -2,4 +2,4 @@ import { getEditorUrls as publicGetEditorUrls } from './editorurls-v2-editor-url
2
2
  import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
3
3
  export declare const getEditorUrls: MaybeContext<BuildRESTFunction<typeof publicGetEditorUrls> & typeof publicGetEditorUrls>;
4
4
  export { EditorType } from './editorurls-v2-editor-urls-editor.universal.js';
5
- export { EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, GetEditorUrlsResponseNonNullableFields, } from './editorurls-v2-editor-urls-editor.universal.js';
5
+ export { EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, } from './editorurls-v2-editor-urls-editor.universal.js';
@@ -10,4 +10,4 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
10
10
  __responseType: Q;
11
11
  __originalResponseType: R;
12
12
  };
13
- export declare function getEditorUrls(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsResponse & ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsResponseNonNullableFields, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsResponse & ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsResponseNonNullableFields>;
13
+ export declare function getEditorUrls(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsRequest, ambassadorWixEditorurlsV2EditorUrlsUniversalTypes.GetEditorUrlsResponse, ambassadorWixEditorurlsV2EditorUrlsTypes.GetEditorUrlsResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.meta.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,mCAAmC,MAAM,4CAA4C,CAAC;AAsBlG,MAAM,UAAU,aAAa;IAU3B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE7D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.meta.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,mCAAmC,MAAM,4CAA4C,CAAC;AAsBlG,MAAM,UAAU,aAAa;IAQ3B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE7D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { HttpClient } from '@wix/sdk-types';
2
- import { GetEditorUrlsResponse, GetEditorUrlsResponseNonNullableFields } from './editorurls-v2-editor-urls-editor.universal.js';
2
+ import { GetEditorUrlsResponse } from './editorurls-v2-editor-urls-editor.universal.js';
3
3
  export declare const __metadata: {
4
4
  PACKAGE_NAME: string;
5
5
  };
@@ -8,6 +8,6 @@ interface GetEditorUrlsSignature {
8
8
  /**
9
9
  * Retrieves a site's Editor URLs.
10
10
  */
11
- (): Promise<GetEditorUrlsResponse & GetEditorUrlsResponseNonNullableFields>;
11
+ (): Promise<GetEditorUrlsResponse>;
12
12
  }
13
- export { EditorType, EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, GetEditorUrlsResponseNonNullableFields, } from './editorurls-v2-editor-urls-editor.universal.js';
13
+ export { EditorType, EditorUrls, GetEditorUrlsRequest, GetEditorUrlsResponse, } from './editorurls-v2-editor-urls-editor.universal.js';
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.public.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.public.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,aAAa,IAAI,sBAAsB,GACxC,MAAM,iDAAiD,CAAC;AAEzD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,sBAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AASD,OAAO,EACL,UAAU,GAKX,MAAM,iDAAiD,CAAC"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.public.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.public.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,IAAI,sBAAsB,GACxC,MAAM,iDAAiD,CAAC;AAEzD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,sBAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AASD,OAAO,EACL,UAAU,GAIX,MAAM,iDAAiD,CAAC"}
@@ -27,7 +27,9 @@ export declare enum EditorType {
27
27
  /** Deprecated. Expected end-of-life date: July 1, 2024. */
28
28
  EDITOR_X = "EDITOR_X",
29
29
  /** Wix's Editor built for agencies and enterprises. */
30
- WIX_STUDIO = "WIX_STUDIO"
30
+ WIX_STUDIO = "WIX_STUDIO",
31
+ /** Editor 3 */
32
+ ODEDITOR = "ODEDITOR"
31
33
  }
32
34
  export interface GetEditorUrlsRequest {
33
35
  }
@@ -35,10 +37,3 @@ export interface GetEditorUrlsResponse {
35
37
  /** Editor URL. */
36
38
  urls?: EditorUrls;
37
39
  }
38
- interface EditorUrlsNonNullableFields {
39
- editorType: EditorType;
40
- }
41
- export interface GetEditorUrlsResponseNonNullableFields {
42
- urls?: EditorUrlsNonNullableFields;
43
- }
44
- export {};
@@ -8,5 +8,7 @@ export var EditorType;
8
8
  EditorType["EDITOR_X"] = "EDITOR_X";
9
9
  /** Wix's Editor built for agencies and enterprises. */
10
10
  EditorType["WIX_STUDIO"] = "WIX_STUDIO";
11
+ /** Editor 3 */
12
+ EditorType["ODEDITOR"] = "ODEDITOR";
11
13
  })(EditorType || (EditorType = {}));
12
14
  //# sourceMappingURL=editorurls-v2-editor-urls-editor.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.types.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.types.ts"],"names":[],"mappings":"AAsBA,MAAM,CAAN,IAAY,UASX;AATD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;AAC3B,CAAC,EATW,UAAU,KAAV,UAAU,QASrB"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.types.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.types.ts"],"names":[],"mappings":"AAsBA,MAAM,CAAN,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;IACzB,eAAe;IACf,mCAAqB,CAAA;AACvB,CAAC,EAXW,UAAU,KAAV,UAAU,QAWrB"}
@@ -1,3 +1,4 @@
1
+ import { NonNullablePaths } from '@wix/sdk-types';
1
2
  export interface EditorUrls {
2
3
  /**
3
4
  * Editor type.
@@ -27,7 +28,9 @@ export declare enum EditorType {
27
28
  /** Deprecated. Expected end-of-life date: July 1, 2024. */
28
29
  EDITOR_X = "EDITOR_X",
29
30
  /** Wix's Editor built for agencies and enterprises. */
30
- WIX_STUDIO = "WIX_STUDIO"
31
+ WIX_STUDIO = "WIX_STUDIO",
32
+ /** Editor 3 */
33
+ ODEDITOR = "ODEDITOR"
31
34
  }
32
35
  export interface GetEditorUrlsRequest {
33
36
  }
@@ -35,16 +38,13 @@ export interface GetEditorUrlsResponse {
35
38
  /** Editor URL. */
36
39
  urls?: EditorUrls;
37
40
  }
38
- interface EditorUrlsNonNullableFields {
39
- editorType: EditorType;
40
- }
41
- export interface GetEditorUrlsResponseNonNullableFields {
42
- urls?: EditorUrlsNonNullableFields;
43
- }
41
+ type EditorUrlsNonNullablePaths = `editorType`;
44
42
  /**
45
43
  * Retrieves a site's Editor URLs.
46
44
  * @public
47
45
  * @permissionId MetaSite.Read
46
+ * @permissionScope Manage Stores
47
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
48
48
  * @permissionScope Manage Bookings Services and Settings
49
49
  * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
50
50
  * @permissionScope Manage Events
@@ -64,5 +64,7 @@ export interface GetEditorUrlsResponseNonNullableFields {
64
64
  * @applicableIdentity APP
65
65
  * @fqn wix.editorurls.v2.EditorUrlsApi.GetEditorUrls
66
66
  */
67
- export declare function getEditorUrls(): Promise<GetEditorUrlsResponse & GetEditorUrlsResponseNonNullableFields>;
67
+ export declare function getEditorUrls(): Promise<NonNullablePaths<GetEditorUrlsResponse, {
68
+ [P in EditorUrlsNonNullablePaths]: `urls.${P}`;
69
+ }[EditorUrlsNonNullablePaths]>>;
68
70
  export {};
@@ -11,11 +11,15 @@ export var EditorType;
11
11
  EditorType["EDITOR_X"] = "EDITOR_X";
12
12
  /** Wix's Editor built for agencies and enterprises. */
13
13
  EditorType["WIX_STUDIO"] = "WIX_STUDIO";
14
+ /** Editor 3 */
15
+ EditorType["ODEDITOR"] = "ODEDITOR";
14
16
  })(EditorType || (EditorType = {}));
15
17
  /**
16
18
  * Retrieves a site's Editor URLs.
17
19
  * @public
18
20
  * @permissionId MetaSite.Read
21
+ * @permissionScope Manage Stores
22
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
19
23
  * @permissionScope Manage Bookings Services and Settings
20
24
  * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
21
25
  * @permissionScope Manage Events
@@ -1 +1 @@
1
- {"version":3,"file":"editorurls-v2-editor-urls-editor.universal.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,mCAAmC,MAAM,4CAA4C,CAAC;AAwBlG,MAAM,CAAN,IAAY,UASX;AATD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;AAC3B,CAAC,EATW,UAAU,KAAV,UAAU,QASrB;AAiBD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa;IAGjC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GAAG,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE3E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"editorurls-v2-editor-urls-editor.universal.js","sourceRoot":"","sources":["../../../../src/editorurls-v2-editor-urls-editor.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,mCAAmC,MAAM,4CAA4C,CAAC;AAwBlG,MAAM,CAAN,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,iCAAmB,CAAA;IACnB,8BAA8B;IAC9B,uCAAyB,CAAA;IACzB,2DAA2D;IAC3D,mCAAqB,CAAA;IACrB,uDAAuD;IACvD,uCAAyB,CAAA;IACzB,eAAe;IACf,mCAAqB,CAAA;AACvB,CAAC,EAXW,UAAU,KAAV,UAAU,QAWrB;AAWD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa;IAQjC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,CAAC,CAAC;IAE1D,MAAM,OAAO,GAAG,mCAAmC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE3E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_urls_editor",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -28,8 +28,8 @@
28
28
  "service-plugins"
29
29
  ],
30
30
  "dependencies": {
31
- "@wix/sdk-runtime": "^0.3.42",
32
- "@wix/sdk-types": "^1.13.9"
31
+ "@wix/sdk-runtime": "^0.3.49",
32
+ "@wix/sdk-types": "^1.13.21"
33
33
  },
34
34
  "devDependencies": {
35
35
  "typescript": "^5.3.2"
@@ -48,5 +48,5 @@
48
48
  "fqdn": "wix.editorurls.v2.editor_urls"
49
49
  }
50
50
  },
51
- "falconPackageHash": "ac6f8d8ebf1a9216c226922270047acd6f9a945980bf031593146b56"
51
+ "falconPackageHash": "413108a1e028930a95212faf5eef9001817220dd3b0803df563fe4a8"
52
52
  }