@licensespring/node-sdk 1.0.10 → 1.1.0-alpha

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.
@@ -88,32 +88,26 @@ class LicenseManager extends abstract_manager_1.default {
88
88
  }
89
89
  checkLicense(payload) {
90
90
  return __awaiter(this, void 0, void 0, function* () {
91
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
92
- path: _path + ".username",
93
- expected: "(string | undefined)",
94
- value: input.username
95
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
96
- path: _path + ".license_key",
97
- expected: "(string | undefined)",
98
- value: input.license_key
99
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
100
- path: _path + ".license_id",
101
- expected: "(number | undefined)",
102
- value: input.license_id
103
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
104
- path: _path + ".bundle_code",
105
- expected: "(string | undefined)",
106
- value: input.bundle_code
107
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
91
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
92
+ const value = input[key];
93
+ if (undefined === value)
94
+ return true;
95
+ return true;
96
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
97
+ const value = input[key];
98
+ if (undefined === value)
99
+ return true;
100
+ return true;
101
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
108
102
  if (false === __is(input)) {
109
103
  _errorFactory = errorFactory;
110
104
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
111
105
  path: _path + "",
112
- expected: "Managed<LicenseIdentificator>",
106
+ expected: "Managed<{ [x: string]: unknown; channel?: string | undefined; username?: string | undefined; env?: string | undefined; hostname?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; ... 9 more ...; license_key: string; } | { ...; }>",
113
107
  value: input
114
108
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
115
109
  path: _path + "",
116
- expected: "Managed<LicenseIdentificator>",
110
+ expected: "Managed<{ [x: string]: unknown; channel?: string | undefined; username?: string | undefined; env?: string | undefined; hostname?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; ... 9 more ...; license_key: string; } | { ...; }>",
117
111
  value: input
118
112
  }, _errorFactory))(input, "$input", true);
119
113
  }
@@ -129,54 +123,26 @@ class LicenseManager extends abstract_manager_1.default {
129
123
  ;
130
124
  activateLicense(payload) {
131
125
  return __awaiter(this, void 0, void 0, function* () {
132
- (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && $io1(input.variables)); const $io1 = input => Object.keys(input).every(key => {
126
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
133
127
  const value = input[key];
134
128
  if (undefined === value)
135
129
  return true;
136
- return "string" === typeof value;
137
- }); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
138
- path: _path + ".username",
139
- expected: "(string | undefined)",
140
- value: input.username
141
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
142
- path: _path + ".license_key",
143
- expected: "(string | undefined)",
144
- value: input.license_key
145
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
146
- path: _path + ".license_id",
147
- expected: "(number | undefined)",
148
- value: input.license_id
149
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
150
- path: _path + ".bundle_code",
151
- expected: "(string | undefined)",
152
- value: input.bundle_code
153
- }, _errorFactory)) && (undefined === input.variables || ("object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) || $guard(_exceptionable, {
154
- path: _path + ".variables",
155
- expected: "(Dictionary<string> | undefined)",
156
- value: input.variables
157
- }, _errorFactory)) && $ao1(input.variables, _path + ".variables", true && _exceptionable) || $guard(_exceptionable, {
158
- path: _path + ".variables",
159
- expected: "(Dictionary<string> | undefined)",
160
- value: input.variables
161
- }, _errorFactory)); const $ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
162
- const value = input[key];
163
- if (undefined === value)
164
- return true;
165
- return "string" === typeof value || $guard(_exceptionable, {
166
- path: _path + $join(key),
167
- expected: "string",
168
- value: value
169
- }, _errorFactory);
130
+ return true;
131
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
132
+ const value = input[key];
133
+ if (undefined === value)
134
+ return true;
135
+ return true;
170
136
  }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
171
137
  if (false === __is(input)) {
172
138
  _errorFactory = errorFactory;
173
139
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
174
140
  path: _path + "",
175
- expected: "Managed<LicenseIdentificatorWithVariables>",
141
+ expected: "Managed<{ [x: string]: unknown; code?: string | undefined; username?: string | undefined; password?: string | undefined; id_token?: string | undefined; customer_account_code?: string | undefined; ... 4 more ...; license_key: string; } | { ...; } | { ...; } | { ...; }>",
176
142
  value: input
177
143
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
178
144
  path: _path + "",
179
- expected: "Managed<LicenseIdentificatorWithVariables>",
145
+ expected: "Managed<{ [x: string]: unknown; code?: string | undefined; username?: string | undefined; password?: string | undefined; id_token?: string | undefined; customer_account_code?: string | undefined; ... 4 more ...; license_key: string; } | { ...; } | { ...; } | { ...; }>",
180
146
  value: input
181
147
  }, _errorFactory))(input, "$input", true);
182
148
  }
@@ -191,32 +157,26 @@ class LicenseManager extends abstract_manager_1.default {
191
157
  ;
192
158
  deactivateLicense(payload) {
193
159
  return __awaiter(this, void 0, void 0, function* () {
194
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
195
- path: _path + ".username",
196
- expected: "(string | undefined)",
197
- value: input.username
198
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
199
- path: _path + ".license_key",
200
- expected: "(string | undefined)",
201
- value: input.license_key
202
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
203
- path: _path + ".license_id",
204
- expected: "(number | undefined)",
205
- value: input.license_id
206
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
207
- path: _path + ".bundle_code",
208
- expected: "(string | undefined)",
209
- value: input.bundle_code
210
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
160
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
161
+ const value = input[key];
162
+ if (undefined === value)
163
+ return true;
164
+ return true;
165
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
166
+ const value = input[key];
167
+ if (undefined === value)
168
+ return true;
169
+ return true;
170
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
211
171
  if (false === __is(input)) {
212
172
  _errorFactory = errorFactory;
213
173
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
214
174
  path: _path + "",
215
- expected: "Managed<LicenseIdentificator>",
175
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; product: string; hardware_id: string; license_key: string; } | { [x: string]: unknown; license_key?: string | undefined; bundle_code?: string | undefined; product: string; username: string; hardware_id: string; }>",
216
176
  value: input
217
177
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
218
178
  path: _path + "",
219
- expected: "Managed<LicenseIdentificator>",
179
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; product: string; hardware_id: string; license_key: string; } | { [x: string]: unknown; license_key?: string | undefined; bundle_code?: string | undefined; product: string; username: string; hardware_id: string; }>",
220
180
  value: input
221
181
  }, _errorFactory))(input, "$input", true);
222
182
  }
@@ -230,155 +190,39 @@ class LicenseManager extends abstract_manager_1.default {
230
190
  }
231
191
  ;
232
192
  activateOffline(payload) {
193
+ const response = this.licenseAPI.checkOfflineActivationResponse(payload);
194
+ this.licenseFile.licenseDataCache.updateCache('activate_license_offline', response);
195
+ this.licenseFile.saveLicenseFile();
196
+ return response;
197
+ }
198
+ ;
199
+ deactivateOffline() {
200
+ this.licenseFile.licenseDataCache.deactivate();
201
+ this.licenseFile.saveLicenseFile();
202
+ }
203
+ ;
204
+ getTrialKey(payload) {
233
205
  return __awaiter(this, void 0, void 0, function* () {
234
- (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => (undefined === input.prefix || "string" === typeof input.prefix) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.hostname || "string" === typeof input.hostname) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && $io1(input.variables)) && (undefined === input.os_ver || "string" === typeof input.os_ver) && (undefined === input.sdk_build_version || "string" === typeof input.sdk_build_version) && (undefined === input.ip || "string" === typeof input.ip) && (undefined === input.external_ip || "string" === typeof input.external_ip) && (undefined === input.app_ver || "string" === typeof input.app_ver) && (undefined === input.mac_address || "string" === typeof input.mac_address); const $io1 = input => Object.keys(input).every(key => {
206
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
235
207
  const value = input[key];
236
208
  if (undefined === value)
237
209
  return true;
238
- return "string" === typeof value;
239
- }); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.prefix || "string" === typeof input.prefix || $guard(_exceptionable, {
240
- path: _path + ".prefix",
241
- expected: "(string | undefined)",
242
- value: input.prefix
243
- }, _errorFactory)) && (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
244
- path: _path + ".username",
245
- expected: "(string | undefined)",
246
- value: input.username
247
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
248
- path: _path + ".license_key",
249
- expected: "(string | undefined)",
250
- value: input.license_key
251
- }, _errorFactory)) && (undefined === input.hostname || "string" === typeof input.hostname || $guard(_exceptionable, {
252
- path: _path + ".hostname",
253
- expected: "(string | undefined)",
254
- value: input.hostname
255
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
256
- path: _path + ".license_id",
257
- expected: "(number | undefined)",
258
- value: input.license_id
259
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
260
- path: _path + ".bundle_code",
261
- expected: "(string | undefined)",
262
- value: input.bundle_code
263
- }, _errorFactory)) && (undefined === input.variables || ("object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) || $guard(_exceptionable, {
264
- path: _path + ".variables",
265
- expected: "(Dictionary<string> | undefined)",
266
- value: input.variables
267
- }, _errorFactory)) && $ao1(input.variables, _path + ".variables", true && _exceptionable) || $guard(_exceptionable, {
268
- path: _path + ".variables",
269
- expected: "(Dictionary<string> | undefined)",
270
- value: input.variables
271
- }, _errorFactory)) && (undefined === input.os_ver || "string" === typeof input.os_ver || $guard(_exceptionable, {
272
- path: _path + ".os_ver",
273
- expected: "(string | undefined)",
274
- value: input.os_ver
275
- }, _errorFactory)) && (undefined === input.sdk_build_version || "string" === typeof input.sdk_build_version || $guard(_exceptionable, {
276
- path: _path + ".sdk_build_version",
277
- expected: "(string | undefined)",
278
- value: input.sdk_build_version
279
- }, _errorFactory)) && (undefined === input.ip || "string" === typeof input.ip || $guard(_exceptionable, {
280
- path: _path + ".ip",
281
- expected: "(string | undefined)",
282
- value: input.ip
283
- }, _errorFactory)) && (undefined === input.external_ip || "string" === typeof input.external_ip || $guard(_exceptionable, {
284
- path: _path + ".external_ip",
285
- expected: "(string | undefined)",
286
- value: input.external_ip
287
- }, _errorFactory)) && (undefined === input.app_ver || "string" === typeof input.app_ver || $guard(_exceptionable, {
288
- path: _path + ".app_ver",
289
- expected: "(string | undefined)",
290
- value: input.app_ver
291
- }, _errorFactory)) && (undefined === input.mac_address || "string" === typeof input.mac_address || $guard(_exceptionable, {
292
- path: _path + ".mac_address",
293
- expected: "(string | undefined)",
294
- value: input.mac_address
295
- }, _errorFactory)); const $ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
210
+ return true;
211
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
296
212
  const value = input[key];
297
213
  if (undefined === value)
298
214
  return true;
299
- return "string" === typeof value || $guard(_exceptionable, {
300
- path: _path + $join(key),
301
- expected: "string",
302
- value: value
303
- }, _errorFactory);
215
+ return true;
304
216
  }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
305
217
  if (false === __is(input)) {
306
218
  _errorFactory = errorFactory;
307
219
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
308
220
  path: _path + "",
309
- expected: "Managed<LicenseIdentificatorOfflineWithVariables>",
221
+ expected: "Managed<__type>",
310
222
  value: input
311
223
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
312
224
  path: _path + "",
313
- expected: "Managed<LicenseIdentificatorOfflineWithVariables>",
314
- value: input
315
- }, _errorFactory))(input, "$input", true);
316
- }
317
- return input;
318
- }; })()(payload);
319
- const response = yield this.licenseAPI.activateOffline(Object.assign(Object.assign({}, payload), { product: this.config.productCode, hardware_id: this.getHardwareID() }));
320
- this.licenseFile.licenseDataCache.updateCache('activate_license_offline', response);
321
- this.licenseFile.saveLicenseFile();
322
- return response;
323
- });
324
- }
325
- ;
326
- deactivateOffline(payload) {
327
- return __awaiter(this, void 0, void 0, function* () {
328
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
329
- path: _path + ".username",
330
- expected: "(string | undefined)",
331
- value: input.username
332
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
333
- path: _path + ".license_key",
334
- expected: "(string | undefined)",
335
- value: input.license_key
336
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
337
- path: _path + ".license_id",
338
- expected: "(number | undefined)",
339
- value: input.license_id
340
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
341
- path: _path + ".bundle_code",
342
- expected: "(string | undefined)",
343
- value: input.bundle_code
344
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
345
- if (false === __is(input)) {
346
- _errorFactory = errorFactory;
347
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
348
- path: _path + "",
349
- expected: "Managed<LicenseIdentificator>",
350
- value: input
351
- }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
352
- path: _path + "",
353
- expected: "Managed<LicenseIdentificator>",
354
- value: input
355
- }, _errorFactory))(input, "$input", true);
356
- }
357
- return input;
358
- }; })()(payload);
359
- const response = yield this.licenseAPI.deactivateOffline(Object.assign(Object.assign({}, payload), { product: this.config.productCode, hardware_id: this.getHardwareID() }));
360
- this.licenseFile.licenseDataCache.deactivate();
361
- this.licenseFile.saveLicenseFile();
362
- return response;
363
- });
364
- }
365
- ;
366
- getTrialKey(payload) {
367
- return __awaiter(this, void 0, void 0, function* () {
368
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => "string" === typeof input.email; const $ao0 = (input, _path, _exceptionable = true) => "string" === typeof input.email || $guard(_exceptionable, {
369
- path: _path + ".email",
370
- expected: "string",
371
- value: input.email
372
- }, _errorFactory); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
373
- if (false === __is(input)) {
374
- _errorFactory = errorFactory;
375
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
376
- path: _path + "",
377
- expected: "Managed<TrialKeyPayload>",
378
- value: input
379
- }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
380
- path: _path + "",
381
- expected: "Managed<TrialKeyPayload>",
225
+ expected: "Managed<__type>",
382
226
  value: input
383
227
  }, _errorFactory))(input, "$input", true);
384
228
  }
@@ -393,24 +237,26 @@ class LicenseManager extends abstract_manager_1.default {
393
237
  ;
394
238
  getUserLicenses(payload) {
395
239
  return __awaiter(this, void 0, void 0, function* () {
396
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => "string" === typeof input.username && "string" === typeof input.password; const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.username || $guard(_exceptionable, {
397
- path: _path + ".username",
398
- expected: "string",
399
- value: input.username
400
- }, _errorFactory)) && ("string" === typeof input.password || $guard(_exceptionable, {
401
- path: _path + ".password",
402
- expected: "string",
403
- value: input.password
404
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
240
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
241
+ const value = input[key];
242
+ if (undefined === value)
243
+ return true;
244
+ return true;
245
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
246
+ const value = input[key];
247
+ if (undefined === value)
248
+ return true;
249
+ return true;
250
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
405
251
  if (false === __is(input)) {
406
252
  _errorFactory = errorFactory;
407
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
253
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
408
254
  path: _path + "",
409
- expected: "Managed<GetUserLicensesPayload>",
255
+ expected: "Managed<{ [x: string]: unknown; code?: string | undefined; product?: string | undefined; id_token?: string | undefined; customer_account_code?: string | undefined; username: string; password: string; } | { ...; } | { ...; }>",
410
256
  value: input
411
257
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
412
258
  path: _path + "",
413
- expected: "Managed<GetUserLicensesPayload>",
259
+ expected: "Managed<{ [x: string]: unknown; code?: string | undefined; product?: string | undefined; id_token?: string | undefined; customer_account_code?: string | undefined; username: string; password: string; } | { ...; } | { ...; }>",
414
260
  value: input
415
261
  }, _errorFactory))(input, "$input", true);
416
262
  }
@@ -422,20 +268,26 @@ class LicenseManager extends abstract_manager_1.default {
422
268
  ;
423
269
  getCustomerLicenseUsers(payload) {
424
270
  return __awaiter(this, void 0, void 0, function* () {
425
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => "string" === typeof input.customer; const $ao0 = (input, _path, _exceptionable = true) => "string" === typeof input.customer || $guard(_exceptionable, {
426
- path: _path + ".customer",
427
- expected: "string",
428
- value: input.customer
429
- }, _errorFactory); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
271
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
272
+ const value = input[key];
273
+ if (undefined === value)
274
+ return true;
275
+ return true;
276
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
277
+ const value = input[key];
278
+ if (undefined === value)
279
+ return true;
280
+ return true;
281
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
430
282
  if (false === __is(input)) {
431
283
  _errorFactory = errorFactory;
432
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
284
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
433
285
  path: _path + "",
434
- expected: "Managed<GetCustomerLicensesPayload>",
286
+ expected: "Managed<__type>",
435
287
  value: input
436
288
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
437
289
  path: _path + "",
438
- expected: "Managed<GetCustomerLicensesPayload>",
290
+ expected: "Managed<__type>",
439
291
  value: input
440
292
  }, _errorFactory))(input, "$input", true);
441
293
  }
@@ -447,36 +299,26 @@ class LicenseManager extends abstract_manager_1.default {
447
299
  ;
448
300
  checkLicenseFeature(payload) {
449
301
  return __awaiter(this, void 0, void 0, function* () {
450
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code) && "string" === typeof input.feature; const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
451
- path: _path + ".username",
452
- expected: "(string | undefined)",
453
- value: input.username
454
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
455
- path: _path + ".license_key",
456
- expected: "(string | undefined)",
457
- value: input.license_key
458
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
459
- path: _path + ".license_id",
460
- expected: "(number | undefined)",
461
- value: input.license_id
462
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
463
- path: _path + ".bundle_code",
464
- expected: "(string | undefined)",
465
- value: input.bundle_code
466
- }, _errorFactory)) && ("string" === typeof input.feature || $guard(_exceptionable, {
467
- path: _path + ".feature",
468
- expected: "string",
469
- value: input.feature
470
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
302
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
303
+ const value = input[key];
304
+ if (undefined === value)
305
+ return true;
306
+ return true;
307
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
308
+ const value = input[key];
309
+ if (undefined === value)
310
+ return true;
311
+ return true;
312
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
471
313
  if (false === __is(input)) {
472
314
  _errorFactory = errorFactory;
473
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
315
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
474
316
  path: _path + "",
475
- expected: "Managed<LicenseIdentificatorAndFeature>",
317
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; sdk_ver?: string | undefined; include_metadata_string?: boolean | undefined; product: string; hardware_id: string; license_key: string; feature: string; } | { ...; }>",
476
318
  value: input
477
319
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
478
320
  path: _path + "",
479
- expected: "Managed<LicenseIdentificatorAndFeature>",
321
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; sdk_ver?: string | undefined; include_metadata_string?: boolean | undefined; product: string; hardware_id: string; license_key: string; feature: string; } | { ...; }>",
480
322
  value: input
481
323
  }, _errorFactory))(input, "$input", true);
482
324
  }
@@ -488,36 +330,26 @@ class LicenseManager extends abstract_manager_1.default {
488
330
  ;
489
331
  addConsumption(payload) {
490
332
  return __awaiter(this, void 0, void 0, function* () {
491
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code) && "number" === typeof input.consumptions; const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
492
- path: _path + ".username",
493
- expected: "(string | undefined)",
494
- value: input.username
495
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
496
- path: _path + ".license_key",
497
- expected: "(string | undefined)",
498
- value: input.license_key
499
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
500
- path: _path + ".license_id",
501
- expected: "(number | undefined)",
502
- value: input.license_id
503
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
504
- path: _path + ".bundle_code",
505
- expected: "(string | undefined)",
506
- value: input.bundle_code
507
- }, _errorFactory)) && ("number" === typeof input.consumptions || $guard(_exceptionable, {
508
- path: _path + ".consumptions",
509
- expected: "number",
510
- value: input.consumptions
511
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
333
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
334
+ const value = input[key];
335
+ if (undefined === value)
336
+ return true;
337
+ return true;
338
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
339
+ const value = input[key];
340
+ if (undefined === value)
341
+ return true;
342
+ return true;
343
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
512
344
  if (false === __is(input)) {
513
345
  _errorFactory = errorFactory;
514
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
346
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
515
347
  path: _path + "",
516
- expected: "Managed<LicenseIdentificatorAddConsumptions>",
348
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; event?: (\"consumption_add\" | \"offline_floating_consumptions_sync\")[] | undefined; allow_overages?: boolean | undefined; max_overages?: number | undefined; ... 7 more ...; consumptions: number; } | { ...; }>",
517
349
  value: input
518
350
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
519
351
  path: _path + "",
520
- expected: "Managed<LicenseIdentificatorAddConsumptions>",
352
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; event?: (\"consumption_add\" | \"offline_floating_consumptions_sync\")[] | undefined; allow_overages?: boolean | undefined; max_overages?: number | undefined; ... 7 more ...; consumptions: number; } | { ...; }>",
521
353
  value: input
522
354
  }, _errorFactory))(input, "$input", true);
523
355
  }
@@ -532,40 +364,26 @@ class LicenseManager extends abstract_manager_1.default {
532
364
  ;
533
365
  addFeatureConsumption(payload) {
534
366
  return __awaiter(this, void 0, void 0, function* () {
535
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code) && "string" === typeof input.feature && "number" === typeof input.consumptions; const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
536
- path: _path + ".username",
537
- expected: "(string | undefined)",
538
- value: input.username
539
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
540
- path: _path + ".license_key",
541
- expected: "(string | undefined)",
542
- value: input.license_key
543
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
544
- path: _path + ".license_id",
545
- expected: "(number | undefined)",
546
- value: input.license_id
547
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
548
- path: _path + ".bundle_code",
549
- expected: "(string | undefined)",
550
- value: input.bundle_code
551
- }, _errorFactory)) && ("string" === typeof input.feature || $guard(_exceptionable, {
552
- path: _path + ".feature",
553
- expected: "string",
554
- value: input.feature
555
- }, _errorFactory)) && ("number" === typeof input.consumptions || $guard(_exceptionable, {
556
- path: _path + ".consumptions",
557
- expected: "number",
558
- value: input.consumptions
559
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
367
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
368
+ const value = input[key];
369
+ if (undefined === value)
370
+ return true;
371
+ return true;
372
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
373
+ const value = input[key];
374
+ if (undefined === value)
375
+ return true;
376
+ return true;
377
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
560
378
  if (false === __is(input)) {
561
379
  _errorFactory = errorFactory;
562
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
380
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
563
381
  path: _path + "",
564
- expected: "Managed<LicenseIdentificatorAddFeatureConsumptions>",
382
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; event?: (\"consumption_add\" | \"offline_floating_consumptions_sync\")[] | undefined; bundle_code?: string | undefined; license_id?: number | undefined; ... 5 more ...; consumptions: number; } | { ...; }>",
565
383
  value: input
566
384
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
567
385
  path: _path + "",
568
- expected: "Managed<LicenseIdentificatorAddFeatureConsumptions>",
386
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; event?: (\"consumption_add\" | \"offline_floating_consumptions_sync\")[] | undefined; bundle_code?: string | undefined; license_id?: number | undefined; ... 5 more ...; consumptions: number; } | { ...; }>",
569
387
  value: input
570
388
  }, _errorFactory))(input, "$input", true);
571
389
  }
@@ -580,36 +398,26 @@ class LicenseManager extends abstract_manager_1.default {
580
398
  ;
581
399
  featureRelease(payload) {
582
400
  return __awaiter(this, void 0, void 0, function* () {
583
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code) && "string" === typeof input.feature; const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
584
- path: _path + ".username",
585
- expected: "(string | undefined)",
586
- value: input.username
587
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
588
- path: _path + ".license_key",
589
- expected: "(string | undefined)",
590
- value: input.license_key
591
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
592
- path: _path + ".license_id",
593
- expected: "(number | undefined)",
594
- value: input.license_id
595
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
596
- path: _path + ".bundle_code",
597
- expected: "(string | undefined)",
598
- value: input.bundle_code
599
- }, _errorFactory)) && ("string" === typeof input.feature || $guard(_exceptionable, {
600
- path: _path + ".feature",
601
- expected: "string",
602
- value: input.feature
603
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
401
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
402
+ const value = input[key];
403
+ if (undefined === value)
404
+ return true;
405
+ return true;
406
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
407
+ const value = input[key];
408
+ if (undefined === value)
409
+ return true;
410
+ return true;
411
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
604
412
  if (false === __is(input)) {
605
413
  _errorFactory = errorFactory;
606
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
414
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
607
415
  path: _path + "",
608
- expected: "Managed<LicenseIdentificatorAndFeature>",
416
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; sdk_ver?: string | undefined; product: string; hardware_id: string; license_key: string; feature: string; } | { ...; }>",
609
417
  value: input
610
418
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
611
419
  path: _path + "",
612
- expected: "Managed<LicenseIdentificatorAndFeature>",
420
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; sdk_ver?: string | undefined; product: string; hardware_id: string; license_key: string; feature: string; } | { ...; }>",
613
421
  value: input
614
422
  }, _errorFactory))(input, "$input", true);
615
423
  }
@@ -624,28 +432,26 @@ class LicenseManager extends abstract_manager_1.default {
624
432
  ;
625
433
  getProductDetails(payload) {
626
434
  return __awaiter(this, void 0, void 0, function* () {
627
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => (undefined === input.include_expired_features || "boolean" === typeof input.include_expired_features) && (undefined === input.include_latest_version || "boolean" === typeof input.include_latest_version) && (undefined === input.include_custom_fields || "boolean" === typeof input.include_custom_fields); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.include_expired_features || "boolean" === typeof input.include_expired_features || $guard(_exceptionable, {
628
- path: _path + ".include_expired_features",
629
- expected: "(boolean | undefined)",
630
- value: input.include_expired_features
631
- }, _errorFactory)) && (undefined === input.include_latest_version || "boolean" === typeof input.include_latest_version || $guard(_exceptionable, {
632
- path: _path + ".include_latest_version",
633
- expected: "(boolean | undefined)",
634
- value: input.include_latest_version
635
- }, _errorFactory)) && (undefined === input.include_custom_fields || "boolean" === typeof input.include_custom_fields || $guard(_exceptionable, {
636
- path: _path + ".include_custom_fields",
637
- expected: "(boolean | undefined)",
638
- value: input.include_custom_fields
639
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
435
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
436
+ const value = input[key];
437
+ if (undefined === value)
438
+ return true;
439
+ return true;
440
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
441
+ const value = input[key];
442
+ if (undefined === value)
443
+ return true;
444
+ return true;
445
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
640
446
  if (false === __is(input)) {
641
447
  _errorFactory = errorFactory;
642
448
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
643
449
  path: _path + "",
644
- expected: "Managed<ProductDetailsPayload>",
450
+ expected: "Managed<__type>",
645
451
  value: input
646
452
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
647
453
  path: _path + "",
648
- expected: "Managed<ProductDetailsPayload>",
454
+ expected: "Managed<__type>",
649
455
  value: input
650
456
  }, _errorFactory))(input, "$input", true);
651
457
  }
@@ -660,32 +466,26 @@ class LicenseManager extends abstract_manager_1.default {
660
466
  ;
661
467
  getDeviceVariables(payload) {
662
468
  return __awaiter(this, void 0, void 0, function* () {
663
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
664
- path: _path + ".username",
665
- expected: "(string | undefined)",
666
- value: input.username
667
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
668
- path: _path + ".license_key",
669
- expected: "(string | undefined)",
670
- value: input.license_key
671
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
672
- path: _path + ".license_id",
673
- expected: "(number | undefined)",
674
- value: input.license_id
675
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
676
- path: _path + ".bundle_code",
677
- expected: "(string | undefined)",
678
- value: input.bundle_code
679
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
469
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
470
+ const value = input[key];
471
+ if (undefined === value)
472
+ return true;
473
+ return true;
474
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
475
+ const value = input[key];
476
+ if (undefined === value)
477
+ return true;
478
+ return true;
479
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
680
480
  if (false === __is(input)) {
681
481
  _errorFactory = errorFactory;
682
482
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
683
483
  path: _path + "",
684
- expected: "Managed<LicenseIdentificator>",
484
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; sdk_ver?: string | undefined; product: string; hardware_id: string; license_key: string; } | { ...; }>",
685
485
  value: input
686
486
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
687
487
  path: _path + "",
688
- expected: "Managed<LicenseIdentificator>",
488
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; sdk_ver?: string | undefined; product: string; hardware_id: string; license_key: string; } | { ...; }>",
689
489
  value: input
690
490
  }, _errorFactory))(input, "$input", true);
691
491
  }
@@ -700,54 +500,26 @@ class LicenseManager extends abstract_manager_1.default {
700
500
  ;
701
501
  trackDeviceVariables(payload) {
702
502
  return __awaiter(this, void 0, void 0, function* () {
703
- (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && $io1(input.variables)); const $io1 = input => Object.keys(input).every(key => {
503
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
704
504
  const value = input[key];
705
505
  if (undefined === value)
706
506
  return true;
707
- return "string" === typeof value;
708
- }); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
709
- path: _path + ".username",
710
- expected: "(string | undefined)",
711
- value: input.username
712
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
713
- path: _path + ".license_key",
714
- expected: "(string | undefined)",
715
- value: input.license_key
716
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
717
- path: _path + ".license_id",
718
- expected: "(number | undefined)",
719
- value: input.license_id
720
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
721
- path: _path + ".bundle_code",
722
- expected: "(string | undefined)",
723
- value: input.bundle_code
724
- }, _errorFactory)) && (undefined === input.variables || ("object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) || $guard(_exceptionable, {
725
- path: _path + ".variables",
726
- expected: "(Dictionary<string> | undefined)",
727
- value: input.variables
728
- }, _errorFactory)) && $ao1(input.variables, _path + ".variables", true && _exceptionable) || $guard(_exceptionable, {
729
- path: _path + ".variables",
730
- expected: "(Dictionary<string> | undefined)",
731
- value: input.variables
732
- }, _errorFactory)); const $ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
733
- const value = input[key];
734
- if (undefined === value)
735
- return true;
736
- return "string" === typeof value || $guard(_exceptionable, {
737
- path: _path + $join(key),
738
- expected: "string",
739
- value: value
740
- }, _errorFactory);
507
+ return true;
508
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
509
+ const value = input[key];
510
+ if (undefined === value)
511
+ return true;
512
+ return true;
741
513
  }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
742
514
  if (false === __is(input)) {
743
515
  _errorFactory = errorFactory;
744
516
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
745
517
  path: _path + "",
746
- expected: "Managed<LicenseIdentificatorWithVariables>",
518
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; sdk_ver?: string | undefined; variables?: { [x: string]: unknown; } | undefined; product: string; hardware_id: string; license_key: string; } | { ...; }>",
747
519
  value: input
748
520
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
749
521
  path: _path + "",
750
- expected: "Managed<LicenseIdentificatorWithVariables>",
522
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; sdk_ver?: string | undefined; variables?: { [x: string]: unknown; } | undefined; product: string; hardware_id: string; license_key: string; } | { ...; }>",
751
523
  value: input
752
524
  }, _errorFactory))(input, "$input", true);
753
525
  }
@@ -762,36 +534,26 @@ class LicenseManager extends abstract_manager_1.default {
762
534
  ;
763
535
  floatingBorrow(payload) {
764
536
  return __awaiter(this, void 0, void 0, function* () {
765
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && "string" === typeof input.borrowed_until && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
766
- path: _path + ".username",
767
- expected: "(string | undefined)",
768
- value: input.username
769
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
770
- path: _path + ".license_key",
771
- expected: "(string | undefined)",
772
- value: input.license_key
773
- }, _errorFactory)) && ("string" === typeof input.borrowed_until || $guard(_exceptionable, {
774
- path: _path + ".borrowed_until",
775
- expected: "string",
776
- value: input.borrowed_until
777
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
778
- path: _path + ".license_id",
779
- expected: "(number | undefined)",
780
- value: input.license_id
781
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
782
- path: _path + ".bundle_code",
783
- expected: "(string | undefined)",
784
- value: input.bundle_code
785
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
537
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
538
+ const value = input[key];
539
+ if (undefined === value)
540
+ return true;
541
+ return true;
542
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
543
+ const value = input[key];
544
+ if (undefined === value)
545
+ return true;
546
+ return true;
547
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
786
548
  if (false === __is(input)) {
787
549
  _errorFactory = errorFactory;
788
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
550
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
789
551
  path: _path + "",
790
- expected: "Managed<LicenseIdentificatorWithBorrowedUntil>",
552
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; password?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; sdk_ver?: string | undefined; product: string; hardware_id: string; license_key: string; borrowed_until: string | null; } | { ...; }>",
791
553
  value: input
792
554
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
793
555
  path: _path + "",
794
- expected: "Managed<LicenseIdentificatorWithBorrowedUntil>",
556
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; password?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; sdk_ver?: string | undefined; product: string; hardware_id: string; license_key: string; borrowed_until: string | null; } | { ...; }>",
795
557
  value: input
796
558
  }, _errorFactory))(input, "$input", true);
797
559
  }
@@ -803,32 +565,26 @@ class LicenseManager extends abstract_manager_1.default {
803
565
  ;
804
566
  floatingRelease(payload) {
805
567
  return __awaiter(this, void 0, void 0, function* () {
806
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
807
- path: _path + ".username",
808
- expected: "(string | undefined)",
809
- value: input.username
810
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
811
- path: _path + ".license_key",
812
- expected: "(string | undefined)",
813
- value: input.license_key
814
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
815
- path: _path + ".license_id",
816
- expected: "(number | undefined)",
817
- value: input.license_id
818
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
819
- path: _path + ".bundle_code",
820
- expected: "(string | undefined)",
821
- value: input.bundle_code
822
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
568
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
569
+ const value = input[key];
570
+ if (undefined === value)
571
+ return true;
572
+ return true;
573
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
574
+ const value = input[key];
575
+ if (undefined === value)
576
+ return true;
577
+ return true;
578
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
823
579
  if (false === __is(input)) {
824
580
  _errorFactory = errorFactory;
825
581
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
826
582
  path: _path + "",
827
- expected: "Managed<LicenseIdentificator>",
583
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; sdk_ver?: string | undefined; product: string; hardware_id: string; license_key: string; } | { ...; }>",
828
584
  value: input
829
585
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
830
586
  path: _path + "",
831
- expected: "Managed<LicenseIdentificator>",
587
+ expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; license_id?: number | undefined; sdk_ver?: string | undefined; product: string; hardware_id: string; license_key: string; } | { ...; }>",
832
588
  value: input
833
589
  }, _errorFactory))(input, "$input", true);
834
590
  }
@@ -840,7 +596,14 @@ class LicenseManager extends abstract_manager_1.default {
840
596
  ;
841
597
  changePassword(payload) {
842
598
  return __awaiter(this, void 0, void 0, function* () {
843
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => "string" === typeof input.username && "string" === typeof input.password && "string" === typeof input.new_password; const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.username || $guard(_exceptionable, {
599
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => "string" === typeof input.username && "string" === typeof input.password && "string" === typeof input.new_password && Object.keys(input).every(key => {
600
+ if (["username", "password", "new_password"].some(prop => key === prop))
601
+ return true;
602
+ const value = input[key];
603
+ if (undefined === value)
604
+ return true;
605
+ return true;
606
+ }); const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.username || $guard(_exceptionable, {
844
607
  path: _path + ".username",
845
608
  expected: "string",
846
609
  value: input.username
@@ -852,16 +615,23 @@ class LicenseManager extends abstract_manager_1.default {
852
615
  path: _path + ".new_password",
853
616
  expected: "string",
854
617
  value: input.new_password
855
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
618
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
619
+ if (["username", "password", "new_password"].some(prop => key === prop))
620
+ return true;
621
+ const value = input[key];
622
+ if (undefined === value)
623
+ return true;
624
+ return true;
625
+ })); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
856
626
  if (false === __is(input)) {
857
627
  _errorFactory = errorFactory;
858
628
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
859
629
  path: _path + "",
860
- expected: "PasswordChangePayload",
630
+ expected: "__type",
861
631
  value: input
862
632
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
863
633
  path: _path + "",
864
- expected: "PasswordChangePayload",
634
+ expected: "__type",
865
635
  value: input
866
636
  }, _errorFactory))(input, "$input", true);
867
637
  }
@@ -873,32 +643,26 @@ class LicenseManager extends abstract_manager_1.default {
873
643
  ;
874
644
  getVersions(payload) {
875
645
  return __awaiter(this, void 0, void 0, function* () {
876
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.license_key || "string" === typeof input.license_key) && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
877
- path: _path + ".username",
878
- expected: "(string | undefined)",
879
- value: input.username
880
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
881
- path: _path + ".license_key",
882
- expected: "(string | undefined)",
883
- value: input.license_key
884
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
885
- path: _path + ".license_id",
886
- expected: "(number | undefined)",
887
- value: input.license_id
888
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
889
- path: _path + ".bundle_code",
890
- expected: "(string | undefined)",
891
- value: input.bundle_code
892
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
646
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
647
+ const value = input[key];
648
+ if (undefined === value)
649
+ return true;
650
+ return true;
651
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
652
+ const value = input[key];
653
+ if (undefined === value)
654
+ return true;
655
+ return true;
656
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
893
657
  if (false === __is(input)) {
894
658
  _errorFactory = errorFactory;
895
659
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
896
660
  path: _path + "",
897
- expected: "Managed<LicenseIdentificator>",
661
+ expected: "Managed<{ [x: string]: unknown; channel?: string | undefined; username?: string | undefined; env?: string | undefined; bundle_code?: string | undefined; sdk_ver?: string | undefined; product: string; hardware_id: string; license_key: string; } | { ...; }>",
898
662
  value: input
899
663
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
900
664
  path: _path + "",
901
- expected: "Managed<LicenseIdentificator>",
665
+ expected: "Managed<{ [x: string]: unknown; channel?: string | undefined; username?: string | undefined; env?: string | undefined; bundle_code?: string | undefined; sdk_ver?: string | undefined; product: string; hardware_id: string; license_key: string; } | { ...; }>",
902
666
  value: input
903
667
  }, _errorFactory))(input, "$input", true);
904
668
  }
@@ -910,44 +674,26 @@ class LicenseManager extends abstract_manager_1.default {
910
674
  ;
911
675
  getInstallationFile(payload) {
912
676
  return __awaiter(this, void 0, void 0, function* () {
913
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => "string" === typeof input.channel && (undefined === input.username || "string" === typeof input.username) && "string" === typeof input.env && (undefined === input.license_key || "string" === typeof input.license_key) && "string" === typeof input.version && (undefined === input.license_id || "number" === typeof input.license_id) && (undefined === input.bundle_code || "string" === typeof input.bundle_code); const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.channel || $guard(_exceptionable, {
914
- path: _path + ".channel",
915
- expected: "string",
916
- value: input.channel
917
- }, _errorFactory)) && (undefined === input.username || "string" === typeof input.username || $guard(_exceptionable, {
918
- path: _path + ".username",
919
- expected: "(string | undefined)",
920
- value: input.username
921
- }, _errorFactory)) && ("string" === typeof input.env || $guard(_exceptionable, {
922
- path: _path + ".env",
923
- expected: "string",
924
- value: input.env
925
- }, _errorFactory)) && (undefined === input.license_key || "string" === typeof input.license_key || $guard(_exceptionable, {
926
- path: _path + ".license_key",
927
- expected: "(string | undefined)",
928
- value: input.license_key
929
- }, _errorFactory)) && ("string" === typeof input.version || $guard(_exceptionable, {
930
- path: _path + ".version",
931
- expected: "string",
932
- value: input.version
933
- }, _errorFactory)) && (undefined === input.license_id || "number" === typeof input.license_id || $guard(_exceptionable, {
934
- path: _path + ".license_id",
935
- expected: "(number | undefined)",
936
- value: input.license_id
937
- }, _errorFactory)) && (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
938
- path: _path + ".bundle_code",
939
- expected: "(string | undefined)",
940
- value: input.bundle_code
941
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
677
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => Object.keys(input).every(key => {
678
+ const value = input[key];
679
+ if (undefined === value)
680
+ return true;
681
+ return true;
682
+ }); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
683
+ const value = input[key];
684
+ if (undefined === value)
685
+ return true;
686
+ return true;
687
+ }); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
942
688
  if (false === __is(input)) {
943
689
  _errorFactory = errorFactory;
944
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
690
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
945
691
  path: _path + "",
946
- expected: "Managed<LicenseIdentificatorWithInstallation>",
692
+ expected: "Managed<{ [x: string]: unknown; channel?: string | undefined; username?: string | undefined; env?: string | undefined; bundle_code?: string | undefined; sdk_ver?: string | undefined; version?: string | undefined; product: string; hardware_id: string; license_key: string; } | { ...; }>",
947
693
  value: input
948
694
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
949
695
  path: _path + "",
950
- expected: "Managed<LicenseIdentificatorWithInstallation>",
696
+ expected: "Managed<{ [x: string]: unknown; channel?: string | undefined; username?: string | undefined; env?: string | undefined; bundle_code?: string | undefined; sdk_ver?: string | undefined; version?: string | undefined; product: string; hardware_id: string; license_key: string; } | { ...; }>",
951
697
  value: input
952
698
  }, _errorFactory))(input, "$input", true);
953
699
  }
@@ -959,24 +705,46 @@ class LicenseManager extends abstract_manager_1.default {
959
705
  ;
960
706
  getSSOUrl(payload) {
961
707
  return __awaiter(this, void 0, void 0, function* () {
962
- (() => { const $guard = typia_1.default.assert.guard; const $io0 = input => "string" === typeof input.product && ("code" === input.type || "token" === input.type); const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.product || $guard(_exceptionable, {
708
+ (() => { const $guard = typia_1.default.assert.guard; const $join = typia_1.default.assert.join; const $io0 = input => (undefined === input.bundle_code || "string" === typeof input.bundle_code) && (undefined === input.response_type || "string" === typeof input.response_type) && "string" === typeof input.product && "string" === typeof input.customer_account_code && Object.keys(input).every(key => {
709
+ if (["bundle_code", "response_type", "product", "customer_account_code"].some(prop => key === prop))
710
+ return true;
711
+ const value = input[key];
712
+ if (undefined === value)
713
+ return true;
714
+ return true;
715
+ }); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
716
+ path: _path + ".bundle_code",
717
+ expected: "(string | undefined)",
718
+ value: input.bundle_code
719
+ }, _errorFactory)) && (undefined === input.response_type || "string" === typeof input.response_type || $guard(_exceptionable, {
720
+ path: _path + ".response_type",
721
+ expected: "(string | undefined)",
722
+ value: input.response_type
723
+ }, _errorFactory)) && ("string" === typeof input.product || $guard(_exceptionable, {
963
724
  path: _path + ".product",
964
725
  expected: "string",
965
726
  value: input.product
966
- }, _errorFactory)) && ("code" === input.type || "token" === input.type || $guard(_exceptionable, {
967
- path: _path + ".type",
968
- expected: "(\"code\" | \"token\")",
969
- value: input.type
970
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
727
+ }, _errorFactory)) && ("string" === typeof input.customer_account_code || $guard(_exceptionable, {
728
+ path: _path + ".customer_account_code",
729
+ expected: "string",
730
+ value: input.customer_account_code
731
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
732
+ if (["bundle_code", "response_type", "product", "customer_account_code"].some(prop => key === prop))
733
+ return true;
734
+ const value = input[key];
735
+ if (undefined === value)
736
+ return true;
737
+ return true;
738
+ })); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
971
739
  if (false === __is(input)) {
972
740
  _errorFactory = errorFactory;
973
741
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
974
742
  path: _path + "",
975
- expected: "SSOURLParams",
743
+ expected: "__type",
976
744
  value: input
977
745
  }, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
978
746
  path: _path + "",
979
- expected: "SSOURLParams",
747
+ expected: "__type",
980
748
  value: input
981
749
  }, _errorFactory))(input, "$input", true);
982
750
  }
@@ -1005,6 +773,18 @@ class LicenseManager extends abstract_manager_1.default {
1005
773
  const license = new license_1.default(this.config.productCode, this.licenseAPI, this.licenseFile, this.floatingAPI);
1006
774
  return license;
1007
775
  }
776
+ createOfflineActivationPayload(payload) {
777
+ return this.licenseAPI.createOfflineActivationPayload(Object.assign(Object.assign({}, payload), { product: this.config.productCode, hardware_id: this.getHardwareID() }));
778
+ }
779
+ createOfflineDeactivationPayload(payload) {
780
+ return this.licenseAPI.createOfflineDeactivationPayload(Object.assign(Object.assign({}, payload), { product: this.config.productCode, hardware_id: this.getHardwareID() }));
781
+ }
782
+ decodeOfflineActivationPayload(payload) {
783
+ return this.licenseAPI.decodeOfflineActivationPayload(payload);
784
+ }
785
+ decodeOfflineDeactivationPayload(payload) {
786
+ return this.licenseAPI.decodeOfflineDeactivationPayload(payload);
787
+ }
1008
788
  }
1009
789
  exports.default = LicenseManager;
1010
790
  //# sourceMappingURL=license-manager.js.map