gs2 1.3.171 → 1.3.173

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.
Files changed (62) hide show
  1. package/deploy/model/ChangeSet.d.ts +21 -0
  2. package/deploy/model/ChangeSet.js +76 -0
  3. package/deploy/model/ChangeSet.js.map +1 -0
  4. package/deploy/model/ChangeSet.ts +74 -0
  5. package/deploy/model/index.d.ts +3 -2
  6. package/deploy/model/index.js +5 -3
  7. package/deploy/model/index.js.map +1 -1
  8. package/deploy/model/index.ts +4 -2
  9. package/deploy/request/ChangeSetRequest.d.ts +25 -0
  10. package/deploy/request/ChangeSetRequest.js +83 -0
  11. package/deploy/request/ChangeSetRequest.js.map +1 -0
  12. package/deploy/request/ChangeSetRequest.ts +90 -0
  13. package/deploy/request/index.d.ts +2 -1
  14. package/deploy/request/index.js +3 -1
  15. package/deploy/request/index.js.map +1 -1
  16. package/deploy/request/index.ts +2 -0
  17. package/deploy/rest.d.ts +1 -0
  18. package/deploy/rest.js +27 -0
  19. package/deploy/rest.js.map +1 -1
  20. package/deploy/rest.ts +31 -0
  21. package/deploy/result/ChangeSetResult.d.ts +14 -0
  22. package/deploy/result/ChangeSetResult.js +53 -0
  23. package/deploy/result/ChangeSetResult.js.map +1 -0
  24. package/deploy/result/ChangeSetResult.ts +56 -0
  25. package/deploy/result/index.d.ts +2 -1
  26. package/deploy/result/index.js +3 -1
  27. package/deploy/result/index.js.map +1 -1
  28. package/deploy/result/index.ts +2 -0
  29. package/package.json +1 -1
  30. package/version/model/ScheduleVersion.d.ts +26 -0
  31. package/version/model/ScheduleVersion.js +93 -0
  32. package/version/model/ScheduleVersion.js.map +1 -0
  33. package/version/model/ScheduleVersion.ts +89 -0
  34. package/version/model/Status.js.map +1 -1
  35. package/version/model/Status.ts +1 -0
  36. package/version/model/TargetVersion.d.ts +4 -4
  37. package/version/model/TargetVersion.js +15 -15
  38. package/version/model/TargetVersion.js.map +1 -1
  39. package/version/model/TargetVersion.ts +15 -15
  40. package/version/model/VersionModel.d.ts +17 -8
  41. package/version/model/VersionModel.js +59 -24
  42. package/version/model/VersionModel.js.map +1 -1
  43. package/version/model/VersionModel.ts +60 -23
  44. package/version/model/VersionModelMaster.d.ts +17 -8
  45. package/version/model/VersionModelMaster.js +59 -24
  46. package/version/model/VersionModelMaster.js.map +1 -1
  47. package/version/model/VersionModelMaster.ts +60 -23
  48. package/version/model/index.d.ts +3 -2
  49. package/version/model/index.js +5 -3
  50. package/version/model/index.js.map +1 -1
  51. package/version/model/index.ts +4 -2
  52. package/version/request/CreateVersionModelMasterRequest.d.ts +16 -8
  53. package/version/request/CreateVersionModelMasterRequest.js +58 -24
  54. package/version/request/CreateVersionModelMasterRequest.js.map +1 -1
  55. package/version/request/CreateVersionModelMasterRequest.ts +59 -23
  56. package/version/request/UpdateVersionModelMasterRequest.d.ts +16 -8
  57. package/version/request/UpdateVersionModelMasterRequest.js +58 -24
  58. package/version/request/UpdateVersionModelMasterRequest.js.map +1 -1
  59. package/version/request/UpdateVersionModelMasterRequest.ts +59 -23
  60. package/version/rest.js +18 -14
  61. package/version/rest.js.map +1 -1
  62. package/version/rest.ts +8 -4
@@ -16,6 +16,7 @@ permissions and limitations under the License.
16
16
 
17
17
  import IModel from '../../core/interface/IModel';
18
18
  import Version from './Version';
19
+ import ScheduleVersion from './ScheduleVersion';
19
20
  const grnFormat: string = "grn:gs2:{region}:{ownerId}:version:{namespaceName}:model:version:{versionName}";
20
21
 
21
22
  export default class VersionModelMaster implements IModel {
@@ -23,10 +24,12 @@ export default class VersionModelMaster implements IModel {
23
24
  private name: string|null = null;
24
25
  private description: string|null = null;
25
26
  private metadata: string|null = null;
26
- private warningVersion: Version|null = null;
27
- private errorVersion: Version|null = null;
28
27
  private scope: string|null = null;
28
+ private type: string|null = null;
29
29
  private currentVersion: Version|null = null;
30
+ private warningVersion: Version|null = null;
31
+ private errorVersion: Version|null = null;
32
+ private scheduleVersions: ScheduleVersion[]|null = null;
30
33
  private needSignature: boolean|null = null;
31
34
  private signatureKeyId: string|null = null;
32
35
  private createdAt: number|null = null;
@@ -157,6 +160,39 @@ export default class VersionModelMaster implements IModel {
157
160
  this.metadata = metadata;
158
161
  return this;
159
162
  }
163
+ public getScope(): string|null {
164
+ return this.scope;
165
+ }
166
+ public setScope(scope: string|null) {
167
+ this.scope = scope;
168
+ return this;
169
+ }
170
+ public withScope(scope: string|null): this {
171
+ this.scope = scope;
172
+ return this;
173
+ }
174
+ public getType(): string|null {
175
+ return this.type;
176
+ }
177
+ public setType(type: string|null) {
178
+ this.type = type;
179
+ return this;
180
+ }
181
+ public withType(type: string|null): this {
182
+ this.type = type;
183
+ return this;
184
+ }
185
+ public getCurrentVersion(): Version|null {
186
+ return this.currentVersion;
187
+ }
188
+ public setCurrentVersion(currentVersion: Version|null) {
189
+ this.currentVersion = currentVersion;
190
+ return this;
191
+ }
192
+ public withCurrentVersion(currentVersion: Version|null): this {
193
+ this.currentVersion = currentVersion;
194
+ return this;
195
+ }
160
196
  public getWarningVersion(): Version|null {
161
197
  return this.warningVersion;
162
198
  }
@@ -179,26 +215,15 @@ export default class VersionModelMaster implements IModel {
179
215
  this.errorVersion = errorVersion;
180
216
  return this;
181
217
  }
182
- public getScope(): string|null {
183
- return this.scope;
184
- }
185
- public setScope(scope: string|null) {
186
- this.scope = scope;
187
- return this;
188
- }
189
- public withScope(scope: string|null): this {
190
- this.scope = scope;
191
- return this;
192
- }
193
- public getCurrentVersion(): Version|null {
194
- return this.currentVersion;
218
+ public getScheduleVersions(): ScheduleVersion[]|null {
219
+ return this.scheduleVersions;
195
220
  }
196
- public setCurrentVersion(currentVersion: Version|null) {
197
- this.currentVersion = currentVersion;
221
+ public setScheduleVersions(scheduleVersions: ScheduleVersion[]|null) {
222
+ this.scheduleVersions = scheduleVersions;
198
223
  return this;
199
224
  }
200
- public withCurrentVersion(currentVersion: Version|null): this {
201
- this.currentVersion = currentVersion;
225
+ public withScheduleVersions(scheduleVersions: ScheduleVersion[]|null): this {
226
+ this.scheduleVersions = scheduleVersions;
202
227
  return this;
203
228
  }
204
229
  public getNeedSignature(): boolean|null {
@@ -266,10 +291,16 @@ export default class VersionModelMaster implements IModel {
266
291
  .withName(data["name"])
267
292
  .withDescription(data["description"])
268
293
  .withMetadata(data["metadata"])
269
- .withWarningVersion(Version.fromDict(data["warningVersion"]))
270
- .withErrorVersion(Version.fromDict(data["errorVersion"]))
271
294
  .withScope(data["scope"])
295
+ .withType(data["type"])
272
296
  .withCurrentVersion(Version.fromDict(data["currentVersion"]))
297
+ .withWarningVersion(Version.fromDict(data["warningVersion"]))
298
+ .withErrorVersion(Version.fromDict(data["errorVersion"]))
299
+ .withScheduleVersions(data.scheduleVersions ?
300
+ data.scheduleVersions.map((item: {[key: string]: any}) => {
301
+ return ScheduleVersion.fromDict(item);
302
+ }
303
+ ) : [])
273
304
  .withNeedSignature(data["needSignature"])
274
305
  .withSignatureKeyId(data["signatureKeyId"])
275
306
  .withCreatedAt(data["createdAt"])
@@ -283,10 +314,16 @@ export default class VersionModelMaster implements IModel {
283
314
  "name": this.getName(),
284
315
  "description": this.getDescription(),
285
316
  "metadata": this.getMetadata(),
286
- "warningVersion": this.getWarningVersion()?.toDict(),
287
- "errorVersion": this.getErrorVersion()?.toDict(),
288
317
  "scope": this.getScope(),
318
+ "type": this.getType(),
289
319
  "currentVersion": this.getCurrentVersion()?.toDict(),
320
+ "warningVersion": this.getWarningVersion()?.toDict(),
321
+ "errorVersion": this.getErrorVersion()?.toDict(),
322
+ "scheduleVersions": this.getScheduleVersions() ?
323
+ this.getScheduleVersions()!.map((item: ScheduleVersion) => {
324
+ return item.toDict();
325
+ }
326
+ ) : [],
290
327
  "needSignature": this.getNeedSignature(),
291
328
  "signatureKeyId": this.getSignatureKeyId(),
292
329
  "createdAt": this.getCreatedAt(),
@@ -1,6 +1,5 @@
1
1
  import Namespace from "./Namespace";
2
2
  import VersionModelMaster from "./VersionModelMaster";
3
- import Version from "./Version";
4
3
  import VersionModel from "./VersionModel";
5
4
  import AcceptVersion from "./AcceptVersion";
6
5
  import Status from "./Status";
@@ -10,4 +9,6 @@ import CurrentVersionMaster from "./CurrentVersionMaster";
10
9
  import ScriptSetting from "./ScriptSetting";
11
10
  import GitHubCheckoutSetting from "./GitHubCheckoutSetting";
12
11
  import LogSetting from "./LogSetting";
13
- export { Namespace, VersionModelMaster, Version, VersionModel, AcceptVersion, Status, TargetVersion, SignTargetVersion, CurrentVersionMaster, ScriptSetting, GitHubCheckoutSetting, LogSetting, };
12
+ import Version from "./Version";
13
+ import ScheduleVersion from "./ScheduleVersion";
14
+ export { Namespace, VersionModelMaster, VersionModel, AcceptVersion, Status, TargetVersion, SignTargetVersion, CurrentVersionMaster, ScriptSetting, GitHubCheckoutSetting, LogSetting, Version, ScheduleVersion, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LogSetting = exports.GitHubCheckoutSetting = exports.ScriptSetting = exports.CurrentVersionMaster = exports.SignTargetVersion = exports.TargetVersion = exports.Status = exports.AcceptVersion = exports.VersionModel = exports.Version = exports.VersionModelMaster = exports.Namespace = void 0;
3
+ exports.ScheduleVersion = exports.Version = exports.LogSetting = exports.GitHubCheckoutSetting = exports.ScriptSetting = exports.CurrentVersionMaster = exports.SignTargetVersion = exports.TargetVersion = exports.Status = exports.AcceptVersion = exports.VersionModel = exports.VersionModelMaster = exports.Namespace = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  /*
6
6
  Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
@@ -21,8 +21,6 @@ var Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
21
21
  exports.Namespace = Namespace_1.default;
22
22
  var VersionModelMaster_1 = tslib_1.__importDefault(require("./VersionModelMaster"));
23
23
  exports.VersionModelMaster = VersionModelMaster_1.default;
24
- var Version_1 = tslib_1.__importDefault(require("./Version"));
25
- exports.Version = Version_1.default;
26
24
  var VersionModel_1 = tslib_1.__importDefault(require("./VersionModel"));
27
25
  exports.VersionModel = VersionModel_1.default;
28
26
  var AcceptVersion_1 = tslib_1.__importDefault(require("./AcceptVersion"));
@@ -41,4 +39,8 @@ var GitHubCheckoutSetting_1 = tslib_1.__importDefault(require("./GitHubCheckoutS
41
39
  exports.GitHubCheckoutSetting = GitHubCheckoutSetting_1.default;
42
40
  var LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
43
41
  exports.LogSetting = LogSetting_1.default;
42
+ var Version_1 = tslib_1.__importDefault(require("./Version"));
43
+ exports.Version = Version_1.default;
44
+ var ScheduleVersion_1 = tslib_1.__importDefault(require("./ScheduleVersion"));
45
+ exports.ScheduleVersion = ScheduleVersion_1.default;
44
46
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAc/B,oBAdG,mBAAS,CAcH;AAbb,oFAAqD;AAcjD,6BAdG,4BAAkB,CAcH;AAbtB,8DAA+B;AAc3B,kBAdG,iBAAO,CAcH;AAbX,wEAAyC;AAcrC,uBAdG,sBAAY,CAcH;AAbhB,0EAA2C;AAcvC,wBAdG,uBAAa,CAcH;AAbjB,4DAA6B;AAczB,iBAdG,gBAAM,CAcH;AAbV,0EAA2C;AAcvC,wBAdG,uBAAa,CAcH;AAbjB,kFAAmD;AAc/C,4BAdG,2BAAiB,CAcH;AAbrB,wFAAyD;AAcrD,+BAdG,8BAAoB,CAcH;AAbxB,0EAA2C;AAcvC,wBAdG,uBAAa,CAcH;AAbjB,0FAA2D;AAcvD,gCAdG,+BAAqB,CAcH;AAbzB,oEAAqC;AAcjC,qBAdG,oBAAU,CAcH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAe/B,oBAfG,mBAAS,CAeH;AAdb,oFAAqD;AAejD,6BAfG,4BAAkB,CAeH;AAdtB,wEAAyC;AAerC,uBAfG,sBAAY,CAeH;AAdhB,0EAA2C;AAevC,wBAfG,uBAAa,CAeH;AAdjB,4DAA6B;AAezB,iBAfG,gBAAM,CAeH;AAdV,0EAA2C;AAevC,wBAfG,uBAAa,CAeH;AAdjB,kFAAmD;AAe/C,4BAfG,2BAAiB,CAeH;AAdrB,wFAAyD;AAerD,+BAfG,8BAAoB,CAeH;AAdxB,0EAA2C;AAevC,wBAfG,uBAAa,CAeH;AAdjB,0FAA2D;AAevD,gCAfG,+BAAqB,CAeH;AAdzB,oEAAqC;AAejC,qBAfG,oBAAU,CAeH;AAdd,8DAA+B;AAe3B,kBAfG,iBAAO,CAeH;AAdX,8EAA+C;AAe3C,0BAfG,yBAAe,CAeH"}
@@ -15,7 +15,6 @@ permissions and limitations under the License.
15
15
  */
16
16
  import Namespace from "./Namespace"
17
17
  import VersionModelMaster from "./VersionModelMaster"
18
- import Version from "./Version"
19
18
  import VersionModel from "./VersionModel"
20
19
  import AcceptVersion from "./AcceptVersion"
21
20
  import Status from "./Status"
@@ -25,11 +24,12 @@ import CurrentVersionMaster from "./CurrentVersionMaster"
25
24
  import ScriptSetting from "./ScriptSetting"
26
25
  import GitHubCheckoutSetting from "./GitHubCheckoutSetting"
27
26
  import LogSetting from "./LogSetting"
27
+ import Version from "./Version"
28
+ import ScheduleVersion from "./ScheduleVersion"
28
29
 
29
30
  export {
30
31
  Namespace,
31
32
  VersionModelMaster,
32
- Version,
33
33
  VersionModel,
34
34
  AcceptVersion,
35
35
  Status,
@@ -39,4 +39,6 @@ export {
39
39
  ScriptSetting,
40
40
  GitHubCheckoutSetting,
41
41
  LogSetting,
42
+ Version,
43
+ ScheduleVersion,
42
44
  };
@@ -7,10 +7,12 @@ export default class CreateVersionModelMasterRequest implements IRequest {
7
7
  private name;
8
8
  private description;
9
9
  private metadata;
10
- private warningVersion;
11
- private errorVersion;
12
10
  private scope;
11
+ private type;
13
12
  private currentVersion;
13
+ private warningVersion;
14
+ private errorVersion;
15
+ private scheduleVersions;
14
16
  private needSignature;
15
17
  private signatureKeyId;
16
18
  getRequestId(): string | null;
@@ -31,18 +33,24 @@ export default class CreateVersionModelMasterRequest implements IRequest {
31
33
  getMetadata(): string | null;
32
34
  setMetadata(metadata: string | null): this;
33
35
  withMetadata(metadata: string | null): this;
34
- getWarningVersion(): Gs2Version.Version | null;
35
- setWarningVersion(warningVersion: Gs2Version.Version | null): this;
36
- withWarningVersion(warningVersion: Gs2Version.Version | null): this;
37
- getErrorVersion(): Gs2Version.Version | null;
38
- setErrorVersion(errorVersion: Gs2Version.Version | null): this;
39
- withErrorVersion(errorVersion: Gs2Version.Version | null): this;
40
36
  getScope(): string | null;
41
37
  setScope(scope: string | null): this;
42
38
  withScope(scope: string | null): this;
39
+ getType(): string | null;
40
+ setType(type: string | null): this;
41
+ withType(type: string | null): this;
43
42
  getCurrentVersion(): Gs2Version.Version | null;
44
43
  setCurrentVersion(currentVersion: Gs2Version.Version | null): this;
45
44
  withCurrentVersion(currentVersion: Gs2Version.Version | null): this;
45
+ getWarningVersion(): Gs2Version.Version | null;
46
+ setWarningVersion(warningVersion: Gs2Version.Version | null): this;
47
+ withWarningVersion(warningVersion: Gs2Version.Version | null): this;
48
+ getErrorVersion(): Gs2Version.Version | null;
49
+ setErrorVersion(errorVersion: Gs2Version.Version | null): this;
50
+ withErrorVersion(errorVersion: Gs2Version.Version | null): this;
51
+ getScheduleVersions(): Gs2Version.ScheduleVersion[] | null;
52
+ setScheduleVersions(scheduleVersions: Gs2Version.ScheduleVersion[] | null): this;
53
+ withScheduleVersions(scheduleVersions: Gs2Version.ScheduleVersion[] | null): this;
46
54
  getNeedSignature(): boolean | null;
47
55
  setNeedSignature(needSignature: boolean | null): this;
48
56
  withNeedSignature(needSignature: boolean | null): this;
@@ -25,10 +25,12 @@ var CreateVersionModelMasterRequest = /** @class */ (function () {
25
25
  this.name = null;
26
26
  this.description = null;
27
27
  this.metadata = null;
28
- this.warningVersion = null;
29
- this.errorVersion = null;
30
28
  this.scope = null;
29
+ this.type = null;
31
30
  this.currentVersion = null;
31
+ this.warningVersion = null;
32
+ this.errorVersion = null;
33
+ this.scheduleVersions = null;
32
34
  this.needSignature = null;
33
35
  this.signatureKeyId = null;
34
36
  }
@@ -98,6 +100,39 @@ var CreateVersionModelMasterRequest = /** @class */ (function () {
98
100
  this.metadata = metadata;
99
101
  return this;
100
102
  };
103
+ CreateVersionModelMasterRequest.prototype.getScope = function () {
104
+ return this.scope;
105
+ };
106
+ CreateVersionModelMasterRequest.prototype.setScope = function (scope) {
107
+ this.scope = scope;
108
+ return this;
109
+ };
110
+ CreateVersionModelMasterRequest.prototype.withScope = function (scope) {
111
+ this.scope = scope;
112
+ return this;
113
+ };
114
+ CreateVersionModelMasterRequest.prototype.getType = function () {
115
+ return this.type;
116
+ };
117
+ CreateVersionModelMasterRequest.prototype.setType = function (type) {
118
+ this.type = type;
119
+ return this;
120
+ };
121
+ CreateVersionModelMasterRequest.prototype.withType = function (type) {
122
+ this.type = type;
123
+ return this;
124
+ };
125
+ CreateVersionModelMasterRequest.prototype.getCurrentVersion = function () {
126
+ return this.currentVersion;
127
+ };
128
+ CreateVersionModelMasterRequest.prototype.setCurrentVersion = function (currentVersion) {
129
+ this.currentVersion = currentVersion;
130
+ return this;
131
+ };
132
+ CreateVersionModelMasterRequest.prototype.withCurrentVersion = function (currentVersion) {
133
+ this.currentVersion = currentVersion;
134
+ return this;
135
+ };
101
136
  CreateVersionModelMasterRequest.prototype.getWarningVersion = function () {
102
137
  return this.warningVersion;
103
138
  };
@@ -120,26 +155,15 @@ var CreateVersionModelMasterRequest = /** @class */ (function () {
120
155
  this.errorVersion = errorVersion;
121
156
  return this;
122
157
  };
123
- CreateVersionModelMasterRequest.prototype.getScope = function () {
124
- return this.scope;
125
- };
126
- CreateVersionModelMasterRequest.prototype.setScope = function (scope) {
127
- this.scope = scope;
128
- return this;
129
- };
130
- CreateVersionModelMasterRequest.prototype.withScope = function (scope) {
131
- this.scope = scope;
132
- return this;
133
- };
134
- CreateVersionModelMasterRequest.prototype.getCurrentVersion = function () {
135
- return this.currentVersion;
158
+ CreateVersionModelMasterRequest.prototype.getScheduleVersions = function () {
159
+ return this.scheduleVersions;
136
160
  };
137
- CreateVersionModelMasterRequest.prototype.setCurrentVersion = function (currentVersion) {
138
- this.currentVersion = currentVersion;
161
+ CreateVersionModelMasterRequest.prototype.setScheduleVersions = function (scheduleVersions) {
162
+ this.scheduleVersions = scheduleVersions;
139
163
  return this;
140
164
  };
141
- CreateVersionModelMasterRequest.prototype.withCurrentVersion = function (currentVersion) {
142
- this.currentVersion = currentVersion;
165
+ CreateVersionModelMasterRequest.prototype.withScheduleVersions = function (scheduleVersions) {
166
+ this.scheduleVersions = scheduleVersions;
143
167
  return this;
144
168
  };
145
169
  CreateVersionModelMasterRequest.prototype.getNeedSignature = function () {
@@ -170,10 +194,15 @@ var CreateVersionModelMasterRequest = /** @class */ (function () {
170
194
  .withName(data["name"])
171
195
  .withDescription(data["description"])
172
196
  .withMetadata(data["metadata"])
173
- .withWarningVersion(Gs2Version.Version.fromDict(data["warningVersion"]))
174
- .withErrorVersion(Gs2Version.Version.fromDict(data["errorVersion"]))
175
197
  .withScope(data["scope"])
198
+ .withType(data["type"])
176
199
  .withCurrentVersion(Gs2Version.Version.fromDict(data["currentVersion"]))
200
+ .withWarningVersion(Gs2Version.Version.fromDict(data["warningVersion"]))
201
+ .withErrorVersion(Gs2Version.Version.fromDict(data["errorVersion"]))
202
+ .withScheduleVersions(data.scheduleVersions ?
203
+ data.scheduleVersions.map(function (item) {
204
+ return Gs2Version.ScheduleVersion.fromDict(item);
205
+ }) : [])
177
206
  .withNeedSignature(data["needSignature"])
178
207
  .withSignatureKeyId(data["signatureKeyId"]);
179
208
  };
@@ -184,10 +213,15 @@ var CreateVersionModelMasterRequest = /** @class */ (function () {
184
213
  "name": this.getName(),
185
214
  "description": this.getDescription(),
186
215
  "metadata": this.getMetadata(),
187
- "warningVersion": (_a = this.getWarningVersion()) === null || _a === void 0 ? void 0 : _a.toDict(),
188
- "errorVersion": (_b = this.getErrorVersion()) === null || _b === void 0 ? void 0 : _b.toDict(),
189
216
  "scope": this.getScope(),
190
- "currentVersion": (_c = this.getCurrentVersion()) === null || _c === void 0 ? void 0 : _c.toDict(),
217
+ "type": this.getType(),
218
+ "currentVersion": (_a = this.getCurrentVersion()) === null || _a === void 0 ? void 0 : _a.toDict(),
219
+ "warningVersion": (_b = this.getWarningVersion()) === null || _b === void 0 ? void 0 : _b.toDict(),
220
+ "errorVersion": (_c = this.getErrorVersion()) === null || _c === void 0 ? void 0 : _c.toDict(),
221
+ "scheduleVersions": this.getScheduleVersions() ?
222
+ this.getScheduleVersions().map(function (item) {
223
+ return item.toDict();
224
+ }) : [],
191
225
  "needSignature": this.getNeedSignature(),
192
226
  "signatureKeyId": this.getSignatureKeyId(),
193
227
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CreateVersionModelMasterRequest.js","sourceRoot":"","sources":["CreateVersionModelMasterRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,mBAAc,GAA4B,IAAI,CAAC;QAC/C,iBAAY,GAA4B,IAAI,CAAC;QAC7C,UAAK,GAAgB,IAAI,CAAC;QAC1B,mBAAc,GAA4B,IAAI,CAAC;QAC/C,kBAAa,GAAiB,IAAI,CAAC;QACnC,mBAAc,GAAgB,IAAI,CAAC;IAwK/C,CAAC;IAtKU,sDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,sDAAY,GAAn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EAAE,CAAC,CAAC;gBAC5C,IAAI,CAAC,mBAAmB,EAAG,CAAC,GAAG,CAAC,UAAC,IAAgC;oBAC7D,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;SAC7C,CAAC;IACN,CAAC;IACL,sCAAC;AAAD,CAAC,AAzND,IAyNC"}
@@ -26,10 +26,12 @@ export default class CreateVersionModelMasterRequest implements IRequest {
26
26
  private name: string|null = null;
27
27
  private description: string|null = null;
28
28
  private metadata: string|null = null;
29
- private warningVersion: Gs2Version.Version|null = null;
30
- private errorVersion: Gs2Version.Version|null = null;
31
29
  private scope: string|null = null;
30
+ private type: string|null = null;
32
31
  private currentVersion: Gs2Version.Version|null = null;
32
+ private warningVersion: Gs2Version.Version|null = null;
33
+ private errorVersion: Gs2Version.Version|null = null;
34
+ private scheduleVersions: Gs2Version.ScheduleVersion[]|null = null;
33
35
  private needSignature: boolean|null = null;
34
36
  private signatureKeyId: string|null = null;
35
37
 
@@ -104,6 +106,39 @@ export default class CreateVersionModelMasterRequest implements IRequest {
104
106
  this.metadata = metadata;
105
107
  return this;
106
108
  }
109
+ public getScope(): string|null {
110
+ return this.scope;
111
+ }
112
+ public setScope(scope: string|null) {
113
+ this.scope = scope;
114
+ return this;
115
+ }
116
+ public withScope(scope: string|null): this {
117
+ this.scope = scope;
118
+ return this;
119
+ }
120
+ public getType(): string|null {
121
+ return this.type;
122
+ }
123
+ public setType(type: string|null) {
124
+ this.type = type;
125
+ return this;
126
+ }
127
+ public withType(type: string|null): this {
128
+ this.type = type;
129
+ return this;
130
+ }
131
+ public getCurrentVersion(): Gs2Version.Version|null {
132
+ return this.currentVersion;
133
+ }
134
+ public setCurrentVersion(currentVersion: Gs2Version.Version|null) {
135
+ this.currentVersion = currentVersion;
136
+ return this;
137
+ }
138
+ public withCurrentVersion(currentVersion: Gs2Version.Version|null): this {
139
+ this.currentVersion = currentVersion;
140
+ return this;
141
+ }
107
142
  public getWarningVersion(): Gs2Version.Version|null {
108
143
  return this.warningVersion;
109
144
  }
@@ -126,26 +161,15 @@ export default class CreateVersionModelMasterRequest implements IRequest {
126
161
  this.errorVersion = errorVersion;
127
162
  return this;
128
163
  }
129
- public getScope(): string|null {
130
- return this.scope;
131
- }
132
- public setScope(scope: string|null) {
133
- this.scope = scope;
134
- return this;
135
- }
136
- public withScope(scope: string|null): this {
137
- this.scope = scope;
138
- return this;
139
- }
140
- public getCurrentVersion(): Gs2Version.Version|null {
141
- return this.currentVersion;
164
+ public getScheduleVersions(): Gs2Version.ScheduleVersion[]|null {
165
+ return this.scheduleVersions;
142
166
  }
143
- public setCurrentVersion(currentVersion: Gs2Version.Version|null) {
144
- this.currentVersion = currentVersion;
167
+ public setScheduleVersions(scheduleVersions: Gs2Version.ScheduleVersion[]|null) {
168
+ this.scheduleVersions = scheduleVersions;
145
169
  return this;
146
170
  }
147
- public withCurrentVersion(currentVersion: Gs2Version.Version|null): this {
148
- this.currentVersion = currentVersion;
171
+ public withScheduleVersions(scheduleVersions: Gs2Version.ScheduleVersion[]|null): this {
172
+ this.scheduleVersions = scheduleVersions;
149
173
  return this;
150
174
  }
151
175
  public getNeedSignature(): boolean|null {
@@ -177,10 +201,16 @@ export default class CreateVersionModelMasterRequest implements IRequest {
177
201
  .withName(data["name"])
178
202
  .withDescription(data["description"])
179
203
  .withMetadata(data["metadata"])
180
- .withWarningVersion(Gs2Version.Version.fromDict(data["warningVersion"]))
181
- .withErrorVersion(Gs2Version.Version.fromDict(data["errorVersion"]))
182
204
  .withScope(data["scope"])
205
+ .withType(data["type"])
183
206
  .withCurrentVersion(Gs2Version.Version.fromDict(data["currentVersion"]))
207
+ .withWarningVersion(Gs2Version.Version.fromDict(data["warningVersion"]))
208
+ .withErrorVersion(Gs2Version.Version.fromDict(data["errorVersion"]))
209
+ .withScheduleVersions(data.scheduleVersions ?
210
+ data.scheduleVersions.map((item: {[key: string]: any}) => {
211
+ return Gs2Version.ScheduleVersion.fromDict(item);
212
+ }
213
+ ) : [])
184
214
  .withNeedSignature(data["needSignature"])
185
215
  .withSignatureKeyId(data["signatureKeyId"]);
186
216
  }
@@ -191,10 +221,16 @@ export default class CreateVersionModelMasterRequest implements IRequest {
191
221
  "name": this.getName(),
192
222
  "description": this.getDescription(),
193
223
  "metadata": this.getMetadata(),
194
- "warningVersion": this.getWarningVersion()?.toDict(),
195
- "errorVersion": this.getErrorVersion()?.toDict(),
196
224
  "scope": this.getScope(),
225
+ "type": this.getType(),
197
226
  "currentVersion": this.getCurrentVersion()?.toDict(),
227
+ "warningVersion": this.getWarningVersion()?.toDict(),
228
+ "errorVersion": this.getErrorVersion()?.toDict(),
229
+ "scheduleVersions": this.getScheduleVersions() ?
230
+ this.getScheduleVersions()!.map((item: Gs2Version.ScheduleVersion) => {
231
+ return item.toDict();
232
+ }
233
+ ) : [],
198
234
  "needSignature": this.getNeedSignature(),
199
235
  "signatureKeyId": this.getSignatureKeyId(),
200
236
  };
@@ -7,10 +7,12 @@ export default class UpdateVersionModelMasterRequest implements IRequest {
7
7
  private versionName;
8
8
  private description;
9
9
  private metadata;
10
- private warningVersion;
11
- private errorVersion;
12
10
  private scope;
11
+ private type;
13
12
  private currentVersion;
13
+ private warningVersion;
14
+ private errorVersion;
15
+ private scheduleVersions;
14
16
  private needSignature;
15
17
  private signatureKeyId;
16
18
  getRequestId(): string | null;
@@ -31,18 +33,24 @@ export default class UpdateVersionModelMasterRequest implements IRequest {
31
33
  getMetadata(): string | null;
32
34
  setMetadata(metadata: string | null): this;
33
35
  withMetadata(metadata: string | null): this;
34
- getWarningVersion(): Gs2Version.Version | null;
35
- setWarningVersion(warningVersion: Gs2Version.Version | null): this;
36
- withWarningVersion(warningVersion: Gs2Version.Version | null): this;
37
- getErrorVersion(): Gs2Version.Version | null;
38
- setErrorVersion(errorVersion: Gs2Version.Version | null): this;
39
- withErrorVersion(errorVersion: Gs2Version.Version | null): this;
40
36
  getScope(): string | null;
41
37
  setScope(scope: string | null): this;
42
38
  withScope(scope: string | null): this;
39
+ getType(): string | null;
40
+ setType(type: string | null): this;
41
+ withType(type: string | null): this;
43
42
  getCurrentVersion(): Gs2Version.Version | null;
44
43
  setCurrentVersion(currentVersion: Gs2Version.Version | null): this;
45
44
  withCurrentVersion(currentVersion: Gs2Version.Version | null): this;
45
+ getWarningVersion(): Gs2Version.Version | null;
46
+ setWarningVersion(warningVersion: Gs2Version.Version | null): this;
47
+ withWarningVersion(warningVersion: Gs2Version.Version | null): this;
48
+ getErrorVersion(): Gs2Version.Version | null;
49
+ setErrorVersion(errorVersion: Gs2Version.Version | null): this;
50
+ withErrorVersion(errorVersion: Gs2Version.Version | null): this;
51
+ getScheduleVersions(): Gs2Version.ScheduleVersion[] | null;
52
+ setScheduleVersions(scheduleVersions: Gs2Version.ScheduleVersion[] | null): this;
53
+ withScheduleVersions(scheduleVersions: Gs2Version.ScheduleVersion[] | null): this;
46
54
  getNeedSignature(): boolean | null;
47
55
  setNeedSignature(needSignature: boolean | null): this;
48
56
  withNeedSignature(needSignature: boolean | null): this;