gs2 1.4.56 → 1.4.57

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 (129) hide show
  1. package/money2/model/AppleAppStoreSubscriptionContent.d.ts +13 -0
  2. package/money2/model/AppleAppStoreSubscriptionContent.js +48 -0
  3. package/money2/model/AppleAppStoreSubscriptionContent.js.map +1 -0
  4. package/money2/model/AppleAppStoreSubscriptionContent.ts +48 -0
  5. package/money2/model/GooglePlaySubscriptionContent.d.ts +13 -0
  6. package/money2/model/GooglePlaySubscriptionContent.js +48 -0
  7. package/money2/model/GooglePlaySubscriptionContent.js.map +1 -0
  8. package/money2/model/GooglePlaySubscriptionContent.ts +48 -0
  9. package/money2/model/StoreSubscriptionContentModel.d.ts +44 -0
  10. package/money2/model/StoreSubscriptionContentModel.js +202 -0
  11. package/money2/model/StoreSubscriptionContentModel.js.map +1 -0
  12. package/money2/model/StoreSubscriptionContentModel.ts +216 -0
  13. package/money2/model/StoreSubscriptionContentModelMaster.d.ts +60 -0
  14. package/money2/model/StoreSubscriptionContentModelMaster.js +258 -0
  15. package/money2/model/StoreSubscriptionContentModelMaster.js.map +1 -0
  16. package/money2/model/StoreSubscriptionContentModelMaster.ts +272 -0
  17. package/money2/model/SubscribeTransaction.d.ts +6 -5
  18. package/money2/model/SubscribeTransaction.js +36 -16
  19. package/money2/model/SubscribeTransaction.js.map +1 -1
  20. package/money2/model/SubscribeTransaction.ts +38 -15
  21. package/money2/model/SubscriptionStatus.d.ts +32 -0
  22. package/money2/model/SubscriptionStatus.js +119 -0
  23. package/money2/model/SubscriptionStatus.js.map +1 -0
  24. package/money2/model/SubscriptionStatus.ts +123 -0
  25. package/money2/model/index.d.ts +6 -1
  26. package/money2/model/index.js +11 -1
  27. package/money2/model/index.js.map +1 -1
  28. package/money2/model/index.ts +10 -0
  29. package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.d.ts +50 -0
  30. package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js +170 -0
  31. package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js.map +1 -0
  32. package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.ts +174 -0
  33. package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.d.ts +25 -0
  34. package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.js +83 -0
  35. package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.js.map +1 -0
  36. package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.ts +90 -0
  37. package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.d.ts +29 -0
  38. package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.js +97 -0
  39. package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.js.map +1 -0
  40. package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.ts +104 -0
  41. package/money2/request/DescribeStoreSubscriptionContentModelsRequest.d.ts +21 -0
  42. package/money2/request/DescribeStoreSubscriptionContentModelsRequest.js +69 -0
  43. package/money2/request/DescribeStoreSubscriptionContentModelsRequest.js.map +1 -0
  44. package/money2/request/DescribeStoreSubscriptionContentModelsRequest.ts +76 -0
  45. package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.d.ts +29 -0
  46. package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.js +97 -0
  47. package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.js.map +1 -0
  48. package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.ts +104 -0
  49. package/money2/request/DescribeSubscriptionStatusesRequest.d.ts +25 -0
  50. package/money2/request/DescribeSubscriptionStatusesRequest.js +83 -0
  51. package/money2/request/DescribeSubscriptionStatusesRequest.js.map +1 -0
  52. package/money2/request/DescribeSubscriptionStatusesRequest.ts +90 -0
  53. package/money2/request/GetStoreSubscriptionContentModelMasterRequest.d.ts +25 -0
  54. package/money2/request/GetStoreSubscriptionContentModelMasterRequest.js +83 -0
  55. package/money2/request/GetStoreSubscriptionContentModelMasterRequest.js.map +1 -0
  56. package/money2/request/GetStoreSubscriptionContentModelMasterRequest.ts +90 -0
  57. package/money2/request/GetStoreSubscriptionContentModelRequest.d.ts +25 -0
  58. package/money2/request/GetStoreSubscriptionContentModelRequest.js +83 -0
  59. package/money2/request/GetStoreSubscriptionContentModelRequest.js.map +1 -0
  60. package/money2/request/GetStoreSubscriptionContentModelRequest.ts +90 -0
  61. package/money2/request/GetSubscriptionStatusByUserIdRequest.d.ts +33 -0
  62. package/money2/request/GetSubscriptionStatusByUserIdRequest.js +111 -0
  63. package/money2/request/GetSubscriptionStatusByUserIdRequest.js.map +1 -0
  64. package/money2/request/GetSubscriptionStatusByUserIdRequest.ts +118 -0
  65. package/money2/request/GetSubscriptionStatusRequest.d.ts +29 -0
  66. package/money2/request/GetSubscriptionStatusRequest.js +97 -0
  67. package/money2/request/GetSubscriptionStatusRequest.js.map +1 -0
  68. package/money2/request/GetSubscriptionStatusRequest.ts +104 -0
  69. package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.d.ts +50 -0
  70. package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js +170 -0
  71. package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js.map +1 -0
  72. package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.ts +174 -0
  73. package/money2/request/index.d.ts +12 -1
  74. package/money2/request/index.js +24 -1
  75. package/money2/request/index.js.map +1 -1
  76. package/money2/request/index.ts +22 -0
  77. package/money2/rest.d.ts +11 -0
  78. package/money2/rest.js +285 -0
  79. package/money2/rest.js.map +1 -1
  80. package/money2/rest.ts +329 -0
  81. package/money2/result/CreateStoreSubscriptionContentModelMasterResult.d.ts +14 -0
  82. package/money2/result/CreateStoreSubscriptionContentModelMasterResult.js +48 -0
  83. package/money2/result/CreateStoreSubscriptionContentModelMasterResult.js.map +1 -0
  84. package/money2/result/CreateStoreSubscriptionContentModelMasterResult.ts +47 -0
  85. package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.d.ts +14 -0
  86. package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.js +48 -0
  87. package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.js.map +1 -0
  88. package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.ts +47 -0
  89. package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.d.ts +18 -0
  90. package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.js +67 -0
  91. package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.js.map +1 -0
  92. package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.ts +72 -0
  93. package/money2/result/DescribeStoreSubscriptionContentModelsResult.d.ts +14 -0
  94. package/money2/result/DescribeStoreSubscriptionContentModelsResult.js +53 -0
  95. package/money2/result/DescribeStoreSubscriptionContentModelsResult.js.map +1 -0
  96. package/money2/result/DescribeStoreSubscriptionContentModelsResult.ts +55 -0
  97. package/money2/result/DescribeSubscriptionStatusesByUserIdResult.d.ts +14 -0
  98. package/money2/result/DescribeSubscriptionStatusesByUserIdResult.js +53 -0
  99. package/money2/result/DescribeSubscriptionStatusesByUserIdResult.js.map +1 -0
  100. package/money2/result/DescribeSubscriptionStatusesByUserIdResult.ts +55 -0
  101. package/money2/result/DescribeSubscriptionStatusesResult.d.ts +14 -0
  102. package/money2/result/DescribeSubscriptionStatusesResult.js +53 -0
  103. package/money2/result/DescribeSubscriptionStatusesResult.js.map +1 -0
  104. package/money2/result/DescribeSubscriptionStatusesResult.ts +55 -0
  105. package/money2/result/GetStoreSubscriptionContentModelMasterResult.d.ts +14 -0
  106. package/money2/result/GetStoreSubscriptionContentModelMasterResult.js +48 -0
  107. package/money2/result/GetStoreSubscriptionContentModelMasterResult.js.map +1 -0
  108. package/money2/result/GetStoreSubscriptionContentModelMasterResult.ts +47 -0
  109. package/money2/result/GetStoreSubscriptionContentModelResult.d.ts +14 -0
  110. package/money2/result/GetStoreSubscriptionContentModelResult.js +48 -0
  111. package/money2/result/GetStoreSubscriptionContentModelResult.js.map +1 -0
  112. package/money2/result/GetStoreSubscriptionContentModelResult.ts +47 -0
  113. package/money2/result/GetSubscriptionStatusByUserIdResult.d.ts +14 -0
  114. package/money2/result/GetSubscriptionStatusByUserIdResult.js +48 -0
  115. package/money2/result/GetSubscriptionStatusByUserIdResult.js.map +1 -0
  116. package/money2/result/GetSubscriptionStatusByUserIdResult.ts +47 -0
  117. package/money2/result/GetSubscriptionStatusResult.d.ts +14 -0
  118. package/money2/result/GetSubscriptionStatusResult.js +48 -0
  119. package/money2/result/GetSubscriptionStatusResult.js.map +1 -0
  120. package/money2/result/GetSubscriptionStatusResult.ts +47 -0
  121. package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.d.ts +14 -0
  122. package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.js +48 -0
  123. package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.js.map +1 -0
  124. package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.ts +47 -0
  125. package/money2/result/index.d.ts +12 -1
  126. package/money2/result/index.js +24 -1
  127. package/money2/result/index.js.map +1 -1
  128. package/money2/result/index.ts +22 -0
  129. package/package.json +1 -1
@@ -0,0 +1,119 @@
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 tslib_1 = require("tslib");
19
+ var Gs2Money2 = tslib_1.__importStar(require("../../money2/model"));
20
+ var grnFormat = "";
21
+ var SubscriptionStatus = /** @class */ (function () {
22
+ function SubscriptionStatus() {
23
+ this.userId = null;
24
+ this.contentName = null;
25
+ this.status = null;
26
+ this.expiresAt = null;
27
+ this.detail = null;
28
+ }
29
+ SubscriptionStatus.isValid = function (grn) {
30
+ return true;
31
+ };
32
+ SubscriptionStatus.createGrn = function () {
33
+ return grnFormat;
34
+ };
35
+ SubscriptionStatus.prototype.getUserId = function () {
36
+ return this.userId;
37
+ };
38
+ SubscriptionStatus.prototype.setUserId = function (userId) {
39
+ this.userId = userId;
40
+ return this;
41
+ };
42
+ SubscriptionStatus.prototype.withUserId = function (userId) {
43
+ this.userId = userId;
44
+ return this;
45
+ };
46
+ SubscriptionStatus.prototype.getContentName = function () {
47
+ return this.contentName;
48
+ };
49
+ SubscriptionStatus.prototype.setContentName = function (contentName) {
50
+ this.contentName = contentName;
51
+ return this;
52
+ };
53
+ SubscriptionStatus.prototype.withContentName = function (contentName) {
54
+ this.contentName = contentName;
55
+ return this;
56
+ };
57
+ SubscriptionStatus.prototype.getStatus = function () {
58
+ return this.status;
59
+ };
60
+ SubscriptionStatus.prototype.setStatus = function (status) {
61
+ this.status = status;
62
+ return this;
63
+ };
64
+ SubscriptionStatus.prototype.withStatus = function (status) {
65
+ this.status = status;
66
+ return this;
67
+ };
68
+ SubscriptionStatus.prototype.getExpiresAt = function () {
69
+ return this.expiresAt;
70
+ };
71
+ SubscriptionStatus.prototype.setExpiresAt = function (expiresAt) {
72
+ this.expiresAt = expiresAt;
73
+ return this;
74
+ };
75
+ SubscriptionStatus.prototype.withExpiresAt = function (expiresAt) {
76
+ this.expiresAt = expiresAt;
77
+ return this;
78
+ };
79
+ SubscriptionStatus.prototype.getDetail = function () {
80
+ return this.detail;
81
+ };
82
+ SubscriptionStatus.prototype.setDetail = function (detail) {
83
+ this.detail = detail;
84
+ return this;
85
+ };
86
+ SubscriptionStatus.prototype.withDetail = function (detail) {
87
+ this.detail = detail;
88
+ return this;
89
+ };
90
+ SubscriptionStatus.fromDict = function (data) {
91
+ if (data == undefined || data == null) {
92
+ return null;
93
+ }
94
+ return new SubscriptionStatus()
95
+ .withUserId(data["userId"])
96
+ .withContentName(data["contentName"])
97
+ .withStatus(data["status"])
98
+ .withExpiresAt(data["expiresAt"])
99
+ .withDetail(data.detail ?
100
+ data.detail.map(function (item) {
101
+ return Gs2Money2.SubscribeTransaction.fromDict(item);
102
+ }) : null);
103
+ };
104
+ SubscriptionStatus.prototype.toDict = function () {
105
+ return {
106
+ "userId": this.getUserId(),
107
+ "contentName": this.getContentName(),
108
+ "status": this.getStatus(),
109
+ "expiresAt": this.getExpiresAt(),
110
+ "detail": this.getDetail() ?
111
+ this.getDetail().map(function (item) {
112
+ return item.toDict();
113
+ }) : null,
114
+ };
115
+ };
116
+ return SubscriptionStatus;
117
+ }());
118
+ exports.default = SubscriptionStatus;
119
+ //# sourceMappingURL=SubscriptionStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubscriptionStatus.js","sourceRoot":"","sources":["SubscriptionStatus.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,oEAA+C;AAE/C,IAAM,SAAS,GAAW,EAAE,CAAC;AAE7B;IAAA;QACY,WAAM,GAAgB,IAAI,CAAC;QAC3B,gBAAW,GAAgB,IAAI,CAAC;QAChC,WAAM,GAAgB,IAAI,CAAC;QAC3B,cAAS,GAAgB,IAAI,CAAC;QAC9B,WAAM,GAA0C,IAAI,CAAC;IA+FjE,CAAC;IA7FiB,0BAAO,GAArB,UAAsB,GAAW;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,4BAAS,GAAvB;QAEI,OAAO,SAAS,CAAC;IACrB,CAAC;IACM,sCAAS,GAAhB;QACI,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IACM,sCAAS,GAAhB,UAAiB,MAAmB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uCAAU,GAAjB,UAAkB,MAAmB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,C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AAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,kBAAkB,EAAE;aAC1B,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1B,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1B,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACrB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACvC,OAAO,SAAS,CAAC,oBAAoB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACzD,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IAEM,mCAAM,GAAb;QACI,OAAO;YACH,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;gBACxB,IAAI,CAAC,SAAS,EAAG,CAAC,GAAG,CAAC,UAAC,IAAoC;oBACvD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;SACX,CAAC;IACN,CAAC;IACL,yBAAC;AAAD,CAAC,AApGD,IAoGC"}
@@ -0,0 +1,123 @@
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 IModel from '../../core/interface/IModel';
18
+
19
+ import * as Gs2Money2 from '../../money2/model'
20
+ import SubscribeTransaction from './SubscribeTransaction';
21
+ const grnFormat: string = "";
22
+
23
+ export default class SubscriptionStatus implements IModel {
24
+ private userId: string|null = null;
25
+ private contentName: string|null = null;
26
+ private status: string|null = null;
27
+ private expiresAt: number|null = null;
28
+ private detail: Gs2Money2.SubscribeTransaction[]|null = null;
29
+
30
+ public static isValid(grn: string): boolean {
31
+ return true;
32
+ }
33
+
34
+ public static createGrn(
35
+ ): string|null {
36
+ return grnFormat;
37
+ }
38
+ public getUserId(): string|null {
39
+ return this.userId;
40
+ }
41
+ public setUserId(userId: string|null) {
42
+ this.userId = userId;
43
+ return this;
44
+ }
45
+ public withUserId(userId: string|null): this {
46
+ this.userId = userId;
47
+ return this;
48
+ }
49
+ public getContentName(): string|null {
50
+ return this.contentName;
51
+ }
52
+ public setContentName(contentName: string|null) {
53
+ this.contentName = contentName;
54
+ return this;
55
+ }
56
+ public withContentName(contentName: string|null): this {
57
+ this.contentName = contentName;
58
+ return this;
59
+ }
60
+ public getStatus(): string|null {
61
+ return this.status;
62
+ }
63
+ public setStatus(status: string|null) {
64
+ this.status = status;
65
+ return this;
66
+ }
67
+ public withStatus(status: string|null): this {
68
+ this.status = status;
69
+ return this;
70
+ }
71
+ public getExpiresAt(): number|null {
72
+ return this.expiresAt;
73
+ }
74
+ public setExpiresAt(expiresAt: number|null) {
75
+ this.expiresAt = expiresAt;
76
+ return this;
77
+ }
78
+ public withExpiresAt(expiresAt: number|null): this {
79
+ this.expiresAt = expiresAt;
80
+ return this;
81
+ }
82
+ public getDetail(): Gs2Money2.SubscribeTransaction[]|null {
83
+ return this.detail;
84
+ }
85
+ public setDetail(detail: Gs2Money2.SubscribeTransaction[]|null) {
86
+ this.detail = detail;
87
+ return this;
88
+ }
89
+ public withDetail(detail: Gs2Money2.SubscribeTransaction[]|null): this {
90
+ this.detail = detail;
91
+ return this;
92
+ }
93
+
94
+ public static fromDict(data: {[key: string]: any}): SubscriptionStatus|null {
95
+ if (data == undefined || data == null) {
96
+ return null;
97
+ }
98
+ return new SubscriptionStatus()
99
+ .withUserId(data["userId"])
100
+ .withContentName(data["contentName"])
101
+ .withStatus(data["status"])
102
+ .withExpiresAt(data["expiresAt"])
103
+ .withDetail(data.detail ?
104
+ data.detail.map((item: {[key: string]: any}) => {
105
+ return Gs2Money2.SubscribeTransaction.fromDict(item);
106
+ }
107
+ ) : null);
108
+ }
109
+
110
+ public toDict(): {[key: string]: any} {
111
+ return {
112
+ "userId": this.getUserId(),
113
+ "contentName": this.getContentName(),
114
+ "status": this.getStatus(),
115
+ "expiresAt": this.getExpiresAt(),
116
+ "detail": this.getDetail() ?
117
+ this.getDetail()!.map((item: Gs2Money2.SubscribeTransaction) => {
118
+ return item.toDict();
119
+ }
120
+ ) : null,
121
+ };
122
+ }
123
+ }
@@ -2,8 +2,11 @@ import Namespace from "./Namespace";
2
2
  import Wallet from "./Wallet";
3
3
  import Event from "./Event";
4
4
  import SubscribeTransaction from "./SubscribeTransaction";
5
+ import SubscriptionStatus from "./SubscriptionStatus";
5
6
  import StoreContentModel from "./StoreContentModel";
6
7
  import StoreContentModelMaster from "./StoreContentModelMaster";
8
+ import StoreSubscriptionContentModel from "./StoreSubscriptionContentModel";
9
+ import StoreSubscriptionContentModelMaster from "./StoreSubscriptionContentModelMaster";
7
10
  import CurrentModelMaster from "./CurrentModelMaster";
8
11
  import Receipt from "./Receipt";
9
12
  import PlatformSetting from "./PlatformSetting";
@@ -20,10 +23,12 @@ import AppleAppStoreVerifyReceiptEvent from "./AppleAppStoreVerifyReceiptEvent";
20
23
  import GooglePlayVerifyReceiptEvent from "./GooglePlayVerifyReceiptEvent";
21
24
  import AppleAppStoreContent from "./AppleAppStoreContent";
22
25
  import GooglePlayContent from "./GooglePlayContent";
26
+ import AppleAppStoreSubscriptionContent from "./AppleAppStoreSubscriptionContent";
27
+ import GooglePlaySubscriptionContent from "./GooglePlaySubscriptionContent";
23
28
  import GooglePlayRealtimeNotificationMessage from "./GooglePlayRealtimeNotificationMessage";
24
29
  import GitHubCheckoutSetting from "./GitHubCheckoutSetting";
25
30
  import ScriptSetting from "./ScriptSetting";
26
31
  import LogSetting from "./LogSetting";
27
32
  import DailyTransactionHistory from "./DailyTransactionHistory";
28
33
  import UnusedBalance from "./UnusedBalance";
29
- export { Namespace, Wallet, Event, SubscribeTransaction, StoreContentModel, StoreContentModelMaster, CurrentModelMaster, Receipt, PlatformSetting, AppleAppStoreSetting, GooglePlaySetting, FakeSetting, WalletSummary, DepositTransaction, VerifyReceiptEvent, DepositEvent, WithdrawEvent, RefundEvent, AppleAppStoreVerifyReceiptEvent, GooglePlayVerifyReceiptEvent, AppleAppStoreContent, GooglePlayContent, GooglePlayRealtimeNotificationMessage, GitHubCheckoutSetting, ScriptSetting, LogSetting, DailyTransactionHistory, UnusedBalance, };
34
+ export { Namespace, Wallet, Event, SubscribeTransaction, SubscriptionStatus, StoreContentModel, StoreContentModelMaster, StoreSubscriptionContentModel, StoreSubscriptionContentModelMaster, CurrentModelMaster, Receipt, PlatformSetting, AppleAppStoreSetting, GooglePlaySetting, FakeSetting, WalletSummary, DepositTransaction, VerifyReceiptEvent, DepositEvent, WithdrawEvent, RefundEvent, AppleAppStoreVerifyReceiptEvent, GooglePlayVerifyReceiptEvent, AppleAppStoreContent, GooglePlayContent, AppleAppStoreSubscriptionContent, GooglePlaySubscriptionContent, GooglePlayRealtimeNotificationMessage, GitHubCheckoutSetting, ScriptSetting, LogSetting, DailyTransactionHistory, UnusedBalance, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UnusedBalance = exports.DailyTransactionHistory = exports.LogSetting = exports.ScriptSetting = exports.GitHubCheckoutSetting = exports.GooglePlayRealtimeNotificationMessage = exports.GooglePlayContent = exports.AppleAppStoreContent = exports.GooglePlayVerifyReceiptEvent = exports.AppleAppStoreVerifyReceiptEvent = exports.RefundEvent = exports.WithdrawEvent = exports.DepositEvent = exports.VerifyReceiptEvent = exports.DepositTransaction = exports.WalletSummary = exports.FakeSetting = exports.GooglePlaySetting = exports.AppleAppStoreSetting = exports.PlatformSetting = exports.Receipt = exports.CurrentModelMaster = exports.StoreContentModelMaster = exports.StoreContentModel = exports.SubscribeTransaction = exports.Event = exports.Wallet = exports.Namespace = void 0;
3
+ exports.UnusedBalance = exports.DailyTransactionHistory = exports.LogSetting = exports.ScriptSetting = exports.GitHubCheckoutSetting = exports.GooglePlayRealtimeNotificationMessage = exports.GooglePlaySubscriptionContent = exports.AppleAppStoreSubscriptionContent = exports.GooglePlayContent = exports.AppleAppStoreContent = exports.GooglePlayVerifyReceiptEvent = exports.AppleAppStoreVerifyReceiptEvent = exports.RefundEvent = exports.WithdrawEvent = exports.DepositEvent = exports.VerifyReceiptEvent = exports.DepositTransaction = exports.WalletSummary = exports.FakeSetting = exports.GooglePlaySetting = exports.AppleAppStoreSetting = exports.PlatformSetting = exports.Receipt = exports.CurrentModelMaster = exports.StoreSubscriptionContentModelMaster = exports.StoreSubscriptionContentModel = exports.StoreContentModelMaster = exports.StoreContentModel = exports.SubscriptionStatus = exports.SubscribeTransaction = exports.Event = exports.Wallet = 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
@@ -25,10 +25,16 @@ var Event_1 = tslib_1.__importDefault(require("./Event"));
25
25
  exports.Event = Event_1.default;
26
26
  var SubscribeTransaction_1 = tslib_1.__importDefault(require("./SubscribeTransaction"));
27
27
  exports.SubscribeTransaction = SubscribeTransaction_1.default;
28
+ var SubscriptionStatus_1 = tslib_1.__importDefault(require("./SubscriptionStatus"));
29
+ exports.SubscriptionStatus = SubscriptionStatus_1.default;
28
30
  var StoreContentModel_1 = tslib_1.__importDefault(require("./StoreContentModel"));
29
31
  exports.StoreContentModel = StoreContentModel_1.default;
30
32
  var StoreContentModelMaster_1 = tslib_1.__importDefault(require("./StoreContentModelMaster"));
31
33
  exports.StoreContentModelMaster = StoreContentModelMaster_1.default;
34
+ var StoreSubscriptionContentModel_1 = tslib_1.__importDefault(require("./StoreSubscriptionContentModel"));
35
+ exports.StoreSubscriptionContentModel = StoreSubscriptionContentModel_1.default;
36
+ var StoreSubscriptionContentModelMaster_1 = tslib_1.__importDefault(require("./StoreSubscriptionContentModelMaster"));
37
+ exports.StoreSubscriptionContentModelMaster = StoreSubscriptionContentModelMaster_1.default;
32
38
  var CurrentModelMaster_1 = tslib_1.__importDefault(require("./CurrentModelMaster"));
33
39
  exports.CurrentModelMaster = CurrentModelMaster_1.default;
34
40
  var Receipt_1 = tslib_1.__importDefault(require("./Receipt"));
@@ -61,6 +67,10 @@ var AppleAppStoreContent_1 = tslib_1.__importDefault(require("./AppleAppStoreCon
61
67
  exports.AppleAppStoreContent = AppleAppStoreContent_1.default;
62
68
  var GooglePlayContent_1 = tslib_1.__importDefault(require("./GooglePlayContent"));
63
69
  exports.GooglePlayContent = GooglePlayContent_1.default;
70
+ var AppleAppStoreSubscriptionContent_1 = tslib_1.__importDefault(require("./AppleAppStoreSubscriptionContent"));
71
+ exports.AppleAppStoreSubscriptionContent = AppleAppStoreSubscriptionContent_1.default;
72
+ var GooglePlaySubscriptionContent_1 = tslib_1.__importDefault(require("./GooglePlaySubscriptionContent"));
73
+ exports.GooglePlaySubscriptionContent = GooglePlaySubscriptionContent_1.default;
64
74
  var GooglePlayRealtimeNotificationMessage_1 = tslib_1.__importDefault(require("./GooglePlayRealtimeNotificationMessage"));
65
75
  exports.GooglePlayRealtimeNotificationMessage = GooglePlayRealtimeNotificationMessage_1.default;
66
76
  var GitHubCheckoutSetting_1 = tslib_1.__importDefault(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C,uBAnCG,sBAAY,CAmCH;AAlChB,0EAA2C;AAmCvC,wBAnCG,uBAAa,CAmCH;AAlCjB,sEAAuC;AAmCnC,sBAnCG,qBAAW,CAmCH;AAlCf,8GAA+E;AAmC3E,0CAnCG,yCAA+B,CAmCH;AAlCnC,wGAAyE;AAmCrE,uCAnCG,sCAA4B,CAmCH;AAlChC,wFAAyD;AAmCrD,+BAnCG,8BAAoB,CAmCH;AAlCxB,kFAAmD;AAmC/C,4BAnCG,2BAAiB,CAmCH;AAlCrB,gHAAiF;AAmC7E,2CAnCG,0CAAgC,CAmCH;AAlCpC,0GAA2E;AAmCvE,wCAnCG,uCAA6B,CAmCH;AAlCjC,0HAA2F;AAmCvF,gDAnCG,+CAAqC,CAmCH;AAlCzC,0FAA2D;AAmCvD,gCAnCG,+BAAqB,CAmCH;AAlCzB,0EAA2C;AAmCvC,wBAnCG,uBAAa,CAmCH;AAlCjB,oEAAqC;AAmCjC,qBAnCG,oBAAU,CAmCH;AAlCd,8FAA+D;AAmC3D,kCAnCG,iCAAuB,CAmCH;AAlC3B,0EAA2C;AAmCvC,wBAnCG,uBAAa,CAmCH"}
@@ -17,8 +17,11 @@ import Namespace from "./Namespace"
17
17
  import Wallet from "./Wallet"
18
18
  import Event from "./Event"
19
19
  import SubscribeTransaction from "./SubscribeTransaction"
20
+ import SubscriptionStatus from "./SubscriptionStatus"
20
21
  import StoreContentModel from "./StoreContentModel"
21
22
  import StoreContentModelMaster from "./StoreContentModelMaster"
23
+ import StoreSubscriptionContentModel from "./StoreSubscriptionContentModel"
24
+ import StoreSubscriptionContentModelMaster from "./StoreSubscriptionContentModelMaster"
22
25
  import CurrentModelMaster from "./CurrentModelMaster"
23
26
  import Receipt from "./Receipt"
24
27
  import PlatformSetting from "./PlatformSetting"
@@ -35,6 +38,8 @@ import AppleAppStoreVerifyReceiptEvent from "./AppleAppStoreVerifyReceiptEvent"
35
38
  import GooglePlayVerifyReceiptEvent from "./GooglePlayVerifyReceiptEvent"
36
39
  import AppleAppStoreContent from "./AppleAppStoreContent"
37
40
  import GooglePlayContent from "./GooglePlayContent"
41
+ import AppleAppStoreSubscriptionContent from "./AppleAppStoreSubscriptionContent"
42
+ import GooglePlaySubscriptionContent from "./GooglePlaySubscriptionContent"
38
43
  import GooglePlayRealtimeNotificationMessage from "./GooglePlayRealtimeNotificationMessage"
39
44
  import GitHubCheckoutSetting from "./GitHubCheckoutSetting"
40
45
  import ScriptSetting from "./ScriptSetting"
@@ -47,8 +52,11 @@ export {
47
52
  Wallet,
48
53
  Event,
49
54
  SubscribeTransaction,
55
+ SubscriptionStatus,
50
56
  StoreContentModel,
51
57
  StoreContentModelMaster,
58
+ StoreSubscriptionContentModel,
59
+ StoreSubscriptionContentModelMaster,
52
60
  CurrentModelMaster,
53
61
  Receipt,
54
62
  PlatformSetting,
@@ -65,6 +73,8 @@ export {
65
73
  GooglePlayVerifyReceiptEvent,
66
74
  AppleAppStoreContent,
67
75
  GooglePlayContent,
76
+ AppleAppStoreSubscriptionContent,
77
+ GooglePlaySubscriptionContent,
68
78
  GooglePlayRealtimeNotificationMessage,
69
79
  GitHubCheckoutSetting,
70
80
  ScriptSetting,
@@ -0,0 +1,50 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ import * as Gs2Money2 from '../model';
3
+ export default class CreateStoreSubscriptionContentModelMasterRequest implements IRequest {
4
+ private requestId;
5
+ private contextStack;
6
+ private namespaceName;
7
+ private name;
8
+ private description;
9
+ private metadata;
10
+ private scheduleNamespaceId;
11
+ private triggerName;
12
+ private appleAppStore;
13
+ private googlePlay;
14
+ getRequestId(): string | null;
15
+ setRequestId(requestId: string | null): this;
16
+ withRequestId(requestId: string | null): this;
17
+ getContextStack(): string | null;
18
+ setContextStack(contextStack: string | null): this;
19
+ withContextStack(contextStack: string | null): this;
20
+ getNamespaceName(): string | null;
21
+ setNamespaceName(namespaceName: string | null): this;
22
+ withNamespaceName(namespaceName: string | null): this;
23
+ getName(): string | null;
24
+ setName(name: string | null): this;
25
+ withName(name: string | null): this;
26
+ getDescription(): string | null;
27
+ setDescription(description: string | null): this;
28
+ withDescription(description: string | null): this;
29
+ getMetadata(): string | null;
30
+ setMetadata(metadata: string | null): this;
31
+ withMetadata(metadata: string | null): this;
32
+ getScheduleNamespaceId(): string | null;
33
+ setScheduleNamespaceId(scheduleNamespaceId: string | null): this;
34
+ withScheduleNamespaceId(scheduleNamespaceId: string | null): this;
35
+ getTriggerName(): string | null;
36
+ setTriggerName(triggerName: string | null): this;
37
+ withTriggerName(triggerName: string | null): this;
38
+ getAppleAppStore(): Gs2Money2.AppleAppStoreSubscriptionContent | null;
39
+ setAppleAppStore(appleAppStore: Gs2Money2.AppleAppStoreSubscriptionContent | null): this;
40
+ withAppleAppStore(appleAppStore: Gs2Money2.AppleAppStoreSubscriptionContent | null): this;
41
+ getGooglePlay(): Gs2Money2.GooglePlaySubscriptionContent | null;
42
+ setGooglePlay(googlePlay: Gs2Money2.GooglePlaySubscriptionContent | null): this;
43
+ withGooglePlay(googlePlay: Gs2Money2.GooglePlaySubscriptionContent | null): this;
44
+ static fromDict(data: {
45
+ [key: string]: any;
46
+ }): CreateStoreSubscriptionContentModelMasterRequest;
47
+ toDict(): {
48
+ [key: string]: any;
49
+ };
50
+ }
@@ -0,0 +1,170 @@
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 tslib_1 = require("tslib");
19
+ var Gs2Money2 = tslib_1.__importStar(require("../model"));
20
+ var CreateStoreSubscriptionContentModelMasterRequest = /** @class */ (function () {
21
+ function CreateStoreSubscriptionContentModelMasterRequest() {
22
+ this.requestId = null;
23
+ this.contextStack = null;
24
+ this.namespaceName = null;
25
+ this.name = null;
26
+ this.description = null;
27
+ this.metadata = null;
28
+ this.scheduleNamespaceId = null;
29
+ this.triggerName = null;
30
+ this.appleAppStore = null;
31
+ this.googlePlay = null;
32
+ }
33
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.getRequestId = function () {
34
+ return this.requestId;
35
+ };
36
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.setRequestId = function (requestId) {
37
+ this.requestId = requestId;
38
+ return this;
39
+ };
40
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.withRequestId = function (requestId) {
41
+ this.requestId = requestId;
42
+ return this;
43
+ };
44
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.getContextStack = function () {
45
+ return this.contextStack;
46
+ };
47
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.setContextStack = function (contextStack) {
48
+ this.contextStack = contextStack;
49
+ return this;
50
+ };
51
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.withContextStack = function (contextStack) {
52
+ this.contextStack = contextStack;
53
+ return this;
54
+ };
55
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.getNamespaceName = function () {
56
+ return this.namespaceName;
57
+ };
58
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.setNamespaceName = function (namespaceName) {
59
+ this.namespaceName = namespaceName;
60
+ return this;
61
+ };
62
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.withNamespaceName = function (namespaceName) {
63
+ this.namespaceName = namespaceName;
64
+ return this;
65
+ };
66
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.getName = function () {
67
+ return this.name;
68
+ };
69
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.setName = function (name) {
70
+ this.name = name;
71
+ return this;
72
+ };
73
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.withName = function (name) {
74
+ this.name = name;
75
+ return this;
76
+ };
77
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.getDescription = function () {
78
+ return this.description;
79
+ };
80
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.setDescription = function (description) {
81
+ this.description = description;
82
+ return this;
83
+ };
84
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.withDescription = function (description) {
85
+ this.description = description;
86
+ return this;
87
+ };
88
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.getMetadata = function () {
89
+ return this.metadata;
90
+ };
91
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.setMetadata = function (metadata) {
92
+ this.metadata = metadata;
93
+ return this;
94
+ };
95
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.withMetadata = function (metadata) {
96
+ this.metadata = metadata;
97
+ return this;
98
+ };
99
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.getScheduleNamespaceId = function () {
100
+ return this.scheduleNamespaceId;
101
+ };
102
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.setScheduleNamespaceId = function (scheduleNamespaceId) {
103
+ this.scheduleNamespaceId = scheduleNamespaceId;
104
+ return this;
105
+ };
106
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.withScheduleNamespaceId = function (scheduleNamespaceId) {
107
+ this.scheduleNamespaceId = scheduleNamespaceId;
108
+ return this;
109
+ };
110
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.getTriggerName = function () {
111
+ return this.triggerName;
112
+ };
113
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.setTriggerName = function (triggerName) {
114
+ this.triggerName = triggerName;
115
+ return this;
116
+ };
117
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.withTriggerName = function (triggerName) {
118
+ this.triggerName = triggerName;
119
+ return this;
120
+ };
121
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.getAppleAppStore = function () {
122
+ return this.appleAppStore;
123
+ };
124
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.setAppleAppStore = function (appleAppStore) {
125
+ this.appleAppStore = appleAppStore;
126
+ return this;
127
+ };
128
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.withAppleAppStore = function (appleAppStore) {
129
+ this.appleAppStore = appleAppStore;
130
+ return this;
131
+ };
132
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.getGooglePlay = function () {
133
+ return this.googlePlay;
134
+ };
135
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.setGooglePlay = function (googlePlay) {
136
+ this.googlePlay = googlePlay;
137
+ return this;
138
+ };
139
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.withGooglePlay = function (googlePlay) {
140
+ this.googlePlay = googlePlay;
141
+ return this;
142
+ };
143
+ CreateStoreSubscriptionContentModelMasterRequest.fromDict = function (data) {
144
+ return new CreateStoreSubscriptionContentModelMasterRequest()
145
+ .withNamespaceName(data["namespaceName"])
146
+ .withName(data["name"])
147
+ .withDescription(data["description"])
148
+ .withMetadata(data["metadata"])
149
+ .withScheduleNamespaceId(data["scheduleNamespaceId"])
150
+ .withTriggerName(data["triggerName"])
151
+ .withAppleAppStore(Gs2Money2.AppleAppStoreSubscriptionContent.fromDict(data["appleAppStore"]))
152
+ .withGooglePlay(Gs2Money2.GooglePlaySubscriptionContent.fromDict(data["googlePlay"]));
153
+ };
154
+ CreateStoreSubscriptionContentModelMasterRequest.prototype.toDict = function () {
155
+ var _a, _b;
156
+ return {
157
+ "namespaceName": this.getNamespaceName(),
158
+ "name": this.getName(),
159
+ "description": this.getDescription(),
160
+ "metadata": this.getMetadata(),
161
+ "scheduleNamespaceId": this.getScheduleNamespaceId(),
162
+ "triggerName": this.getTriggerName(),
163
+ "appleAppStore": (_a = this.getAppleAppStore()) === null || _a === void 0 ? void 0 : _a.toDict(),
164
+ "googlePlay": (_b = this.getGooglePlay()) === null || _b === void 0 ? void 0 : _b.toDict(),
165
+ };
166
+ };
167
+ return CreateStoreSubscriptionContentModelMasterRequest;
168
+ }());
169
+ exports.default = CreateStoreSubscriptionContentModelMasterRequest;
170
+ //# sourceMappingURL=CreateStoreSubscriptionContentModelMasterRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateStoreSubscriptionContentModelMasterRequest.js","sourceRoot":"","sources":["CreateStoreSubscriptionContentModelMasterRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,0DAAqC;AAErC;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,wBAAmB,GAAgB,IAAI,CAAC;QACxC,gBAAW,GAAgB,IAAI,CAAC;QAChC,kBAAa,GAAoD,IAAI,CAAC;QACtE,eAAU,GAAiD,IAAI,CAAC;IA8I5E,CAAC;IA5IU,uEAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,uEAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wEAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0EAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,0EAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2EAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2EAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,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