gs2 1.4.61 → 1.4.62
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.
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import IModel from '../../core/interface/IModel';
|
|
2
2
|
export default class AppleAppStoreSetting implements IModel {
|
|
3
3
|
private bundleId;
|
|
4
|
+
private sharedSecretKey;
|
|
4
5
|
private issuerId;
|
|
5
6
|
private keyId;
|
|
6
7
|
private privateKeyPem;
|
|
7
8
|
getBundleId(): string | null;
|
|
8
9
|
setBundleId(bundleId: string | null): this;
|
|
9
10
|
withBundleId(bundleId: string | null): this;
|
|
11
|
+
getSharedSecretKey(): string | null;
|
|
12
|
+
setSharedSecretKey(sharedSecretKey: string | null): this;
|
|
13
|
+
withSharedSecretKey(sharedSecretKey: string | null): this;
|
|
10
14
|
getIssuerId(): string | null;
|
|
11
15
|
setIssuerId(issuerId: string | null): this;
|
|
12
16
|
withIssuerId(issuerId: string | null): this;
|
|
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
var AppleAppStoreSetting = /** @class */ (function () {
|
|
19
19
|
function AppleAppStoreSetting() {
|
|
20
20
|
this.bundleId = null;
|
|
21
|
+
this.sharedSecretKey = null;
|
|
21
22
|
this.issuerId = null;
|
|
22
23
|
this.keyId = null;
|
|
23
24
|
this.privateKeyPem = null;
|
|
@@ -33,6 +34,17 @@ var AppleAppStoreSetting = /** @class */ (function () {
|
|
|
33
34
|
this.bundleId = bundleId;
|
|
34
35
|
return this;
|
|
35
36
|
};
|
|
37
|
+
AppleAppStoreSetting.prototype.getSharedSecretKey = function () {
|
|
38
|
+
return this.sharedSecretKey;
|
|
39
|
+
};
|
|
40
|
+
AppleAppStoreSetting.prototype.setSharedSecretKey = function (sharedSecretKey) {
|
|
41
|
+
this.sharedSecretKey = sharedSecretKey;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
AppleAppStoreSetting.prototype.withSharedSecretKey = function (sharedSecretKey) {
|
|
45
|
+
this.sharedSecretKey = sharedSecretKey;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
36
48
|
AppleAppStoreSetting.prototype.getIssuerId = function () {
|
|
37
49
|
return this.issuerId;
|
|
38
50
|
};
|
|
@@ -72,6 +84,7 @@ var AppleAppStoreSetting = /** @class */ (function () {
|
|
|
72
84
|
}
|
|
73
85
|
return new AppleAppStoreSetting()
|
|
74
86
|
.withBundleId(data["bundleId"])
|
|
87
|
+
.withSharedSecretKey(data["sharedSecretKey"])
|
|
75
88
|
.withIssuerId(data["issuerId"])
|
|
76
89
|
.withKeyId(data["keyId"])
|
|
77
90
|
.withPrivateKeyPem(data["privateKeyPem"]);
|
|
@@ -79,6 +92,7 @@ var AppleAppStoreSetting = /** @class */ (function () {
|
|
|
79
92
|
AppleAppStoreSetting.prototype.toDict = function () {
|
|
80
93
|
return {
|
|
81
94
|
"bundleId": this.getBundleId(),
|
|
95
|
+
"sharedSecretKey": this.getSharedSecretKey(),
|
|
82
96
|
"issuerId": this.getIssuerId(),
|
|
83
97
|
"keyId": this.getKeyId(),
|
|
84
98
|
"privateKeyPem": this.getPrivateKeyPem(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppleAppStoreSetting.js","sourceRoot":"","sources":["AppleAppStoreSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,aAAQ,GAAgB,IAAI,CAAC;QAC7B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,UAAK,GAAgB,IAAI,CAAC;QAC1B,kBAAa,GAAgB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"AppleAppStoreSetting.js","sourceRoot":"","sources":["AppleAppStoreSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,aAAQ,GAAgB,IAAI,CAAC;QAC7B,oBAAe,GAAgB,IAAI,CAAC;QACpC,a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GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+CAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,+CAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,6BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,oBAAoB,EAAE;aAC5B,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC9B,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;aAC5C,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC9B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;aACxB,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,qCAAM,GAAb;QACI,OAAO;YACH,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,2BAAC;AAAD,CAAC,AAnFD,IAmFC"}
|
|
@@ -20,6 +20,7 @@ import * as Gs2Money2 from '../../money2/model'
|
|
|
20
20
|
|
|
21
21
|
export default class AppleAppStoreSetting implements IModel {
|
|
22
22
|
private bundleId: string|null = null;
|
|
23
|
+
private sharedSecretKey: string|null = null;
|
|
23
24
|
private issuerId: string|null = null;
|
|
24
25
|
private keyId: string|null = null;
|
|
25
26
|
private privateKeyPem: string|null = null;
|
|
@@ -34,6 +35,17 @@ export default class AppleAppStoreSetting implements IModel {
|
|
|
34
35
|
this.bundleId = bundleId;
|
|
35
36
|
return this;
|
|
36
37
|
}
|
|
38
|
+
public getSharedSecretKey(): string|null {
|
|
39
|
+
return this.sharedSecretKey;
|
|
40
|
+
}
|
|
41
|
+
public setSharedSecretKey(sharedSecretKey: string|null) {
|
|
42
|
+
this.sharedSecretKey = sharedSecretKey;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
public withSharedSecretKey(sharedSecretKey: string|null): this {
|
|
46
|
+
this.sharedSecretKey = sharedSecretKey;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
37
49
|
public getIssuerId(): string|null {
|
|
38
50
|
return this.issuerId;
|
|
39
51
|
}
|
|
@@ -74,6 +86,7 @@ export default class AppleAppStoreSetting implements IModel {
|
|
|
74
86
|
}
|
|
75
87
|
return new AppleAppStoreSetting()
|
|
76
88
|
.withBundleId(data["bundleId"])
|
|
89
|
+
.withSharedSecretKey(data["sharedSecretKey"])
|
|
77
90
|
.withIssuerId(data["issuerId"])
|
|
78
91
|
.withKeyId(data["keyId"])
|
|
79
92
|
.withPrivateKeyPem(data["privateKeyPem"]);
|
|
@@ -82,6 +95,7 @@ export default class AppleAppStoreSetting implements IModel {
|
|
|
82
95
|
public toDict(): {[key: string]: any} {
|
|
83
96
|
return {
|
|
84
97
|
"bundleId": this.getBundleId(),
|
|
98
|
+
"sharedSecretKey": this.getSharedSecretKey(),
|
|
85
99
|
"issuerId": this.getIssuerId(),
|
|
86
100
|
"keyId": this.getKeyId(),
|
|
87
101
|
"privateKeyPem": this.getPrivateKeyPem(),
|