@bringg/dashboard-sdk 8.2.0 → 8.3.0-pre.0

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.
@@ -4,6 +4,7 @@ export default class ApplicationTeamConfigurationApi {
4
4
  private entity;
5
5
  constructor(session: Session);
6
6
  getConfig(uuid: ApplicationUuid, teamId: number): Promise<ApplicationTeamConfigurations>;
7
+ getConfigurations(uuid: ApplicationUuid): Promise<ApplicationTeamConfigurations[]>;
7
8
  updateConfig(uuid: ApplicationUuid, teamId: number, data: object): Promise<boolean>;
8
9
  removeConfig(uuid: ApplicationUuid, teamId: number): Promise<boolean>;
9
10
  }
@@ -51,6 +51,16 @@ var ApplicationTeamConfigurationApi = /** @class */ (function () {
51
51
  });
52
52
  });
53
53
  };
54
+ ApplicationTeamConfigurationApi.prototype.getConfigurations = function (uuid) {
55
+ return __awaiter(this, void 0, void 0, function () {
56
+ return __generator(this, function (_a) {
57
+ switch (_a.label) {
58
+ case 0: return [4 /*yield*/, this.entity.getConfigurations(uuid)];
59
+ case 1: return [2 /*return*/, _a.sent()];
60
+ }
61
+ });
62
+ });
63
+ };
54
64
  ApplicationTeamConfigurationApi.prototype.updateConfig = function (uuid, teamId, data) {
55
65
  return __awaiter(this, void 0, void 0, function () {
56
66
  return __generator(this, function (_a) {
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationTeamConfigurationApi.js","sourceRoot":"","sources":["../../src/ApplicationTeamConfiguration/ApplicationTeamConfigurationApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,kGAA6F;AAE7F;IAGC,yCAAY,OAAgB;QAC3B,IAAI,CAAC,MAAM,GAAG,IAAI,4CAAkC,CAAC,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEY,mDAAS,GAAtB,UAAuB,IAAqB,EAAE,MAAc;;;;4BACpD,qBAAM,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,EAAA;4BAAhD,sBAAO,SAAyC,EAAC;;;;KACjD;IAEY,sDAAY,GAAzB,UAA0B,IAAqB,EAAE,MAAc,EAAE,IAAY;;;;4BACrE,qBAAM,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAA;4BAAzD,sBAAO,SAAkD,EAAC;;;;KAC1D;IAEY,sDAAY,GAAzB,UAA0B,IAAqB,EAAE,MAAc;;;;4BACvD,qBAAM,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,EAAA;4BAAnD,sBAAO,SAA4C,EAAC;;;;KACpD;IACF,sCAAC;AAAD,CAAC,AAlBD,IAkBC"}
1
+ {"version":3,"file":"ApplicationTeamConfigurationApi.js","sourceRoot":"","sources":["../../src/ApplicationTeamConfiguration/ApplicationTeamConfigurationApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,kGAA6F;AAE7F;IAGC,yCAAY,OAAgB;QAC3B,IAAI,CAAC,MAAM,GAAG,IAAI,4CAAkC,CAAC,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEY,mDAAS,GAAtB,UAAuB,IAAqB,EAAE,MAAc;;;;4BACpD,qBAAM,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,EAAA;4BAAhD,sBAAO,SAAyC,EAAC;;;;KACjD;IAEY,2DAAiB,GAA9B,UAA+B,IAAqB;;;;4BAC5C,qBAAM,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAA;4BAAhD,sBAAO,SAAyC,EAAC;;;;KACjD;IAEY,sDAAY,GAAzB,UAA0B,IAAqB,EAAE,MAAc,EAAE,IAAY;;;;4BACrE,qBAAM,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAA;4BAAzD,sBAAO,SAAkD,EAAC;;;;KAC1D;IAEY,sDAAY,GAAzB,UAA0B,IAAqB,EAAE,MAAc;;;;4BACvD,qBAAM,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,EAAA;4BAAnD,sBAAO,SAA4C,EAAC;;;;KACpD;IACF,sCAAC;AAAD,CAAC,AAtBD,IAsBC"}
@@ -4,6 +4,7 @@ import Session from '../../Services/Identity/Session';
4
4
  export default class ApplicationTeamConfigurationEntity extends Entity<ApplicationTeamConfigurations> {
5
5
  constructor(session: Session);
6
6
  getConfig(uuid: ApplicationUuid, teamId: number): Promise<ApplicationTeamConfigurations>;
7
+ getConfigurations(uuid: ApplicationUuid): Promise<ApplicationTeamConfigurations[]>;
7
8
  updateConfig(uuid: ApplicationUuid, teamId: number, data: object): Promise<boolean>;
8
9
  removeConfig(uuid: ApplicationUuid, teamId: number): Promise<boolean>;
9
10
  }
@@ -75,6 +75,19 @@ var ApplicationTeamConfigurationEntity = /** @class */ (function (_super) {
75
75
  });
76
76
  });
77
77
  };
78
+ ApplicationTeamConfigurationEntity.prototype.getConfigurations = function (uuid) {
79
+ return __awaiter(this, void 0, void 0, function () {
80
+ var response;
81
+ return __generator(this, function (_a) {
82
+ switch (_a.label) {
83
+ case 0: return [4 /*yield*/, this.service.get(uuid)];
84
+ case 1:
85
+ response = _a.sent();
86
+ return [2 /*return*/, response && response.configurations];
87
+ }
88
+ });
89
+ });
90
+ };
78
91
  ApplicationTeamConfigurationEntity.prototype.updateConfig = function (uuid, teamId, data) {
79
92
  return __awaiter(this, void 0, void 0, function () {
80
93
  var result;
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationTeamConfigurationEntity.js","sourceRoot":"","sources":["../../../src/ApplicationTeamConfiguration/Entity/ApplicationTeamConfigurationEntity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,4CAAuD;AAGvD;IAAgE,sDAAqC;IACpG,4CAAY,OAAgB;eAC3B,kBAAM;YACL,OAAO,SAAA;YACP,UAAU,EAAE,cAAc;YAC1B,WAAW,EAAE,MAAM;YACnB,MAAM,EAAE,CAAC,mBAAU,CAAC,GAAG,EAAE,mBAAU,CAAC,MAAM,EAAE,mBAAU,CAAC,MAAM,EAAE,mBAAU,CAAC,MAAM,CAAC;SACjF,CAAC;IACH,CAAC;IAEY,sDAAS,GAAtB,UAAuB,IAAqB,EAAE,MAAc;;;;;4BAC1C,qBAAM,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,MAAM,QAAA,EAAE,CAAC,EAAA;;wBAAnD,QAAQ,GAAG,SAAwC;wBAEzD,sBAAO,QAAQ,IAAI,QAAQ,CAAC,MAAM,EAAC;;;;KACnC;IAEY,yDAAY,GAAzB,UAA0B,IAAqB,EAAE,MAAc,EAAE,IAAY;;;;;4BAC7D,qBAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,IAAI,MAAA,EAAE,MAAM,QAAA,EAAE,CAAC,EAAA;;wBAA1D,MAAM,GAAG,SAAiD;wBAEhE,sBAAO,MAAM,CAAC,OAAO,EAAC;;;;KACtB;IAEY,yDAAY,GAAzB,UAA0B,IAAqB,EAAE,MAAc;;;;;4BAC/C,qBAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,MAAM,QAAA,EAAE,CAAC,EAAA;;wBAApD,MAAM,GAAG,SAA2C;wBAE1D,sBAAO,MAAM,CAAC,OAAO,EAAC;;;;KACtB;IACF,yCAAC;AAAD,CAAC,AA3BD,CAAgE,gBAAM,GA2BrE"}
1
+ {"version":3,"file":"ApplicationTeamConfigurationEntity.js","sourceRoot":"","sources":["../../../src/ApplicationTeamConfiguration/Entity/ApplicationTeamConfigurationEntity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC;AAAD,CAAC,AAjCD,CAAgE,gBAAM,GAiCrE"}
@@ -53,7 +53,7 @@ var lodash_1 = require("lodash");
53
53
  var BringgException_1 = require("../Core/BringgException");
54
54
  var Logger_1 = require("../Core/Logger");
55
55
  var abort_1 = require("../utils/abort");
56
- var version = '8.2.0';
56
+ var version = '8.3.0-pre.0';
57
57
  function logErrorResponse(response) {
58
58
  var data = response.data, status = response.status;
59
59
  try {
@@ -36140,7 +36140,7 @@ var lodash_1 = __webpack_require__(11);
36140
36140
  var BringgException_1 = __webpack_require__(15);
36141
36141
  var Logger_1 = __webpack_require__(51);
36142
36142
  var abort_1 = __webpack_require__(177);
36143
- var version = '8.2.0';
36143
+ var version = '8.3.0-pre.0';
36144
36144
  function logErrorResponse(response) {
36145
36145
  var data = response.data, status = response.status;
36146
36146
  try {
@@ -75038,6 +75038,16 @@ var ApplicationTeamConfigurationApi = /** @class */ (function () {
75038
75038
  });
75039
75039
  });
75040
75040
  };
75041
+ ApplicationTeamConfigurationApi.prototype.getConfigurations = function (uuid) {
75042
+ return __awaiter(this, void 0, void 0, function () {
75043
+ return __generator(this, function (_a) {
75044
+ switch (_a.label) {
75045
+ case 0: return [4 /*yield*/, this.entity.getConfigurations(uuid)];
75046
+ case 1: return [2 /*return*/, _a.sent()];
75047
+ }
75048
+ });
75049
+ });
75050
+ };
75041
75051
  ApplicationTeamConfigurationApi.prototype.updateConfig = function (uuid, teamId, data) {
75042
75052
  return __awaiter(this, void 0, void 0, function () {
75043
75053
  return __generator(this, function (_a) {
@@ -75145,6 +75155,19 @@ var ApplicationTeamConfigurationEntity = /** @class */ (function (_super) {
75145
75155
  });
75146
75156
  });
75147
75157
  };
75158
+ ApplicationTeamConfigurationEntity.prototype.getConfigurations = function (uuid) {
75159
+ return __awaiter(this, void 0, void 0, function () {
75160
+ var response;
75161
+ return __generator(this, function (_a) {
75162
+ switch (_a.label) {
75163
+ case 0: return [4 /*yield*/, this.service.get(uuid)];
75164
+ case 1:
75165
+ response = _a.sent();
75166
+ return [2 /*return*/, response && response.configurations];
75167
+ }
75168
+ });
75169
+ });
75170
+ };
75148
75171
  ApplicationTeamConfigurationEntity.prototype.updateConfig = function (uuid, teamId, data) {
75149
75172
  return __awaiter(this, void 0, void 0, function () {
75150
75173
  var result;