@wix/identity 1.0.72 → 1.0.74
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/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/iam-authentication-v1-authentication.http.js +184 -178
- package/build/cjs/src/iam-authentication-v1-authentication.http.js.map +1 -1
- package/build/cjs/src/iam-authentication-v1-authentication.meta.d.ts +1 -1
- package/build/cjs/src/iam-authentication-v1-authentication.meta.js +5 -1
- package/build/cjs/src/iam-authentication-v1-authentication.meta.js.map +1 -1
- package/build/cjs/src/iam-authentication-v1-authentication.public.d.ts +8 -8
- package/build/cjs/src/iam-authentication-v1-authentication.types.js +9 -9
- package/build/cjs/src/iam-authentication-v1-authentication.types.js.map +1 -1
- package/build/cjs/src/iam-authentication-v1-authentication.universal.js +91 -42
- package/build/cjs/src/iam-authentication-v1-authentication.universal.js.map +1 -1
- package/build/cjs/src/iam-recovery-v1-recovery.http.js +27 -64
- package/build/cjs/src/iam-recovery-v1-recovery.http.js.map +1 -1
- package/build/cjs/src/iam-recovery-v1-recovery.meta.d.ts +1 -1
- package/build/cjs/src/iam-recovery-v1-recovery.meta.js +5 -1
- package/build/cjs/src/iam-recovery-v1-recovery.meta.js.map +1 -1
- package/build/cjs/src/iam-recovery-v1-recovery.public.d.ts +3 -3
- package/build/cjs/src/iam-recovery-v1-recovery.types.js +8 -8
- package/build/cjs/src/iam-recovery-v1-recovery.types.js.map +1 -1
- package/build/cjs/src/iam-recovery-v1-recovery.universal.js +39 -21
- package/build/cjs/src/iam-recovery-v1-recovery.universal.js.map +1 -1
- package/build/cjs/src/iam-verification-v1-start-response.http.js +45 -73
- package/build/cjs/src/iam-verification-v1-start-response.http.js.map +1 -1
- package/build/cjs/src/iam-verification-v1-start-response.meta.d.ts +1 -1
- package/build/cjs/src/iam-verification-v1-start-response.meta.js +5 -1
- package/build/cjs/src/iam-verification-v1-start-response.meta.js.map +1 -1
- package/build/cjs/src/iam-verification-v1-start-response.public.d.ts +1 -1
- package/build/cjs/src/iam-verification-v1-start-response.types.js +8 -8
- package/build/cjs/src/iam-verification-v1-start-response.types.js.map +1 -1
- package/build/cjs/src/iam-verification-v1-start-response.universal.js +35 -19
- package/build/cjs/src/iam-verification-v1-start-response.universal.js.map +1 -1
- package/build/cjs/src/identity-oauth-v1-refresh-token.http.js +26 -43
- package/build/cjs/src/identity-oauth-v1-refresh-token.http.js.map +1 -1
- package/build/cjs/src/identity-oauth-v1-refresh-token.meta.d.ts +1 -1
- package/build/cjs/src/identity-oauth-v1-refresh-token.meta.js +5 -1
- package/build/cjs/src/identity-oauth-v1-refresh-token.meta.js.map +1 -1
- package/build/cjs/src/identity-oauth-v1-refresh-token.public.d.ts +5 -5
- package/build/cjs/src/identity-oauth-v1-refresh-token.universal.js +52 -16
- package/build/cjs/src/identity-oauth-v1-refresh-token.universal.js.map +1 -1
- package/build/es/src/iam-authentication-v1-authentication.http.js +184 -178
- package/build/es/src/iam-authentication-v1-authentication.http.js.map +1 -1
- package/build/es/src/iam-authentication-v1-authentication.meta.d.ts +1 -1
- package/build/es/src/iam-authentication-v1-authentication.public.d.ts +8 -8
- package/build/es/src/iam-authentication-v1-authentication.universal.js +78 -33
- package/build/es/src/iam-authentication-v1-authentication.universal.js.map +1 -1
- package/build/es/src/iam-recovery-v1-recovery.http.js +27 -64
- package/build/es/src/iam-recovery-v1-recovery.http.js.map +1 -1
- package/build/es/src/iam-recovery-v1-recovery.meta.d.ts +1 -1
- package/build/es/src/iam-recovery-v1-recovery.public.d.ts +3 -3
- package/build/es/src/iam-recovery-v1-recovery.universal.js +27 -13
- package/build/es/src/iam-recovery-v1-recovery.universal.js.map +1 -1
- package/build/es/src/iam-verification-v1-start-response.http.js +45 -73
- package/build/es/src/iam-verification-v1-start-response.http.js.map +1 -1
- package/build/es/src/iam-verification-v1-start-response.meta.d.ts +1 -1
- package/build/es/src/iam-verification-v1-start-response.public.d.ts +1 -1
- package/build/es/src/iam-verification-v1-start-response.universal.js +23 -11
- package/build/es/src/iam-verification-v1-start-response.universal.js.map +1 -1
- package/build/es/src/identity-oauth-v1-refresh-token.http.js +26 -43
- package/build/es/src/identity-oauth-v1-refresh-token.http.js.map +1 -1
- package/build/es/src/identity-oauth-v1-refresh-token.meta.d.ts +1 -1
- package/build/es/src/identity-oauth-v1-refresh-token.public.d.ts +5 -5
- package/build/es/src/identity-oauth-v1-refresh-token.universal.js +48 -16
- package/build/es/src/identity-oauth-v1-refresh-token.universal.js.map +1 -1
- package/package.json +7 -3
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,oGAAoF;AACpF,kFAAkE;AAClE,gGAAgF;AAChF,sFAAsE"}
|
|
@@ -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,uGAAuF;AACvF,qFAAqE;AACrE,mGAAmF;AACnF,yFAAyE"}
|
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,kGAAkF;AAClF,gFAAgE;AAChE,8FAA8E;AAC9E,oFAAoE"}
|
|
@@ -2,51 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.logout = exports.signOn = exports.proceedToNextState = exports.loginWithIdpConnectionTokenParams = exports.changePassword = exports.loginV2 = exports.registerV2 = exports.login = exports.register = void 0;
|
|
4
4
|
const metro_runtime_1 = require("@wix/metro-runtime");
|
|
5
|
-
const
|
|
5
|
+
const float_1 = require("@wix/sdk-runtime/transformations/float");
|
|
6
|
+
const float_2 = require("@wix/sdk-runtime/transformations/float");
|
|
7
|
+
const bytes_1 = require("@wix/sdk-runtime/transformations/bytes");
|
|
8
|
+
const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
9
|
+
const timestamp_2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
10
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
6
11
|
const metro_runtime_2 = require("@wix/metro-runtime");
|
|
7
|
-
const _changePasswordRequest = {};
|
|
8
|
-
const _changePasswordResponse = {};
|
|
9
|
-
const _commonCustomValue = {
|
|
10
|
-
numValue: 'DOUBLE',
|
|
11
|
-
dateValue: 'google.protobuf.Timestamp',
|
|
12
|
-
listValue: '_commonListValue',
|
|
13
|
-
mapValue: '_commonMapValue',
|
|
14
|
-
};
|
|
15
|
-
const _commonListValue = { value: '_commonCustomValue' };
|
|
16
|
-
const _commonMapValue = { value: 'Map#_commonCustomValue' };
|
|
17
|
-
const _customField = { value: '_customValue' };
|
|
18
|
-
const _customValue = {
|
|
19
|
-
numValue: 'DOUBLE',
|
|
20
|
-
dateValue: 'google.protobuf.Timestamp',
|
|
21
|
-
listValue: '_listValue',
|
|
22
|
-
mapValue: '_mapValue',
|
|
23
|
-
};
|
|
24
|
-
const _identity = {
|
|
25
|
-
createdDate: 'google.protobuf.Timestamp',
|
|
26
|
-
updatedDate: 'google.protobuf.Timestamp',
|
|
27
|
-
identityProfile: '_identityProfile',
|
|
28
|
-
};
|
|
29
|
-
const _identityProfile = { customFields: '_customField' };
|
|
30
|
-
const _listValue = { value: '_customValue' };
|
|
31
|
-
const _loginRequest = {};
|
|
32
|
-
const _loginResponse = {
|
|
33
|
-
identity: '_identity',
|
|
34
|
-
additionalData: 'Map#_customValue',
|
|
35
|
-
};
|
|
36
|
-
const _loginV2Request = {};
|
|
37
|
-
const _loginWithIdpConnectionTokenParamsRequest = {};
|
|
38
|
-
const _logoutRequest = {};
|
|
39
|
-
const _mapValue = { value: 'Map#_customValue' };
|
|
40
|
-
const _proceedToNextStateRequest = {};
|
|
41
|
-
const _rawHttpResponse = { body: 'BYTES' };
|
|
42
|
-
const _registerRequest = { identity: '_identity' };
|
|
43
|
-
const _registerV2Request = { profile: '_identityProfile' };
|
|
44
|
-
const _signOnRequest = { profile: '_identityProfile' };
|
|
45
|
-
const _signOnResponse = { identity: '_identity' };
|
|
46
|
-
const _stateMachineResponse = {
|
|
47
|
-
identity: '_identity',
|
|
48
|
-
additionalData: 'Map#_commonCustomValue',
|
|
49
|
-
};
|
|
50
12
|
function resolveWixIamAuthenticationV1AuthenticationServiceUrl(opts) {
|
|
51
13
|
const domainToMappings = {
|
|
52
14
|
_: [
|
|
@@ -99,24 +61,23 @@ function resolveWixIamAuthenticationV1AuthenticationServiceUrl(opts) {
|
|
|
99
61
|
return (0, metro_runtime_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
100
62
|
}
|
|
101
63
|
function register(payload) {
|
|
102
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_registerRequest, {
|
|
103
|
-
_customField,
|
|
104
|
-
_customValue,
|
|
105
|
-
_identity,
|
|
106
|
-
_identityProfile,
|
|
107
|
-
_listValue,
|
|
108
|
-
_mapValue,
|
|
109
|
-
});
|
|
110
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_loginResponse, {
|
|
111
|
-
_customField,
|
|
112
|
-
_customValue,
|
|
113
|
-
_identity,
|
|
114
|
-
_identityProfile,
|
|
115
|
-
_listValue,
|
|
116
|
-
_mapValue,
|
|
117
|
-
});
|
|
118
64
|
function __register({ host }) {
|
|
119
|
-
const serializedData =
|
|
65
|
+
const serializedData = (0, transform_paths_1.transformPaths)(payload, [
|
|
66
|
+
{
|
|
67
|
+
transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
|
|
68
|
+
paths: [
|
|
69
|
+
{ path: 'identity.createdDate' },
|
|
70
|
+
{ path: 'identity.updatedDate' },
|
|
71
|
+
{ path: 'identity.identityProfile.customFields.value.dateValue' },
|
|
72
|
+
],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
transformFn: float_1.transformSDKFloatToRESTFloat,
|
|
76
|
+
paths: [
|
|
77
|
+
{ path: 'identity.identityProfile.customFields.value.numValue' },
|
|
78
|
+
],
|
|
79
|
+
},
|
|
80
|
+
]);
|
|
120
81
|
const metadata = {
|
|
121
82
|
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
122
83
|
method: 'POST',
|
|
@@ -127,41 +88,63 @@ function register(payload) {
|
|
|
127
88
|
host,
|
|
128
89
|
}),
|
|
129
90
|
data: serializedData,
|
|
130
|
-
transformResponse:
|
|
91
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
92
|
+
{
|
|
93
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
94
|
+
paths: [
|
|
95
|
+
{ path: 'identity.createdDate' },
|
|
96
|
+
{ path: 'identity.updatedDate' },
|
|
97
|
+
{ path: 'identity.identityProfile.customFields.value.dateValue' },
|
|
98
|
+
{ path: 'additionalData.dateValue' },
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
103
|
+
paths: [
|
|
104
|
+
{ path: 'identity.identityProfile.customFields.value.numValue' },
|
|
105
|
+
{ path: 'additionalData.numValue' },
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
]),
|
|
131
109
|
};
|
|
132
110
|
return metadata;
|
|
133
111
|
}
|
|
134
|
-
__register.fromReq = fromReq;
|
|
135
112
|
return __register;
|
|
136
113
|
}
|
|
137
114
|
exports.register = register;
|
|
138
115
|
function login(payload) {
|
|
139
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_loginRequest, {});
|
|
140
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_loginResponse, {
|
|
141
|
-
_customField,
|
|
142
|
-
_customValue,
|
|
143
|
-
_identity,
|
|
144
|
-
_identityProfile,
|
|
145
|
-
_listValue,
|
|
146
|
-
_mapValue,
|
|
147
|
-
});
|
|
148
116
|
function __login({ host }) {
|
|
149
|
-
const serializedData = toReq(payload);
|
|
150
117
|
const metadata = {
|
|
151
118
|
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
152
119
|
method: 'POST',
|
|
153
120
|
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.Login',
|
|
154
121
|
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
155
122
|
protoPath: '/v1/login',
|
|
156
|
-
data:
|
|
123
|
+
data: payload,
|
|
157
124
|
host,
|
|
158
125
|
}),
|
|
159
|
-
data:
|
|
160
|
-
transformResponse:
|
|
126
|
+
data: payload,
|
|
127
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
128
|
+
{
|
|
129
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
130
|
+
paths: [
|
|
131
|
+
{ path: 'identity.createdDate' },
|
|
132
|
+
{ path: 'identity.updatedDate' },
|
|
133
|
+
{ path: 'identity.identityProfile.customFields.value.dateValue' },
|
|
134
|
+
{ path: 'additionalData.dateValue' },
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
139
|
+
paths: [
|
|
140
|
+
{ path: 'identity.identityProfile.customFields.value.numValue' },
|
|
141
|
+
{ path: 'additionalData.numValue' },
|
|
142
|
+
],
|
|
143
|
+
},
|
|
144
|
+
]),
|
|
161
145
|
};
|
|
162
146
|
return metadata;
|
|
163
147
|
}
|
|
164
|
-
__login.fromReq = fromReq;
|
|
165
148
|
return __login;
|
|
166
149
|
}
|
|
167
150
|
exports.login = login;
|
|
@@ -175,26 +158,17 @@ exports.login = login;
|
|
|
175
158
|
* member need to verify the email address using a code that is sent to the address.
|
|
176
159
|
*/
|
|
177
160
|
function registerV2(payload) {
|
|
178
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_registerV2Request, {
|
|
179
|
-
_customField,
|
|
180
|
-
_customValue,
|
|
181
|
-
_identityProfile,
|
|
182
|
-
_listValue,
|
|
183
|
-
_mapValue,
|
|
184
|
-
});
|
|
185
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_stateMachineResponse, {
|
|
186
|
-
_commonCustomValue,
|
|
187
|
-
_commonListValue,
|
|
188
|
-
_commonMapValue,
|
|
189
|
-
_customField,
|
|
190
|
-
_customValue,
|
|
191
|
-
_identity,
|
|
192
|
-
_identityProfile,
|
|
193
|
-
_listValue,
|
|
194
|
-
_mapValue,
|
|
195
|
-
});
|
|
196
161
|
function __registerV2({ host }) {
|
|
197
|
-
const serializedData =
|
|
162
|
+
const serializedData = (0, transform_paths_1.transformPaths)(payload, [
|
|
163
|
+
{
|
|
164
|
+
transformFn: float_1.transformSDKFloatToRESTFloat,
|
|
165
|
+
paths: [{ path: 'profile.customFields.value.numValue' }],
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
|
|
169
|
+
paths: [{ path: 'profile.customFields.value.dateValue' }],
|
|
170
|
+
},
|
|
171
|
+
]);
|
|
198
172
|
const metadata = {
|
|
199
173
|
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
200
174
|
method: 'POST',
|
|
@@ -205,11 +179,27 @@ function registerV2(payload) {
|
|
|
205
179
|
host,
|
|
206
180
|
}),
|
|
207
181
|
data: serializedData,
|
|
208
|
-
transformResponse:
|
|
182
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
183
|
+
{
|
|
184
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
185
|
+
paths: [
|
|
186
|
+
{ path: 'identity.createdDate' },
|
|
187
|
+
{ path: 'identity.updatedDate' },
|
|
188
|
+
{ path: 'identity.identityProfile.customFields.value.dateValue' },
|
|
189
|
+
{ path: 'additionalData.dateValue' },
|
|
190
|
+
],
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
194
|
+
paths: [
|
|
195
|
+
{ path: 'identity.identityProfile.customFields.value.numValue' },
|
|
196
|
+
{ path: 'additionalData.numValue' },
|
|
197
|
+
],
|
|
198
|
+
},
|
|
199
|
+
]),
|
|
209
200
|
};
|
|
210
201
|
return metadata;
|
|
211
202
|
}
|
|
212
|
-
__registerV2.fromReq = fromReq;
|
|
213
203
|
return __registerV2;
|
|
214
204
|
}
|
|
215
205
|
exports.registerV2 = registerV2;
|
|
@@ -220,143 +210,144 @@ exports.registerV2 = registerV2;
|
|
|
220
210
|
* logged-in member so that subsequent API calls are called as part of a member session.
|
|
221
211
|
*/
|
|
222
212
|
function loginV2(payload) {
|
|
223
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_loginV2Request, {});
|
|
224
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_stateMachineResponse, {
|
|
225
|
-
_commonCustomValue,
|
|
226
|
-
_commonListValue,
|
|
227
|
-
_commonMapValue,
|
|
228
|
-
_customField,
|
|
229
|
-
_customValue,
|
|
230
|
-
_identity,
|
|
231
|
-
_identityProfile,
|
|
232
|
-
_listValue,
|
|
233
|
-
_mapValue,
|
|
234
|
-
});
|
|
235
213
|
function __loginV2({ host }) {
|
|
236
|
-
const serializedData = toReq(payload);
|
|
237
214
|
const metadata = {
|
|
238
215
|
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
239
216
|
method: 'POST',
|
|
240
217
|
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.LoginV2',
|
|
241
218
|
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
242
219
|
protoPath: '/v2/login',
|
|
243
|
-
data:
|
|
220
|
+
data: payload,
|
|
244
221
|
host,
|
|
245
222
|
}),
|
|
246
|
-
data:
|
|
247
|
-
transformResponse:
|
|
223
|
+
data: payload,
|
|
224
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
225
|
+
{
|
|
226
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
227
|
+
paths: [
|
|
228
|
+
{ path: 'identity.createdDate' },
|
|
229
|
+
{ path: 'identity.updatedDate' },
|
|
230
|
+
{ path: 'identity.identityProfile.customFields.value.dateValue' },
|
|
231
|
+
{ path: 'additionalData.dateValue' },
|
|
232
|
+
],
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
236
|
+
paths: [
|
|
237
|
+
{ path: 'identity.identityProfile.customFields.value.numValue' },
|
|
238
|
+
{ path: 'additionalData.numValue' },
|
|
239
|
+
],
|
|
240
|
+
},
|
|
241
|
+
]),
|
|
248
242
|
};
|
|
249
243
|
return metadata;
|
|
250
244
|
}
|
|
251
|
-
__loginV2.fromReq = fromReq;
|
|
252
245
|
return __loginV2;
|
|
253
246
|
}
|
|
254
247
|
exports.loginV2 = loginV2;
|
|
255
248
|
/** Changes the password of a logged in user. */
|
|
256
249
|
function changePassword(payload) {
|
|
257
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_changePasswordRequest, {});
|
|
258
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_changePasswordResponse, {});
|
|
259
250
|
function __changePassword({ host }) {
|
|
260
|
-
const serializedData = toReq(payload);
|
|
261
251
|
const metadata = {
|
|
262
252
|
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
263
253
|
method: 'POST',
|
|
264
254
|
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.ChangePassword',
|
|
265
255
|
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
266
256
|
protoPath: '/v2/change-password',
|
|
267
|
-
data:
|
|
257
|
+
data: payload,
|
|
268
258
|
host,
|
|
269
259
|
}),
|
|
270
|
-
data:
|
|
271
|
-
transformResponse: fromRes,
|
|
260
|
+
data: payload,
|
|
272
261
|
};
|
|
273
262
|
return metadata;
|
|
274
263
|
}
|
|
275
|
-
__changePassword.fromReq = fromReq;
|
|
276
264
|
return __changePassword;
|
|
277
265
|
}
|
|
278
266
|
exports.changePassword = changePassword;
|
|
279
267
|
function loginWithIdpConnectionTokenParams(payload) {
|
|
280
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_loginWithIdpConnectionTokenParamsRequest, {});
|
|
281
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_stateMachineResponse, {
|
|
282
|
-
_commonCustomValue,
|
|
283
|
-
_commonListValue,
|
|
284
|
-
_commonMapValue,
|
|
285
|
-
_customField,
|
|
286
|
-
_customValue,
|
|
287
|
-
_identity,
|
|
288
|
-
_identityProfile,
|
|
289
|
-
_listValue,
|
|
290
|
-
_mapValue,
|
|
291
|
-
});
|
|
292
268
|
function __loginWithIdpConnectionTokenParams({ host }) {
|
|
293
|
-
const serializedData = toReq(payload);
|
|
294
269
|
const metadata = {
|
|
295
270
|
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
296
271
|
method: 'POST',
|
|
297
272
|
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.LoginWithIdpConnectionTokenParams',
|
|
298
273
|
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
299
274
|
protoPath: '/v1/sso/login-with-token-params',
|
|
300
|
-
data:
|
|
275
|
+
data: payload,
|
|
301
276
|
host,
|
|
302
277
|
}),
|
|
303
|
-
data:
|
|
304
|
-
transformResponse:
|
|
278
|
+
data: payload,
|
|
279
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
280
|
+
{
|
|
281
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
282
|
+
paths: [
|
|
283
|
+
{ path: 'identity.createdDate' },
|
|
284
|
+
{ path: 'identity.updatedDate' },
|
|
285
|
+
{ path: 'identity.identityProfile.customFields.value.dateValue' },
|
|
286
|
+
{ path: 'additionalData.dateValue' },
|
|
287
|
+
],
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
291
|
+
paths: [
|
|
292
|
+
{ path: 'identity.identityProfile.customFields.value.numValue' },
|
|
293
|
+
{ path: 'additionalData.numValue' },
|
|
294
|
+
],
|
|
295
|
+
},
|
|
296
|
+
]),
|
|
305
297
|
};
|
|
306
298
|
return metadata;
|
|
307
299
|
}
|
|
308
|
-
__loginWithIdpConnectionTokenParams.fromReq = fromReq;
|
|
309
300
|
return __loginWithIdpConnectionTokenParams;
|
|
310
301
|
}
|
|
311
302
|
exports.loginWithIdpConnectionTokenParams = loginWithIdpConnectionTokenParams;
|
|
312
303
|
function proceedToNextState(payload) {
|
|
313
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_proceedToNextStateRequest, {});
|
|
314
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_loginResponse, {
|
|
315
|
-
_customField,
|
|
316
|
-
_customValue,
|
|
317
|
-
_identity,
|
|
318
|
-
_identityProfile,
|
|
319
|
-
_listValue,
|
|
320
|
-
_mapValue,
|
|
321
|
-
});
|
|
322
304
|
function __proceedToNextState({ host }) {
|
|
323
|
-
const serializedData = toReq(payload);
|
|
324
305
|
const metadata = {
|
|
325
306
|
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
326
307
|
method: 'POST',
|
|
327
308
|
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.ProceedToNextState',
|
|
328
309
|
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
329
310
|
protoPath: '/v1/state/proceed',
|
|
330
|
-
data:
|
|
311
|
+
data: payload,
|
|
331
312
|
host,
|
|
332
313
|
}),
|
|
333
|
-
data:
|
|
334
|
-
transformResponse:
|
|
314
|
+
data: payload,
|
|
315
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
316
|
+
{
|
|
317
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
318
|
+
paths: [
|
|
319
|
+
{ path: 'identity.createdDate' },
|
|
320
|
+
{ path: 'identity.updatedDate' },
|
|
321
|
+
{ path: 'identity.identityProfile.customFields.value.dateValue' },
|
|
322
|
+
{ path: 'additionalData.dateValue' },
|
|
323
|
+
],
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
327
|
+
paths: [
|
|
328
|
+
{ path: 'identity.identityProfile.customFields.value.numValue' },
|
|
329
|
+
{ path: 'additionalData.numValue' },
|
|
330
|
+
],
|
|
331
|
+
},
|
|
332
|
+
]),
|
|
335
333
|
};
|
|
336
334
|
return metadata;
|
|
337
335
|
}
|
|
338
|
-
__proceedToNextState.fromReq = fromReq;
|
|
339
336
|
return __proceedToNextState;
|
|
340
337
|
}
|
|
341
338
|
exports.proceedToNextState = proceedToNextState;
|
|
342
339
|
function signOn(payload) {
|
|
343
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_signOnRequest, {
|
|
344
|
-
_customField,
|
|
345
|
-
_customValue,
|
|
346
|
-
_identityProfile,
|
|
347
|
-
_listValue,
|
|
348
|
-
_mapValue,
|
|
349
|
-
});
|
|
350
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_signOnResponse, {
|
|
351
|
-
_customField,
|
|
352
|
-
_customValue,
|
|
353
|
-
_identity,
|
|
354
|
-
_identityProfile,
|
|
355
|
-
_listValue,
|
|
356
|
-
_mapValue,
|
|
357
|
-
});
|
|
358
340
|
function __signOn({ host }) {
|
|
359
|
-
const serializedData =
|
|
341
|
+
const serializedData = (0, transform_paths_1.transformPaths)(payload, [
|
|
342
|
+
{
|
|
343
|
+
transformFn: float_1.transformSDKFloatToRESTFloat,
|
|
344
|
+
paths: [{ path: 'profile.customFields.value.numValue' }],
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
|
|
348
|
+
paths: [{ path: 'profile.customFields.value.dateValue' }],
|
|
349
|
+
},
|
|
350
|
+
]);
|
|
360
351
|
const metadata = {
|
|
361
352
|
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
362
353
|
method: 'POST',
|
|
@@ -367,35 +358,50 @@ function signOn(payload) {
|
|
|
367
358
|
host,
|
|
368
359
|
}),
|
|
369
360
|
data: serializedData,
|
|
370
|
-
transformResponse:
|
|
361
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
362
|
+
{
|
|
363
|
+
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
364
|
+
paths: [
|
|
365
|
+
{ path: 'identity.createdDate' },
|
|
366
|
+
{ path: 'identity.updatedDate' },
|
|
367
|
+
{ path: 'identity.identityProfile.customFields.value.dateValue' },
|
|
368
|
+
],
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
372
|
+
paths: [
|
|
373
|
+
{ path: 'identity.identityProfile.customFields.value.numValue' },
|
|
374
|
+
],
|
|
375
|
+
},
|
|
376
|
+
]),
|
|
371
377
|
};
|
|
372
378
|
return metadata;
|
|
373
379
|
}
|
|
374
|
-
__signOn.fromReq = fromReq;
|
|
375
380
|
return __signOn;
|
|
376
381
|
}
|
|
377
382
|
exports.signOn = signOn;
|
|
378
383
|
/** Logs out a member. */
|
|
379
384
|
function logout(payload) {
|
|
380
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_logoutRequest, {});
|
|
381
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_rawHttpResponse, {});
|
|
382
385
|
function __logout({ host }) {
|
|
383
|
-
const serializedData = toReq(payload);
|
|
384
386
|
const metadata = {
|
|
385
387
|
entityFqdn: 'wix.iam.authentication.v1.authentication',
|
|
386
388
|
method: 'GET',
|
|
387
389
|
methodFqn: 'wix.iam.authentication.v1.AuthenticationService.Logout',
|
|
388
390
|
url: resolveWixIamAuthenticationV1AuthenticationServiceUrl({
|
|
389
391
|
protoPath: '/v1/logout',
|
|
390
|
-
data:
|
|
392
|
+
data: payload,
|
|
391
393
|
host,
|
|
392
394
|
}),
|
|
393
|
-
params: (0, metro_runtime_1.toURLSearchParams)(
|
|
394
|
-
transformResponse:
|
|
395
|
+
params: (0, metro_runtime_1.toURLSearchParams)(payload),
|
|
396
|
+
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
397
|
+
{
|
|
398
|
+
transformFn: bytes_1.transformRESTBytesToSDKBytes,
|
|
399
|
+
paths: [{ path: 'body' }],
|
|
400
|
+
},
|
|
401
|
+
]),
|
|
395
402
|
};
|
|
396
403
|
return metadata;
|
|
397
404
|
}
|
|
398
|
-
__logout.fromReq = fromReq;
|
|
399
405
|
return __logout;
|
|
400
406
|
}
|
|
401
407
|
exports.logout = logout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iam-authentication-v1-authentication.http.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"iam-authentication-v1-authentication.http.js","sourceRoot":"","sources":["../../../src/iam-authentication-v1-authentication.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,kEAAsF;AACtF,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,sDAAgD;AAwBhD,SAAS,qDAAqD,CAC5D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,qBAAqB,EAAE;YACrB;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,QAAQ,EAAE,4DAA4D;aACvE;YACD;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,kBAAkB,EAAE;YAClB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,sBAAsB;gBAC/B,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,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,SAAgB,QAAQ,CACtB,OAAwB;IAExB,SAAS,UAAU,CAAC,EAAE,IAAI,EAAO;QAC/B,MAAM,cAAc,GAAG,IAAA,gCAAc,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M,EAAE,KAAY;YACpB,SAAS,EAAE,wDAAwD;YACnE,GAAG,EAAE,qDAAqD,CAAC;gBACzD,SAAS,EAAE,YAAY;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,MAAM,EAAE,IAAA,iCAAiB,EAAC,OAAO,CAAC;YAClC,iBAAiB,EAAE,CAAC,OAAY,EAAE,EAAE,CAClC,IAAA,gCAAc,EAAC,OAAO,EAAE;gBACtB;oBACE,WAAW,EAAE,oCAA4B;oBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iBAC1B;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC;AA3BD,wBA2BC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as ambassadorWixIamAuthenticationV1AuthenticationTypes from './iam-authentication-v1-authentication.types';
|
|
2
2
|
import * as ambassadorWixIamAuthenticationV1AuthenticationUniversalTypes from './iam-authentication-v1-authentication.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];
|