gs2-cdk 1.0.104 → 1.0.106

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 (63) hide show
  1. package/money2/model/AppleAppStoreSetting.d.ts +1 -0
  2. package/money2/model/AppleAppStoreSetting.js +9 -4
  3. package/money2/model/AppleAppStoreSetting.js.map +1 -1
  4. package/money2/model/AppleAppStoreSetting.ts +5 -0
  5. package/money2/model/GooglePlaySetting.d.ts +0 -1
  6. package/money2/model/GooglePlaySetting.js +1 -6
  7. package/money2/model/GooglePlaySetting.js.map +1 -1
  8. package/money2/model/GooglePlaySetting.ts +0 -5
  9. package/money2/model/RefundHistory.d.ts +14 -0
  10. package/money2/model/RefundHistory.js +39 -0
  11. package/money2/model/RefundHistory.js.map +1 -0
  12. package/money2/model/RefundHistory.ts +71 -0
  13. package/money2/model/StoreSubscriptionContentModel.d.ts +8 -1
  14. package/money2/model/StoreSubscriptionContentModel.js +29 -4
  15. package/money2/model/StoreSubscriptionContentModel.js.map +1 -1
  16. package/money2/model/StoreSubscriptionContentModel.ts +58 -0
  17. package/money2/model/enums/StoreSubscriptionContentModelTriggerExtendMode.d.ts +5 -0
  18. package/money2/model/enums/StoreSubscriptionContentModelTriggerExtendMode.js +23 -0
  19. package/money2/model/enums/StoreSubscriptionContentModelTriggerExtendMode.js.map +1 -0
  20. package/money2/model/enums/StoreSubscriptionContentModelTriggerExtendMode.ts +23 -0
  21. package/money2/model/index.d.ts +6 -1
  22. package/money2/model/index.js +5 -1
  23. package/money2/model/index.js.map +1 -1
  24. package/money2/model/index.ts +10 -0
  25. package/money2/model/options/AppleAppStoreSettingOptions.d.ts +1 -0
  26. package/money2/model/options/AppleAppStoreSettingOptions.ts +1 -0
  27. package/money2/model/options/GooglePlaySettingOptions.d.ts +0 -1
  28. package/money2/model/options/GooglePlaySettingOptions.ts +0 -1
  29. package/money2/model/options/RefundHistoryOptions.d.ts +3 -0
  30. package/money2/model/options/RefundHistoryOptions.js +3 -0
  31. package/money2/model/options/RefundHistoryOptions.js.map +1 -0
  32. package/money2/model/options/RefundHistoryOptions.ts +23 -0
  33. package/money2/model/options/StoreSubscriptionContentModelOptions.d.ts +1 -0
  34. package/money2/model/options/StoreSubscriptionContentModelOptions.ts +2 -0
  35. package/money2/model/options/StoreSubscriptionContentModelTriggerExtendModeIsJustOptions.d.ts +7 -0
  36. package/money2/model/options/StoreSubscriptionContentModelTriggerExtendModeIsJustOptions.js +3 -0
  37. package/money2/model/options/StoreSubscriptionContentModelTriggerExtendModeIsJustOptions.js.map +1 -0
  38. package/money2/model/options/StoreSubscriptionContentModelTriggerExtendModeIsJustOptions.ts +24 -0
  39. package/money2/model/options/StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions.d.ts +7 -0
  40. package/money2/model/options/StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions.js +3 -0
  41. package/money2/model/options/StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions.js.map +1 -0
  42. package/money2/model/options/StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions.ts +24 -0
  43. package/money2/ref/RefundHistoryRef.d.ts +6 -0
  44. package/money2/ref/RefundHistoryRef.js +38 -0
  45. package/money2/ref/RefundHistoryRef.js.map +1 -0
  46. package/money2/ref/RefundHistoryRef.ts +52 -0
  47. package/money2/ref/index.d.ts +2 -1
  48. package/money2/ref/index.js +3 -1
  49. package/money2/ref/index.js.map +1 -1
  50. package/money2/ref/index.ts +2 -0
  51. package/package.json +1 -1
  52. package/script/ref/NamespaceRef.d.ts +1 -1
  53. package/script/ref/NamespaceRef.js +2 -2
  54. package/script/ref/NamespaceRef.js.map +1 -1
  55. package/script/ref/NamespaceRef.ts +2 -0
  56. package/script/ref/ScriptRef.d.ts +1 -1
  57. package/script/ref/ScriptRef.js +2 -2
  58. package/script/ref/ScriptRef.js.map +1 -1
  59. package/script/ref/ScriptRef.ts +2 -0
  60. package/script/stampSheet/InvokeScript.d.ts +2 -1
  61. package/script/stampSheet/InvokeScript.js +6 -1
  62. package/script/stampSheet/InvokeScript.js.map +1 -1
  63. package/script/stampSheet/InvokeScript.ts +6 -0
@@ -1,6 +1,7 @@
1
1
  import { AppleAppStoreSettingOptions } from "./options/AppleAppStoreSettingOptions";
2
2
  export default class AppleAppStoreSetting {
3
3
  private readonly bundleId;
4
+ private readonly sharedSecretKey;
4
5
  private readonly issuerId;
5
6
  private readonly keyId;
6
7
  private readonly privateKeyPem;
@@ -2,21 +2,26 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class AppleAppStoreSetting {
4
4
  constructor(options = null) {
5
- var _a, _b, _c, _d;
5
+ var _a, _b, _c, _d, _e;
6
6
  this.bundleId = null;
7
+ this.sharedSecretKey = null;
7
8
  this.issuerId = null;
8
9
  this.keyId = null;
9
10
  this.privateKeyPem = null;
10
11
  this.bundleId = (_a = options === null || options === void 0 ? void 0 : options.bundleId) !== null && _a !== void 0 ? _a : null;
11
- this.issuerId = (_b = options === null || options === void 0 ? void 0 : options.issuerId) !== null && _b !== void 0 ? _b : null;
12
- this.keyId = (_c = options === null || options === void 0 ? void 0 : options.keyId) !== null && _c !== void 0 ? _c : null;
13
- this.privateKeyPem = (_d = options === null || options === void 0 ? void 0 : options.privateKeyPem) !== null && _d !== void 0 ? _d : null;
12
+ this.sharedSecretKey = (_b = options === null || options === void 0 ? void 0 : options.sharedSecretKey) !== null && _b !== void 0 ? _b : null;
13
+ this.issuerId = (_c = options === null || options === void 0 ? void 0 : options.issuerId) !== null && _c !== void 0 ? _c : null;
14
+ this.keyId = (_d = options === null || options === void 0 ? void 0 : options.keyId) !== null && _d !== void 0 ? _d : null;
15
+ this.privateKeyPem = (_e = options === null || options === void 0 ? void 0 : options.privateKeyPem) !== null && _e !== void 0 ? _e : null;
14
16
  }
15
17
  properties() {
16
18
  let properties = {};
17
19
  if (this.bundleId != null) {
18
20
  properties["bundleId"] = this.bundleId;
19
21
  }
22
+ if (this.sharedSecretKey != null) {
23
+ properties["sharedSecretKey"] = this.sharedSecretKey;
24
+ }
20
25
  if (this.issuerId != null) {
21
26
  properties["issuerId"] = this.issuerId;
22
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AppleAppStoreSetting.js","sourceRoot":"","sources":["AppleAppStoreSetting.ts"],"names":[],"mappings":";;AAiBA,MAAqB,oBAAoB;IAMrC,YACI,UAA4C,IAAI;;QANnC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,UAAK,GAAgB,IAAI,CAAC;QAC1B,kBAAa,GAAgB,IAAI,CAAC;QAK/C,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,CAAC;QACpC,IAAI,CAAC,aAAa,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,mCAAI,IAAI,CAAC;IACxD,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EA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IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAvCD,uCAuCC"}
@@ -17,6 +17,7 @@ import { AppleAppStoreSettingOptions } from "./options/AppleAppStoreSettingOptio
17
17
 
18
18
  export default class AppleAppStoreSetting {
19
19
  private readonly bundleId: string|null = null;
20
+ private readonly sharedSecretKey: string|null = null;
20
21
  private readonly issuerId: string|null = null;
21
22
  private readonly keyId: string|null = null;
22
23
  private readonly privateKeyPem: string|null = null;
@@ -25,6 +26,7 @@ export default class AppleAppStoreSetting {
25
26
  options: AppleAppStoreSettingOptions|null = null,
26
27
  ) {
27
28
  this.bundleId = options?.bundleId ?? null;
29
+ this.sharedSecretKey = options?.sharedSecretKey ?? null;
28
30
  this.issuerId = options?.issuerId ?? null;
29
31
  this.keyId = options?.keyId ?? null;
30
32
  this.privateKeyPem = options?.privateKeyPem ?? null;
@@ -37,6 +39,9 @@ export default class AppleAppStoreSetting {
37
39
  if (this.bundleId != null) {
38
40
  properties["bundleId"] = this.bundleId;
39
41
  }
42
+ if (this.sharedSecretKey != null) {
43
+ properties["sharedSecretKey"] = this.sharedSecretKey;
44
+ }
40
45
  if (this.issuerId != null) {
41
46
  properties["issuerId"] = this.issuerId;
42
47
  }
@@ -2,7 +2,6 @@ import { GooglePlaySettingOptions } from "./options/GooglePlaySettingOptions";
2
2
  export default class GooglePlaySetting {
3
3
  private readonly packageName;
4
4
  private readonly publicKey;
5
- private readonly credentialsJSON;
6
5
  constructor(options?: GooglePlaySettingOptions | null);
7
6
  properties(): {
8
7
  [name: string]: any;
@@ -2,13 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class GooglePlaySetting {
4
4
  constructor(options = null) {
5
- var _a, _b, _c;
5
+ var _a, _b;
6
6
  this.packageName = null;
7
7
  this.publicKey = null;
8
- this.credentialsJSON = null;
9
8
  this.packageName = (_a = options === null || options === void 0 ? void 0 : options.packageName) !== null && _a !== void 0 ? _a : null;
10
9
  this.publicKey = (_b = options === null || options === void 0 ? void 0 : options.publicKey) !== null && _b !== void 0 ? _b : null;
11
- this.credentialsJSON = (_c = options === null || options === void 0 ? void 0 : options.credentialsJSON) !== null && _c !== void 0 ? _c : null;
12
10
  }
13
11
  properties() {
14
12
  let properties = {};
@@ -18,9 +16,6 @@ class GooglePlaySetting {
18
16
  if (this.publicKey != null) {
19
17
  properties["publicKey"] = this.publicKey;
20
18
  }
21
- if (this.credentialsJSON != null) {
22
- properties["credentialsJSON"] = this.credentialsJSON;
23
- }
24
19
  return properties;
25
20
  }
26
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GooglePlaySetting.js","sourceRoot":"","sources":["GooglePlaySetting.ts"],"names":[],"mappings":";;AAiBA,MAAqB,iBAAiB;IAKlC,YACI,UAAyC,IAAI;;QALhC,gBAAW,GAAgB,IAAI,CAAC;QAChC,cAAS,GAAgB,IAAI,CAAC;QAC9B,oBAAe,GAAgB,IAAI,CAAC;QAKjD,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,mCAAI,IAAI,CAAC;QAC5C,IAAI,CAAC,eAAe,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe,mCAAI,IAAI,CAAC;IAC5D,CAAC;IAEM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"./options/GooglePlaySettingOptions";
18
18
  export default class GooglePlaySetting {
19
19
  private readonly packageName: string|null = null;
20
20
  private readonly publicKey: string|null = null;
21
- private readonly credentialsJSON: string|null = null;
22
21
 
23
22
  public constructor(
24
23
  options: GooglePlaySettingOptions|null = null,
25
24
  ) {
26
25
  this.packageName = options?.packageName ?? null;
27
26
  this.publicKey = options?.publicKey ?? null;
28
- this.credentialsJSON = options?.credentialsJSON ?? null;
29
27
  }
30
28
 
31
29
  public properties(
@@ -38,9 +36,6 @@ export default class GooglePlaySetting {
38
36
  if (this.publicKey != null) {
39
37
  properties["publicKey"] = this.publicKey;
40
38
  }
41
- if (this.credentialsJSON != null) {
42
- properties["credentialsJSON"] = this.credentialsJSON;
43
- }
44
39
 
45
40
  return properties;
46
41
  }
@@ -0,0 +1,14 @@
1
+ import RefundEvent from "./RefundEvent";
2
+ import { RefundHistoryOptions } from "./options/RefundHistoryOptions";
3
+ export default class RefundHistory {
4
+ private readonly transactionId;
5
+ private readonly year;
6
+ private readonly month;
7
+ private readonly day;
8
+ private readonly detail;
9
+ private readonly userId;
10
+ constructor(transactionId: string, year: number, month: number, day: number, detail: RefundEvent, options?: RefundHistoryOptions | null);
11
+ properties(): {
12
+ [name: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class RefundHistory {
4
+ constructor(transactionId, year, month, day, detail, options = null) {
5
+ var _a;
6
+ this.userId = null;
7
+ this.transactionId = transactionId;
8
+ this.year = year;
9
+ this.month = month;
10
+ this.day = day;
11
+ this.detail = detail;
12
+ this.userId = (_a = options === null || options === void 0 ? void 0 : options.userId) !== null && _a !== void 0 ? _a : null;
13
+ }
14
+ properties() {
15
+ var _a;
16
+ let properties = {};
17
+ if (this.transactionId != null) {
18
+ properties["transactionId"] = this.transactionId;
19
+ }
20
+ if (this.year != null) {
21
+ properties["year"] = this.year;
22
+ }
23
+ if (this.month != null) {
24
+ properties["month"] = this.month;
25
+ }
26
+ if (this.day != null) {
27
+ properties["day"] = this.day;
28
+ }
29
+ if (this.userId != null) {
30
+ properties["userId"] = this.userId;
31
+ }
32
+ if (this.detail != null) {
33
+ properties["detail"] = (_a = this.detail) === null || _a === void 0 ? void 0 : _a.properties();
34
+ }
35
+ return properties;
36
+ }
37
+ }
38
+ exports.default = RefundHistory;
39
+ //# sourceMappingURL=RefundHistory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RefundHistory.js","sourceRoot":"","sources":["RefundHistory.ts"],"names":[],"mappings":";;AAoBA,MAAqB,aAAa;IAQ9B,YACI,aAAqB,EACrB,IAAY,EACZ,KAAa,EACb,GAAW,EACX,MAAmB,EACnB,UAAqC,IAAI;;QAR5B,WAAM,GAAgB,IAAI,CAAC;QAUxC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,IAAI,CAAC;IAC1C,CAAC;IAEM,UAAU;;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,GAAG,IAAI,IAAI,EAAE;YAClB,UAAU,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC;SAChC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAA,IAAI,CAAC,MAAM,0CAAE,UAAU,EAC7C,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAlDD,gCAkDC"}
@@ -0,0 +1,71 @@
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
+ import AppleAppStoreVerifyReceiptEvent from "./AppleAppStoreVerifyReceiptEvent";
17
+ import GooglePlayVerifyReceiptEvent from "./GooglePlayVerifyReceiptEvent";
18
+ import RefundEvent from "./RefundEvent";
19
+ import { RefundHistoryOptions } from "./options/RefundHistoryOptions";
20
+
21
+ export default class RefundHistory {
22
+ private readonly transactionId: string;
23
+ private readonly year: number;
24
+ private readonly month: number;
25
+ private readonly day: number;
26
+ private readonly detail: RefundEvent;
27
+ private readonly userId: string|null = null;
28
+
29
+ public constructor(
30
+ transactionId: string,
31
+ year: number,
32
+ month: number,
33
+ day: number,
34
+ detail: RefundEvent,
35
+ options: RefundHistoryOptions|null = null,
36
+ ) {
37
+ this.transactionId = transactionId;
38
+ this.year = year;
39
+ this.month = month;
40
+ this.day = day;
41
+ this.detail = detail;
42
+ this.userId = options?.userId ?? null;
43
+ }
44
+
45
+ public properties(
46
+ ): {[name: string]: any} {
47
+ let properties: {[name: string]: any} = {};
48
+
49
+ if (this.transactionId != null) {
50
+ properties["transactionId"] = this.transactionId;
51
+ }
52
+ if (this.year != null) {
53
+ properties["year"] = this.year;
54
+ }
55
+ if (this.month != null) {
56
+ properties["month"] = this.month;
57
+ }
58
+ if (this.day != null) {
59
+ properties["day"] = this.day;
60
+ }
61
+ if (this.userId != null) {
62
+ properties["userId"] = this.userId;
63
+ }
64
+ if (this.detail != null) {
65
+ properties["detail"] = this.detail?.properties(
66
+ );
67
+ }
68
+
69
+ return properties;
70
+ }
71
+ }
@@ -1,13 +1,20 @@
1
1
  import { StoreSubscriptionContentModelOptions } from "./options/StoreSubscriptionContentModelOptions";
2
+ import { StoreSubscriptionContentModelTriggerExtendModeIsJustOptions } from "./options/StoreSubscriptionContentModelTriggerExtendModeIsJustOptions";
3
+ import { StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions } from "./options/StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions";
4
+ import { StoreSubscriptionContentModelTriggerExtendMode } from "./enums/StoreSubscriptionContentModelTriggerExtendMode";
2
5
  export default class StoreSubscriptionContentModel {
3
6
  private readonly name;
4
7
  private readonly scheduleNamespaceId;
5
8
  private readonly triggerName;
9
+ private readonly triggerExtendMode;
6
10
  private readonly reallocateSpanDays;
7
11
  private readonly metadata;
12
+ private readonly rollupHour;
8
13
  private readonly appleAppStore;
9
14
  private readonly googlePlay;
10
- constructor(name: string, scheduleNamespaceId: string, triggerName: string, reallocateSpanDays: number, options?: StoreSubscriptionContentModelOptions | null);
15
+ constructor(name: string, scheduleNamespaceId: string, triggerName: string, triggerExtendMode: StoreSubscriptionContentModelTriggerExtendMode, reallocateSpanDays: number, options?: StoreSubscriptionContentModelOptions | null);
16
+ static triggerExtendModeIsJust(name: string, scheduleNamespaceId: string, triggerName: string, reallocateSpanDays: number, options?: StoreSubscriptionContentModelTriggerExtendModeIsJustOptions | null): StoreSubscriptionContentModel;
17
+ static triggerExtendModeIsRollupHour(name: string, scheduleNamespaceId: string, triggerName: string, reallocateSpanDays: number, rollupHour: number, options?: StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions | null): StoreSubscriptionContentModel;
11
18
  properties(): {
12
19
  [name: string]: any;
13
20
  };
@@ -1,18 +1,37 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const StoreSubscriptionContentModelTriggerExtendMode_1 = require("./enums/StoreSubscriptionContentModelTriggerExtendMode");
3
4
  class StoreSubscriptionContentModel {
4
- constructor(name, scheduleNamespaceId, triggerName, reallocateSpanDays, options = null) {
5
- var _a, _b, _c;
5
+ constructor(name, scheduleNamespaceId, triggerName, triggerExtendMode, reallocateSpanDays, options = null) {
6
+ var _a, _b, _c, _d;
6
7
  this.metadata = null;
8
+ this.rollupHour = null;
7
9
  this.appleAppStore = null;
8
10
  this.googlePlay = null;
9
11
  this.name = name;
10
12
  this.scheduleNamespaceId = scheduleNamespaceId;
11
13
  this.triggerName = triggerName;
14
+ this.triggerExtendMode = triggerExtendMode;
12
15
  this.reallocateSpanDays = reallocateSpanDays;
13
16
  this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
14
- this.appleAppStore = (_b = options === null || options === void 0 ? void 0 : options.appleAppStore) !== null && _b !== void 0 ? _b : null;
15
- this.googlePlay = (_c = options === null || options === void 0 ? void 0 : options.googlePlay) !== null && _c !== void 0 ? _c : null;
17
+ this.rollupHour = (_b = options === null || options === void 0 ? void 0 : options.rollupHour) !== null && _b !== void 0 ? _b : null;
18
+ this.appleAppStore = (_c = options === null || options === void 0 ? void 0 : options.appleAppStore) !== null && _c !== void 0 ? _c : null;
19
+ this.googlePlay = (_d = options === null || options === void 0 ? void 0 : options.googlePlay) !== null && _d !== void 0 ? _d : null;
20
+ }
21
+ static triggerExtendModeIsJust(name, scheduleNamespaceId, triggerName, reallocateSpanDays, options = null) {
22
+ return new StoreSubscriptionContentModel(name, scheduleNamespaceId, triggerName, StoreSubscriptionContentModelTriggerExtendMode_1.StoreSubscriptionContentModelTriggerExtendMode.JUST, reallocateSpanDays, {
23
+ metadata: options === null || options === void 0 ? void 0 : options.metadata,
24
+ appleAppStore: options === null || options === void 0 ? void 0 : options.appleAppStore,
25
+ googlePlay: options === null || options === void 0 ? void 0 : options.googlePlay,
26
+ });
27
+ }
28
+ static triggerExtendModeIsRollupHour(name, scheduleNamespaceId, triggerName, reallocateSpanDays, rollupHour, options = null) {
29
+ return new StoreSubscriptionContentModel(name, scheduleNamespaceId, triggerName, StoreSubscriptionContentModelTriggerExtendMode_1.StoreSubscriptionContentModelTriggerExtendMode.ROLLUP_HOUR, reallocateSpanDays, {
30
+ rollupHour: rollupHour,
31
+ metadata: options === null || options === void 0 ? void 0 : options.metadata,
32
+ appleAppStore: options === null || options === void 0 ? void 0 : options.appleAppStore,
33
+ googlePlay: options === null || options === void 0 ? void 0 : options.googlePlay,
34
+ });
16
35
  }
17
36
  properties() {
18
37
  var _a, _b;
@@ -29,6 +48,12 @@ class StoreSubscriptionContentModel {
29
48
  if (this.triggerName != null) {
30
49
  properties["triggerName"] = this.triggerName;
31
50
  }
51
+ if (this.triggerExtendMode != null) {
52
+ properties["triggerExtendMode"] = this.triggerExtendMode;
53
+ }
54
+ if (this.rollupHour != null) {
55
+ properties["rollupHour"] = this.rollupHour;
56
+ }
32
57
  if (this.reallocateSpanDays != null) {
33
58
  properties["reallocateSpanDays"] = this.reallocateSpanDays;
34
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"StoreSubscriptionContentModel.js","sourceRoot":"","sources":["StoreSubscriptionContentModel.ts"],"names":[],"mappings":";;AAmBA,MAAqB,6BAA6B;IAS9C,YACI,IAAY,EACZ,mBAA2B,EAC3B,WAAmB,EACnB,kBAA0B,EAC1B,UAAqD,IAAI;;QAT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,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,mBAAmB,IAAI,IAAI,EAAE;YAClC,UAAU,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,mBAAmB,CAAC;SAChE;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,iBAAiB,IAAI,IAAI,EAAE;YAChC,UAAU,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC;SAC5D;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,MAAA,IAAI,CAAC,aAAa,0CAAE,UAAU,EAC3D,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,UAAU,EACrD,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA9GD,gDA8GC"}
@@ -16,13 +16,18 @@
16
16
  import AppleAppStoreSubscriptionContent from "./AppleAppStoreSubscriptionContent";
17
17
  import GooglePlaySubscriptionContent from "./GooglePlaySubscriptionContent";
18
18
  import { StoreSubscriptionContentModelOptions } from "./options/StoreSubscriptionContentModelOptions";
19
+ import { StoreSubscriptionContentModelTriggerExtendModeIsJustOptions } from "./options/StoreSubscriptionContentModelTriggerExtendModeIsJustOptions";
20
+ import { StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions } from "./options/StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions";
21
+ import { StoreSubscriptionContentModelTriggerExtendMode } from "./enums/StoreSubscriptionContentModelTriggerExtendMode";
19
22
 
20
23
  export default class StoreSubscriptionContentModel {
21
24
  private readonly name: string;
22
25
  private readonly scheduleNamespaceId: string;
23
26
  private readonly triggerName: string;
27
+ private readonly triggerExtendMode: StoreSubscriptionContentModelTriggerExtendMode;
24
28
  private readonly reallocateSpanDays: number;
25
29
  private readonly metadata: string|null = null;
30
+ private readonly rollupHour: number|null = null;
26
31
  private readonly appleAppStore: AppleAppStoreSubscriptionContent|null = null;
27
32
  private readonly googlePlay: GooglePlaySubscriptionContent|null = null;
28
33
 
@@ -30,18 +35,65 @@ export default class StoreSubscriptionContentModel {
30
35
  name: string,
31
36
  scheduleNamespaceId: string,
32
37
  triggerName: string,
38
+ triggerExtendMode: StoreSubscriptionContentModelTriggerExtendMode,
33
39
  reallocateSpanDays: number,
34
40
  options: StoreSubscriptionContentModelOptions|null = null,
35
41
  ) {
36
42
  this.name = name;
37
43
  this.scheduleNamespaceId = scheduleNamespaceId;
38
44
  this.triggerName = triggerName;
45
+ this.triggerExtendMode = triggerExtendMode;
39
46
  this.reallocateSpanDays = reallocateSpanDays;
40
47
  this.metadata = options?.metadata ?? null;
48
+ this.rollupHour = options?.rollupHour ?? null;
41
49
  this.appleAppStore = options?.appleAppStore ?? null;
42
50
  this.googlePlay = options?.googlePlay ?? null;
43
51
  }
44
52
 
53
+ public static triggerExtendModeIsJust(
54
+ name: string,
55
+ scheduleNamespaceId: string,
56
+ triggerName: string,
57
+ reallocateSpanDays: number,
58
+ options: StoreSubscriptionContentModelTriggerExtendModeIsJustOptions|null = null,
59
+ ): StoreSubscriptionContentModel {
60
+ return new StoreSubscriptionContentModel(
61
+ name,
62
+ scheduleNamespaceId,
63
+ triggerName,
64
+ StoreSubscriptionContentModelTriggerExtendMode.JUST,
65
+ reallocateSpanDays,
66
+ {
67
+ metadata: options?.metadata,
68
+ appleAppStore: options?.appleAppStore,
69
+ googlePlay: options?.googlePlay,
70
+ },
71
+ );
72
+ }
73
+
74
+ public static triggerExtendModeIsRollupHour(
75
+ name: string,
76
+ scheduleNamespaceId: string,
77
+ triggerName: string,
78
+ reallocateSpanDays: number,
79
+ rollupHour: number,
80
+ options: StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions|null = null,
81
+ ): StoreSubscriptionContentModel {
82
+ return new StoreSubscriptionContentModel(
83
+ name,
84
+ scheduleNamespaceId,
85
+ triggerName,
86
+ StoreSubscriptionContentModelTriggerExtendMode.ROLLUP_HOUR,
87
+ reallocateSpanDays,
88
+ {
89
+ rollupHour: rollupHour,
90
+ metadata: options?.metadata,
91
+ appleAppStore: options?.appleAppStore,
92
+ googlePlay: options?.googlePlay,
93
+ },
94
+ );
95
+ }
96
+
45
97
  public properties(
46
98
  ): {[name: string]: any} {
47
99
  let properties: {[name: string]: any} = {};
@@ -58,6 +110,12 @@ export default class StoreSubscriptionContentModel {
58
110
  if (this.triggerName != null) {
59
111
  properties["triggerName"] = this.triggerName;
60
112
  }
113
+ if (this.triggerExtendMode != null) {
114
+ properties["triggerExtendMode"] = this.triggerExtendMode;
115
+ }
116
+ if (this.rollupHour != null) {
117
+ properties["rollupHour"] = this.rollupHour;
118
+ }
61
119
  if (this.reallocateSpanDays != null) {
62
120
  properties["reallocateSpanDays"] = this.reallocateSpanDays;
63
121
  }
@@ -0,0 +1,5 @@
1
+ export declare const StoreSubscriptionContentModelTriggerExtendMode: {
2
+ readonly JUST: "just";
3
+ readonly ROLLUP_HOUR: "rollupHour";
4
+ };
5
+ export type StoreSubscriptionContentModelTriggerExtendMode = typeof StoreSubscriptionContentModelTriggerExtendMode[keyof typeof StoreSubscriptionContentModelTriggerExtendMode];
@@ -0,0 +1,23 @@
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
+ exports.StoreSubscriptionContentModelTriggerExtendMode = void 0;
19
+ exports.StoreSubscriptionContentModelTriggerExtendMode = {
20
+ JUST: "just",
21
+ ROLLUP_HOUR: "rollupHour",
22
+ };
23
+ //# sourceMappingURL=StoreSubscriptionContentModelTriggerExtendMode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSubscriptionContentModelTriggerExtendMode.js","sourceRoot":"","sources":["StoreSubscriptionContentModelTriggerExtendMode.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,8CAA8C,GAAG;IAC1D,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,YAAY;CACnB,CAAC"}
@@ -0,0 +1,23 @@
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
+
18
+
19
+ export const StoreSubscriptionContentModelTriggerExtendMode = {
20
+ JUST: "just",
21
+ ROLLUP_HOUR: "rollupHour",
22
+ } as const;
23
+ export type StoreSubscriptionContentModelTriggerExtendMode = typeof StoreSubscriptionContentModelTriggerExtendMode[keyof typeof StoreSubscriptionContentModelTriggerExtendMode];
@@ -5,10 +5,15 @@ import SubscribeTransaction from "./SubscribeTransaction";
5
5
  import { SubscribeTransactionOptions } from "./options/SubscribeTransactionOptions";
6
6
  import { SubscribeTransactionStore } from "./enums/SubscribeTransactionStore";
7
7
  import { SubscribeTransactionStatusDetail } from "./enums/SubscribeTransactionStatusDetail";
8
+ import RefundHistory from "./RefundHistory";
9
+ import { RefundHistoryOptions } from "./options/RefundHistoryOptions";
8
10
  import StoreContentModel from "./StoreContentModel";
9
11
  import { StoreContentModelOptions } from "./options/StoreContentModelOptions";
10
12
  import StoreSubscriptionContentModel from "./StoreSubscriptionContentModel";
11
13
  import { StoreSubscriptionContentModelOptions } from "./options/StoreSubscriptionContentModelOptions";
14
+ import { StoreSubscriptionContentModelTriggerExtendMode } from "./enums/StoreSubscriptionContentModelTriggerExtendMode";
15
+ import { StoreSubscriptionContentModelTriggerExtendModeIsJustOptions } from "./options/StoreSubscriptionContentModelTriggerExtendModeIsJustOptions";
16
+ import { StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions } from "./options/StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions";
12
17
  import Receipt from "./Receipt";
13
18
  import { ReceiptOptions } from "./options/ReceiptOptions";
14
19
  import { ReceiptStore } from "./enums/ReceiptStore";
@@ -55,4 +60,4 @@ import { DailyTransactionHistoryOptions } from "./options/DailyTransactionHistor
55
60
  import UnusedBalance from "./UnusedBalance";
56
61
  import { UnusedBalanceOptions } from "./options/UnusedBalanceOptions";
57
62
  import CurrentMasterData from "./CurrentMasterData";
58
- export { Namespace, NamespaceOptions, NamespaceCurrencyUsagePriority, SubscribeTransaction, SubscribeTransactionOptions, SubscribeTransactionStore, SubscribeTransactionStatusDetail, StoreContentModel, StoreContentModelOptions, StoreSubscriptionContentModel, StoreSubscriptionContentModelOptions, Receipt, ReceiptOptions, ReceiptStore, PlatformSetting, PlatformSettingOptions, AppleAppStoreSetting, AppleAppStoreSettingOptions, GooglePlaySetting, GooglePlaySettingOptions, FakeSetting, FakeSettingOptions, FakeSettingAcceptFakeReceipt, WalletSummary, WalletSummaryOptions, DepositTransaction, DepositTransactionOptions, VerifyReceiptEvent, VerifyReceiptEventOptions, VerifyReceiptEventPlatform, DepositEvent, DepositEventOptions, WithdrawEvent, WithdrawEventOptions, RefundEvent, RefundEventOptions, RefundEventPlatform, AppleAppStoreVerifyReceiptEvent, AppleAppStoreVerifyReceiptEventOptions, AppleAppStoreVerifyReceiptEventEnvironment, GooglePlayVerifyReceiptEvent, GooglePlayVerifyReceiptEventOptions, AppleAppStoreContent, AppleAppStoreContentOptions, GooglePlayContent, GooglePlayContentOptions, AppleAppStoreSubscriptionContent, AppleAppStoreSubscriptionContentOptions, GooglePlaySubscriptionContent, GooglePlaySubscriptionContentOptions, GooglePlayRealtimeNotificationMessage, GooglePlayRealtimeNotificationMessageOptions, DailyTransactionHistory, DailyTransactionHistoryOptions, UnusedBalance, UnusedBalanceOptions, CurrentMasterData, };
63
+ export { Namespace, NamespaceOptions, NamespaceCurrencyUsagePriority, SubscribeTransaction, SubscribeTransactionOptions, SubscribeTransactionStore, SubscribeTransactionStatusDetail, RefundHistory, RefundHistoryOptions, StoreContentModel, StoreContentModelOptions, StoreSubscriptionContentModel, StoreSubscriptionContentModelOptions, StoreSubscriptionContentModelTriggerExtendMode, StoreSubscriptionContentModelTriggerExtendModeIsJustOptions, StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions, Receipt, ReceiptOptions, ReceiptStore, PlatformSetting, PlatformSettingOptions, AppleAppStoreSetting, AppleAppStoreSettingOptions, GooglePlaySetting, GooglePlaySettingOptions, FakeSetting, FakeSettingOptions, FakeSettingAcceptFakeReceipt, WalletSummary, WalletSummaryOptions, DepositTransaction, DepositTransactionOptions, VerifyReceiptEvent, VerifyReceiptEventOptions, VerifyReceiptEventPlatform, DepositEvent, DepositEventOptions, WithdrawEvent, WithdrawEventOptions, RefundEvent, RefundEventOptions, RefundEventPlatform, AppleAppStoreVerifyReceiptEvent, AppleAppStoreVerifyReceiptEventOptions, AppleAppStoreVerifyReceiptEventEnvironment, GooglePlayVerifyReceiptEvent, GooglePlayVerifyReceiptEventOptions, AppleAppStoreContent, AppleAppStoreContentOptions, GooglePlayContent, GooglePlayContentOptions, AppleAppStoreSubscriptionContent, AppleAppStoreSubscriptionContentOptions, GooglePlaySubscriptionContent, GooglePlaySubscriptionContentOptions, GooglePlayRealtimeNotificationMessage, GooglePlayRealtimeNotificationMessageOptions, DailyTransactionHistory, DailyTransactionHistoryOptions, UnusedBalance, UnusedBalanceOptions, CurrentMasterData, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CurrentMasterData = exports.UnusedBalance = exports.DailyTransactionHistory = exports.GooglePlayRealtimeNotificationMessage = exports.GooglePlaySubscriptionContent = exports.AppleAppStoreSubscriptionContent = exports.GooglePlayContent = exports.AppleAppStoreContent = exports.GooglePlayVerifyReceiptEvent = exports.AppleAppStoreVerifyReceiptEventEnvironment = exports.AppleAppStoreVerifyReceiptEvent = exports.RefundEventPlatform = exports.RefundEvent = exports.WithdrawEvent = exports.DepositEvent = exports.VerifyReceiptEventPlatform = exports.VerifyReceiptEvent = exports.DepositTransaction = exports.WalletSummary = exports.FakeSettingAcceptFakeReceipt = exports.FakeSetting = exports.GooglePlaySetting = exports.AppleAppStoreSetting = exports.PlatformSetting = exports.ReceiptStore = exports.Receipt = exports.StoreSubscriptionContentModel = exports.StoreContentModel = exports.SubscribeTransactionStatusDetail = exports.SubscribeTransactionStore = exports.SubscribeTransaction = exports.NamespaceCurrencyUsagePriority = exports.Namespace = void 0;
3
+ exports.CurrentMasterData = exports.UnusedBalance = exports.DailyTransactionHistory = exports.GooglePlayRealtimeNotificationMessage = exports.GooglePlaySubscriptionContent = exports.AppleAppStoreSubscriptionContent = exports.GooglePlayContent = exports.AppleAppStoreContent = exports.GooglePlayVerifyReceiptEvent = exports.AppleAppStoreVerifyReceiptEventEnvironment = exports.AppleAppStoreVerifyReceiptEvent = exports.RefundEventPlatform = exports.RefundEvent = exports.WithdrawEvent = exports.DepositEvent = exports.VerifyReceiptEventPlatform = exports.VerifyReceiptEvent = exports.DepositTransaction = exports.WalletSummary = exports.FakeSettingAcceptFakeReceipt = exports.FakeSetting = exports.GooglePlaySetting = exports.AppleAppStoreSetting = exports.PlatformSetting = exports.ReceiptStore = exports.Receipt = exports.StoreSubscriptionContentModelTriggerExtendMode = exports.StoreSubscriptionContentModel = exports.StoreContentModel = exports.RefundHistory = exports.SubscribeTransactionStatusDetail = exports.SubscribeTransactionStore = exports.SubscribeTransaction = exports.NamespaceCurrencyUsagePriority = exports.Namespace = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -27,10 +27,14 @@ const SubscribeTransactionStore_1 = require("./enums/SubscribeTransactionStore")
27
27
  Object.defineProperty(exports, "SubscribeTransactionStore", { enumerable: true, get: function () { return SubscribeTransactionStore_1.SubscribeTransactionStore; } });
28
28
  const SubscribeTransactionStatusDetail_1 = require("./enums/SubscribeTransactionStatusDetail");
29
29
  Object.defineProperty(exports, "SubscribeTransactionStatusDetail", { enumerable: true, get: function () { return SubscribeTransactionStatusDetail_1.SubscribeTransactionStatusDetail; } });
30
+ const RefundHistory_1 = tslib_1.__importDefault(require("./RefundHistory"));
31
+ exports.RefundHistory = RefundHistory_1.default;
30
32
  const StoreContentModel_1 = tslib_1.__importDefault(require("./StoreContentModel"));
31
33
  exports.StoreContentModel = StoreContentModel_1.default;
32
34
  const StoreSubscriptionContentModel_1 = tslib_1.__importDefault(require("./StoreSubscriptionContentModel"));
33
35
  exports.StoreSubscriptionContentModel = StoreSubscriptionContentModel_1.default;
36
+ const StoreSubscriptionContentModelTriggerExtendMode_1 = require("./enums/StoreSubscriptionContentModelTriggerExtendMode");
37
+ Object.defineProperty(exports, "StoreSubscriptionContentModelTriggerExtendMode", { enumerable: true, get: function () { return StoreSubscriptionContentModelTriggerExtendMode_1.StoreSubscriptionContentModelTriggerExtendMode; } });
34
38
  const Receipt_1 = tslib_1.__importDefault(require("./Receipt"));
35
39
  exports.Receipt = Receipt_1.default;
36
40
  const ReceiptStore_1 = require("./enums/ReceiptStore");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AA2DhC,oBA3DG,mBAAS,CA2DH;AAzDb,2FAAwF;AA2DpF,+GA3DK,+DAA8B,OA2DL;AA1DlC,0FAA0D;AA2DtD,+BA3DG,8BAAoB,CA2DH;AAzDxB,iFAA8E;AA2D1E,0GA3DK,qDAAyB,OA2DL;AA1D7B,+FAA4F;AA2DxF,iHA3DK,mEAAgC,OA2DL;AA1DpC,oFAAoD;AA2DhD,4BA3DG,2BAAiB,CA2DH;AAzDrB,4GAA4E;AA2DxE,wCA3DG,uCAA6B,CA2DH;AAzDjC,gEAAgC;AA2D5B,kBA3DG,iBAAO,CA2DH;AAzDX,uDAAoD;AA2DhD,6FA3DK,2BAAY,OA2DL;AA1DhB,gFAAgD;AA2D5C,0BA3DG,yBAAe,CA2DH;AAzDnB,0FAA0D;AA2DtD,+BA3DG,8BAAoB,CA2DH;AAzDxB,oFAAoD;AA2DhD,4BA3DG,2BAAiB,CA2DH;AAzDrB,wEAAwC;AA2DpC,sBA3DG,qBAAW,CA2DH;AAzDf,uFAAoF;AA2DhF,6GA3DK,2DAA4B,OA2DL;AA1DhC,4EAA4C;AA2DxC,wBA3DG,uBAAa,CA2DH;AAzDjB,sFAAsD;AA2DlD,6BA3DG,4BAAkB,CA2DH;AAzDtB,sFAAsD;AA2DlD,6BA3DG,4BAAkB,CA2DH;AAzDtB,mFAAgF;AA2D5E,2GA3DK,uDAA0B,OA2DL;AA1D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AA9DjB,oFAAoD;AAgEhD,4BAhEG,2BAAiB,CAgEH"}
@@ -20,10 +20,15 @@ import SubscribeTransaction from "./SubscribeTransaction";
20
20
  import { SubscribeTransactionOptions } from "./options/SubscribeTransactionOptions";
21
21
  import { SubscribeTransactionStore } from "./enums/SubscribeTransactionStore";
22
22
  import { SubscribeTransactionStatusDetail } from "./enums/SubscribeTransactionStatusDetail";
23
+ import RefundHistory from "./RefundHistory";
24
+ import { RefundHistoryOptions } from "./options/RefundHistoryOptions";
23
25
  import StoreContentModel from "./StoreContentModel";
24
26
  import { StoreContentModelOptions } from "./options/StoreContentModelOptions";
25
27
  import StoreSubscriptionContentModel from "./StoreSubscriptionContentModel";
26
28
  import { StoreSubscriptionContentModelOptions } from "./options/StoreSubscriptionContentModelOptions";
29
+ import { StoreSubscriptionContentModelTriggerExtendMode } from "./enums/StoreSubscriptionContentModelTriggerExtendMode";
30
+ import { StoreSubscriptionContentModelTriggerExtendModeIsJustOptions } from "./options/StoreSubscriptionContentModelTriggerExtendModeIsJustOptions"
31
+ import { StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions } from "./options/StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions"
27
32
  import Receipt from "./Receipt";
28
33
  import { ReceiptOptions } from "./options/ReceiptOptions";
29
34
  import { ReceiptStore } from "./enums/ReceiptStore";
@@ -79,10 +84,15 @@ export {
79
84
  SubscribeTransactionOptions,
80
85
  SubscribeTransactionStore,
81
86
  SubscribeTransactionStatusDetail,
87
+ RefundHistory,
88
+ RefundHistoryOptions,
82
89
  StoreContentModel,
83
90
  StoreContentModelOptions,
84
91
  StoreSubscriptionContentModel,
85
92
  StoreSubscriptionContentModelOptions,
93
+ StoreSubscriptionContentModelTriggerExtendMode,
94
+ StoreSubscriptionContentModelTriggerExtendModeIsJustOptions,
95
+ StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions,
86
96
  Receipt,
87
97
  ReceiptOptions,
88
98
  ReceiptStore,
@@ -1,5 +1,6 @@
1
1
  export interface AppleAppStoreSettingOptions {
2
2
  bundleId?: string | null;
3
+ sharedSecretKey?: string | null;
3
4
  issuerId?: string | null;
4
5
  keyId?: string | null;
5
6
  privateKeyPem?: string | null;
@@ -16,6 +16,7 @@
16
16
 
17
17
  export interface AppleAppStoreSettingOptions {
18
18
  bundleId?: string|null;
19
+ sharedSecretKey?: string|null;
19
20
  issuerId?: string|null;
20
21
  keyId?: string|null;
21
22
  privateKeyPem?: string|null;
@@ -1,5 +1,4 @@
1
1
  export interface GooglePlaySettingOptions {
2
2
  packageName?: string | null;
3
3
  publicKey?: string | null;
4
- credentialsJSON?: string | null;
5
4
  }
@@ -17,6 +17,5 @@
17
17
  export interface GooglePlaySettingOptions {
18
18
  packageName?: string|null;
19
19
  publicKey?: string|null;
20
- credentialsJSON?: string|null;
21
20
  }
22
21
 
@@ -0,0 +1,3 @@
1
+ export interface RefundHistoryOptions {
2
+ userId?: string | null;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RefundHistoryOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RefundHistoryOptions.js","sourceRoot":"","sources":["RefundHistoryOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
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
+ import AppleAppStoreVerifyReceiptEvent from "../AppleAppStoreVerifyReceiptEvent";
17
+ import GooglePlayVerifyReceiptEvent from "../GooglePlayVerifyReceiptEvent";
18
+ import RefundEvent from "../RefundEvent";
19
+
20
+ export interface RefundHistoryOptions {
21
+ userId?: string|null;
22
+ }
23
+
@@ -2,6 +2,7 @@ import AppleAppStoreSubscriptionContent from "../AppleAppStoreSubscriptionConten
2
2
  import GooglePlaySubscriptionContent from "../GooglePlaySubscriptionContent";
3
3
  export interface StoreSubscriptionContentModelOptions {
4
4
  metadata?: string | null;
5
+ rollupHour?: number | null;
5
6
  appleAppStore?: AppleAppStoreSubscriptionContent | null;
6
7
  googlePlay?: GooglePlaySubscriptionContent | null;
7
8
  }
@@ -15,9 +15,11 @@
15
15
  */
16
16
  import AppleAppStoreSubscriptionContent from "../AppleAppStoreSubscriptionContent";
17
17
  import GooglePlaySubscriptionContent from "../GooglePlaySubscriptionContent";
18
+ import { StoreSubscriptionContentModelTriggerExtendMode } from "../enums/StoreSubscriptionContentModelTriggerExtendMode";
18
19
 
19
20
  export interface StoreSubscriptionContentModelOptions {
20
21
  metadata?: string|null;
22
+ rollupHour?: number|null;
21
23
  appleAppStore?: AppleAppStoreSubscriptionContent|null;
22
24
  googlePlay?: GooglePlaySubscriptionContent|null;
23
25
  }
@@ -0,0 +1,7 @@
1
+ import AppleAppStoreSubscriptionContent from "../AppleAppStoreSubscriptionContent";
2
+ import GooglePlaySubscriptionContent from "../GooglePlaySubscriptionContent";
3
+ export interface StoreSubscriptionContentModelTriggerExtendModeIsJustOptions {
4
+ metadata?: string | null;
5
+ appleAppStore?: AppleAppStoreSubscriptionContent | null;
6
+ googlePlay?: GooglePlaySubscriptionContent | null;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=StoreSubscriptionContentModelTriggerExtendModeIsJustOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSubscriptionContentModelTriggerExtendModeIsJustOptions.js","sourceRoot":"","sources":["StoreSubscriptionContentModelTriggerExtendModeIsJustOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,24 @@
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
+ import AppleAppStoreSubscriptionContent from "../AppleAppStoreSubscriptionContent";
17
+ import GooglePlaySubscriptionContent from "../GooglePlaySubscriptionContent";
18
+ import { StoreSubscriptionContentModelTriggerExtendMode } from "../enums/StoreSubscriptionContentModelTriggerExtendMode";
19
+
20
+ export interface StoreSubscriptionContentModelTriggerExtendModeIsJustOptions {
21
+ metadata?: string|null;
22
+ appleAppStore?: AppleAppStoreSubscriptionContent|null;
23
+ googlePlay?: GooglePlaySubscriptionContent|null;
24
+ }
@@ -0,0 +1,7 @@
1
+ import AppleAppStoreSubscriptionContent from "../AppleAppStoreSubscriptionContent";
2
+ import GooglePlaySubscriptionContent from "../GooglePlaySubscriptionContent";
3
+ export interface StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions {
4
+ metadata?: string | null;
5
+ appleAppStore?: AppleAppStoreSubscriptionContent | null;
6
+ googlePlay?: GooglePlaySubscriptionContent | null;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions.js","sourceRoot":"","sources":["StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,24 @@
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
+ import AppleAppStoreSubscriptionContent from "../AppleAppStoreSubscriptionContent";
17
+ import GooglePlaySubscriptionContent from "../GooglePlaySubscriptionContent";
18
+ import { StoreSubscriptionContentModelTriggerExtendMode } from "../enums/StoreSubscriptionContentModelTriggerExtendMode";
19
+
20
+ export interface StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions {
21
+ metadata?: string|null;
22
+ appleAppStore?: AppleAppStoreSubscriptionContent|null;
23
+ googlePlay?: GooglePlaySubscriptionContent|null;
24
+ }
@@ -0,0 +1,6 @@
1
+ export default class RefundHistoryRef {
2
+ private readonly namespaceName;
3
+ private readonly transactionId;
4
+ constructor(namespaceName: string, transactionId: string);
5
+ grn(): string;
6
+ }
@@ -0,0 +1,38 @@
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
+ const func_1 = require("../../core/func");
19
+ class RefundHistoryRef {
20
+ constructor(namespaceName, transactionId) {
21
+ this.namespaceName = namespaceName;
22
+ this.transactionId = transactionId;
23
+ }
24
+ grn() {
25
+ return new func_1.Join(":", [
26
+ "grn",
27
+ "gs2",
28
+ func_1.GetAttr.region().str(),
29
+ func_1.GetAttr.ownerId().str(),
30
+ "money2",
31
+ this.namespaceName,
32
+ "refundHistory",
33
+ this.transactionId,
34
+ ]).str();
35
+ }
36
+ }
37
+ exports.default = RefundHistoryRef;
38
+ //# sourceMappingURL=RefundHistoryRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RefundHistoryRef.js","sourceRoot":"","sources":["RefundHistoryRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,gBAAgB;IAIjC,YACI,aAAqB,EACrB,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,QAAQ;YACR,IAAI,CAAC,aAAa;YAClB,eAAe;YACf,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,mCAiCC"}
@@ -0,0 +1,52 @@
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 {GetAttr, Join} from "../../core/func";
18
+
19
+ export default class RefundHistoryRef {
20
+ private readonly namespaceName: string;
21
+ private readonly transactionId: string;
22
+
23
+ public constructor(
24
+ namespaceName: string,
25
+ transactionId: string,
26
+ ) {
27
+ this.namespaceName = namespaceName;
28
+ this.transactionId = transactionId;
29
+ }
30
+
31
+ public grn(
32
+ ): string {
33
+ return new Join(
34
+ ":",
35
+ [
36
+ "grn",
37
+ "gs2",
38
+ GetAttr.region(
39
+ ).str(
40
+ ),
41
+ GetAttr.ownerId(
42
+ ).str(
43
+ ),
44
+ "money2",
45
+ this.namespaceName,
46
+ "refundHistory",
47
+ this.transactionId,
48
+ ],
49
+ ).str(
50
+ );
51
+ }
52
+ }
@@ -1,8 +1,9 @@
1
1
  import NamespaceRef from "./NamespaceRef";
2
2
  import SubscribeTransactionRef from "./SubscribeTransactionRef";
3
+ import RefundHistoryRef from "./RefundHistoryRef";
3
4
  import StoreContentModelRef from "./StoreContentModelRef";
4
5
  import StoreSubscriptionContentModelRef from "./StoreSubscriptionContentModelRef";
5
6
  import MasterDataVersionRef from "./MasterDataVersionRef";
6
7
  import DailyTransactionHistoryRef from "./DailyTransactionHistoryRef";
7
8
  import UnusedBalanceRef from "./UnusedBalanceRef";
8
- export { NamespaceRef, SubscribeTransactionRef, StoreContentModelRef, StoreSubscriptionContentModelRef, MasterDataVersionRef, DailyTransactionHistoryRef, UnusedBalanceRef, };
9
+ export { NamespaceRef, SubscribeTransactionRef, RefundHistoryRef, StoreContentModelRef, StoreSubscriptionContentModelRef, MasterDataVersionRef, DailyTransactionHistoryRef, UnusedBalanceRef, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UnusedBalanceRef = exports.DailyTransactionHistoryRef = exports.MasterDataVersionRef = exports.StoreSubscriptionContentModelRef = exports.StoreContentModelRef = exports.SubscribeTransactionRef = exports.NamespaceRef = void 0;
3
+ exports.UnusedBalanceRef = exports.DailyTransactionHistoryRef = exports.MasterDataVersionRef = exports.StoreSubscriptionContentModelRef = exports.StoreContentModelRef = exports.RefundHistoryRef = exports.SubscribeTransactionRef = exports.NamespaceRef = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -21,6 +21,8 @@ const NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
21
21
  exports.NamespaceRef = NamespaceRef_1.default;
22
22
  const SubscribeTransactionRef_1 = tslib_1.__importDefault(require("./SubscribeTransactionRef"));
23
23
  exports.SubscribeTransactionRef = SubscribeTransactionRef_1.default;
24
+ const RefundHistoryRef_1 = tslib_1.__importDefault(require("./RefundHistoryRef"));
25
+ exports.RefundHistoryRef = RefundHistoryRef_1.default;
24
26
  const StoreContentModelRef_1 = tslib_1.__importDefault(require("./StoreContentModelRef"));
25
27
  exports.StoreContentModelRef = StoreContentModelRef_1.default;
26
28
  const StoreSubscriptionContentModelRef_1 = tslib_1.__importDefault(require("./StoreSubscriptionContentModelRef"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAStC,uBATG,sBAAY,CASH;AARhB,gGAAgE;AAS5D,kCATG,iCAAuB,CASH;AAR3B,0FAA0D;AAStD,+BATG,8BAAoB,CASH;AARxB,kHAAkF;AAS9E,2CATG,0CAAgC,CASH;AARpC,0FAA0D;AAStD,+BATG,8BAAoB,CASH;AARxB,sGAAsE;AASlE,qCATG,oCAA0B,CASH;AAR9B,kFAAkD;AAS9C,2BATG,0BAAgB,CASH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAUtC,uBAVG,sBAAY,CAUH;AAThB,gGAAgE;AAU5D,kCAVG,iCAAuB,CAUH;AAT3B,kFAAkD;AAU9C,2BAVG,0BAAgB,CAUH;AATpB,0FAA0D;AAUtD,+BAVG,8BAAoB,CAUH;AATxB,kHAAkF;AAU9E,2CAVG,0CAAgC,CAUH;AATpC,0FAA0D;AAUtD,+BAVG,8BAAoB,CAUH;AATxB,sGAAsE;AAUlE,qCAVG,oCAA0B,CAUH;AAT9B,kFAAkD;AAU9C,2BAVG,0BAAgB,CAUH"}
@@ -15,6 +15,7 @@
15
15
  */
16
16
  import NamespaceRef from "./NamespaceRef";
17
17
  import SubscribeTransactionRef from "./SubscribeTransactionRef";
18
+ import RefundHistoryRef from "./RefundHistoryRef";
18
19
  import StoreContentModelRef from "./StoreContentModelRef";
19
20
  import StoreSubscriptionContentModelRef from "./StoreSubscriptionContentModelRef";
20
21
  import MasterDataVersionRef from "./MasterDataVersionRef";
@@ -24,6 +25,7 @@ import UnusedBalanceRef from "./UnusedBalanceRef";
24
25
  export {
25
26
  NamespaceRef,
26
27
  SubscribeTransactionRef,
28
+ RefundHistoryRef,
27
29
  StoreContentModelRef,
28
30
  StoreSubscriptionContentModelRef,
29
31
  MasterDataVersionRef,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.104",
3
+ "version": "1.0.106",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -3,6 +3,6 @@ import RandomStatus from "../model/RandomStatus";
3
3
  export default class NamespaceRef {
4
4
  private readonly namespaceName;
5
5
  constructor(namespaceName: string);
6
- invokeScript(scriptId: string, args?: string | null, randomStatus?: RandomStatus | null, userId?: string): InvokeScript;
6
+ invokeScript(scriptId: string, args?: string | null, randomStatus?: RandomStatus | null, forceUseDistributor?: boolean | null, userId?: string): InvokeScript;
7
7
  grn(): string;
8
8
  }
@@ -22,8 +22,8 @@ class NamespaceRef {
22
22
  constructor(namespaceName) {
23
23
  this.namespaceName = namespaceName;
24
24
  }
25
- invokeScript(scriptId, args = null, randomStatus = null, userId = "#{userId}") {
26
- return new InvokeScript_1.default(scriptId, args, randomStatus, userId);
25
+ invokeScript(scriptId, args = null, randomStatus = null, forceUseDistributor = null, userId = "#{userId}") {
26
+ return new InvokeScript_1.default(scriptId, args, randomStatus, forceUseDistributor, userId);
27
27
  }
28
28
  grn() {
29
29
  return new func_1.Join(":", [
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAE9C,sFAAsD;AAGtD,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,YAAY,CACf,QAAgB,EAChB,OAAoB,IAAI,EACxB,eAAkC,IAAI,EACtC,SAAiB,WAAW;QAE5B,OAAO,IAAI,sBAAY,CACnB,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,QAAQ;YACR,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA1CD,+BA0CC"}
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAE9C,sFAAsD;AAGtD,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,YAAY,CACf,QAAgB,EAChB,OAAoB,IAAI,EACxB,eAAkC,IAAI,EACtC,sBAAoC,IAAI,EACxC,SAAiB,WAAW;QAE5B,OAAO,IAAI,sBAAY,CACnB,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,mBAAmB,EACnB,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,QAAQ;YACR,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA5CD,+BA4CC"}
@@ -32,12 +32,14 @@ export default class NamespaceRef {
32
32
  scriptId: string,
33
33
  args: string|null = null,
34
34
  randomStatus: RandomStatus|null = null,
35
+ forceUseDistributor: boolean|null = null,
35
36
  userId: string = "#{userId}",
36
37
  ): InvokeScript {
37
38
  return new InvokeScript(
38
39
  scriptId,
39
40
  args,
40
41
  randomStatus,
42
+ forceUseDistributor,
41
43
  userId,
42
44
  );
43
45
  }
@@ -4,6 +4,6 @@ export default class ScriptRef {
4
4
  private readonly namespaceName;
5
5
  private readonly scriptName;
6
6
  constructor(namespaceName: string, scriptName: string);
7
- invokeScript(scriptId: string, args?: string | null, randomStatus?: RandomStatus | null, userId?: string): InvokeScript;
7
+ invokeScript(scriptId: string, args?: string | null, randomStatus?: RandomStatus | null, forceUseDistributor?: boolean | null, userId?: string): InvokeScript;
8
8
  grn(): string;
9
9
  }
@@ -23,8 +23,8 @@ class ScriptRef {
23
23
  this.namespaceName = namespaceName;
24
24
  this.scriptName = scriptName;
25
25
  }
26
- invokeScript(scriptId, args = null, randomStatus = null, userId = "#{userId}") {
27
- return new InvokeScript_1.default(scriptId, args, randomStatus, userId);
26
+ invokeScript(scriptId, args = null, randomStatus = null, forceUseDistributor = null, userId = "#{userId}") {
27
+ return new InvokeScript_1.default(scriptId, args, randomStatus, forceUseDistributor, userId);
28
28
  }
29
29
  grn() {
30
30
  return new func_1.Join(":", [
@@ -1 +1 @@
1
- {"version":3,"file":"ScriptRef.js","sourceRoot":"","sources":["ScriptRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,sFAAsD;AAGtD,MAAqB,SAAS;IAI1B,YACI,aAAqB,EACrB,UAAkB;QAElB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC;IAEM,YAAY,CACf,QAAgB,EAChB,OAAoB,IAAI,EACxB,eAAkC,IAAI,EACtC,SAAiB,WAAW;QAE5B,OAAO,IAAI,sBAAY,CACnB,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,QAAQ;YACR,IAAI,CAAC,aAAa;YAClB,QAAQ;YACR,IAAI,CAAC,UAAU;SAClB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA/CD,4BA+CC"}
1
+ {"version":3,"file":"ScriptRef.js","sourceRoot":"","sources":["ScriptRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,sFAAsD;AAGtD,MAAqB,SAAS;IAI1B,YACI,aAAqB,EACrB,UAAkB;QAElB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC;IAEM,YAAY,CACf,QAAgB,EAChB,OAAoB,IAAI,EACxB,eAAkC,IAAI,EACtC,sBAAoC,IAAI,EACxC,SAAiB,WAAW;QAE5B,OAAO,IAAI,sBAAY,CACnB,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,mBAAmB,EACnB,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,QAAQ;YACR,IAAI,CAAC,aAAa;YAClB,QAAQ;YACR,IAAI,CAAC,UAAU;SAClB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjDD,4BAiDC"}
@@ -34,12 +34,14 @@ export default class ScriptRef {
34
34
  scriptId: string,
35
35
  args: string|null = null,
36
36
  randomStatus: RandomStatus|null = null,
37
+ forceUseDistributor: boolean|null = null,
37
38
  userId: string = "#{userId}",
38
39
  ): InvokeScript {
39
40
  return new InvokeScript(
40
41
  scriptId,
41
42
  args,
42
43
  randomStatus,
44
+ forceUseDistributor,
43
45
  userId,
44
46
  );
45
47
  }
@@ -5,8 +5,9 @@ export default class InvokeScript extends AcquireAction {
5
5
  private readonly userId;
6
6
  private readonly args;
7
7
  private readonly randomStatus;
8
+ private readonly forceUseDistributor;
8
9
  private readonly timeOffsetToken;
9
- constructor(scriptId?: string | null, args?: string | null, randomStatus?: RandomStatus | null, timeOffsetToken?: string | null, userId?: string);
10
+ constructor(scriptId?: string | null, args?: string | null, randomStatus?: RandomStatus | null, forceUseDistributor?: boolean | null, timeOffsetToken?: string | null, userId?: string);
10
11
  request(): {
11
12
  [name: string]: any;
12
13
  };
@@ -19,16 +19,18 @@
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
20
  const model_1 = require("../../core/model");
21
21
  class InvokeScript extends model_1.AcquireAction {
22
- constructor(scriptId = null, args = null, randomStatus = null, timeOffsetToken = null, userId = "#{userId}") {
22
+ constructor(scriptId = null, args = null, randomStatus = null, forceUseDistributor = null, timeOffsetToken = null, userId = "#{userId}") {
23
23
  super();
24
24
  this.scriptId = null;
25
25
  this.userId = null;
26
26
  this.args = null;
27
27
  this.randomStatus = null;
28
+ this.forceUseDistributor = null;
28
29
  this.timeOffsetToken = null;
29
30
  this.scriptId = scriptId !== null && scriptId !== void 0 ? scriptId : null;
30
31
  this.args = args !== null && args !== void 0 ? args : null;
31
32
  this.randomStatus = randomStatus !== null && randomStatus !== void 0 ? randomStatus : null;
33
+ this.forceUseDistributor = forceUseDistributor !== null && forceUseDistributor !== void 0 ? forceUseDistributor : null;
32
34
  this.timeOffsetToken = timeOffsetToken !== null && timeOffsetToken !== void 0 ? timeOffsetToken : null;
33
35
  this.userId = userId;
34
36
  }
@@ -47,6 +49,9 @@ class InvokeScript extends model_1.AcquireAction {
47
49
  if (this.randomStatus != null) {
48
50
  properties["randomStatus"] = (_a = this.randomStatus) === null || _a === void 0 ? void 0 : _a.properties();
49
51
  }
52
+ if (this.forceUseDistributor != null) {
53
+ properties["forceUseDistributor"] = this.forceUseDistributor;
54
+ }
50
55
  if (this.timeOffsetToken != null) {
51
56
  properties["timeOffsetToken"] = this.timeOffsetToken;
52
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"InvokeScript.js","sourceRoot":"","sources":["InvokeScript.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAEH,4CAA4E;AAG5E,MAAqB,YAAa,SAAQ,qBAAa;IAQnD,YACI,WAAwB,IAAI,EAC5B,OAAoB,IAAI,EACxB,eAAkC,IAAI,EACtC,kBAA+B,IAAI,EACnC,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAdK,aAAQ,GAAgB,IAAI,CAAC;QAC7B,WAAM,GAAgB,IAAI,CAAC;QAC3B,SAAI,GAAgB,IAAI,CAAC;QACzB,iBAAY,GAAsB,IAAI,CAAC;QACvC,oBAAe,GAAgB,IAAI,CAAC;QAYjD,IAAI,CAAC,QAAQ,G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AAC;SAClC;QACD,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE;YAC3B,UAAU,CAAC,cAAc,CAAC,GAAG,MAAA,IAAI,CAAC,YAAY,0CAAE,UAAU,EACzD,CAAC;SACL;QACD,IAAI,IAAI,CAAC,mBAAmB,IAAI,IAAI,EAAE;YAClC,UAAU,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,mBAAmB,CAAC;SAChE;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,wBAAwB,CAAC;IACpC,CAAC;CACJ;AAzDD,+BAyDC"}
@@ -24,6 +24,7 @@ export default class InvokeScript extends AcquireAction {
24
24
  private readonly userId: string|null = null;
25
25
  private readonly args: string|null = null;
26
26
  private readonly randomStatus: RandomStatus|null = null;
27
+ private readonly forceUseDistributor: boolean|null = null;
27
28
  private readonly timeOffsetToken: string|null = null;
28
29
 
29
30
 
@@ -31,6 +32,7 @@ export default class InvokeScript extends AcquireAction {
31
32
  scriptId: string|null = null,
32
33
  args: string|null = null,
33
34
  randomStatus: RandomStatus|null = null,
35
+ forceUseDistributor: boolean|null = null,
34
36
  timeOffsetToken: string|null = null,
35
37
  userId: string = "#{userId}",
36
38
  ) {
@@ -39,6 +41,7 @@ export default class InvokeScript extends AcquireAction {
39
41
  this.scriptId = scriptId ?? null;
40
42
  this.args = args ?? null;
41
43
  this.randomStatus = randomStatus ?? null;
44
+ this.forceUseDistributor = forceUseDistributor ?? null;
42
45
  this.timeOffsetToken = timeOffsetToken ?? null;
43
46
  this.userId = userId;
44
47
  }
@@ -60,6 +63,9 @@ export default class InvokeScript extends AcquireAction {
60
63
  properties["randomStatus"] = this.randomStatus?.properties(
61
64
  );
62
65
  }
66
+ if (this.forceUseDistributor != null) {
67
+ properties["forceUseDistributor"] = this.forceUseDistributor;
68
+ }
63
69
  if (this.timeOffsetToken != null) {
64
70
  properties["timeOffsetToken"] = this.timeOffsetToken;
65
71
  }