@longvansoftware/service-js-client 1.10.3 → 1.10.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.
@@ -439,11 +439,46 @@ exports.GET_TEMPLATE = (0, graphql_tag_1.gql) `
439
439
  getTemplates {
440
440
  id
441
441
  name
442
- status
443
442
  osType
444
443
  username
445
- createdStamp
446
- updatedStamp
444
+ resourceRecommend {
445
+ cpu {
446
+ size
447
+ used
448
+ unit
449
+ }
450
+ ram {
451
+ size
452
+ used
453
+ unit
454
+ }
455
+ disk {
456
+ index
457
+ storageId
458
+ size
459
+ used
460
+ unit
461
+ }
462
+ }
463
+ resourceMinimum {
464
+ cpu {
465
+ size
466
+ used
467
+ unit
468
+ }
469
+ ram {
470
+ size
471
+ used
472
+ unit
473
+ }
474
+ disk {
475
+ index
476
+ storageId
477
+ size
478
+ used
479
+ unit
480
+ }
481
+ }
447
482
  }
448
483
  }
449
484
  `;
@@ -231,7 +231,7 @@ class AuthService extends serviceSDK_1.Service {
231
231
  partyId,
232
232
  };
233
233
  try {
234
- const response = yield this.graphqlQuery(query, variables);
234
+ const response = yield this.graphqlQueryV2(query, variables);
235
235
  return response.getUserLoginsByPartyId;
236
236
  }
237
237
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/service-js-client",
3
- "version": "1.10.3",
3
+ "version": "1.10.5",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [