gap-nodejs-sdk 1.0.87 → 1.0.90

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.
@@ -21,7 +21,7 @@ export default class SMS extends Base {
21
21
  path: sms.GET_SMS_HISTORY,
22
22
  query: data
23
23
  });
24
- return DataWithMetaModel(response, Model.SMSRemainModel);
24
+ return DataWithMetaModel(response, Model.SMSHistoryModel);
25
25
  });
26
26
  }
27
27
  }
@@ -1,5 +1,5 @@
1
1
  export function SMSRemainModel(data) {
2
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
2
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
3
3
  return {
4
4
  remain_balance: {
5
5
  price: (_b = (_a = data === null || data === void 0 ? void 0 : data.remain_balance) === null || _a === void 0 ? void 0 : _a.price) !== null && _b !== void 0 ? _b : null,
@@ -14,7 +14,7 @@ export function SMSRemainModel(data) {
14
14
  price: (_o = (_m = (_l = data === null || data === void 0 ? void 0 : data.sms_count) === null || _l === void 0 ? void 0 : _l.received) === null || _m === void 0 ? void 0 : _m.price) !== null && _o !== void 0 ? _o : null,
15
15
  sms: (_r = (_q = (_p = data === null || data === void 0 ? void 0 : data.sms_count) === null || _p === void 0 ? void 0 : _p.received) === null || _q === void 0 ? void 0 : _q.sms) !== null && _r !== void 0 ? _r : null,
16
16
  },
17
- total: (_s = data === null || data === void 0 ? void 0 : data.total) !== null && _s !== void 0 ? _s : null,
17
+ total: (_t = (_s = data === null || data === void 0 ? void 0 : data.sms_count) === null || _s === void 0 ? void 0 : _s.total) !== null && _t !== void 0 ? _t : null,
18
18
  }
19
19
  };
20
20
  }
@@ -4,6 +4,7 @@ export default class GoCheckInApi {
4
4
  ticket: any;
5
5
  service: any;
6
6
  category: any;
7
+ sms: any;
7
8
  constructor(domain: string, gClientId: string, token: string, version: GapApiVersion);
8
9
  }
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/go_check_in_api/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;AAG3C,MAAM,CAAC,OAAO,OAAO,YAAY;IAC7B,QAAQ,MAAC;IACT,MAAM,MAAC;IACP,OAAO,MAAC;IACR,QAAQ,MAAA;gBAEI,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa;CAQvF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/go_check_in_api/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;AAG3C,MAAM,CAAC,OAAO,OAAO,YAAY;IAC7B,QAAQ,MAAC;IACT,MAAM,MAAC;IACP,OAAO,MAAC;IACR,QAAQ,MAAC;IACT,GAAG,MAAC;gBAEQ,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa;CASvF"}
@@ -8,5 +8,6 @@ export default class GoCheckInApi {
8
8
  this.ticket = API.Ticket;
9
9
  this.service = API.Service;
10
10
  this.category = API.Category;
11
+ this.sms = API.SMS;
11
12
  }
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gap-nodejs-sdk",
3
- "version": "1.0.87",
3
+ "version": "1.0.90",
4
4
  "description": "GCI App Platform Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",