@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
|
@@ -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];
|
|
@@ -28,31 +32,111 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28
32
|
});
|
|
29
33
|
};
|
|
30
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.queryOAuthApps = exports.updateOAuthApp = exports.getOAuthApp = exports.createOAuthApp = exports.
|
|
35
|
+
exports.queryOAuthApps = exports.updateOAuthApp = exports.getOAuthApp = exports.createOAuthApp = exports.onOAuthAppDeleted = exports.onOAuthAppUpdated = exports.onOAuthAppCreated = exports.DeleteStatus = exports.Namespace = exports.SiteCreatedContext = exports.State = exports.SortOrder = void 0;
|
|
32
36
|
const velo_1 = require("@wix/metro-runtime/velo");
|
|
37
|
+
const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
38
|
+
const sdk_types_1 = require("@wix/sdk-types");
|
|
33
39
|
const ambassadorWixHeadlessV1OAuthApp = __importStar(require("./headless-v1-o-auth-app.http"));
|
|
34
40
|
// @ts-ignore
|
|
35
41
|
const motion_edm_autogen_query_wrapper_1 = require("@wix/motion-edm-autogen-query-wrapper");
|
|
36
|
-
let __verbose = false;
|
|
37
|
-
function __log(...args) {
|
|
38
|
-
__verbose && console.log(...args);
|
|
39
|
-
}
|
|
40
|
-
function __inspect(obj) {
|
|
41
|
-
return obj;
|
|
42
|
-
}
|
|
43
|
-
exports.__debug = {
|
|
44
|
-
verboseLogging: {
|
|
45
|
-
on: () => (__verbose = true),
|
|
46
|
-
off: () => (__verbose = false),
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
42
|
const _toVeloEntity = '$';
|
|
50
43
|
const _fromVeloEntity = '$';
|
|
51
44
|
var SortOrder;
|
|
52
45
|
(function (SortOrder) {
|
|
53
46
|
SortOrder["ASC"] = "ASC";
|
|
54
47
|
SortOrder["DESC"] = "DESC";
|
|
55
|
-
})(SortOrder
|
|
48
|
+
})(SortOrder || (exports.SortOrder = SortOrder = {}));
|
|
49
|
+
var State;
|
|
50
|
+
(function (State) {
|
|
51
|
+
State["UNKNOWN"] = "UNKNOWN";
|
|
52
|
+
State["ENABLED"] = "ENABLED";
|
|
53
|
+
State["DISABLED"] = "DISABLED";
|
|
54
|
+
State["PENDING"] = "PENDING";
|
|
55
|
+
State["DEMO"] = "DEMO";
|
|
56
|
+
})(State || (exports.State = State = {}));
|
|
57
|
+
var SiteCreatedContext;
|
|
58
|
+
(function (SiteCreatedContext) {
|
|
59
|
+
/** A valid option, we don't expose all reasons why site might be created. */
|
|
60
|
+
SiteCreatedContext["OTHER"] = "OTHER";
|
|
61
|
+
/** A meta site was created from template. */
|
|
62
|
+
SiteCreatedContext["FROM_TEMPLATE"] = "FROM_TEMPLATE";
|
|
63
|
+
/** A meta site was created by copying of the transfferred meta site. */
|
|
64
|
+
SiteCreatedContext["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
|
|
65
|
+
/** A copy of existing meta site. */
|
|
66
|
+
SiteCreatedContext["DUPLICATE"] = "DUPLICATE";
|
|
67
|
+
/** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
|
|
68
|
+
SiteCreatedContext["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
|
|
69
|
+
/** deprecated A meta site was created for Flash editor. */
|
|
70
|
+
SiteCreatedContext["FLASH"] = "FLASH";
|
|
71
|
+
})(SiteCreatedContext || (exports.SiteCreatedContext = SiteCreatedContext = {}));
|
|
72
|
+
var Namespace;
|
|
73
|
+
(function (Namespace) {
|
|
74
|
+
Namespace["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
|
|
75
|
+
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
76
|
+
Namespace["WIX"] = "WIX";
|
|
77
|
+
/** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
78
|
+
Namespace["SHOUT_OUT"] = "SHOUT_OUT";
|
|
79
|
+
/** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
80
|
+
Namespace["ALBUMS"] = "ALBUMS";
|
|
81
|
+
/** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
82
|
+
Namespace["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
|
|
83
|
+
/** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
84
|
+
Namespace["HOTELS"] = "HOTELS";
|
|
85
|
+
/** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
86
|
+
Namespace["CLUBS"] = "CLUBS";
|
|
87
|
+
/** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
88
|
+
Namespace["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
|
|
89
|
+
/** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
90
|
+
Namespace["DEV_SITE"] = "DEV_SITE";
|
|
91
|
+
/** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
92
|
+
Namespace["LOGOS"] = "LOGOS";
|
|
93
|
+
/** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
94
|
+
Namespace["VIDEO_MAKER"] = "VIDEO_MAKER";
|
|
95
|
+
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
96
|
+
Namespace["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
|
|
97
|
+
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
98
|
+
Namespace["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
|
|
99
|
+
/**
|
|
100
|
+
* A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
|
|
101
|
+
*
|
|
102
|
+
* Meta site with this namespace will *not* be shown in a user's site list by default.
|
|
103
|
+
*/
|
|
104
|
+
Namespace["HTML_DRAFT"] = "HTML_DRAFT";
|
|
105
|
+
/**
|
|
106
|
+
* the user-journey for Fitness users who want to start from managing their business instead of designing their website.
|
|
107
|
+
* Will be accessible from Site List and will not have a website app.
|
|
108
|
+
* Once the user attaches a site, the site will become a regular wixsite.
|
|
109
|
+
*/
|
|
110
|
+
Namespace["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
|
|
111
|
+
/** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
|
|
112
|
+
Namespace["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
|
|
113
|
+
/** It is to be used in the Business First efforts. */
|
|
114
|
+
Namespace["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
|
|
115
|
+
/** Bookings business flow with no site. */
|
|
116
|
+
Namespace["ANYWHERE"] = "ANYWHERE";
|
|
117
|
+
/** Namespace for Headless Backoffice with no editor */
|
|
118
|
+
Namespace["HEADLESS"] = "HEADLESS";
|
|
119
|
+
/**
|
|
120
|
+
* Namespace for master site that will exist in parent account that will be referenced by subaccounts
|
|
121
|
+
* The site will be used for account level CSM feature for enterprise
|
|
122
|
+
*/
|
|
123
|
+
Namespace["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
|
|
124
|
+
/** Rise.ai Siteless account management for Gift Cards and Store Credit. */
|
|
125
|
+
Namespace["RISE"] = "RISE";
|
|
126
|
+
/**
|
|
127
|
+
* As part of the branded app new funnel, users now can create a meta site that will be branded app first.
|
|
128
|
+
* There's a blank site behind the scene but it's blank).
|
|
129
|
+
* The Mobile company will be the owner of this namespace.
|
|
130
|
+
*/
|
|
131
|
+
Namespace["BRANDED_FIRST"] = "BRANDED_FIRST";
|
|
132
|
+
})(Namespace || (exports.Namespace = Namespace = {}));
|
|
133
|
+
var DeleteStatus;
|
|
134
|
+
(function (DeleteStatus) {
|
|
135
|
+
DeleteStatus["UNKNOWN"] = "UNKNOWN";
|
|
136
|
+
DeleteStatus["TRASH"] = "TRASH";
|
|
137
|
+
DeleteStatus["DELETED"] = "DELETED";
|
|
138
|
+
DeleteStatus["PENDING_PURGE"] = "PENDING_PURGE";
|
|
139
|
+
})(DeleteStatus || (exports.DeleteStatus = DeleteStatus = {}));
|
|
56
140
|
const _createOAuthAppRequest = {};
|
|
57
141
|
const _createOAuthAppResponse = {};
|
|
58
142
|
const _getOAuthAppRequest = {};
|
|
@@ -61,6 +145,9 @@ const _queryOAuthAppsRequest = {};
|
|
|
61
145
|
const _queryOAuthAppsResponse = {};
|
|
62
146
|
const _updateOAuthAppRequest = {};
|
|
63
147
|
const _updateOAuthAppResponse = {};
|
|
148
|
+
exports.onOAuthAppCreated = (0, sdk_types_1.EventDefinition)('wix.headless.v1.o_auth_app_created')();
|
|
149
|
+
exports.onOAuthAppUpdated = (0, sdk_types_1.EventDefinition)('wix.headless.v1.o_auth_app_updated')();
|
|
150
|
+
exports.onOAuthAppDeleted = (0, sdk_types_1.EventDefinition)('wix.headless.v1.o_auth_app_deleted')();
|
|
64
151
|
/**
|
|
65
152
|
* Creates a new OAuth app for a Wix Headless client.
|
|
66
153
|
*
|
|
@@ -74,6 +161,7 @@ const _updateOAuthAppResponse = {};
|
|
|
74
161
|
* @requiredField oAuthApp
|
|
75
162
|
* @requiredField oAuthApp.name
|
|
76
163
|
* @permissionScope Manage OAuth Apps
|
|
164
|
+
* @permissionScopeId SCOPE.OAUTH_APP.MANAGE
|
|
77
165
|
* @applicableIdentity APP
|
|
78
166
|
* @returns Created OAuth app info.
|
|
79
167
|
*/
|
|
@@ -104,7 +192,6 @@ function createOAuthApp(oAuthApp) {
|
|
|
104
192
|
});
|
|
105
193
|
const payload = toAmbassadorRequest([oAuthApp]);
|
|
106
194
|
const reqOpts = ambassadorWixHeadlessV1OAuthApp.createOAuthApp(payload);
|
|
107
|
-
__log(`"CreateOAuthApp" sending request with: ${__inspect(reqOpts)}`);
|
|
108
195
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
109
196
|
try {
|
|
110
197
|
const result = yield httpClient.request(reqOpts);
|
|
@@ -112,9 +199,11 @@ function createOAuthApp(oAuthApp) {
|
|
|
112
199
|
return fromJSON(result.data);
|
|
113
200
|
}
|
|
114
201
|
catch (err) {
|
|
115
|
-
const transformedError = (0,
|
|
116
|
-
|
|
117
|
-
|
|
202
|
+
const transformedError = (0, transform_error_1.transformError)(err, {
|
|
203
|
+
spreadPathsToArguments: {},
|
|
204
|
+
explicitPathsToArguments: { oAuthApp: '$[0]' },
|
|
205
|
+
singleArgumentUnchanged: false,
|
|
206
|
+
}, ['oAuthApp']);
|
|
118
207
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
119
208
|
throw transformedError;
|
|
120
209
|
}
|
|
@@ -128,7 +217,9 @@ exports.createOAuthApp = createOAuthApp;
|
|
|
128
217
|
* @documentationMaturity preview
|
|
129
218
|
* @requiredField oAuthAppId
|
|
130
219
|
* @permissionScope Manage OAuth Apps
|
|
220
|
+
* @permissionScopeId SCOPE.OAUTH_APP.MANAGE
|
|
131
221
|
* @permissionScope Read OAuth Apps
|
|
222
|
+
* @permissionScopeId SCOPE.OAUTH_APP.READ
|
|
132
223
|
* @applicableIdentity APP
|
|
133
224
|
* @returns Retrieved OAuth app info.
|
|
134
225
|
*/
|
|
@@ -159,7 +250,6 @@ function getOAuthApp(oAuthAppId) {
|
|
|
159
250
|
});
|
|
160
251
|
const payload = toAmbassadorRequest([oAuthAppId]);
|
|
161
252
|
const reqOpts = ambassadorWixHeadlessV1OAuthApp.getOAuthApp(payload);
|
|
162
|
-
__log(`"GetOAuthApp" sending request with: ${__inspect(reqOpts)}`);
|
|
163
253
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
164
254
|
try {
|
|
165
255
|
const result = yield httpClient.request(reqOpts);
|
|
@@ -167,9 +257,11 @@ function getOAuthApp(oAuthAppId) {
|
|
|
167
257
|
return fromJSON(result.data);
|
|
168
258
|
}
|
|
169
259
|
catch (err) {
|
|
170
|
-
const transformedError = (0,
|
|
171
|
-
|
|
172
|
-
|
|
260
|
+
const transformedError = (0, transform_error_1.transformError)(err, {
|
|
261
|
+
spreadPathsToArguments: {},
|
|
262
|
+
explicitPathsToArguments: { oAuthAppId: '$[0]' },
|
|
263
|
+
singleArgumentUnchanged: false,
|
|
264
|
+
}, ['oAuthAppId']);
|
|
173
265
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
174
266
|
throw transformedError;
|
|
175
267
|
}
|
|
@@ -187,27 +279,24 @@ exports.getOAuthApp = getOAuthApp;
|
|
|
187
279
|
* + `description`
|
|
188
280
|
* + `allowedDomain`
|
|
189
281
|
* + `loginUrl`
|
|
282
|
+
* + `logoutUrl`
|
|
190
283
|
* @param _id - ID of the OAuth app.
|
|
191
|
-
* @param mask - Explicit list of fields to update. Only fields listed are updated.
|
|
192
284
|
* @public
|
|
193
285
|
* @documentationMaturity preview
|
|
194
286
|
* @requiredField _id
|
|
195
|
-
* @requiredField mask
|
|
196
287
|
* @requiredField oAuthApp
|
|
197
288
|
* @permissionScope Manage OAuth Apps
|
|
289
|
+
* @permissionScopeId SCOPE.OAUTH_APP.MANAGE
|
|
198
290
|
* @applicableIdentity APP
|
|
199
291
|
* @returns Updated OAuth app info.
|
|
200
292
|
*/
|
|
201
|
-
function updateOAuthApp(_id, oAuthApp
|
|
293
|
+
function updateOAuthApp(_id, oAuthApp) {
|
|
202
294
|
var _a, _b, _c;
|
|
203
295
|
return __awaiter(this, arguments, void 0, function* () {
|
|
204
|
-
const requestTransformation = {
|
|
205
|
-
oAuthApp: { '*': '$[1]', id: '$[0]' },
|
|
206
|
-
mask: '$[2]',
|
|
207
|
-
};
|
|
296
|
+
const requestTransformation = { oAuthApp: { '*': '$[1]', id: '$[0]' } };
|
|
208
297
|
const responseTransformation = '$.oAuthApp';
|
|
209
298
|
// @ts-ignore
|
|
210
|
-
const { httpClient, sideEffects } = arguments[
|
|
299
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
211
300
|
const { toAmbassadorRequest } = (0, velo_1.serializer)({
|
|
212
301
|
rootSchema: _updateOAuthAppRequest,
|
|
213
302
|
depSchemas: {},
|
|
@@ -226,9 +315,8 @@ function updateOAuthApp(_id, oAuthApp, mask) {
|
|
|
226
315
|
},
|
|
227
316
|
customTransformation: responseTransformation,
|
|
228
317
|
});
|
|
229
|
-
const payload = toAmbassadorRequest([_id, oAuthApp
|
|
318
|
+
const payload = toAmbassadorRequest([_id, oAuthApp]);
|
|
230
319
|
const reqOpts = ambassadorWixHeadlessV1OAuthApp.updateOAuthApp(payload);
|
|
231
|
-
__log(`"UpdateOAuthApp" sending request with: ${__inspect(reqOpts)}`);
|
|
232
320
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
233
321
|
try {
|
|
234
322
|
const result = yield httpClient.request(reqOpts);
|
|
@@ -236,11 +324,11 @@ function updateOAuthApp(_id, oAuthApp, mask) {
|
|
|
236
324
|
return fromJSON(result.data);
|
|
237
325
|
}
|
|
238
326
|
catch (err) {
|
|
239
|
-
const transformedError = (0,
|
|
240
|
-
'
|
|
241
|
-
'oAuthApp',
|
|
242
|
-
|
|
243
|
-
]);
|
|
327
|
+
const transformedError = (0, transform_error_1.transformError)(err, {
|
|
328
|
+
spreadPathsToArguments: { oAuthApp: '$[1]' },
|
|
329
|
+
explicitPathsToArguments: { 'oAuthApp.id': '$[0]' },
|
|
330
|
+
singleArgumentUnchanged: false,
|
|
331
|
+
}, ['_id', 'oAuthApp']);
|
|
244
332
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
245
333
|
throw transformedError;
|
|
246
334
|
}
|
|
@@ -257,7 +345,9 @@ exports.updateOAuthApp = updateOAuthApp;
|
|
|
257
345
|
* @public
|
|
258
346
|
* @documentationMaturity preview
|
|
259
347
|
* @permissionScope Manage OAuth Apps
|
|
348
|
+
* @permissionScopeId SCOPE.OAUTH_APP.MANAGE
|
|
260
349
|
* @permissionScope Read OAuth Apps
|
|
350
|
+
* @permissionScopeId SCOPE.OAUTH_APP.READ
|
|
261
351
|
* @applicableIdentity APP
|
|
262
352
|
*/
|
|
263
353
|
function queryOAuthApps() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headless-v1-o-auth-app.universal.js","sourceRoot":"","sources":["../../../src/headless-v1-o-auth-app.universal.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"headless-v1-o-auth-app.universal.js","sourceRoot":"","sources":["../../../src/headless-v1-o-auth-app.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AACjC,sEAAuF;AACvF,8CAA6D;AAC7D,+FAAiF;AACjF,aAAa;AACb,4FAA6E;AAE7E,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AA+H5B,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA8ID,IAAY,KAMX;AAND,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,8BAAqB,CAAA;IACrB,4BAAmB,CAAA;IACnB,sBAAa,CAAA;AACf,CAAC,EANW,KAAK,qBAAL,KAAK,QAMhB;AAsBD,IAAY,kBAaX;AAbD,WAAY,kBAAkB;IAC5B,6EAA6E;IAC7E,qCAAe,CAAA;IACf,6CAA6C;IAC7C,qDAA+B,CAAA;IAC/B,wEAAwE;IACxE,+EAAyD,CAAA;IACzD,oCAAoC;IACpC,6CAAuB,CAAA;IACvB,wGAAwG;IACxG,6DAAuC,CAAA;IACvC,2DAA2D;IAC3D,qCAAe,CAAA;AACjB,CA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,GAAG,+BAA+B,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;YAExE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,2DAAI,CAAC;YAC5B,IAAI,CAAC;gBACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;gBACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,4DAAG,MAAM,CAAC,CAAC;gBACjC,OAAO,MAAM,CAAC;YAChB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,4DAAG,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;YACZ,CAAC;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AAzDD,wCAyDC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as oAuthApps from './src/headless-v1-o-auth-app.context';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,sCAAsC,CAAC"}
|
|
@@ -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,42 @@
|
|
|
1
|
+
import { createOAuthApp as publicCreateOAuthApp, getOAuthApp as publicGetOAuthApp, updateOAuthApp as publicUpdateOAuthApp, queryOAuthApps as publicQueryOAuthApps, } from './headless-v1-o-auth-app.public';
|
|
2
|
+
export const createOAuthApp = (...args) => {
|
|
3
|
+
// @ts-expect-error
|
|
4
|
+
if (!globalThis.__wix_context__) {
|
|
5
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
6
|
+
}
|
|
7
|
+
// @ts-expect-error
|
|
8
|
+
return globalThis.__wix_context__
|
|
9
|
+
.initWixModules(publicCreateOAuthApp)
|
|
10
|
+
.apply(undefined, args);
|
|
11
|
+
};
|
|
12
|
+
export const getOAuthApp = (...args) => {
|
|
13
|
+
// @ts-expect-error
|
|
14
|
+
if (!globalThis.__wix_context__) {
|
|
15
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
16
|
+
}
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
return globalThis.__wix_context__
|
|
19
|
+
.initWixModules(publicGetOAuthApp)
|
|
20
|
+
.apply(undefined, args);
|
|
21
|
+
};
|
|
22
|
+
export const updateOAuthApp = (...args) => {
|
|
23
|
+
// @ts-expect-error
|
|
24
|
+
if (!globalThis.__wix_context__) {
|
|
25
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
26
|
+
}
|
|
27
|
+
// @ts-expect-error
|
|
28
|
+
return globalThis.__wix_context__
|
|
29
|
+
.initWixModules(publicUpdateOAuthApp)
|
|
30
|
+
.apply(undefined, args);
|
|
31
|
+
};
|
|
32
|
+
export const queryOAuthApps = (...args) => {
|
|
33
|
+
// @ts-expect-error
|
|
34
|
+
if (!globalThis.__wix_context__) {
|
|
35
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
36
|
+
}
|
|
37
|
+
// @ts-expect-error
|
|
38
|
+
return globalThis.__wix_context__
|
|
39
|
+
.initWixModules(publicQueryOAuthApps)
|
|
40
|
+
.apply(undefined, args);
|
|
41
|
+
};
|
|
42
|
+
//# 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,OAAO,EACL,cAAc,IAAI,oBAAoB,EACtC,WAAW,IAAI,iBAAiB,EAChC,cAAc,IAAI,oBAAoB,EACtC,cAAc,IAAI,oBAAoB,GACvC,MAAM,iCAAiC,CAAC;AAGzC,MAAM,CAAC,MAAM,cAAc,GAAmD,CAC5E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,oBAAoB,CAAC;SACpC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,WAAW,GAAgD,CACtE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,iBAAiB,CAAC;SACjC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,cAAc,GAAmD,CAC5E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,oBAAoB,CAAC;SACpC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,cAAc,GAAmD,CAC5E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,oBAAoB,CAAC;SACpC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC"}
|
|
@@ -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
|
/**
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import { toURLSearchParams } from '@wix/metro-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';
|
|
3
|
+
import { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';
|
|
4
|
+
import { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';
|
|
5
|
+
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
3
6
|
import { resolveUrl } from '@wix/metro-runtime';
|
|
4
|
-
const _createOAuthAppRequest = { oAuthApp: '_oAuthApp' };
|
|
5
|
-
const _createOAuthAppResponse = { oAuthApp: '_oAuthApp' };
|
|
6
|
-
const _getOAuthAppRequest = {};
|
|
7
|
-
const _getOAuthAppResponse = { oAuthApp: '_oAuthApp' };
|
|
8
|
-
const _oAuthApp = { createdDate: 'google.protobuf.Timestamp' };
|
|
9
|
-
const _queryOAuthAppsRequest = {};
|
|
10
|
-
const _queryOAuthAppsResponse = { oAuthApps: '_oAuthApp' };
|
|
11
|
-
const _updateOAuthAppRequest = {
|
|
12
|
-
mask: 'google.protobuf.FieldMask',
|
|
13
|
-
oAuthApp: '_oAuthApp',
|
|
14
|
-
};
|
|
15
|
-
const _updateOAuthAppResponse = { oAuthApp: '_oAuthApp' };
|
|
16
7
|
function resolveWixHeadlessV1OAuthAppServiceUrl(opts) {
|
|
17
8
|
const domainToMappings = {
|
|
18
9
|
'manage._base_domain_': [
|
|
@@ -31,6 +22,12 @@ function resolveWixHeadlessV1OAuthAppServiceUrl(opts) {
|
|
|
31
22
|
destPath: '',
|
|
32
23
|
},
|
|
33
24
|
],
|
|
25
|
+
'api._api_base_domain_': [
|
|
26
|
+
{
|
|
27
|
+
srcPath: '/oauth-app-service',
|
|
28
|
+
destPath: '',
|
|
29
|
+
},
|
|
30
|
+
],
|
|
34
31
|
};
|
|
35
32
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
36
33
|
}
|
|
@@ -43,12 +40,13 @@ function resolveWixHeadlessV1OAuthAppServiceUrl(opts) {
|
|
|
43
40
|
* > **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.
|
|
44
41
|
*/
|
|
45
42
|
export function createOAuthApp(payload) {
|
|
46
|
-
const { toJSON: toReq, fromJSON: fromReq } = serializer(_createOAuthAppRequest, { _oAuthApp });
|
|
47
|
-
const { fromJSON: fromRes } = serializer(_createOAuthAppResponse, {
|
|
48
|
-
_oAuthApp,
|
|
49
|
-
});
|
|
50
43
|
function __createOAuthApp({ host }) {
|
|
51
|
-
const serializedData =
|
|
44
|
+
const serializedData = transformPaths(payload, [
|
|
45
|
+
{
|
|
46
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
47
|
+
paths: [{ path: 'oAuthApp.createdDate' }],
|
|
48
|
+
},
|
|
49
|
+
]);
|
|
52
50
|
const metadata = {
|
|
53
51
|
entityFqdn: 'wix.headless.v1.o_auth_app',
|
|
54
52
|
method: 'POST',
|
|
@@ -59,34 +57,39 @@ export function createOAuthApp(payload) {
|
|
|
59
57
|
host,
|
|
60
58
|
}),
|
|
61
59
|
data: serializedData,
|
|
62
|
-
transformResponse:
|
|
60
|
+
transformResponse: (payload) => transformPaths(payload, [
|
|
61
|
+
{
|
|
62
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
63
|
+
paths: [{ path: 'oAuthApp.createdDate' }],
|
|
64
|
+
},
|
|
65
|
+
]),
|
|
63
66
|
};
|
|
64
67
|
return metadata;
|
|
65
68
|
}
|
|
66
|
-
__createOAuthApp.fromReq = fromReq;
|
|
67
69
|
return __createOAuthApp;
|
|
68
70
|
}
|
|
69
71
|
/** Retrieves an OAuth app by ID. */
|
|
70
72
|
export function getOAuthApp(payload) {
|
|
71
|
-
const { toJSON: toReq, fromJSON: fromReq } = serializer(_getOAuthAppRequest, {});
|
|
72
|
-
const { fromJSON: fromRes } = serializer(_getOAuthAppResponse, { _oAuthApp });
|
|
73
73
|
function __getOAuthApp({ host }) {
|
|
74
|
-
const serializedData = toReq(payload);
|
|
75
74
|
const metadata = {
|
|
76
75
|
entityFqdn: 'wix.headless.v1.o_auth_app',
|
|
77
76
|
method: 'GET',
|
|
78
77
|
methodFqn: 'wix.headless.v1.OAuthAppService.GetOAuthApp',
|
|
79
78
|
url: resolveWixHeadlessV1OAuthAppServiceUrl({
|
|
80
79
|
protoPath: '/v1/oauth-apps/{oAuthAppId}',
|
|
81
|
-
data:
|
|
80
|
+
data: payload,
|
|
82
81
|
host,
|
|
83
82
|
}),
|
|
84
|
-
params: toURLSearchParams(
|
|
85
|
-
transformResponse:
|
|
83
|
+
params: toURLSearchParams(payload),
|
|
84
|
+
transformResponse: (payload) => transformPaths(payload, [
|
|
85
|
+
{
|
|
86
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
87
|
+
paths: [{ path: 'oAuthApp.createdDate' }],
|
|
88
|
+
},
|
|
89
|
+
]),
|
|
86
90
|
};
|
|
87
91
|
return metadata;
|
|
88
92
|
}
|
|
89
|
-
__getOAuthApp.fromReq = fromReq;
|
|
90
93
|
return __getOAuthApp;
|
|
91
94
|
}
|
|
92
95
|
/**
|
|
@@ -100,14 +103,20 @@ export function getOAuthApp(payload) {
|
|
|
100
103
|
* + `description`
|
|
101
104
|
* + `allowedDomain`
|
|
102
105
|
* + `loginUrl`
|
|
106
|
+
* + `logoutUrl`
|
|
103
107
|
*/
|
|
104
108
|
export function updateOAuthApp(payload) {
|
|
105
|
-
const { toJSON: toReq, fromJSON: fromReq } = serializer(_updateOAuthAppRequest, { _oAuthApp });
|
|
106
|
-
const { fromJSON: fromRes } = serializer(_updateOAuthAppResponse, {
|
|
107
|
-
_oAuthApp,
|
|
108
|
-
});
|
|
109
109
|
function __updateOAuthApp({ host }) {
|
|
110
|
-
const serializedData =
|
|
110
|
+
const serializedData = transformPaths(payload, [
|
|
111
|
+
{
|
|
112
|
+
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
113
|
+
paths: [{ path: 'mask' }],
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
117
|
+
paths: [{ path: 'oAuthApp.createdDate' }],
|
|
118
|
+
},
|
|
119
|
+
]);
|
|
111
120
|
const metadata = {
|
|
112
121
|
entityFqdn: 'wix.headless.v1.o_auth_app',
|
|
113
122
|
method: 'PATCH',
|
|
@@ -118,11 +127,15 @@ export function updateOAuthApp(payload) {
|
|
|
118
127
|
host,
|
|
119
128
|
}),
|
|
120
129
|
data: serializedData,
|
|
121
|
-
transformResponse:
|
|
130
|
+
transformResponse: (payload) => transformPaths(payload, [
|
|
131
|
+
{
|
|
132
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
133
|
+
paths: [{ path: 'oAuthApp.createdDate' }],
|
|
134
|
+
},
|
|
135
|
+
]),
|
|
122
136
|
};
|
|
123
137
|
return metadata;
|
|
124
138
|
}
|
|
125
|
-
__updateOAuthApp.fromReq = fromReq;
|
|
126
139
|
return __updateOAuthApp;
|
|
127
140
|
}
|
|
128
141
|
/**
|
|
@@ -134,27 +147,26 @@ export function updateOAuthApp(payload) {
|
|
|
134
147
|
* + `paging.offset` is `0`.
|
|
135
148
|
*/
|
|
136
149
|
export function queryOAuthApps(payload) {
|
|
137
|
-
const { toJSON: toReq, fromJSON: fromReq } = serializer(_queryOAuthAppsRequest, {});
|
|
138
|
-
const { fromJSON: fromRes } = serializer(_queryOAuthAppsResponse, {
|
|
139
|
-
_oAuthApp,
|
|
140
|
-
});
|
|
141
150
|
function __queryOAuthApps({ host }) {
|
|
142
|
-
const serializedData = toReq(payload);
|
|
143
151
|
const metadata = {
|
|
144
152
|
entityFqdn: 'wix.headless.v1.o_auth_app',
|
|
145
153
|
method: 'POST',
|
|
146
154
|
methodFqn: 'wix.headless.v1.OAuthAppService.QueryOAuthApps',
|
|
147
155
|
url: resolveWixHeadlessV1OAuthAppServiceUrl({
|
|
148
156
|
protoPath: '/v1/oauth-apps/query',
|
|
149
|
-
data:
|
|
157
|
+
data: payload,
|
|
150
158
|
host,
|
|
151
159
|
}),
|
|
152
|
-
data:
|
|
153
|
-
transformResponse:
|
|
160
|
+
data: payload,
|
|
161
|
+
transformResponse: (payload) => transformPaths(payload, [
|
|
162
|
+
{
|
|
163
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
164
|
+
paths: [{ path: 'oAuthApps.createdDate' }],
|
|
165
|
+
},
|
|
166
|
+
]),
|
|
154
167
|
};
|
|
155
168
|
return metadata;
|
|
156
169
|
}
|
|
157
|
-
__queryOAuthApps.fromReq = fromReq;
|
|
158
170
|
return __queryOAuthApps;
|
|
159
171
|
}
|
|
160
172
|
//# sourceMappingURL=headless-v1-o-auth-app.http.js.map
|
|
@@ -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,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"headless-v1-o-auth-app.http.js","sourceRoot":"","sources":["../../../src/headless-v1-o-auth-app.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,6CAA6C,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAkBhD,SAAS,sCAAsC,CAC7C,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OA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AAE,EAAE,CAClC,cAAc,CAAC,OAAO,EAAE;gBACtB;oBACE,WAAW,EAAE,oCAAoC;oBACjD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC;iBAC1C;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,cAAc,CAC5B,OAA8B;IAI9B,SAAS,gBAAgB,CAAC,EAAE,IAAI,EAAO;QACrC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,4BAA4B;YACxC,MAAM,EAAE,MAAa;YACrB,SAAS,EAAE,gDAAgD;YAC3D,GAAG,EAAE,sCAAsC,CAAC;gBAC1C,SAAS,EAAE,sBAAsB;gBACjC,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;YACb,iBAAiB,EAAE,CAAC,OAAY,EAAE,EAAE,CAClC,cAAc,CAAC,OAAO,EAAE;gBACtB;oBACE,WAAW,EAAE,oCAAoC;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"}
|
|
@@ -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;
|
|
@@ -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';
|