@longvansoftware/storefront-js-client 4.4.3 → 4.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -163,12 +163,19 @@ exports.CREATE_USER_DETAIL_MUTATION = (0, graphql_tag_1.gql) `
163
163
  `;
164
164
  exports.CREATE_USER_DETAIL_MUTATION_V2 = (0, graphql_tag_1.gql) `
165
165
  mutation CreateUserDetail(
166
- $userLoginId: String!
167
- $orgId: String!
166
+ $userLoginId: String
167
+ $orgId: String
168
168
  $phone: String
169
+ $serviceOperator: String
169
170
  ) {
170
- createUserDetail(userLoginId: $userLoginId, orgId: $orgId, phone: $phone) {
171
+ createUserDetail(
172
+ userLoginId: $userLoginId
173
+ orgId: $orgId
174
+ phone: $phone
175
+ serviceOperator: $serviceOperator
176
+ ) {
171
177
  partyId
178
+ partyType
172
179
  orgId
173
180
  fullName
174
181
  email
@@ -184,6 +191,7 @@ exports.CREATE_USER_DETAIL_MUTATION_V2 = (0, graphql_tag_1.gql) `
184
191
  orgPermissionsMap
185
192
  orgPositionsMap
186
193
  orgRolesMap
194
+ lastVerified
187
195
  }
188
196
  }
189
197
  `;
@@ -73,6 +73,10 @@ exports.SERVICE_DETAIL = (0, graphql_tag_1.gql) `
73
73
  query ServiceDetail($serviceId: String) {
74
74
  serviceDetail(serviceId: $serviceId) {
75
75
  service {
76
+ productConfiguration {
77
+ productId
78
+ productTitle
79
+ }
76
80
  supplierId
77
81
  serviceId
78
82
  partnerId
@@ -37,7 +37,7 @@ export declare class AuthService extends Service {
37
37
  checkUsernameExisted(username: string): Promise<any>;
38
38
  linkingUserLoginAndUserDetail(userLoginId: string, partyId: string): Promise<any>;
39
39
  createUserDetail(userLoginId: string): Promise<any>;
40
- createUserDetailV2(userLoginId: string, phone: string): Promise<any>;
40
+ createUserDetailV2(orgId: string, userLoginId: string, phone: string, serviceOperator: string): Promise<any>;
41
41
  createUserDetailV3(userLoginId: string, phone: string, name: string, email: string): Promise<any>;
42
42
  sendSmsVerifyCode(username: string): Promise<any>;
43
43
  verifyCode(username: string, code: string): Promise<any>;
@@ -181,12 +181,13 @@ class AuthService extends serviceSDK_1.Service {
181
181
  }
182
182
  });
183
183
  }
184
- createUserDetailV2(userLoginId, phone) {
184
+ createUserDetailV2(orgId, userLoginId, phone, serviceOperator) {
185
185
  return __awaiter(this, void 0, void 0, function* () {
186
186
  const variables = {
187
+ orgId,
187
188
  userLoginId,
188
- orgId: this.orgId,
189
189
  phone,
190
+ serviceOperator,
190
191
  };
191
192
  try {
192
193
  const response = yield this.graphqlMutation(mutations_1.CREATE_USER_DETAIL_MUTATION_V2, variables);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "4.4.3",
3
+ "version": "4.4.5",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [