gs2 1.3.126 → 1.3.128

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2",
3
- "version": "1.3.126",
3
+ "version": "1.3.128",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -1 +1 @@
1
- {"version":3,"file":"InventoryInventory.js","sourceRoot":"","sources":["InventoryInventory.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,wGAA0E;AAG1E,0EAA4C;AAE5C;IAAA;QACY,kBAAa,GAAgB,IAAI,CAAC;QAClC,eAAU,GAAwC,IAAI,CAAC;QACvD,SAAI,GAAyB,IAAI,CAAC;IAoE9C,CAAC;IAnEU,6CAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,6CAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8CAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0CAAa,GAApB;QACI,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IACM,0CAAa,GAApB,UAAqB,UAA+C;QAChE,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2CAAc,GAArB,UAAsB,UAA+C;QACjE,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IACM,oCAAO,GAAd,UAAe,IAA0B;QACrC,IAAI,CAAC,IAAI,G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ions and limitations under the License.
15
15
  */
16
16
 
17
17
  import IModel from '../../core/interface/IModel';
18
+ import InventoryInventoryStatisticsDistribution from './InventoryInventoryStatisticsDistribution';
18
19
  import InventoryInventoryStatistics from './InventoryInventoryStatistics';
19
20
  import InventoryItemStatistics from './InventoryItemStatistics';
20
21
  import InventoryItemDistribution from './InventoryItemDistribution';
@@ -1,13 +1,14 @@
1
1
  import IModel from '../../core/interface/IModel';
2
+ import InventoryInventoryStatisticsDistribution from './InventoryInventoryStatisticsDistribution';
2
3
  export default class InventoryInventoryStatistics implements IModel {
3
4
  private currentInventoryMaxCapacity;
4
- private count;
5
+ private distribution;
5
6
  getCurrentInventoryMaxCapacity(): number | null;
6
7
  setCurrentInventoryMaxCapacity(currentInventoryMaxCapacity: number | null): this;
7
8
  withCurrentInventoryMaxCapacity(currentInventoryMaxCapacity: number | null): this;
8
- getCount(): number | null;
9
- setCount(count: number | null): this;
10
- withCount(count: number | null): this;
9
+ getDistribution(): InventoryInventoryStatisticsDistribution[] | null;
10
+ setDistribution(distribution: InventoryInventoryStatisticsDistribution[] | null): this;
11
+ withDistribution(distribution: InventoryInventoryStatisticsDistribution[] | null): this;
11
12
  static fromDict(data: {
12
13
  [key: string]: any;
13
14
  }): InventoryInventoryStatistics | null;
@@ -15,10 +15,12 @@ express or implied. See the License for the specific language governing
15
15
  permissions and limitations under the License.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ var tslib_1 = require("tslib");
19
+ var InventoryInventoryStatisticsDistribution_1 = tslib_1.__importDefault(require("./InventoryInventoryStatisticsDistribution"));
18
20
  var InventoryInventoryStatistics = /** @class */ (function () {
19
21
  function InventoryInventoryStatistics() {
20
22
  this.currentInventoryMaxCapacity = null;
21
- this.count = null;
23
+ this.distribution = null;
22
24
  }
23
25
  InventoryInventoryStatistics.prototype.getCurrentInventoryMaxCapacity = function () {
24
26
  return this.currentInventoryMaxCapacity;
@@ -31,15 +33,15 @@ var InventoryInventoryStatistics = /** @class */ (function () {
31
33
  this.currentInventoryMaxCapacity = currentInventoryMaxCapacity;
32
34
  return this;
33
35
  };
34
- InventoryInventoryStatistics.prototype.getCount = function () {
35
- return this.count;
36
+ InventoryInventoryStatistics.prototype.getDistribution = function () {
37
+ return this.distribution;
36
38
  };
37
- InventoryInventoryStatistics.prototype.setCount = function (count) {
38
- this.count = count;
39
+ InventoryInventoryStatistics.prototype.setDistribution = function (distribution) {
40
+ this.distribution = distribution;
39
41
  return this;
40
42
  };
41
- InventoryInventoryStatistics.prototype.withCount = function (count) {
42
- this.count = count;
43
+ InventoryInventoryStatistics.prototype.withDistribution = function (distribution) {
44
+ this.distribution = distribution;
43
45
  return this;
44
46
  };
45
47
  InventoryInventoryStatistics.fromDict = function (data) {
@@ -48,12 +50,18 @@ var InventoryInventoryStatistics = /** @class */ (function () {
48
50
  }
49
51
  return new InventoryInventoryStatistics()
50
52
  .withCurrentInventoryMaxCapacity(data["currentInventoryMaxCapacity"])
51
- .withCount(data["count"]);
53
+ .withDistribution(data.distribution ?
54
+ data.distribution.map(function (item) {
55
+ return InventoryInventoryStatisticsDistribution_1.default.fromDict(item);
56
+ }) : []);
52
57
  };
53
58
  InventoryInventoryStatistics.prototype.toDict = function () {
54
59
  return {
55
60
  "currentInventoryMaxCapacity": this.getCurrentInventoryMaxCapacity(),
56
- "count": this.getCount(),
61
+ "distribution": this.getDistribution() ?
62
+ this.getDistribution().map(function (item) {
63
+ return item.toDict();
64
+ }) : [],
57
65
  };
58
66
  };
59
67
  return InventoryInventoryStatistics;
@@ -1 +1 @@
1
- {"version":3,"file":"InventoryInventoryStatistics.js","sourceRoot":"","sources":["InventoryInventoryStatistics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,gCAA2B,GAAgB,IAAI,CAAC;QAChD,UAAK,GAAgB,IAAI,CAAC;IAuCtC,CAAC;IAtCU,qEAA8B,GAArC;QACI,OAAO,IAAI,CAAC,2BAA2B,CAAC;IAC5C,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BACvE,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;IACL,mCAAC;AAAD,CAAC,AAjDD,IAiDC"}
@@ -15,10 +15,11 @@ permissions and limitations under the License.
15
15
  */
16
16
 
17
17
  import IModel from '../../core/interface/IModel';
18
+ import InventoryInventoryStatisticsDistribution from './InventoryInventoryStatisticsDistribution';
18
19
 
19
20
  export default class InventoryInventoryStatistics implements IModel {
20
21
  private currentInventoryMaxCapacity: number|null = null;
21
- private count: number|null = null;
22
+ private distribution: InventoryInventoryStatisticsDistribution[]|null = null;
22
23
  public getCurrentInventoryMaxCapacity(): number|null {
23
24
  return this.currentInventoryMaxCapacity;
24
25
  }
@@ -30,15 +31,15 @@ export default class InventoryInventoryStatistics implements IModel {
30
31
  this.currentInventoryMaxCapacity = currentInventoryMaxCapacity;
31
32
  return this;
32
33
  }
33
- public getCount(): number|null {
34
- return this.count;
34
+ public getDistribution(): InventoryInventoryStatisticsDistribution[]|null {
35
+ return this.distribution;
35
36
  }
36
- public setCount(count: number|null) {
37
- this.count = count;
37
+ public setDistribution(distribution: InventoryInventoryStatisticsDistribution[]|null) {
38
+ this.distribution = distribution;
38
39
  return this;
39
40
  }
40
- public withCount(count: number|null): this {
41
- this.count = count;
41
+ public withDistribution(distribution: InventoryInventoryStatisticsDistribution[]|null): this {
42
+ this.distribution = distribution;
42
43
  return this;
43
44
  }
44
45
 
@@ -48,13 +49,21 @@ export default class InventoryInventoryStatistics implements IModel {
48
49
  }
49
50
  return new InventoryInventoryStatistics()
50
51
  .withCurrentInventoryMaxCapacity(data["currentInventoryMaxCapacity"])
51
- .withCount(data["count"]);
52
+ .withDistribution(data.distribution ?
53
+ data.distribution.map((item: {[key: string]: any}) => {
54
+ return InventoryInventoryStatisticsDistribution.fromDict(item);
55
+ }
56
+ ) : []);
52
57
  }
53
58
 
54
59
  public toDict(): {[key: string]: any} {
55
60
  return {
56
61
  "currentInventoryMaxCapacity": this.getCurrentInventoryMaxCapacity(),
57
- "count": this.getCount(),
62
+ "distribution": this.getDistribution() ?
63
+ this.getDistribution()!.map((item: InventoryInventoryStatisticsDistribution) => {
64
+ return item.toDict();
65
+ }
66
+ ) : [],
58
67
  };
59
68
  }
60
69
  }
@@ -1 +1 @@
1
- {"version":3,"file":"InventoryMetrics.js","sourceRoot":"","sources":["InventoryMetrics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAQH,oFAAsD;AAEtD;IAAA;QACY,eAAU,GAA8B,IAAI,CAAC;IAkCzD,CAAC;IAjCU,wCAAa,GAApB;QACI,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IACM,wCAAa,GAApB,UAAqB,UAAqC;QACtD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,yCAAc,GAArB,UAAsB,UAAqC;QACvD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,yBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,gBAAgB,EAAE;aACxB,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC7B,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,UAAC,IAA0B;gBAC3C,OAAO,4BAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC7C,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC;IAEM,iCAAM,GAAb;QACI,OAAO;YACH,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;gBAChC,IAAI,CAAC,aAAa,EAAG,CAAC,GAAG,CAAC,UAAC,IAAwB;oBAC/C,OAAO,IAAI,C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ACN,CAAC;IACL,uBAAC;AAAD,CAAC,AAnCD,IAmCC"}
@@ -15,6 +15,7 @@ permissions and limitations under the License.
15
15
  */
16
16
 
17
17
  import IModel from '../../core/interface/IModel';
18
+ import InventoryInventoryStatisticsDistribution from './InventoryInventoryStatisticsDistribution';
18
19
  import InventoryInventoryStatistics from './InventoryInventoryStatistics';
19
20
  import InventoryItemStatistics from './InventoryItemStatistics';
20
21
  import InventoryItemDistribution from './InventoryItemDistribution';
@@ -1 +1 @@
1
- {"version":3,"file":"InventoryNamespace.js","sourceRoot":"","sources":["InventoryNamespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAOH,oFAAsD;AAEtD;IAAA;QACY,kBAAa,GAAgB,IAAI,CAAC;QAClC,cAAS,GAA8B,IAAI,CAAC;IA+CxD,CAAC;IA9CU,6CAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,6CAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8CAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,yCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IACM,yCAAY,GAAnB,UAAoB,SAAoC;QACpD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0CAAa,GAApB,UAAqB,SAAoC;QACrD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,2BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf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C;IACM,yCAAY,GAAnB,UAAoB,SAAoC;QACpD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0CAAa,GAApB,UAAqB,SAAoC;QACrD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,2BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,kBAAkB,EAAE;aAC1B,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAC3B,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,UAAC,IAA0B;gBAC1C,OAAO,4BAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC7C,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC;IAEM,mCAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;gBAC9B,IAAI,CAAC,YAAY,EAAG,CAAC,GAAG,CAAC,UAAC,IAAwB;oBAC9C,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;IACL,yBAAC;AAAD,CAAC,AAjDD,IAiDC"}
@@ -15,6 +15,7 @@ permissions and limitations under the License.
15
15
  */
16
16
 
17
17
  import IModel from '../../core/interface/IModel';
18
+ import InventoryInventoryStatisticsDistribution from './InventoryInventoryStatisticsDistribution';
18
19
  import InventoryInventoryStatistics from './InventoryInventoryStatistics';
19
20
  import InventoryItemStatistics from './InventoryItemStatistics';
20
21
  import InventoryItemDistribution from './InventoryItemDistribution';
package/watch/rest.js CHANGED
@@ -177,7 +177,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
177
177
  };
178
178
  Gs2WatchRestClient.prototype.getGeneralMetrics = function (request) {
179
179
  var _a;
180
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/account')
180
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/general')
181
181
  .replace('{service}', 'watch')
182
182
  .replace('{region}', this.session.region);
183
183
  var headers = this.createAuthorizedHeaders();
package/watch/rest.ts CHANGED
@@ -198,7 +198,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
198
198
  }
199
199
 
200
200
  public getGeneralMetrics(request: Request.GetGeneralMetricsRequest): Promise<Result.GetGeneralMetricsResult> {
201
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/account')
201
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/general')
202
202
  .replace('{service}', 'watch')
203
203
  .replace('{region}', this.session.region);
204
204