gs2 1.3.67 → 1.3.70

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 (133) hide show
  1. package/formation/model/PropertyForm.d.ts +46 -0
  2. package/formation/model/PropertyForm.js +249 -0
  3. package/formation/model/PropertyForm.js.map +1 -0
  4. package/formation/model/PropertyForm.ts +269 -0
  5. package/formation/model/index.d.ts +2 -1
  6. package/formation/model/index.js +3 -1
  7. package/formation/model/index.js.map +1 -1
  8. package/formation/model/index.ts +2 -0
  9. package/formation/request/AcquireActionToPropertyFormPropertiesByStampSheetRequest.d.ts +25 -0
  10. package/formation/request/AcquireActionToPropertyFormPropertiesByStampSheetRequest.js +83 -0
  11. package/formation/request/AcquireActionToPropertyFormPropertiesByStampSheetRequest.js.map +1 -0
  12. package/formation/request/AcquireActionToPropertyFormPropertiesByStampSheetRequest.ts +90 -0
  13. package/formation/request/AcquireActionsToPropertyFormPropertiesRequest.d.ts +46 -0
  14. package/formation/request/AcquireActionsToPropertyFormPropertiesRequest.js +160 -0
  15. package/formation/request/AcquireActionsToPropertyFormPropertiesRequest.js.map +1 -0
  16. package/formation/request/AcquireActionsToPropertyFormPropertiesRequest.ts +169 -0
  17. package/formation/request/DeletePropertyFormByUserIdRequest.d.ts +37 -0
  18. package/formation/request/DeletePropertyFormByUserIdRequest.js +123 -0
  19. package/formation/request/DeletePropertyFormByUserIdRequest.js.map +1 -0
  20. package/formation/request/DeletePropertyFormByUserIdRequest.ts +133 -0
  21. package/formation/request/DeletePropertyFormRequest.d.ts +33 -0
  22. package/formation/request/DeletePropertyFormRequest.js +111 -0
  23. package/formation/request/DeletePropertyFormRequest.js.map +1 -0
  24. package/formation/request/DeletePropertyFormRequest.ts +118 -0
  25. package/formation/request/DescribeFormModelsRequest.d.ts +21 -0
  26. package/formation/request/DescribeFormModelsRequest.js +69 -0
  27. package/formation/request/DescribeFormModelsRequest.js.map +1 -0
  28. package/formation/request/DescribeFormModelsRequest.ts +76 -0
  29. package/formation/request/DescribePropertyFormsByUserIdRequest.d.ts +37 -0
  30. package/formation/request/DescribePropertyFormsByUserIdRequest.js +125 -0
  31. package/formation/request/DescribePropertyFormsByUserIdRequest.js.map +1 -0
  32. package/formation/request/DescribePropertyFormsByUserIdRequest.ts +132 -0
  33. package/formation/request/DescribePropertyFormsRequest.d.ts +37 -0
  34. package/formation/request/DescribePropertyFormsRequest.js +125 -0
  35. package/formation/request/DescribePropertyFormsRequest.js.map +1 -0
  36. package/formation/request/DescribePropertyFormsRequest.ts +132 -0
  37. package/formation/request/GetFormModelRequest.d.ts +25 -0
  38. package/formation/request/GetFormModelRequest.js +83 -0
  39. package/formation/request/GetFormModelRequest.js.map +1 -0
  40. package/formation/request/GetFormModelRequest.ts +90 -0
  41. package/formation/request/GetPropertyFormByUserIdRequest.d.ts +33 -0
  42. package/formation/request/GetPropertyFormByUserIdRequest.js +111 -0
  43. package/formation/request/GetPropertyFormByUserIdRequest.js.map +1 -0
  44. package/formation/request/GetPropertyFormByUserIdRequest.ts +118 -0
  45. package/formation/request/GetPropertyFormRequest.d.ts +33 -0
  46. package/formation/request/GetPropertyFormRequest.js +111 -0
  47. package/formation/request/GetPropertyFormRequest.js.map +1 -0
  48. package/formation/request/GetPropertyFormRequest.ts +118 -0
  49. package/formation/request/GetPropertyFormWithSignatureByUserIdRequest.d.ts +37 -0
  50. package/formation/request/GetPropertyFormWithSignatureByUserIdRequest.js +125 -0
  51. package/formation/request/GetPropertyFormWithSignatureByUserIdRequest.js.map +1 -0
  52. package/formation/request/GetPropertyFormWithSignatureByUserIdRequest.ts +132 -0
  53. package/formation/request/GetPropertyFormWithSignatureRequest.d.ts +37 -0
  54. package/formation/request/GetPropertyFormWithSignatureRequest.js +125 -0
  55. package/formation/request/GetPropertyFormWithSignatureRequest.js.map +1 -0
  56. package/formation/request/GetPropertyFormWithSignatureRequest.ts +132 -0
  57. package/formation/request/SetPropertyFormByUserIdRequest.d.ts +42 -0
  58. package/formation/request/SetPropertyFormByUserIdRequest.js +145 -0
  59. package/formation/request/SetPropertyFormByUserIdRequest.js.map +1 -0
  60. package/formation/request/SetPropertyFormByUserIdRequest.ts +155 -0
  61. package/formation/request/SetPropertyFormWithSignatureRequest.d.ts +42 -0
  62. package/formation/request/SetPropertyFormWithSignatureRequest.js +147 -0
  63. package/formation/request/SetPropertyFormWithSignatureRequest.js.map +1 -0
  64. package/formation/request/SetPropertyFormWithSignatureRequest.ts +154 -0
  65. package/formation/request/index.d.ts +15 -1
  66. package/formation/request/index.js +30 -1
  67. package/formation/request/index.js.map +1 -1
  68. package/formation/request/index.ts +28 -0
  69. package/formation/rest.d.ts +14 -0
  70. package/formation/rest.js +387 -0
  71. package/formation/rest.js.map +1 -1
  72. package/formation/rest.ts +443 -0
  73. package/formation/result/AcquireActionToPropertyFormPropertiesByStampSheetResult.d.ts +30 -0
  74. package/formation/result/AcquireActionToPropertyFormPropertiesByStampSheetResult.js +104 -0
  75. package/formation/result/AcquireActionToPropertyFormPropertiesByStampSheetResult.js.map +1 -0
  76. package/formation/result/AcquireActionToPropertyFormPropertiesByStampSheetResult.ts +116 -0
  77. package/formation/result/AcquireActionsToPropertyFormPropertiesResult.d.ts +30 -0
  78. package/formation/result/AcquireActionsToPropertyFormPropertiesResult.js +104 -0
  79. package/formation/result/AcquireActionsToPropertyFormPropertiesResult.js.map +1 -0
  80. package/formation/result/AcquireActionsToPropertyFormPropertiesResult.ts +116 -0
  81. package/formation/result/DeletePropertyFormByUserIdResult.d.ts +18 -0
  82. package/formation/result/DeletePropertyFormByUserIdResult.js +62 -0
  83. package/formation/result/DeletePropertyFormByUserIdResult.js.map +1 -0
  84. package/formation/result/DeletePropertyFormByUserIdResult.ts +65 -0
  85. package/formation/result/DeletePropertyFormResult.d.ts +18 -0
  86. package/formation/result/DeletePropertyFormResult.js +62 -0
  87. package/formation/result/DeletePropertyFormResult.js.map +1 -0
  88. package/formation/result/DeletePropertyFormResult.ts +65 -0
  89. package/formation/result/DescribeFormModelsResult.d.ts +14 -0
  90. package/formation/result/DescribeFormModelsResult.js +53 -0
  91. package/formation/result/DescribeFormModelsResult.js.map +1 -0
  92. package/formation/result/DescribeFormModelsResult.ts +56 -0
  93. package/formation/result/DescribePropertyFormsByUserIdResult.d.ts +18 -0
  94. package/formation/result/DescribePropertyFormsByUserIdResult.js +67 -0
  95. package/formation/result/DescribePropertyFormsByUserIdResult.js.map +1 -0
  96. package/formation/result/DescribePropertyFormsByUserIdResult.ts +73 -0
  97. package/formation/result/DescribePropertyFormsResult.d.ts +18 -0
  98. package/formation/result/DescribePropertyFormsResult.js +67 -0
  99. package/formation/result/DescribePropertyFormsResult.js.map +1 -0
  100. package/formation/result/DescribePropertyFormsResult.ts +73 -0
  101. package/formation/result/GetFormModelResult.d.ts +14 -0
  102. package/formation/result/GetFormModelResult.js +48 -0
  103. package/formation/result/GetFormModelResult.js.map +1 -0
  104. package/formation/result/GetFormModelResult.ts +48 -0
  105. package/formation/result/GetPropertyFormByUserIdResult.d.ts +18 -0
  106. package/formation/result/GetPropertyFormByUserIdResult.js +62 -0
  107. package/formation/result/GetPropertyFormByUserIdResult.js.map +1 -0
  108. package/formation/result/GetPropertyFormByUserIdResult.ts +65 -0
  109. package/formation/result/GetPropertyFormResult.d.ts +18 -0
  110. package/formation/result/GetPropertyFormResult.js +62 -0
  111. package/formation/result/GetPropertyFormResult.js.map +1 -0
  112. package/formation/result/GetPropertyFormResult.ts +65 -0
  113. package/formation/result/GetPropertyFormWithSignatureByUserIdResult.d.ts +26 -0
  114. package/formation/result/GetPropertyFormWithSignatureByUserIdResult.js +90 -0
  115. package/formation/result/GetPropertyFormWithSignatureByUserIdResult.js.map +1 -0
  116. package/formation/result/GetPropertyFormWithSignatureByUserIdResult.ts +99 -0
  117. package/formation/result/GetPropertyFormWithSignatureResult.d.ts +26 -0
  118. package/formation/result/GetPropertyFormWithSignatureResult.js +90 -0
  119. package/formation/result/GetPropertyFormWithSignatureResult.js.map +1 -0
  120. package/formation/result/GetPropertyFormWithSignatureResult.ts +99 -0
  121. package/formation/result/SetPropertyFormByUserIdResult.d.ts +18 -0
  122. package/formation/result/SetPropertyFormByUserIdResult.js +62 -0
  123. package/formation/result/SetPropertyFormByUserIdResult.js.map +1 -0
  124. package/formation/result/SetPropertyFormByUserIdResult.ts +65 -0
  125. package/formation/result/SetPropertyFormWithSignatureResult.d.ts +18 -0
  126. package/formation/result/SetPropertyFormWithSignatureResult.js +62 -0
  127. package/formation/result/SetPropertyFormWithSignatureResult.js.map +1 -0
  128. package/formation/result/SetPropertyFormWithSignatureResult.ts +65 -0
  129. package/formation/result/index.d.ts +15 -1
  130. package/formation/result/index.js +30 -1
  131. package/formation/result/index.js.map +1 -1
  132. package/formation/result/index.ts +28 -0
  133. package/package.json +1 -1
@@ -0,0 +1,46 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ import Slot from './Slot';
3
+ export default class PropertyForm implements IModel {
4
+ private formId;
5
+ private userId;
6
+ private name;
7
+ private propertyId;
8
+ private slots;
9
+ private createdAt;
10
+ private updatedAt;
11
+ static getRegion(grn: string): string | null;
12
+ static getOwnerId(grn: string): string | null;
13
+ static getNamespaceName(grn: string): string | null;
14
+ static getUserId(grn: string): string | null;
15
+ static getFormModelName(grn: string): string | null;
16
+ static getPropertyId(grn: string): string | null;
17
+ static isValid(grn: string): boolean;
18
+ static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, userId: string | null, formModelName: string | null, propertyId: string | null): string | null;
19
+ getFormId(): string | null;
20
+ setFormId(formId: string | null): this;
21
+ withFormId(formId: string | null): this;
22
+ getUserId(): string | null;
23
+ setUserId(userId: string | null): this;
24
+ withUserId(userId: string | null): this;
25
+ getName(): string | null;
26
+ setName(name: string | null): this;
27
+ withName(name: string | null): this;
28
+ getPropertyId(): string | null;
29
+ setPropertyId(propertyId: string | null): this;
30
+ withPropertyId(propertyId: string | null): this;
31
+ getSlots(): Slot[] | null;
32
+ setSlots(slots: Slot[] | null): this;
33
+ withSlots(slots: Slot[] | null): this;
34
+ getCreatedAt(): number | null;
35
+ setCreatedAt(createdAt: number | null): this;
36
+ withCreatedAt(createdAt: number | null): this;
37
+ getUpdatedAt(): number | null;
38
+ setUpdatedAt(updatedAt: number | null): this;
39
+ withUpdatedAt(updatedAt: number | null): this;
40
+ static fromDict(data: {
41
+ [key: string]: any;
42
+ }): PropertyForm | null;
43
+ toDict(): {
44
+ [key: string]: any;
45
+ };
46
+ }
@@ -0,0 +1,249 @@
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 Slot_1 = tslib_1.__importDefault(require("./Slot"));
20
+ var grnFormat = "grn:gs2:{region}:{ownerId}:formation:{namespaceName}:user:{userId}:propertyForm:{formModelName}:{propertyId}";
21
+ var PropertyForm = /** @class */ (function () {
22
+ function PropertyForm() {
23
+ this.formId = null;
24
+ this.userId = null;
25
+ this.name = null;
26
+ this.propertyId = null;
27
+ this.slots = null;
28
+ this.createdAt = null;
29
+ this.updatedAt = null;
30
+ }
31
+ PropertyForm.getRegion = function (grn) {
32
+ var match = grn.match(grnFormat
33
+ .replace('{region}', '(.*)')
34
+ .replace('{ownerId}', '.*')
35
+ .replace('{namespaceName}', '.*')
36
+ .replace('{userId}', '.*')
37
+ .replace('{formModelName}', '.*')
38
+ .replace('{propertyId}', '.*'));
39
+ if (match) {
40
+ return match[1];
41
+ }
42
+ return null;
43
+ };
44
+ PropertyForm.getOwnerId = function (grn) {
45
+ var match = grn.match(grnFormat
46
+ .replace('{region}', '.*')
47
+ .replace('{ownerId}', '(.*)')
48
+ .replace('{namespaceName}', '.*')
49
+ .replace('{userId}', '.*')
50
+ .replace('{formModelName}', '.*')
51
+ .replace('{propertyId}', '.*'));
52
+ if (match) {
53
+ return match[1];
54
+ }
55
+ return null;
56
+ };
57
+ PropertyForm.getNamespaceName = function (grn) {
58
+ var match = grn.match(grnFormat
59
+ .replace('{region}', '.*')
60
+ .replace('{ownerId}', '.*')
61
+ .replace('{namespaceName}', '(.*)')
62
+ .replace('{userId}', '.*')
63
+ .replace('{formModelName}', '.*')
64
+ .replace('{propertyId}', '.*'));
65
+ if (match) {
66
+ return match[1];
67
+ }
68
+ return null;
69
+ };
70
+ PropertyForm.getUserId = function (grn) {
71
+ var match = grn.match(grnFormat
72
+ .replace('{region}', '.*')
73
+ .replace('{ownerId}', '.*')
74
+ .replace('{namespaceName}', '.*')
75
+ .replace('{userId}', '(.*)')
76
+ .replace('{formModelName}', '.*')
77
+ .replace('{propertyId}', '.*'));
78
+ if (match) {
79
+ return match[1];
80
+ }
81
+ return null;
82
+ };
83
+ PropertyForm.getFormModelName = function (grn) {
84
+ var match = grn.match(grnFormat
85
+ .replace('{region}', '.*')
86
+ .replace('{ownerId}', '.*')
87
+ .replace('{namespaceName}', '.*')
88
+ .replace('{userId}', '.*')
89
+ .replace('{formModelName}', '(.*)')
90
+ .replace('{propertyId}', '.*'));
91
+ if (match) {
92
+ return match[1];
93
+ }
94
+ return null;
95
+ };
96
+ PropertyForm.getPropertyId = function (grn) {
97
+ var match = grn.match(grnFormat
98
+ .replace('{region}', '.*')
99
+ .replace('{ownerId}', '.*')
100
+ .replace('{namespaceName}', '.*')
101
+ .replace('{userId}', '.*')
102
+ .replace('{formModelName}', '.*')
103
+ .replace('{propertyId}', '(.*)'));
104
+ if (match) {
105
+ return match[1];
106
+ }
107
+ return null;
108
+ };
109
+ PropertyForm.isValid = function (grn) {
110
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
111
+ return false;
112
+ }
113
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
114
+ return false;
115
+ }
116
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
117
+ return false;
118
+ }
119
+ if (this.getUserId(grn) == null || this.getUserId(grn) === '') {
120
+ return false;
121
+ }
122
+ if (this.getFormModelName(grn) == null || this.getFormModelName(grn) === '') {
123
+ return false;
124
+ }
125
+ if (this.getPropertyId(grn) == null || this.getPropertyId(grn) === '') {
126
+ return false;
127
+ }
128
+ return true;
129
+ };
130
+ PropertyForm.createGrn = function (region, ownerId, namespaceName, userId, formModelName, propertyId) {
131
+ return grnFormat
132
+ .replace('{region}', region !== null && region !== void 0 ? region : '')
133
+ .replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
134
+ .replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
135
+ .replace('{userId}', userId !== null && userId !== void 0 ? userId : '')
136
+ .replace('{formModelName}', formModelName !== null && formModelName !== void 0 ? formModelName : '')
137
+ .replace('{propertyId}', propertyId !== null && propertyId !== void 0 ? propertyId : '');
138
+ };
139
+ PropertyForm.prototype.getFormId = function () {
140
+ return this.formId;
141
+ };
142
+ PropertyForm.prototype.setFormId = function (formId) {
143
+ this.formId = formId;
144
+ return this;
145
+ };
146
+ PropertyForm.prototype.withFormId = function (formId) {
147
+ this.formId = formId;
148
+ return this;
149
+ };
150
+ PropertyForm.prototype.getUserId = function () {
151
+ return this.userId;
152
+ };
153
+ PropertyForm.prototype.setUserId = function (userId) {
154
+ this.userId = userId;
155
+ return this;
156
+ };
157
+ PropertyForm.prototype.withUserId = function (userId) {
158
+ this.userId = userId;
159
+ return this;
160
+ };
161
+ PropertyForm.prototype.getName = function () {
162
+ return this.name;
163
+ };
164
+ PropertyForm.prototype.setName = function (name) {
165
+ this.name = name;
166
+ return this;
167
+ };
168
+ PropertyForm.prototype.withName = function (name) {
169
+ this.name = name;
170
+ return this;
171
+ };
172
+ PropertyForm.prototype.getPropertyId = function () {
173
+ return this.propertyId;
174
+ };
175
+ PropertyForm.prototype.setPropertyId = function (propertyId) {
176
+ this.propertyId = propertyId;
177
+ return this;
178
+ };
179
+ PropertyForm.prototype.withPropertyId = function (propertyId) {
180
+ this.propertyId = propertyId;
181
+ return this;
182
+ };
183
+ PropertyForm.prototype.getSlots = function () {
184
+ return this.slots;
185
+ };
186
+ PropertyForm.prototype.setSlots = function (slots) {
187
+ this.slots = slots;
188
+ return this;
189
+ };
190
+ PropertyForm.prototype.withSlots = function (slots) {
191
+ this.slots = slots;
192
+ return this;
193
+ };
194
+ PropertyForm.prototype.getCreatedAt = function () {
195
+ return this.createdAt;
196
+ };
197
+ PropertyForm.prototype.setCreatedAt = function (createdAt) {
198
+ this.createdAt = createdAt;
199
+ return this;
200
+ };
201
+ PropertyForm.prototype.withCreatedAt = function (createdAt) {
202
+ this.createdAt = createdAt;
203
+ return this;
204
+ };
205
+ PropertyForm.prototype.getUpdatedAt = function () {
206
+ return this.updatedAt;
207
+ };
208
+ PropertyForm.prototype.setUpdatedAt = function (updatedAt) {
209
+ this.updatedAt = updatedAt;
210
+ return this;
211
+ };
212
+ PropertyForm.prototype.withUpdatedAt = function (updatedAt) {
213
+ this.updatedAt = updatedAt;
214
+ return this;
215
+ };
216
+ PropertyForm.fromDict = function (data) {
217
+ if (data == undefined || data == null) {
218
+ return null;
219
+ }
220
+ return new PropertyForm()
221
+ .withFormId(data["formId"])
222
+ .withUserId(data["userId"])
223
+ .withName(data["name"])
224
+ .withPropertyId(data["propertyId"])
225
+ .withSlots(data.slots ?
226
+ data.slots.map(function (item) {
227
+ return Slot_1.default.fromDict(item);
228
+ }) : [])
229
+ .withCreatedAt(data["createdAt"])
230
+ .withUpdatedAt(data["updatedAt"]);
231
+ };
232
+ PropertyForm.prototype.toDict = function () {
233
+ return {
234
+ "formId": this.getFormId(),
235
+ "userId": this.getUserId(),
236
+ "name": this.getName(),
237
+ "propertyId": this.getPropertyId(),
238
+ "slots": this.getSlots() ?
239
+ this.getSlots().map(function (item) {
240
+ return item.toDict();
241
+ }) : [],
242
+ "createdAt": this.getCreatedAt(),
243
+ "updatedAt": this.getUpdatedAt(),
244
+ };
245
+ };
246
+ return PropertyForm;
247
+ }());
248
+ exports.default = PropertyForm;
249
+ //# sourceMappingURL=PropertyForm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyForm.js","sourceRoot":"","sources":["PropertyForm.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,wDAA0B;AAC1B,IAAM,SAAS,GAAW,8GAA8G,CAAC;AAEzI;IAAA;QACY,WAAM,GAAgB,IAAI,CAAC;QAC3B,WAAM,GAAgB,IAAI,CAAC;QAC3B,SAAI,GAAgB,IAAI,CAAC;QACzB,eAAU,GAAgB,IAAI,CAAC;QAC/B,UAAK,GAAgB,IAAI,CAAC;QAC1B,cAAS,GAAgB,IAAI,CAAC;QAC9B,cAAS,GAAgB,IAAI,CAAC;IAiP1C,CAAC;IA/OiB,sBAAS,GAAvB,UAAwB,GAAW;QAC/B,IAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,SAAS;aAC5B,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC;aAC3B,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC;aAC1B,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC;aAChC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC;aACzB,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC;aAChC,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC,CACjC,CAAC;QACF,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;SACnB;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uBAAU,GAAxB,UAAyB,GAAW;QAChC,IAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,SAAS;aAC5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,CAAC;aACtB,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aAClC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,cAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC/B,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1C,CAAC;IAEM,6BAAM,GAAb;QACI,OAAO;YACH,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAU;oBAC5B,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;SACnC,CAAC;IACN,CAAC;IACL,mBAAC;AAAD,CAAC,AAxPD,IAwPC"}
@@ -0,0 +1,269 @@
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
+ import Slot from './Slot';
19
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:formation:{namespaceName}:user:{userId}:propertyForm:{formModelName}:{propertyId}";
20
+
21
+ export default class PropertyForm implements IModel {
22
+ private formId: string|null = null;
23
+ private userId: string|null = null;
24
+ private name: string|null = null;
25
+ private propertyId: string|null = null;
26
+ private slots: Slot[]|null = null;
27
+ private createdAt: number|null = null;
28
+ private updatedAt: number|null = null;
29
+
30
+ public static getRegion(grn: string): string|null {
31
+ const match = grn.match(grnFormat
32
+ .replace('{region}', '(.*)')
33
+ .replace('{ownerId}', '.*')
34
+ .replace('{namespaceName}', '.*')
35
+ .replace('{userId}', '.*')
36
+ .replace('{formModelName}', '.*')
37
+ .replace('{propertyId}', '.*')
38
+ );
39
+ if (match) {
40
+ return match[1];
41
+ }
42
+ return null;
43
+ }
44
+
45
+ public static getOwnerId(grn: string): string|null {
46
+ const match = grn.match(grnFormat
47
+ .replace('{region}', '.*')
48
+ .replace('{ownerId}', '(.*)')
49
+ .replace('{namespaceName}', '.*')
50
+ .replace('{userId}', '.*')
51
+ .replace('{formModelName}', '.*')
52
+ .replace('{propertyId}', '.*')
53
+ );
54
+ if (match) {
55
+ return match[1];
56
+ }
57
+ return null;
58
+ }
59
+
60
+ public static getNamespaceName(grn: string): string|null {
61
+ const match = grn.match(grnFormat
62
+ .replace('{region}', '.*')
63
+ .replace('{ownerId}', '.*')
64
+ .replace('{namespaceName}', '(.*)')
65
+ .replace('{userId}', '.*')
66
+ .replace('{formModelName}', '.*')
67
+ .replace('{propertyId}', '.*')
68
+ );
69
+ if (match) {
70
+ return match[1];
71
+ }
72
+ return null;
73
+ }
74
+
75
+ public static getUserId(grn: string): string|null {
76
+ const match = grn.match(grnFormat
77
+ .replace('{region}', '.*')
78
+ .replace('{ownerId}', '.*')
79
+ .replace('{namespaceName}', '.*')
80
+ .replace('{userId}', '(.*)')
81
+ .replace('{formModelName}', '.*')
82
+ .replace('{propertyId}', '.*')
83
+ );
84
+ if (match) {
85
+ return match[1];
86
+ }
87
+ return null;
88
+ }
89
+
90
+ public static getFormModelName(grn: string): string|null {
91
+ const match = grn.match(grnFormat
92
+ .replace('{region}', '.*')
93
+ .replace('{ownerId}', '.*')
94
+ .replace('{namespaceName}', '.*')
95
+ .replace('{userId}', '.*')
96
+ .replace('{formModelName}', '(.*)')
97
+ .replace('{propertyId}', '.*')
98
+ );
99
+ if (match) {
100
+ return match[1];
101
+ }
102
+ return null;
103
+ }
104
+
105
+ public static getPropertyId(grn: string): string|null {
106
+ const match = grn.match(grnFormat
107
+ .replace('{region}', '.*')
108
+ .replace('{ownerId}', '.*')
109
+ .replace('{namespaceName}', '.*')
110
+ .replace('{userId}', '.*')
111
+ .replace('{formModelName}', '.*')
112
+ .replace('{propertyId}', '(.*)')
113
+ );
114
+ if (match) {
115
+ return match[1];
116
+ }
117
+ return null;
118
+ }
119
+
120
+ public static isValid(grn: string): boolean {
121
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
122
+ return false;
123
+ }
124
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
125
+ return false;
126
+ }
127
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
128
+ return false;
129
+ }
130
+ if (this.getUserId(grn) == null || this.getUserId(grn) === '') {
131
+ return false;
132
+ }
133
+ if (this.getFormModelName(grn) == null || this.getFormModelName(grn) === '') {
134
+ return false;
135
+ }
136
+ if (this.getPropertyId(grn) == null || this.getPropertyId(grn) === '') {
137
+ return false;
138
+ }
139
+ return true;
140
+ }
141
+
142
+ public static createGrn(
143
+ region: string|null,
144
+ ownerId: string|null,
145
+ namespaceName: string|null,
146
+ userId: string|null,
147
+ formModelName: string|null,
148
+ propertyId: string|null,
149
+ ): string|null {
150
+ return grnFormat
151
+ .replace('{region}', region ?? '')
152
+ .replace('{ownerId}', ownerId ?? '')
153
+ .replace('{namespaceName}', namespaceName ?? '')
154
+ .replace('{userId}', userId ?? '')
155
+ .replace('{formModelName}', formModelName ?? '')
156
+ .replace('{propertyId}', propertyId ?? '');
157
+ }
158
+ public getFormId(): string|null {
159
+ return this.formId;
160
+ }
161
+ public setFormId(formId: string|null) {
162
+ this.formId = formId;
163
+ return this;
164
+ }
165
+ public withFormId(formId: string|null): this {
166
+ this.formId = formId;
167
+ return this;
168
+ }
169
+ public getUserId(): string|null {
170
+ return this.userId;
171
+ }
172
+ public setUserId(userId: string|null) {
173
+ this.userId = userId;
174
+ return this;
175
+ }
176
+ public withUserId(userId: string|null): this {
177
+ this.userId = userId;
178
+ return this;
179
+ }
180
+ public getName(): string|null {
181
+ return this.name;
182
+ }
183
+ public setName(name: string|null) {
184
+ this.name = name;
185
+ return this;
186
+ }
187
+ public withName(name: string|null): this {
188
+ this.name = name;
189
+ return this;
190
+ }
191
+ public getPropertyId(): string|null {
192
+ return this.propertyId;
193
+ }
194
+ public setPropertyId(propertyId: string|null) {
195
+ this.propertyId = propertyId;
196
+ return this;
197
+ }
198
+ public withPropertyId(propertyId: string|null): this {
199
+ this.propertyId = propertyId;
200
+ return this;
201
+ }
202
+ public getSlots(): Slot[]|null {
203
+ return this.slots;
204
+ }
205
+ public setSlots(slots: Slot[]|null) {
206
+ this.slots = slots;
207
+ return this;
208
+ }
209
+ public withSlots(slots: Slot[]|null): this {
210
+ this.slots = slots;
211
+ return this;
212
+ }
213
+ public getCreatedAt(): number|null {
214
+ return this.createdAt;
215
+ }
216
+ public setCreatedAt(createdAt: number|null) {
217
+ this.createdAt = createdAt;
218
+ return this;
219
+ }
220
+ public withCreatedAt(createdAt: number|null): this {
221
+ this.createdAt = createdAt;
222
+ return this;
223
+ }
224
+ public getUpdatedAt(): number|null {
225
+ return this.updatedAt;
226
+ }
227
+ public setUpdatedAt(updatedAt: number|null) {
228
+ this.updatedAt = updatedAt;
229
+ return this;
230
+ }
231
+ public withUpdatedAt(updatedAt: number|null): this {
232
+ this.updatedAt = updatedAt;
233
+ return this;
234
+ }
235
+
236
+ public static fromDict(data: {[key: string]: any}): PropertyForm|null {
237
+ if (data == undefined || data == null) {
238
+ return null;
239
+ }
240
+ return new PropertyForm()
241
+ .withFormId(data["formId"])
242
+ .withUserId(data["userId"])
243
+ .withName(data["name"])
244
+ .withPropertyId(data["propertyId"])
245
+ .withSlots(data.slots ?
246
+ data.slots.map((item: {[key: string]: any}) => {
247
+ return Slot.fromDict(item);
248
+ }
249
+ ) : [])
250
+ .withCreatedAt(data["createdAt"])
251
+ .withUpdatedAt(data["updatedAt"]);
252
+ }
253
+
254
+ public toDict(): {[key: string]: any} {
255
+ return {
256
+ "formId": this.getFormId(),
257
+ "userId": this.getUserId(),
258
+ "name": this.getName(),
259
+ "propertyId": this.getPropertyId(),
260
+ "slots": this.getSlots() ?
261
+ this.getSlots()!.map((item: Slot) => {
262
+ return item.toDict();
263
+ }
264
+ ) : [],
265
+ "createdAt": this.getCreatedAt(),
266
+ "updatedAt": this.getUpdatedAt(),
267
+ };
268
+ }
269
+ }
@@ -6,6 +6,7 @@ import MoldModelMaster from "./MoldModelMaster";
6
6
  import CurrentFormMaster from "./CurrentFormMaster";
7
7
  import Mold from "./Mold";
8
8
  import Form from "./Form";
9
+ import PropertyForm from "./PropertyForm";
9
10
  import Slot from "./Slot";
10
11
  import SlotModel from "./SlotModel";
11
12
  import SlotWithSignature from "./SlotWithSignature";
@@ -16,4 +17,4 @@ import GitHubCheckoutSetting from "./GitHubCheckoutSetting";
16
17
  import ScriptSetting from "./ScriptSetting";
17
18
  import LogSetting from "./LogSetting";
18
19
  import TransactionSetting from "./TransactionSetting";
19
- export { Namespace, FormModel, FormModelMaster, MoldModel, MoldModelMaster, CurrentFormMaster, Mold, Form, Slot, SlotModel, SlotWithSignature, AcquireAction, AcquireActionConfig, Config, GitHubCheckoutSetting, ScriptSetting, LogSetting, TransactionSetting, };
20
+ export { Namespace, FormModel, FormModelMaster, MoldModel, MoldModelMaster, CurrentFormMaster, Mold, Form, PropertyForm, Slot, SlotModel, SlotWithSignature, AcquireAction, AcquireActionConfig, Config, GitHubCheckoutSetting, ScriptSetting, LogSetting, TransactionSetting, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionSetting = exports.LogSetting = exports.ScriptSetting = exports.GitHubCheckoutSetting = exports.Config = exports.AcquireActionConfig = exports.AcquireAction = exports.SlotWithSignature = exports.SlotModel = exports.Slot = exports.Form = exports.Mold = exports.CurrentFormMaster = exports.MoldModelMaster = exports.MoldModel = exports.FormModelMaster = exports.FormModel = exports.Namespace = void 0;
3
+ exports.TransactionSetting = exports.LogSetting = exports.ScriptSetting = exports.GitHubCheckoutSetting = exports.Config = exports.AcquireActionConfig = exports.AcquireAction = exports.SlotWithSignature = exports.SlotModel = exports.Slot = exports.PropertyForm = exports.Form = exports.Mold = exports.CurrentFormMaster = exports.MoldModelMaster = exports.MoldModel = exports.FormModelMaster = exports.FormModel = 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
@@ -33,6 +33,8 @@ var Mold_1 = tslib_1.__importDefault(require("./Mold"));
33
33
  exports.Mold = Mold_1.default;
34
34
  var Form_1 = tslib_1.__importDefault(require("./Form"));
35
35
  exports.Form = Form_1.default;
36
+ var PropertyForm_1 = tslib_1.__importDefault(require("./PropertyForm"));
37
+ exports.PropertyForm = PropertyForm_1.default;
36
38
  var Slot_1 = tslib_1.__importDefault(require("./Slot"));
37
39
  exports.Slot = Slot_1.default;
38
40
  var SlotModel_1 = tslib_1.__importDefault(require("./SlotModel"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAoB/B,oBApBG,mBAAS,CAoBH;AAnBb,kEAAmC;AAoB/B,oBApBG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sBAAY,CAqBH;AApBhB,wDAAyB;AAqBrB,eArBG,cAAI,CAqBH;AApBR,kEAAmC;AAqB/B,oBArBG,mBAAS,CAqBH;AApBb,kFAAmD;AAqB/C,4BArBG,2BAAiB,CAqBH;AApBrB,0EAA2C;AAqBvC,wBArBG,uBAAa,CAqBH;AApBjB,sFAAuD;AAqBnD,8BArBG,6BAAmB,CAqBH;AApBvB,4DAA6B;AAqBzB,iBArBG,gBAAM,CAqBH;AApBV,0FAA2D;AAqBvD,gCArBG,+BAAqB,CAqBH;AApBzB,0EAA2C;AAqBvC,wBArBG,uBAAa,CAqBH;AApBjB,oEAAqC;AAqBjC,qBArBG,oBAAU,CAqBH;AApBd,oFAAqD;AAqBjD,6BArBG,4BAAkB,CAqBH"}
@@ -21,6 +21,7 @@ import MoldModelMaster from "./MoldModelMaster"
21
21
  import CurrentFormMaster from "./CurrentFormMaster"
22
22
  import Mold from "./Mold"
23
23
  import Form from "./Form"
24
+ import PropertyForm from "./PropertyForm"
24
25
  import Slot from "./Slot"
25
26
  import SlotModel from "./SlotModel"
26
27
  import SlotWithSignature from "./SlotWithSignature"
@@ -41,6 +42,7 @@ export {
41
42
  CurrentFormMaster,
42
43
  Mold,
43
44
  Form,
45
+ PropertyForm,
44
46
  Slot,
45
47
  SlotModel,
46
48
  SlotWithSignature,
@@ -0,0 +1,25 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class AcquireActionToPropertyFormPropertiesByStampSheetRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private stampSheet;
6
+ private keyId;
7
+ getRequestId(): string | null;
8
+ setRequestId(requestId: string | null): this;
9
+ withRequestId(requestId: string | null): this;
10
+ getContextStack(): string | null;
11
+ setContextStack(contextStack: string | null): this;
12
+ withContextStack(contextStack: string | null): this;
13
+ getStampSheet(): string | null;
14
+ setStampSheet(stampSheet: string | null): this;
15
+ withStampSheet(stampSheet: string | null): this;
16
+ getKeyId(): string | null;
17
+ setKeyId(keyId: string | null): this;
18
+ withKeyId(keyId: string | null): this;
19
+ static fromDict(data: {
20
+ [key: string]: any;
21
+ }): AcquireActionToPropertyFormPropertiesByStampSheetRequest;
22
+ toDict(): {
23
+ [key: string]: any;
24
+ };
25
+ }