@wix/auth-management 1.0.13 → 1.0.14
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/cjs/context.d.ts +1 -0
- package/build/cjs/context.js +28 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.js +5 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +5 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +5 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/src/headless-v1-o-auth-app.context.d.ts +6 -0
- package/build/cjs/src/headless-v1-o-auth-app.context.js +49 -0
- package/build/cjs/src/headless-v1-o-auth-app.context.js.map +1 -0
- package/build/cjs/src/headless-v1-o-auth-app.http.d.ts +1 -0
- package/build/cjs/src/headless-v1-o-auth-app.http.js +55 -43
- package/build/cjs/src/headless-v1-o-auth-app.http.js.map +1 -1
- package/build/cjs/src/headless-v1-o-auth-app.meta.d.ts +1 -1
- package/build/cjs/src/headless-v1-o-auth-app.meta.js +5 -1
- package/build/cjs/src/headless-v1-o-auth-app.meta.js.map +1 -1
- package/build/cjs/src/headless-v1-o-auth-app.public.d.ts +4 -3
- package/build/cjs/src/headless-v1-o-auth-app.public.js +10 -2
- package/build/cjs/src/headless-v1-o-auth-app.public.js.map +1 -1
- package/build/cjs/src/headless-v1-o-auth-app.types.d.ts +344 -7
- package/build/cjs/src/headless-v1-o-auth-app.types.js +93 -2
- package/build/cjs/src/headless-v1-o-auth-app.types.js.map +1 -1
- package/build/cjs/src/headless-v1-o-auth-app.universal.d.ts +369 -19
- package/build/cjs/src/headless-v1-o-auth-app.universal.js +129 -39
- package/build/cjs/src/headless-v1-o-auth-app.universal.js.map +1 -1
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +2 -0
- package/build/es/context.js.map +1 -0
- package/build/es/src/headless-v1-o-auth-app.context.d.ts +6 -0
- package/build/es/src/headless-v1-o-auth-app.context.js +42 -0
- package/build/es/src/headless-v1-o-auth-app.context.js.map +1 -0
- package/build/es/src/headless-v1-o-auth-app.http.d.ts +1 -0
- package/build/es/src/headless-v1-o-auth-app.http.js +55 -43
- package/build/es/src/headless-v1-o-auth-app.http.js.map +1 -1
- package/build/es/src/headless-v1-o-auth-app.meta.d.ts +1 -1
- package/build/es/src/headless-v1-o-auth-app.public.d.ts +4 -3
- package/build/es/src/headless-v1-o-auth-app.public.js +3 -2
- package/build/es/src/headless-v1-o-auth-app.public.js.map +1 -1
- package/build/es/src/headless-v1-o-auth-app.types.d.ts +344 -7
- package/build/es/src/headless-v1-o-auth-app.types.js +91 -0
- package/build/es/src/headless-v1-o-auth-app.types.js.map +1 -1
- package/build/es/src/headless-v1-o-auth-app.universal.d.ts +369 -19
- package/build/es/src/headless-v1-o-auth-app.universal.js +122 -36
- package/build/es/src/headless-v1-o-auth-app.universal.js.map +1 -1
- package/context/package.json +6 -0
- package/package.json +12 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as oAuthApps from './src/headless-v1-o-auth-app.context';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.oAuthApps = void 0;
|
|
27
|
+
exports.oAuthApps = __importStar(require("./src/headless-v1-o-auth-app.context"));
|
|
28
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kFAAkE"}
|
package/build/cjs/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iFAAiE"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oFAAoE"}
|
package/build/cjs/meta.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAA+D"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { createOAuthApp as publicCreateOAuthApp, getOAuthApp as publicGetOAuthApp, updateOAuthApp as publicUpdateOAuthApp, queryOAuthApps as publicQueryOAuthApps } from './headless-v1-o-auth-app.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const createOAuthApp: BuildRESTFunction<typeof publicCreateOAuthApp>;
|
|
4
|
+
export declare const getOAuthApp: BuildRESTFunction<typeof publicGetOAuthApp>;
|
|
5
|
+
export declare const updateOAuthApp: BuildRESTFunction<typeof publicUpdateOAuthApp>;
|
|
6
|
+
export declare const queryOAuthApps: BuildRESTFunction<typeof publicQueryOAuthApps>;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.queryOAuthApps = exports.updateOAuthApp = exports.getOAuthApp = exports.createOAuthApp = void 0;
|
|
4
|
+
const headless_v1_o_auth_app_public_1 = require("./headless-v1-o-auth-app.public");
|
|
5
|
+
const createOAuthApp = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(headless_v1_o_auth_app_public_1.createOAuthApp)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.createOAuthApp = createOAuthApp;
|
|
16
|
+
const getOAuthApp = (...args) => {
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
if (!globalThis.__wix_context__) {
|
|
19
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
20
|
+
}
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
return globalThis.__wix_context__
|
|
23
|
+
.initWixModules(headless_v1_o_auth_app_public_1.getOAuthApp)
|
|
24
|
+
.apply(undefined, args);
|
|
25
|
+
};
|
|
26
|
+
exports.getOAuthApp = getOAuthApp;
|
|
27
|
+
const updateOAuthApp = (...args) => {
|
|
28
|
+
// @ts-expect-error
|
|
29
|
+
if (!globalThis.__wix_context__) {
|
|
30
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
31
|
+
}
|
|
32
|
+
// @ts-expect-error
|
|
33
|
+
return globalThis.__wix_context__
|
|
34
|
+
.initWixModules(headless_v1_o_auth_app_public_1.updateOAuthApp)
|
|
35
|
+
.apply(undefined, args);
|
|
36
|
+
};
|
|
37
|
+
exports.updateOAuthApp = updateOAuthApp;
|
|
38
|
+
const queryOAuthApps = (...args) => {
|
|
39
|
+
// @ts-expect-error
|
|
40
|
+
if (!globalThis.__wix_context__) {
|
|
41
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
42
|
+
}
|
|
43
|
+
// @ts-expect-error
|
|
44
|
+
return globalThis.__wix_context__
|
|
45
|
+
.initWixModules(headless_v1_o_auth_app_public_1.queryOAuthApps)
|
|
46
|
+
.apply(undefined, args);
|
|
47
|
+
};
|
|
48
|
+
exports.queryOAuthApps = queryOAuthApps;
|
|
49
|
+
//# sourceMappingURL=headless-v1-o-auth-app.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"headless-v1-o-auth-app.context.js","sourceRoot":"","sources":["../../../src/headless-v1-o-auth-app.context.ts"],"names":[],"mappings":";;;AAAA,mFAKyC;AAGlC,MAAM,cAAc,GAAmD,CAC5E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,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;AAC5B,CAAC,CAAC;AAbW,QAAA,cAAc,kBAazB"}
|
|
@@ -22,6 +22,7 @@ export declare function getOAuthApp(payload: GetOAuthAppRequest): RequestOptions
|
|
|
22
22
|
* + `description`
|
|
23
23
|
* + `allowedDomain`
|
|
24
24
|
* + `loginUrl`
|
|
25
|
+
* + `logoutUrl`
|
|
25
26
|
*/
|
|
26
27
|
export declare function updateOAuthApp(payload: UpdateOAuthAppRequest): RequestOptionsFactory<UpdateOAuthAppResponse & UpdateOAuthAppResponseNonNullableFields>;
|
|
27
28
|
/**
|
|
@@ -2,20 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.queryOAuthApps = exports.updateOAuthApp = exports.getOAuthApp = exports.createOAuthApp = void 0;
|
|
4
4
|
const metro_runtime_1 = require("@wix/metro-runtime");
|
|
5
|
-
const
|
|
5
|
+
const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
6
|
+
const timestamp_2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
7
|
+
const field_mask_1 = require("@wix/sdk-runtime/transformations/field-mask");
|
|
8
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
6
9
|
const metro_runtime_2 = require("@wix/metro-runtime");
|
|
7
|
-
const _createOAuthAppRequest = { oAuthApp: '_oAuthApp' };
|
|
8
|
-
const _createOAuthAppResponse = { oAuthApp: '_oAuthApp' };
|
|
9
|
-
const _getOAuthAppRequest = {};
|
|
10
|
-
const _getOAuthAppResponse = { oAuthApp: '_oAuthApp' };
|
|
11
|
-
const _oAuthApp = { createdDate: 'google.protobuf.Timestamp' };
|
|
12
|
-
const _queryOAuthAppsRequest = {};
|
|
13
|
-
const _queryOAuthAppsResponse = { oAuthApps: '_oAuthApp' };
|
|
14
|
-
const _updateOAuthAppRequest = {
|
|
15
|
-
mask: 'google.protobuf.FieldMask',
|
|
16
|
-
oAuthApp: '_oAuthApp',
|
|
17
|
-
};
|
|
18
|
-
const _updateOAuthAppResponse = { oAuthApp: '_oAuthApp' };
|
|
19
10
|
function resolveWixHeadlessV1OAuthAppServiceUrl(opts) {
|
|
20
11
|
const domainToMappings = {
|
|
21
12
|
'manage._base_domain_': [
|
|
@@ -34,6 +25,12 @@ function resolveWixHeadlessV1OAuthAppServiceUrl(opts) {
|
|
|
34
25
|
destPath: '',
|
|
35
26
|
},
|
|
36
27
|
],
|
|
28
|
+
'api._api_base_domain_': [
|
|
29
|
+
{
|
|
30
|
+
srcPath: '/oauth-app-service',
|
|
31
|
+
destPath: '',
|
|
32
|
+
},
|
|
33
|
+
],
|
|
37
34
|
};
|
|
38
35
|
return (0, metro_runtime_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
39
36
|
}
|
|
@@ -46,12 +43,13 @@ function resolveWixHeadlessV1OAuthAppServiceUrl(opts) {
|
|
|
46
43
|
* > **Note:** The OAuth app secret is returned only when creating the OAuth app, and can't be retrieved later. Store the secret in a secure location.
|
|
47
44
|
*/
|
|
48
45
|
function createOAuthApp(payload) {
|
|
49
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_createOAuthAppRequest, { _oAuthApp });
|
|
50
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_createOAuthAppResponse, {
|
|
51
|
-
_oAuthApp,
|
|
52
|
-
});
|
|
53
46
|
function __createOAuthApp({ host }) {
|
|
54
|
-
const serializedData =
|
|
47
|
+
const serializedData = (0, transform_paths_1.transformPaths)(payload, [
|
|
48
|
+
{
|
|
49
|
+
transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
|
|
50
|
+
paths: [{ path: 'oAuthApp.createdDate' }],
|
|
51
|
+
},
|
|
52
|
+
]);
|
|
55
53
|
const metadata = {
|
|
56
54
|
entityFqdn: 'wix.headless.v1.o_auth_app',
|
|
57
55
|
method: 'POST',
|
|
@@ -62,35 +60,40 @@ function createOAuthApp(payload) {
|
|
|
62
60
|
host,
|
|
63
61
|
}),
|
|
64
62
|
data: serializedData,
|
|
65
|
-
transformResponse:
|
|
63
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
64
|
+
{
|
|
65
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
66
|
+
paths: [{ path: 'oAuthApp.createdDate' }],
|
|
67
|
+
},
|
|
68
|
+
]),
|
|
66
69
|
};
|
|
67
70
|
return metadata;
|
|
68
71
|
}
|
|
69
|
-
__createOAuthApp.fromReq = fromReq;
|
|
70
72
|
return __createOAuthApp;
|
|
71
73
|
}
|
|
72
74
|
exports.createOAuthApp = createOAuthApp;
|
|
73
75
|
/** Retrieves an OAuth app by ID. */
|
|
74
76
|
function getOAuthApp(payload) {
|
|
75
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_getOAuthAppRequest, {});
|
|
76
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_getOAuthAppResponse, { _oAuthApp });
|
|
77
77
|
function __getOAuthApp({ host }) {
|
|
78
|
-
const serializedData = toReq(payload);
|
|
79
78
|
const metadata = {
|
|
80
79
|
entityFqdn: 'wix.headless.v1.o_auth_app',
|
|
81
80
|
method: 'GET',
|
|
82
81
|
methodFqn: 'wix.headless.v1.OAuthAppService.GetOAuthApp',
|
|
83
82
|
url: resolveWixHeadlessV1OAuthAppServiceUrl({
|
|
84
83
|
protoPath: '/v1/oauth-apps/{oAuthAppId}',
|
|
85
|
-
data:
|
|
84
|
+
data: payload,
|
|
86
85
|
host,
|
|
87
86
|
}),
|
|
88
|
-
params: (0, metro_runtime_1.toURLSearchParams)(
|
|
89
|
-
transformResponse:
|
|
87
|
+
params: (0, metro_runtime_1.toURLSearchParams)(payload),
|
|
88
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
89
|
+
{
|
|
90
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
91
|
+
paths: [{ path: 'oAuthApp.createdDate' }],
|
|
92
|
+
},
|
|
93
|
+
]),
|
|
90
94
|
};
|
|
91
95
|
return metadata;
|
|
92
96
|
}
|
|
93
|
-
__getOAuthApp.fromReq = fromReq;
|
|
94
97
|
return __getOAuthApp;
|
|
95
98
|
}
|
|
96
99
|
exports.getOAuthApp = getOAuthApp;
|
|
@@ -105,14 +108,20 @@ exports.getOAuthApp = getOAuthApp;
|
|
|
105
108
|
* + `description`
|
|
106
109
|
* + `allowedDomain`
|
|
107
110
|
* + `loginUrl`
|
|
111
|
+
* + `logoutUrl`
|
|
108
112
|
*/
|
|
109
113
|
function updateOAuthApp(payload) {
|
|
110
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_updateOAuthAppRequest, { _oAuthApp });
|
|
111
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_updateOAuthAppResponse, {
|
|
112
|
-
_oAuthApp,
|
|
113
|
-
});
|
|
114
114
|
function __updateOAuthApp({ host }) {
|
|
115
|
-
const serializedData =
|
|
115
|
+
const serializedData = (0, transform_paths_1.transformPaths)(payload, [
|
|
116
|
+
{
|
|
117
|
+
transformFn: field_mask_1.transformSDKFieldMaskToRESTFieldMask,
|
|
118
|
+
paths: [{ path: 'mask' }],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
|
|
122
|
+
paths: [{ path: 'oAuthApp.createdDate' }],
|
|
123
|
+
},
|
|
124
|
+
]);
|
|
116
125
|
const metadata = {
|
|
117
126
|
entityFqdn: 'wix.headless.v1.o_auth_app',
|
|
118
127
|
method: 'PATCH',
|
|
@@ -123,11 +132,15 @@ function updateOAuthApp(payload) {
|
|
|
123
132
|
host,
|
|
124
133
|
}),
|
|
125
134
|
data: serializedData,
|
|
126
|
-
transformResponse:
|
|
135
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
136
|
+
{
|
|
137
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
138
|
+
paths: [{ path: 'oAuthApp.createdDate' }],
|
|
139
|
+
},
|
|
140
|
+
]),
|
|
127
141
|
};
|
|
128
142
|
return metadata;
|
|
129
143
|
}
|
|
130
|
-
__updateOAuthApp.fromReq = fromReq;
|
|
131
144
|
return __updateOAuthApp;
|
|
132
145
|
}
|
|
133
146
|
exports.updateOAuthApp = updateOAuthApp;
|
|
@@ -140,27 +153,26 @@ exports.updateOAuthApp = updateOAuthApp;
|
|
|
140
153
|
* + `paging.offset` is `0`.
|
|
141
154
|
*/
|
|
142
155
|
function queryOAuthApps(payload) {
|
|
143
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_queryOAuthAppsRequest, {});
|
|
144
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_queryOAuthAppsResponse, {
|
|
145
|
-
_oAuthApp,
|
|
146
|
-
});
|
|
147
156
|
function __queryOAuthApps({ host }) {
|
|
148
|
-
const serializedData = toReq(payload);
|
|
149
157
|
const metadata = {
|
|
150
158
|
entityFqdn: 'wix.headless.v1.o_auth_app',
|
|
151
159
|
method: 'POST',
|
|
152
160
|
methodFqn: 'wix.headless.v1.OAuthAppService.QueryOAuthApps',
|
|
153
161
|
url: resolveWixHeadlessV1OAuthAppServiceUrl({
|
|
154
162
|
protoPath: '/v1/oauth-apps/query',
|
|
155
|
-
data:
|
|
163
|
+
data: payload,
|
|
156
164
|
host,
|
|
157
165
|
}),
|
|
158
|
-
data:
|
|
159
|
-
transformResponse:
|
|
166
|
+
data: payload,
|
|
167
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
168
|
+
{
|
|
169
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
170
|
+
paths: [{ path: 'oAuthApps.createdDate' }],
|
|
171
|
+
},
|
|
172
|
+
]),
|
|
160
173
|
};
|
|
161
174
|
return metadata;
|
|
162
175
|
}
|
|
163
|
-
__queryOAuthApps.fromReq = fromReq;
|
|
164
176
|
return __queryOAuthApps;
|
|
165
177
|
}
|
|
166
178
|
exports.queryOAuthApps = queryOAuthApps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-v1-o-auth-app.http.js","sourceRoot":"","sources":["../../../src/headless-v1-o-auth-app.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"headless-v1-o-auth-app.http.js","sourceRoot":"","sources":["../../../src/headless-v1-o-auth-app.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,0EAAkG;AAClG,0EAAkG;AAClG,4EAAmG;AACnG,sFAAkF;AAClF,sDAAgD;AAkBhD,SAAS,sCAAsC,CAC7C,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,oBAAoB;gBAC7B,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,YAAY;gBACrB,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,YAAY;gBACrB,QAAQ,EAAE,EAAE;aACb;SACF;QACD,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,oBAAoB;gBAC7B,QAAQ,EAAE,EAAE;aACb;SACF;KACF,CAAC;IAEF,OAAO,IAAA,0BAAU,EAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,cAAc,CAC5B,OAA8B;IAI9B,SAAS,gBAAgB,CAAC,EAAE,IAAI,EAAO;QACrC,MAAM,cAAc,GAAG,IAAA,gCAAc,EAAC,OAAO,EAAE;YAC7C;gBACE,WAAW,EAAE,gDAAoC;gBACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC;aAC1C;SACF,CAAC,CAAC;QACH,MAAM,Q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,IAAA,gCAAc,EAAC,OAAO,EAAE;gBACtB;oBACE,WAAW,EAAE,gDAAoC;oBACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;iBAC3C;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AA7BD,wCA6BC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as ambassadorWixHeadlessV1OAuthAppTypes from './headless-v1-o-auth-app.types';
|
|
2
2
|
import * as ambassadorWixHeadlessV1OAuthAppUniversalTypes from './headless-v1-o-auth-app.universal';
|
|
3
|
-
export
|
|
3
|
+
export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4
4
|
getUrl: (context: any) => string;
|
|
5
5
|
httpMethod: K;
|
|
6
6
|
path: string;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-v1-o-auth-app.meta.js","sourceRoot":"","sources":["../../../src/headless-v1-o-auth-app.meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"headless-v1-o-auth-app.meta.js","sourceRoot":"","sources":["../../../src/headless-v1-o-auth-app.meta.ts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EAAE,EAAE,aAAa,EAAE,EAAS,CAAC;IAE3D,MAAM,iBAAiB,GACrB,+BAA+B,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAE1D,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,OAAO;QACnB,IAAI,EAAE,8BAA8B;QACpC,UAAU,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE;QACxC,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,wCA8BC;AAED,SAAgB,cAAc;IAU5B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,+BAA+B,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAE1D,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,MAAM;QAClB,IAAI,EAAE,sBAAsB;QAC5B,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,wCA8BC"}
|
|
@@ -11,10 +11,11 @@ export declare function getOAuthApp(httpClient: HttpClient): (oAuthAppId: string
|
|
|
11
11
|
allowedRedirectUris: string[];
|
|
12
12
|
allowedRedirectDomains: string[];
|
|
13
13
|
}>;
|
|
14
|
-
export declare function updateOAuthApp(httpClient: HttpClient): (_id: string | null, oAuthApp: UpdateOAuthApp
|
|
14
|
+
export declare function updateOAuthApp(httpClient: HttpClient): (_id: string | null, oAuthApp: UpdateOAuthApp) => Promise<OAuthApp & {
|
|
15
15
|
allowedRedirectUris: string[];
|
|
16
16
|
allowedRedirectDomains: string[];
|
|
17
17
|
}>;
|
|
18
18
|
export declare function queryOAuthApps(httpClient: HttpClient): () => import("./headless-v1-o-auth-app.universal").OAuthAppsQueryBuilder;
|
|
19
|
-
export { SortOrder } from './headless-v1-o-auth-app.universal';
|
|
20
|
-
export { OAuthApp, CreateOAuthAppRequest, CreateOAuthAppResponse, GetOAuthAppRequest, GetOAuthAppResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, QueryOAuthAppsRequest, PlatformQuery, PlatformQueryPagingMethodOneOf, Sorting, Paging, CursorPaging, QueryOAuthAppsResponse, PagingMetadataV2, Cursors, GenerateOAuthAppSecretRequest, GenerateOAuthAppSecretResponse, CreateOAuthAppResponseNonNullableFields, GetOAuthAppResponseNonNullableFields, UpdateOAuthAppResponseNonNullableFields, QueryOAuthAppsResponseNonNullableFields, UpdateOAuthApp, OAuthAppsQueryResult, OAuthAppsQueryBuilder, } from './headless-v1-o-auth-app.universal';
|
|
19
|
+
export { SortOrder, State, SiteCreatedContext, Namespace, DeleteStatus, } from './headless-v1-o-auth-app.universal';
|
|
20
|
+
export { OAuthApp, CreateOAuthAppRequest, CreateOAuthAppResponse, GetOAuthAppRequest, GetOAuthAppResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, QueryOAuthAppsRequest, PlatformQuery, PlatformQueryPagingMethodOneOf, Sorting, Paging, CursorPaging, QueryOAuthAppsResponse, PagingMetadataV2, Cursors, GenerateOAuthAppSecretRequest, GenerateOAuthAppSecretResponse, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Asset, SiteCreated, SiteTransferred, SiteDeleted, DeleteContext, SiteUndeleted, SitePublished, SiteUnpublished, SiteMarkedAsTemplate, SiteMarkedAsWixSite, ServiceProvisioned, ServiceRemoved, SiteRenamed, SiteHardDeleted, NamespaceChanged, StudioAssigned, StudioUnassigned, Empty, DomainEvent, DomainCreatedEvent, DomainDeletedEvent, DomainUpdatedEvent, DomainActionEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, CreateOAuthAppResponseNonNullableFields, GetOAuthAppResponseNonNullableFields, UpdateOAuthAppResponseNonNullableFields, QueryOAuthAppsResponseNonNullableFields, UpdateOAuthApp, OAuthAppsQueryResult, OAuthAppsQueryBuilder, } from './headless-v1-o-auth-app.universal';
|
|
21
|
+
export { onOAuthAppCreated, onOAuthAppUpdated, onOAuthAppDeleted, } from './headless-v1-o-auth-app.universal';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SortOrder = exports.queryOAuthApps = exports.updateOAuthApp = exports.getOAuthApp = exports.createOAuthApp = exports.__metadata = void 0;
|
|
3
|
+
exports.onOAuthAppDeleted = exports.onOAuthAppUpdated = exports.onOAuthAppCreated = exports.DeleteStatus = exports.Namespace = exports.SiteCreatedContext = exports.State = exports.SortOrder = exports.queryOAuthApps = exports.updateOAuthApp = exports.getOAuthApp = exports.createOAuthApp = exports.__metadata = void 0;
|
|
4
4
|
const headless_v1_o_auth_app_universal_1 = require("./headless-v1-o-auth-app.universal");
|
|
5
5
|
exports.__metadata = { PACKAGE_NAME: '@wix/auth-management' };
|
|
6
6
|
function createOAuthApp(httpClient) {
|
|
@@ -16,7 +16,7 @@ function getOAuthApp(httpClient) {
|
|
|
16
16
|
}
|
|
17
17
|
exports.getOAuthApp = getOAuthApp;
|
|
18
18
|
function updateOAuthApp(httpClient) {
|
|
19
|
-
return (_id, oAuthApp
|
|
19
|
+
return (_id, oAuthApp) => (0, headless_v1_o_auth_app_universal_1.updateOAuthApp)(_id, oAuthApp,
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
{ httpClient });
|
|
22
22
|
}
|
|
@@ -29,4 +29,12 @@ function queryOAuthApps(httpClient) {
|
|
|
29
29
|
exports.queryOAuthApps = queryOAuthApps;
|
|
30
30
|
var headless_v1_o_auth_app_universal_2 = require("./headless-v1-o-auth-app.universal");
|
|
31
31
|
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return headless_v1_o_auth_app_universal_2.SortOrder; } });
|
|
32
|
+
Object.defineProperty(exports, "State", { enumerable: true, get: function () { return headless_v1_o_auth_app_universal_2.State; } });
|
|
33
|
+
Object.defineProperty(exports, "SiteCreatedContext", { enumerable: true, get: function () { return headless_v1_o_auth_app_universal_2.SiteCreatedContext; } });
|
|
34
|
+
Object.defineProperty(exports, "Namespace", { enumerable: true, get: function () { return headless_v1_o_auth_app_universal_2.Namespace; } });
|
|
35
|
+
Object.defineProperty(exports, "DeleteStatus", { enumerable: true, get: function () { return headless_v1_o_auth_app_universal_2.DeleteStatus; } });
|
|
36
|
+
var headless_v1_o_auth_app_universal_3 = require("./headless-v1-o-auth-app.universal");
|
|
37
|
+
Object.defineProperty(exports, "onOAuthAppCreated", { enumerable: true, get: function () { return headless_v1_o_auth_app_universal_3.onOAuthAppCreated; } });
|
|
38
|
+
Object.defineProperty(exports, "onOAuthAppUpdated", { enumerable: true, get: function () { return headless_v1_o_auth_app_universal_3.onOAuthAppUpdated; } });
|
|
39
|
+
Object.defineProperty(exports, "onOAuthAppDeleted", { enumerable: true, get: function () { return headless_v1_o_auth_app_universal_3.onOAuthAppDeleted; } });
|
|
32
40
|
//# sourceMappingURL=headless-v1-o-auth-app.public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-v1-o-auth-app.public.js","sourceRoot":"","sources":["../../../src/headless-v1-o-auth-app.public.ts"],"names":[],"mappings":";;;AACA,yFAO4C;AAE/B,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,sBAAsB,EAAE,CAAC;AAEnE,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,QAAkB,EAAE,EAAE,CAC5B,IAAA,iDAAuB,EACrB,QAAQ;IACR,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,wCAOC;AAED,SAAgB,WAAW,CAAC,UAAsB;IAChD,OAAO,CAAC,UAAkB,EAAE,EAAE,CAC5B,IAAA,8CAAoB,EAClB,UAAU;IACV,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,kCAOC;AAED,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,GAAkB,EAAE,QAAwB,EAAE,
|
|
1
|
+
{"version":3,"file":"headless-v1-o-auth-app.public.js","sourceRoot":"","sources":["../../../src/headless-v1-o-auth-app.public.ts"],"names":[],"mappings":";;;AACA,yFAO4C;AAE/B,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,sBAAsB,EAAE,CAAC;AAEnE,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,QAAkB,EAAE,EAAE,CAC5B,IAAA,iDAAuB,EACrB,QAAQ;IACR,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,wCAOC;AAED,SAAgB,WAAW,CAAC,UAAsB;IAChD,OAAO,CAAC,UAAkB,EAAE,EAAE,CAC5B,IAAA,8CAAoB,EAClB,UAAU;IACV,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,kCAOC;AAED,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,GAAkB,EAAE,QAAwB,EAAE,EAAE,CACtD,IAAA,iDAAuB,EACrB,GAAG,EACH,QAAQ;IACR,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wCAQC;AAED,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,GAAG,EAAE,CACV,IAAA,iDAAuB;IACrB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAND,wCAMC;AAED,uFAM4C;AAL1C,6HAAA,SAAS,OAAA;AACT,yHAAA,KAAK,OAAA;AACL,sIAAA,kBAAkB,OAAA;AAClB,6HAAA,SAAS,OAAA;AACT,gIAAA,YAAY,OAAA;AA6Dd,uFAI4C;AAH1C,qIAAA,iBAAiB,OAAA;AACjB,qIAAA,iBAAiB,OAAA;AACjB,qIAAA,iBAAiB,OAAA"}
|