gs2 1.4.28 → 1.4.30
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/exchange/request/AcquireForceByStampSheetRequest.d.ts +25 -0
- package/exchange/request/AcquireForceByStampSheetRequest.js +83 -0
- package/exchange/request/AcquireForceByStampSheetRequest.js.map +1 -0
- package/exchange/request/AcquireForceByStampSheetRequest.ts +90 -0
- package/exchange/request/index.d.ts +2 -1
- package/exchange/request/index.js +4 -2
- package/exchange/request/index.js.map +1 -1
- package/exchange/request/index.ts +2 -0
- package/exchange/rest.d.ts +1 -0
- package/exchange/rest.js +27 -0
- package/exchange/rest.js.map +1 -1
- package/exchange/rest.ts +31 -0
- package/exchange/result/AcquireForceByStampSheetResult.d.ts +30 -0
- package/exchange/result/AcquireForceByStampSheetResult.js +104 -0
- package/exchange/result/AcquireForceByStampSheetResult.js.map +1 -0
- package/exchange/result/AcquireForceByStampSheetResult.ts +115 -0
- package/exchange/result/index.d.ts +2 -1
- package/exchange/result/index.js +4 -2
- package/exchange/result/index.js.map +1 -1
- package/exchange/result/index.ts +2 -0
- package/experience/request/MultiplyAcquireActionsByUserIdRequest.d.ts +4 -0
- package/experience/request/MultiplyAcquireActionsByUserIdRequest.js +14 -0
- package/experience/request/MultiplyAcquireActionsByUserIdRequest.js.map +1 -1
- package/experience/request/MultiplyAcquireActionsByUserIdRequest.ts +14 -0
- package/experience/rest.js +2 -1
- package/experience/rest.js.map +1 -1
- package/experience/rest.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class AcquireForceByStampSheetRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private stampSheet;
|
|
6
|
+
private keyId;
|
|
7
|
+
getRequestId(): string | null;
|
|
8
|
+
setRequestId(requestId: string | null): this;
|
|
9
|
+
withRequestId(requestId: string | null): this;
|
|
10
|
+
getContextStack(): string | null;
|
|
11
|
+
setContextStack(contextStack: string | null): this;
|
|
12
|
+
withContextStack(contextStack: string | null): this;
|
|
13
|
+
getStampSheet(): string | null;
|
|
14
|
+
setStampSheet(stampSheet: string | null): this;
|
|
15
|
+
withStampSheet(stampSheet: string | null): this;
|
|
16
|
+
getKeyId(): string | null;
|
|
17
|
+
setKeyId(keyId: string | null): this;
|
|
18
|
+
withKeyId(keyId: string | null): this;
|
|
19
|
+
static fromDict(data: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}): AcquireForceByStampSheetRequest;
|
|
22
|
+
toDict(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var AcquireForceByStampSheetRequest = /** @class */ (function () {
|
|
19
|
+
function AcquireForceByStampSheetRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.stampSheet = null;
|
|
23
|
+
this.keyId = null;
|
|
24
|
+
}
|
|
25
|
+
AcquireForceByStampSheetRequest.prototype.getRequestId = function () {
|
|
26
|
+
return this.requestId;
|
|
27
|
+
};
|
|
28
|
+
AcquireForceByStampSheetRequest.prototype.setRequestId = function (requestId) {
|
|
29
|
+
this.requestId = requestId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
AcquireForceByStampSheetRequest.prototype.withRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
AcquireForceByStampSheetRequest.prototype.getContextStack = function () {
|
|
37
|
+
return this.contextStack;
|
|
38
|
+
};
|
|
39
|
+
AcquireForceByStampSheetRequest.prototype.setContextStack = function (contextStack) {
|
|
40
|
+
this.contextStack = contextStack;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
AcquireForceByStampSheetRequest.prototype.withContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
AcquireForceByStampSheetRequest.prototype.getStampSheet = function () {
|
|
48
|
+
return this.stampSheet;
|
|
49
|
+
};
|
|
50
|
+
AcquireForceByStampSheetRequest.prototype.setStampSheet = function (stampSheet) {
|
|
51
|
+
this.stampSheet = stampSheet;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
AcquireForceByStampSheetRequest.prototype.withStampSheet = function (stampSheet) {
|
|
55
|
+
this.stampSheet = stampSheet;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
AcquireForceByStampSheetRequest.prototype.getKeyId = function () {
|
|
59
|
+
return this.keyId;
|
|
60
|
+
};
|
|
61
|
+
AcquireForceByStampSheetRequest.prototype.setKeyId = function (keyId) {
|
|
62
|
+
this.keyId = keyId;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
AcquireForceByStampSheetRequest.prototype.withKeyId = function (keyId) {
|
|
66
|
+
this.keyId = keyId;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
AcquireForceByStampSheetRequest.fromDict = function (data) {
|
|
70
|
+
return new AcquireForceByStampSheetRequest()
|
|
71
|
+
.withStampSheet(data["stampSheet"])
|
|
72
|
+
.withKeyId(data["keyId"]);
|
|
73
|
+
};
|
|
74
|
+
AcquireForceByStampSheetRequest.prototype.toDict = function () {
|
|
75
|
+
return {
|
|
76
|
+
"stampSheet": this.getStampSheet(),
|
|
77
|
+
"keyId": this.getKeyId(),
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
return AcquireForceByStampSheetRequest;
|
|
81
|
+
}());
|
|
82
|
+
exports.default = AcquireForceByStampSheetRequest;
|
|
83
|
+
//# sourceMappingURL=AcquireForceByStampSheetRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcquireForceByStampSheetRequest.js","sourceRoot":"","sources":["AcquireForceByStampSheetRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,eAAU,GAAgB,IAAI,CAAC;QAC/B,UAAK,GAAgB,IAAI,CAAC;IAgEtC,CAAC;IA9DU,sDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,sDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,yDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0DAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uDAAa,GAApB;QACI,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IACM,uDAAa,GAApB,UAAqB,UAAuB;QACxC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,wDAAc,GAArB,UAAsB,UAAuB;QACzC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kDAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IACM,kDAAQ,GAAf,UAAgB,KAAkB;QAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,mDAAS,GAAhB,UAAiB,KAAkB;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,wCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,+BAA+B,EAAE;aACvC,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aAClC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,gDAAM,GAAb;QACI,OAAO;YACH,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,sCAAC;AAAD,CAAC,AArED,IAqEC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Exchange from '../model'
|
|
20
|
+
|
|
21
|
+
export default class AcquireForceByStampSheetRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private stampSheet: string|null = null;
|
|
26
|
+
private keyId: string|null = null;
|
|
27
|
+
|
|
28
|
+
public getRequestId(): string|null {
|
|
29
|
+
return this.requestId;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public setRequestId(requestId: string|null) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public withRequestId(requestId: string|null): this {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public getContextStack(): string|null {
|
|
43
|
+
return this.contextStack;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setContextStack(contextStack: string|null) {
|
|
47
|
+
this.contextStack = contextStack;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withContextStack(contextStack: string|null): this {
|
|
52
|
+
this.contextStack = contextStack;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
public getStampSheet(): string|null {
|
|
56
|
+
return this.stampSheet;
|
|
57
|
+
}
|
|
58
|
+
public setStampSheet(stampSheet: string|null) {
|
|
59
|
+
this.stampSheet = stampSheet;
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
public withStampSheet(stampSheet: string|null): this {
|
|
63
|
+
this.stampSheet = stampSheet;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public getKeyId(): string|null {
|
|
67
|
+
return this.keyId;
|
|
68
|
+
}
|
|
69
|
+
public setKeyId(keyId: string|null) {
|
|
70
|
+
this.keyId = keyId;
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
public withKeyId(keyId: string|null): this {
|
|
74
|
+
this.keyId = keyId;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public static fromDict(data: {[key: string]: any}): AcquireForceByStampSheetRequest {
|
|
79
|
+
return new AcquireForceByStampSheetRequest()
|
|
80
|
+
.withStampSheet(data["stampSheet"])
|
|
81
|
+
.withKeyId(data["keyId"]);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public toDict(): {[key: string]: any} {
|
|
85
|
+
return {
|
|
86
|
+
"stampSheet": this.getStampSheet(),
|
|
87
|
+
"keyId": this.getKeyId(),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -47,6 +47,7 @@ import SkipByUserIdRequest from "./SkipByUserIdRequest";
|
|
|
47
47
|
import DeleteAwaitRequest from "./DeleteAwaitRequest";
|
|
48
48
|
import DeleteAwaitByUserIdRequest from "./DeleteAwaitByUserIdRequest";
|
|
49
49
|
import CreateAwaitByStampSheetRequest from "./CreateAwaitByStampSheetRequest";
|
|
50
|
+
import AcquireForceByStampSheetRequest from "./AcquireForceByStampSheetRequest";
|
|
50
51
|
import SkipByStampSheetRequest from "./SkipByStampSheetRequest";
|
|
51
52
|
import DeleteAwaitByStampTaskRequest from "./DeleteAwaitByStampTaskRequest";
|
|
52
|
-
export { DescribeNamespacesRequest, CreateNamespaceRequest, GetNamespaceStatusRequest, GetNamespaceRequest, UpdateNamespaceRequest, DeleteNamespaceRequest, DumpUserDataByUserIdRequest, CheckDumpUserDataByUserIdRequest, CleanUserDataByUserIdRequest, CheckCleanUserDataByUserIdRequest, PrepareImportUserDataByUserIdRequest, ImportUserDataByUserIdRequest, CheckImportUserDataByUserIdRequest, DescribeRateModelsRequest, GetRateModelRequest, DescribeRateModelMastersRequest, CreateRateModelMasterRequest, GetRateModelMasterRequest, UpdateRateModelMasterRequest, DeleteRateModelMasterRequest, DescribeIncrementalRateModelsRequest, GetIncrementalRateModelRequest, DescribeIncrementalRateModelMastersRequest, CreateIncrementalRateModelMasterRequest, GetIncrementalRateModelMasterRequest, UpdateIncrementalRateModelMasterRequest, DeleteIncrementalRateModelMasterRequest, ExchangeRequest, ExchangeByUserIdRequest, ExchangeByStampSheetRequest, IncrementalExchangeRequest, IncrementalExchangeByUserIdRequest, IncrementalExchangeByStampSheetRequest, ExportMasterRequest, GetCurrentRateMasterRequest, UpdateCurrentRateMasterRequest, UpdateCurrentRateMasterFromGitHubRequest, CreateAwaitByUserIdRequest, DescribeAwaitsRequest, DescribeAwaitsByUserIdRequest, GetAwaitRequest, GetAwaitByUserIdRequest, AcquireRequest, AcquireByUserIdRequest, AcquireForceByUserIdRequest, SkipByUserIdRequest, DeleteAwaitRequest, DeleteAwaitByUserIdRequest, CreateAwaitByStampSheetRequest, SkipByStampSheetRequest, DeleteAwaitByStampTaskRequest, };
|
|
53
|
+
export { DescribeNamespacesRequest, CreateNamespaceRequest, GetNamespaceStatusRequest, GetNamespaceRequest, UpdateNamespaceRequest, DeleteNamespaceRequest, DumpUserDataByUserIdRequest, CheckDumpUserDataByUserIdRequest, CleanUserDataByUserIdRequest, CheckCleanUserDataByUserIdRequest, PrepareImportUserDataByUserIdRequest, ImportUserDataByUserIdRequest, CheckImportUserDataByUserIdRequest, DescribeRateModelsRequest, GetRateModelRequest, DescribeRateModelMastersRequest, CreateRateModelMasterRequest, GetRateModelMasterRequest, UpdateRateModelMasterRequest, DeleteRateModelMasterRequest, DescribeIncrementalRateModelsRequest, GetIncrementalRateModelRequest, DescribeIncrementalRateModelMastersRequest, CreateIncrementalRateModelMasterRequest, GetIncrementalRateModelMasterRequest, UpdateIncrementalRateModelMasterRequest, DeleteIncrementalRateModelMasterRequest, ExchangeRequest, ExchangeByUserIdRequest, ExchangeByStampSheetRequest, IncrementalExchangeRequest, IncrementalExchangeByUserIdRequest, IncrementalExchangeByStampSheetRequest, ExportMasterRequest, GetCurrentRateMasterRequest, UpdateCurrentRateMasterRequest, UpdateCurrentRateMasterFromGitHubRequest, CreateAwaitByUserIdRequest, DescribeAwaitsRequest, DescribeAwaitsByUserIdRequest, GetAwaitRequest, GetAwaitByUserIdRequest, AcquireRequest, AcquireByUserIdRequest, AcquireForceByUserIdRequest, SkipByUserIdRequest, DeleteAwaitRequest, DeleteAwaitByUserIdRequest, CreateAwaitByStampSheetRequest, AcquireForceByStampSheetRequest, SkipByStampSheetRequest, DeleteAwaitByStampTaskRequest, };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.DeleteAwaitByStampTaskRequest = void 0;
|
|
3
|
+
exports.AcquireForceByStampSheetRequest = exports.CreateAwaitByStampSheetRequest = exports.DeleteAwaitByUserIdRequest = exports.DeleteAwaitRequest = exports.SkipByUserIdRequest = exports.AcquireForceByUserIdRequest = exports.AcquireByUserIdRequest = exports.AcquireRequest = exports.GetAwaitByUserIdRequest = exports.GetAwaitRequest = exports.DescribeAwaitsByUserIdRequest = exports.DescribeAwaitsRequest = exports.CreateAwaitByUserIdRequest = exports.UpdateCurrentRateMasterFromGitHubRequest = exports.UpdateCurrentRateMasterRequest = exports.GetCurrentRateMasterRequest = exports.ExportMasterRequest = exports.IncrementalExchangeByStampSheetRequest = exports.IncrementalExchangeByUserIdRequest = exports.IncrementalExchangeRequest = exports.ExchangeByStampSheetRequest = exports.ExchangeByUserIdRequest = exports.ExchangeRequest = exports.DeleteIncrementalRateModelMasterRequest = exports.UpdateIncrementalRateModelMasterRequest = exports.GetIncrementalRateModelMasterRequest = exports.CreateIncrementalRateModelMasterRequest = exports.DescribeIncrementalRateModelMastersRequest = exports.GetIncrementalRateModelRequest = exports.DescribeIncrementalRateModelsRequest = exports.DeleteRateModelMasterRequest = exports.UpdateRateModelMasterRequest = exports.GetRateModelMasterRequest = exports.CreateRateModelMasterRequest = exports.DescribeRateModelMastersRequest = exports.GetRateModelRequest = exports.DescribeRateModelsRequest = exports.CheckImportUserDataByUserIdRequest = exports.ImportUserDataByUserIdRequest = exports.PrepareImportUserDataByUserIdRequest = exports.CheckCleanUserDataByUserIdRequest = exports.CleanUserDataByUserIdRequest = exports.CheckDumpUserDataByUserIdRequest = exports.DumpUserDataByUserIdRequest = exports.DeleteNamespaceRequest = exports.UpdateNamespaceRequest = exports.GetNamespaceRequest = exports.GetNamespaceStatusRequest = exports.CreateNamespaceRequest = exports.DescribeNamespacesRequest = void 0;
|
|
4
|
+
exports.DeleteAwaitByStampTaskRequest = exports.SkipByStampSheetRequest = void 0;
|
|
5
5
|
var tslib_1 = require("tslib");
|
|
6
6
|
/*
|
|
7
7
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -116,6 +116,8 @@ var DeleteAwaitByUserIdRequest_1 = tslib_1.__importDefault(require("./DeleteAwai
|
|
|
116
116
|
exports.DeleteAwaitByUserIdRequest = DeleteAwaitByUserIdRequest_1.default;
|
|
117
117
|
var CreateAwaitByStampSheetRequest_1 = tslib_1.__importDefault(require("./CreateAwaitByStampSheetRequest"));
|
|
118
118
|
exports.CreateAwaitByStampSheetRequest = CreateAwaitByStampSheetRequest_1.default;
|
|
119
|
+
var AcquireForceByStampSheetRequest_1 = tslib_1.__importDefault(require("./AcquireForceByStampSheetRequest"));
|
|
120
|
+
exports.AcquireForceByStampSheetRequest = AcquireForceByStampSheetRequest_1.default;
|
|
119
121
|
var SkipByStampSheetRequest_1 = tslib_1.__importDefault(require("./SkipByStampSheetRequest"));
|
|
120
122
|
exports.SkipByStampSheetRequest = SkipByStampSheetRequest_1.default;
|
|
121
123
|
var DeleteAwaitByStampTaskRequest_1 = tslib_1.__importDefault(require("./DeleteAwaitByStampTaskRequest"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kGAAmE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"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"}
|
|
@@ -62,6 +62,7 @@ import SkipByUserIdRequest from "./SkipByUserIdRequest"
|
|
|
62
62
|
import DeleteAwaitRequest from "./DeleteAwaitRequest"
|
|
63
63
|
import DeleteAwaitByUserIdRequest from "./DeleteAwaitByUserIdRequest"
|
|
64
64
|
import CreateAwaitByStampSheetRequest from "./CreateAwaitByStampSheetRequest"
|
|
65
|
+
import AcquireForceByStampSheetRequest from "./AcquireForceByStampSheetRequest"
|
|
65
66
|
import SkipByStampSheetRequest from "./SkipByStampSheetRequest"
|
|
66
67
|
import DeleteAwaitByStampTaskRequest from "./DeleteAwaitByStampTaskRequest"
|
|
67
68
|
|
|
@@ -115,6 +116,7 @@ export {
|
|
|
115
116
|
DeleteAwaitRequest,
|
|
116
117
|
DeleteAwaitByUserIdRequest,
|
|
117
118
|
CreateAwaitByStampSheetRequest,
|
|
119
|
+
AcquireForceByStampSheetRequest,
|
|
118
120
|
SkipByStampSheetRequest,
|
|
119
121
|
DeleteAwaitByStampTaskRequest,
|
|
120
122
|
};
|
package/exchange/rest.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export default class Gs2ExchangeRestClient extends AbstractGs2RestClient {
|
|
|
53
53
|
deleteAwait(request: Request.DeleteAwaitRequest): Promise<Result.DeleteAwaitResult>;
|
|
54
54
|
deleteAwaitByUserId(request: Request.DeleteAwaitByUserIdRequest): Promise<Result.DeleteAwaitByUserIdResult>;
|
|
55
55
|
createAwaitByStampSheet(request: Request.CreateAwaitByStampSheetRequest): Promise<Result.CreateAwaitByStampSheetResult>;
|
|
56
|
+
acquireForceByStampSheet(request: Request.AcquireForceByStampSheetRequest): Promise<Result.AcquireForceByStampSheetResult>;
|
|
56
57
|
skipByStampSheet(request: Request.SkipByStampSheetRequest): Promise<Result.SkipByStampSheetResult>;
|
|
57
58
|
deleteAwaitByStampTask(request: Request.DeleteAwaitByStampTaskRequest): Promise<Result.DeleteAwaitByStampTaskResult>;
|
|
58
59
|
}
|
package/exchange/rest.js
CHANGED
|
@@ -1416,6 +1416,33 @@ var Gs2ExchangeRestClient = /** @class */ (function (_super) {
|
|
|
1416
1416
|
}
|
|
1417
1417
|
});
|
|
1418
1418
|
};
|
|
1419
|
+
Gs2ExchangeRestClient.prototype.acquireForceByStampSheet = function (request) {
|
|
1420
|
+
var _a, _b, _c;
|
|
1421
|
+
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/await/acquire/force')
|
|
1422
|
+
.replace('{service}', 'exchange')
|
|
1423
|
+
.replace('{region}', this.session.region);
|
|
1424
|
+
var headers = this.createAuthorizedHeaders();
|
|
1425
|
+
if (request.getRequestId()) {
|
|
1426
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1427
|
+
}
|
|
1428
|
+
var body = {
|
|
1429
|
+
'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
|
|
1430
|
+
'stampSheet': (_b = request.getStampSheet()) !== null && _b !== void 0 ? _b : null,
|
|
1431
|
+
'keyId': (_c = request.getKeyId()) !== null && _c !== void 0 ? _c : null,
|
|
1432
|
+
};
|
|
1433
|
+
return axios_1.default.post(url, body, {
|
|
1434
|
+
headers: headers,
|
|
1435
|
+
}).then(function (response) {
|
|
1436
|
+
return Result.AcquireForceByStampSheetResult.fromDict(response.data);
|
|
1437
|
+
}).catch(function (error) {
|
|
1438
|
+
if (error.response) {
|
|
1439
|
+
throw JSON.parse(error.response.data.message);
|
|
1440
|
+
}
|
|
1441
|
+
else {
|
|
1442
|
+
throw [];
|
|
1443
|
+
}
|
|
1444
|
+
});
|
|
1445
|
+
};
|
|
1419
1446
|
Gs2ExchangeRestClient.prototype.skipByStampSheet = function (request) {
|
|
1420
1447
|
var _a, _b, _c;
|
|
1421
1448
|
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/await/skip')
|