@longvansoftware/storefront-js-client 3.0.9 → 3.1.1
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.
|
@@ -114,8 +114,8 @@ exports.UPDATE_PROFILE_MUTATION = (0, graphql_tag_1.gql) `
|
|
|
114
114
|
`;
|
|
115
115
|
exports.LINKING_USER_LOGIN_AND_USER_DETAIL_MUTATION = (0, graphql_tag_1.gql) `
|
|
116
116
|
mutation LinkingUserLoginAndUserDetail(
|
|
117
|
-
$userLoginId: String
|
|
118
|
-
$partyId: String
|
|
117
|
+
$userLoginId: String!
|
|
118
|
+
$partyId: String!
|
|
119
119
|
) {
|
|
120
120
|
linkingUserLoginAndUserDetail(userLoginId: $userLoginId, partyId: $partyId)
|
|
121
121
|
}
|
|
@@ -144,7 +144,25 @@ exports.CREATE_USER_DETAIL_MUTATION = (0, graphql_tag_1.gql) `
|
|
|
144
144
|
`;
|
|
145
145
|
exports.CREATE_ORG_MUTATION = (0, graphql_tag_1.gql) `
|
|
146
146
|
mutation CreateOrg($orgName: String!) {
|
|
147
|
-
createOrg(orgName: $orgName)
|
|
147
|
+
createOrg(orgName: $orgName) {
|
|
148
|
+
id
|
|
149
|
+
partyId
|
|
150
|
+
codeId
|
|
151
|
+
groupName
|
|
152
|
+
groupType
|
|
153
|
+
shortName
|
|
154
|
+
groupNameLocal
|
|
155
|
+
officeSiteName
|
|
156
|
+
comments
|
|
157
|
+
logoImageUrl
|
|
158
|
+
isIncorporated
|
|
159
|
+
federalTaxId
|
|
160
|
+
description
|
|
161
|
+
deleted
|
|
162
|
+
status
|
|
163
|
+
positionIndexId
|
|
164
|
+
prefix
|
|
165
|
+
}
|
|
148
166
|
}
|
|
149
167
|
`;
|
|
150
168
|
exports.ADD_ROLE_USER_MUTATION = (0, graphql_tag_1.gql) `
|
|
@@ -35,7 +35,7 @@ export declare class AuthService extends Service {
|
|
|
35
35
|
updateProfile(userLoginId: string, name: string, phone: string, email: string): Promise<any>;
|
|
36
36
|
getUserLoginByUserLoginId(userLoginId: string): Promise<any>;
|
|
37
37
|
checkUsernameExisted(username: string): Promise<any>;
|
|
38
|
-
linkingUserLoginAndUserDetail(userLoginId: string
|
|
38
|
+
linkingUserLoginAndUserDetail(userLoginId: string, partyId: string): Promise<any>;
|
|
39
39
|
createUserDetail(userLoginId: string): Promise<any>;
|
|
40
40
|
sendSmsVerifyCode(username: string): Promise<any>;
|
|
41
41
|
verifyCode(username: string, code: string): Promise<any>;
|