@vc-shell/framework 1.0.321 → 1.0.323

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 (119) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/core/api/platform.ts +694 -471
  3. package/core/composables/useNotifications/index.ts +61 -3
  4. package/core/plugins/modularity/index.ts +23 -4
  5. package/core/plugins/signalR/index.ts +42 -10
  6. package/dist/{azuread-CAS6-LZ8.js → azuread-BhAhqR2s.js} +2 -2
  7. package/dist/core/api/platform.d.ts +186 -162
  8. package/dist/core/api/platform.d.ts.map +1 -1
  9. package/dist/core/composables/useNotifications/index.d.ts +1 -0
  10. package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
  11. package/dist/core/plugins/modularity/index.d.ts +3 -1
  12. package/dist/core/plugins/modularity/index.d.ts.map +1 -1
  13. package/dist/core/plugins/signalR/index.d.ts +2 -1
  14. package/dist/core/plugins/signalR/index.d.ts.map +1 -1
  15. package/dist/{external-provider-GN6-W0Vp.js → external-provider-CKRKv1EO.js} +1 -1
  16. package/dist/{external-provider.vue_vue_type_script_setup_true_lang-BbfyjhC6.js → external-provider.vue_vue_type_script_setup_true_lang-pVwhlqSS.js} +1 -1
  17. package/dist/external-providers-BuwRmZS6.js +4 -0
  18. package/dist/framework.js +221 -222
  19. package/dist/{index-CTzDbvMY.js → index-1iQcKZcz.js} +1 -1
  20. package/dist/{index-BVoz_bAG.js → index-2VvztI5V.js} +1 -1
  21. package/dist/{index-DWszlgBe.js → index-BpeR8MpE.js} +1 -1
  22. package/dist/{index-vt-o0w7Q.js → index-BqFdtq0j.js} +1 -1
  23. package/dist/{index-BLlEMPR3.js → index-BscDURbV.js} +1 -1
  24. package/dist/{index-BPhdi5Ej.js → index-C280JcJo.js} +1 -1
  25. package/dist/{index-Bkjwqgxw.js → index-CWRP_8OR.js} +1 -1
  26. package/dist/{index-VATZ4UqK.js → index-CbVaCsap.js} +1 -1
  27. package/dist/{index-BEfb-PEM.js → index-CecSOxnk.js} +1 -1
  28. package/dist/{index-C22X_X8w.js → index-CkzHOg6W.js} +1 -1
  29. package/dist/{index-C8bm-AN_.js → index-D6rLpqm5.js} +1 -1
  30. package/dist/{index-ae9GsWP0.js → index-DfABrHB_.js} +40317 -34453
  31. package/dist/{index-ByTxBRrq.js → index-bZ0IrgAu.js} +1 -1
  32. package/dist/{index-geG-GZqw.js → index-fuILXn_w.js} +1 -1
  33. package/dist/{index-WToNZGUu.js → index-h2e4Cdwh.js} +1 -1
  34. package/dist/{index-DT2i8Joc.js → index-jSMgkZQV.js} +1 -1
  35. package/dist/{index-k-CWh9ED.js → index-osebbY9y.js} +8 -8
  36. package/dist/index.css +1 -1
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/shared/components/error-interceptor/index.d.ts +1 -9
  39. package/dist/shared/components/error-interceptor/index.d.ts.map +1 -1
  40. package/dist/shared/components/notification-template/index.d.ts +1 -18
  41. package/dist/shared/components/notification-template/index.d.ts.map +1 -1
  42. package/dist/shared/modules/dynamic/index.d.ts.map +1 -1
  43. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
  44. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +1 -1
  45. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
  46. package/dist/tsconfig.tsbuildinfo +1 -1
  47. package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts +5 -100
  48. package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts.map +1 -1
  49. package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts +13 -468
  50. package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts.map +1 -1
  51. package/dist/ui/components/atoms/vc-card/index.d.ts +1 -24
  52. package/dist/ui/components/atoms/vc-card/index.d.ts.map +1 -1
  53. package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts +12 -223
  54. package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts.map +1 -1
  55. package/dist/ui/components/atoms/vc-col/vc-col.stories.d.ts +1 -6
  56. package/dist/ui/components/atoms/vc-col/vc-col.stories.d.ts.map +1 -1
  57. package/dist/ui/components/atoms/vc-container/index.d.ts +6 -13
  58. package/dist/ui/components/atoms/vc-container/index.d.ts.map +1 -1
  59. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +3 -0
  60. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts.map +1 -1
  61. package/dist/ui/components/atoms/vc-hint/index.d.ts +1 -1
  62. package/dist/ui/components/atoms/vc-hint/vc-hint.stories.d.ts +1 -1
  63. package/dist/ui/components/atoms/vc-label/vc-label.stories.d.ts +1 -15
  64. package/dist/ui/components/atoms/vc-label/vc-label.stories.d.ts.map +1 -1
  65. package/dist/ui/components/atoms/vc-link/index.d.ts +1 -13
  66. package/dist/ui/components/atoms/vc-link/index.d.ts.map +1 -1
  67. package/dist/ui/components/atoms/vc-link/vc-link.stories.d.ts +1 -13
  68. package/dist/ui/components/atoms/vc-link/vc-link.stories.d.ts.map +1 -1
  69. package/dist/ui/components/atoms/vc-progress/index.d.ts +1 -10
  70. package/dist/ui/components/atoms/vc-progress/index.d.ts.map +1 -1
  71. package/dist/ui/components/atoms/vc-progress/vc-progress.stories.d.ts +1 -10
  72. package/dist/ui/components/atoms/vc-progress/vc-progress.stories.d.ts.map +1 -1
  73. package/dist/ui/components/atoms/vc-row/vc-row.stories.d.ts +1 -1
  74. package/dist/ui/components/atoms/vc-status/vc-status.stories.d.ts +1 -13
  75. package/dist/ui/components/atoms/vc-status/vc-status.stories.d.ts.map +1 -1
  76. package/dist/ui/components/molecules/vc-checkbox/index.d.ts +1 -42
  77. package/dist/ui/components/molecules/vc-checkbox/index.d.ts.map +1 -1
  78. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.stories.d.ts +10 -420
  79. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.stories.d.ts.map +1 -1
  80. package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts +1 -41
  81. package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts.map +1 -1
  82. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.stories.d.ts +1 -35
  83. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.stories.d.ts.map +1 -1
  84. package/dist/ui/components/molecules/vc-form/index.d.ts +1 -1
  85. package/dist/ui/components/molecules/vc-form/vc-form.stories.d.ts +1 -1
  86. package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts +6 -79
  87. package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts.map +1 -1
  88. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +3 -0
  89. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  90. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts +1 -80
  91. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts.map +1 -1
  92. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.stories.d.ts +4 -136
  93. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.stories.d.ts.map +1 -1
  94. package/dist/ui/components/molecules/vc-rating/vc-rating.stories.d.ts +4 -92
  95. package/dist/ui/components/molecules/vc-rating/vc-rating.stories.d.ts.map +1 -1
  96. package/dist/ui/components/molecules/vc-slider/index.d.ts +1 -20
  97. package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
  98. package/dist/ui/components/molecules/vc-slider/vc-slider.stories.d.ts +1 -20
  99. package/dist/ui/components/molecules/vc-slider/vc-slider.stories.d.ts.map +1 -1
  100. package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts +70 -294
  101. package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts.map +1 -1
  102. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +3 -1
  103. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  104. package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts +1 -27
  105. package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts.map +1 -1
  106. package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts +1 -38
  107. package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts.map +1 -1
  108. package/package.json +4 -4
  109. package/shared/modules/dynamic/helpers/override.ts +8 -1
  110. package/shared/modules/dynamic/index.ts +22 -11
  111. package/shared/modules/dynamic/pages/dynamic-blade-form.vue +9 -11
  112. package/shared/modules/dynamic/pages/dynamic-blade-list.vue +0 -17
  113. package/ui/components/atoms/vc-button/vc-button.vue +2 -2
  114. package/ui/components/atoms/vc-container/vc-container.vue +6 -0
  115. package/ui/components/molecules/vc-input/vc-input.vue +6 -0
  116. package/ui/components/molecules/vc-textarea/vc-textarea.vue +8 -0
  117. package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +2 -2
  118. package/ui/components/organisms/vc-blade/vc-blade.vue +5 -5
  119. package/dist/external-providers-4Exx3Utp.js +0 -4
@@ -8,6 +8,7 @@
8
8
  /* eslint-disable */
9
9
  // ReSharper disable InconsistentNaming
10
10
  // @ts-nocheck
11
+
11
12
  export class AuthApiBase {
12
13
  authToken = "";
13
14
  protected constructor() {}
@@ -29,77 +30,6 @@ export class AuthApiBase {
29
30
  }
30
31
  }
31
32
 
32
- export class AuthorizationClient extends AuthApiBase {
33
- private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
34
- private baseUrl: string;
35
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;
36
-
37
- constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
38
- super();
39
- this.http = http ? http : (window as any);
40
- this.baseUrl = this.getBaseUrl("", baseUrl);
41
- }
42
-
43
- /**
44
- * @return Success
45
- */
46
- exchange(body: Body): Promise<OpenIddictResponse> {
47
- let url_ = this.baseUrl + "/connect/token";
48
- url_ = url_.replace(/[?&]$/, "");
49
-
50
- const content_ = Object.keys(body as any)
51
- .map((key) => {
52
- return encodeURIComponent(key) + "=" + encodeURIComponent((body as any)[key]);
53
- })
54
- .join("&");
55
-
56
- let options_: RequestInit = {
57
- body: content_,
58
- method: "POST",
59
- headers: {
60
- "Content-Type": "application/x-www-form-urlencoded",
61
- Accept: "application/json",
62
- },
63
- };
64
-
65
- return this.transformOptions(options_)
66
- .then((transformedOptions_) => {
67
- return this.http.fetch(url_, transformedOptions_);
68
- })
69
- .then((_response: Response) => {
70
- return this.processExchange(_response);
71
- });
72
- }
73
-
74
- protected processExchange(response: Response): Promise<OpenIddictResponse> {
75
- const status = response.status;
76
- let _headers: any = {};
77
- if (response.headers && response.headers.forEach) {
78
- response.headers.forEach((v: any, k: any) => (_headers[k] = v));
79
- }
80
- if (status === 200) {
81
- return response.text().then((_responseText) => {
82
- let result200: any = null;
83
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
84
- result200 = OpenIddictResponse.fromJS(resultData200);
85
- return result200;
86
- });
87
- } else if (status === 400) {
88
- return response.text().then((_responseText) => {
89
- let result400: any = null;
90
- let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
91
- result400 = OpenIddictResponse.fromJS(resultData400);
92
- return throwException("Bad Request", status, _responseText, _headers, result400);
93
- });
94
- } else if (status !== 200 && status !== 204) {
95
- return response.text().then((_responseText) => {
96
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
97
- });
98
- }
99
- return Promise.resolve<OpenIddictResponse>(null as any);
100
- }
101
- }
102
-
103
33
  export class ExternalSignInClient extends AuthApiBase {
104
34
  private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
105
35
  private baseUrl: string;
@@ -114,15 +44,30 @@ export class ExternalSignInClient extends AuthApiBase {
114
44
  /**
115
45
  * @param authenticationType (optional)
116
46
  * @param returnUrl (optional)
117
- * @return Success
47
+ * @param storeId (optional)
48
+ * @param oidcUrl (optional)
49
+ * @param callbackUrl (optional)
50
+ * @return OK
118
51
  */
119
- signIn(authenticationType?: string | undefined, returnUrl?: string | undefined): Promise<void> {
52
+ signIn(
53
+ authenticationType?: string | undefined,
54
+ returnUrl?: string | undefined,
55
+ storeId?: string | undefined,
56
+ oidcUrl?: string | undefined,
57
+ callbackUrl?: string | undefined,
58
+ ): Promise<void> {
120
59
  let url_ = this.baseUrl + "/externalsignin?";
121
60
  if (authenticationType === null) throw new Error("The parameter 'authenticationType' cannot be null.");
122
61
  else if (authenticationType !== undefined)
123
- url_ += "authenticationType=" + encodeURIComponent("" + authenticationType) + "&";
62
+ url_ += "AuthenticationType=" + encodeURIComponent("" + authenticationType) + "&";
124
63
  if (returnUrl === null) throw new Error("The parameter 'returnUrl' cannot be null.");
125
- else if (returnUrl !== undefined) url_ += "returnUrl=" + encodeURIComponent("" + returnUrl) + "&";
64
+ else if (returnUrl !== undefined) url_ += "ReturnUrl=" + encodeURIComponent("" + returnUrl) + "&";
65
+ if (storeId === null) throw new Error("The parameter 'storeId' cannot be null.");
66
+ else if (storeId !== undefined) url_ += "StoreId=" + encodeURIComponent("" + storeId) + "&";
67
+ if (oidcUrl === null) throw new Error("The parameter 'oidcUrl' cannot be null.");
68
+ else if (oidcUrl !== undefined) url_ += "OidcUrl=" + encodeURIComponent("" + oidcUrl) + "&";
69
+ if (callbackUrl === null) throw new Error("The parameter 'callbackUrl' cannot be null.");
70
+ else if (callbackUrl !== undefined) url_ += "CallbackUrl=" + encodeURIComponent("" + callbackUrl) + "&";
126
71
  url_ = url_.replace(/[?&]$/, "");
127
72
 
128
73
  let options_: RequestInit = {
@@ -159,13 +104,16 @@ export class ExternalSignInClient extends AuthApiBase {
159
104
 
160
105
  /**
161
106
  * @param authenticationType (optional)
162
- * @return Success
107
+ * @param returnUrl (optional)
108
+ * @return OK
163
109
  */
164
- signOut(authenticationType?: string | undefined): Promise<void> {
110
+ signOut(authenticationType?: string | undefined, returnUrl?: string | undefined): Promise<void> {
165
111
  let url_ = this.baseUrl + "/externalsignin/signout?";
166
112
  if (authenticationType === null) throw new Error("The parameter 'authenticationType' cannot be null.");
167
113
  else if (authenticationType !== undefined)
168
114
  url_ += "authenticationType=" + encodeURIComponent("" + authenticationType) + "&";
115
+ if (returnUrl === null) throw new Error("The parameter 'returnUrl' cannot be null.");
116
+ else if (returnUrl !== undefined) url_ += "returnUrl=" + encodeURIComponent("" + returnUrl) + "&";
169
117
  url_ = url_.replace(/[?&]$/, "");
170
118
 
171
119
  let options_: RequestInit = {
@@ -202,7 +150,7 @@ export class ExternalSignInClient extends AuthApiBase {
202
150
 
203
151
  /**
204
152
  * @param returnUrl (optional)
205
- * @return Success
153
+ * @return OK
206
154
  */
207
155
  signInCallback(returnUrl?: string | undefined): Promise<void> {
208
156
  let url_ = this.baseUrl + "/externalsignin/callback?";
@@ -243,7 +191,7 @@ export class ExternalSignInClient extends AuthApiBase {
243
191
  }
244
192
 
245
193
  /**
246
- * @return Success
194
+ * @return OK
247
195
  */
248
196
  getExternalLoginProviders(): Promise<ExternalSignInProviderInfo[]> {
249
197
  let url_ = this.baseUrl + "/externalsignin/providers";
@@ -304,7 +252,7 @@ export class AppsClient extends AuthApiBase {
304
252
  }
305
253
 
306
254
  /**
307
- * @return Success
255
+ * @return OK
308
256
  */
309
257
  getApps(): Promise<AppDescriptor[]> {
310
258
  let url_ = this.baseUrl + "/api/platform/apps";
@@ -353,6 +301,116 @@ export class AppsClient extends AuthApiBase {
353
301
  }
354
302
  }
355
303
 
304
+ export class AuthorizationClient extends AuthApiBase {
305
+ private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
306
+ private baseUrl: string;
307
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;
308
+
309
+ constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
310
+ super();
311
+ this.http = http ? http : (window as any);
312
+ this.baseUrl = this.getBaseUrl("", baseUrl);
313
+ }
314
+
315
+ /**
316
+ * @return OK
317
+ */
318
+ revokeCurrentUserToken(): Promise<void> {
319
+ let url_ = this.baseUrl + "/revoke/token";
320
+ url_ = url_.replace(/[?&]$/, "");
321
+
322
+ let options_: RequestInit = {
323
+ method: "POST",
324
+ headers: {},
325
+ };
326
+
327
+ return this.transformOptions(options_)
328
+ .then((transformedOptions_) => {
329
+ return this.http.fetch(url_, transformedOptions_);
330
+ })
331
+ .then((_response: Response) => {
332
+ return this.processRevokeCurrentUserToken(_response);
333
+ });
334
+ }
335
+
336
+ protected processRevokeCurrentUserToken(response: Response): Promise<void> {
337
+ const status = response.status;
338
+ let _headers: any = {};
339
+ if (response.headers && response.headers.forEach) {
340
+ response.headers.forEach((v: any, k: any) => (_headers[k] = v));
341
+ }
342
+ if (status === 200) {
343
+ return response.text().then((_responseText) => {
344
+ return;
345
+ });
346
+ } else if (status !== 200 && status !== 204) {
347
+ return response.text().then((_responseText) => {
348
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
349
+ });
350
+ }
351
+ return Promise.resolve<void>(null as any);
352
+ }
353
+
354
+ /**
355
+ * @return OK
356
+ */
357
+ exchange(body: Body): Promise<OpenIddictResponse> {
358
+ let url_ = this.baseUrl + "/connect/token";
359
+ url_ = url_.replace(/[?&]$/, "");
360
+
361
+ const content_ = Object.keys(body as any)
362
+ .map((key) => {
363
+ return encodeURIComponent(key) + "=" + encodeURIComponent((body as any)[key]);
364
+ })
365
+ .join("&");
366
+
367
+ let options_: RequestInit = {
368
+ body: content_,
369
+ method: "POST",
370
+ headers: {
371
+ "Content-Type": "application/x-www-form-urlencoded",
372
+ Accept: "application/json",
373
+ },
374
+ };
375
+
376
+ return this.transformOptions(options_)
377
+ .then((transformedOptions_) => {
378
+ return this.http.fetch(url_, transformedOptions_);
379
+ })
380
+ .then((_response: Response) => {
381
+ return this.processExchange(_response);
382
+ });
383
+ }
384
+
385
+ protected processExchange(response: Response): Promise<OpenIddictResponse> {
386
+ const status = response.status;
387
+ let _headers: any = {};
388
+ if (response.headers && response.headers.forEach) {
389
+ response.headers.forEach((v: any, k: any) => (_headers[k] = v));
390
+ }
391
+ if (status === 200) {
392
+ return response.text().then((_responseText) => {
393
+ let result200: any = null;
394
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
395
+ result200 = OpenIddictResponse.fromJS(resultData200);
396
+ return result200;
397
+ });
398
+ } else if (status === 400) {
399
+ return response.text().then((_responseText) => {
400
+ let result400: any = null;
401
+ let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
402
+ result400 = OpenIddictResponse.fromJS(resultData400);
403
+ return throwException("Bad Request", status, _responseText, _headers, result400);
404
+ });
405
+ } else if (status !== 200 && status !== 204) {
406
+ return response.text().then((_responseText) => {
407
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
408
+ });
409
+ }
410
+ return Promise.resolve<OpenIddictResponse>(null as any);
411
+ }
412
+ }
413
+
356
414
  export class ChangeLogClient extends AuthApiBase {
357
415
  private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
358
416
  private baseUrl: string;
@@ -366,7 +424,7 @@ export class ChangeLogClient extends AuthApiBase {
366
424
 
367
425
  /**
368
426
  * @param scope (optional)
369
- * @return Success
427
+ * @return No Content
370
428
  */
371
429
  forceChanges(scope?: string | undefined): Promise<void> {
372
430
  let url_ = this.baseUrl + "/api/changes/force?";
@@ -415,7 +473,7 @@ export class ChangeLogClient extends AuthApiBase {
415
473
  }
416
474
 
417
475
  /**
418
- * @return Success
476
+ * @return No Content
419
477
  */
420
478
  resetPlatformCache(): Promise<void> {
421
479
  let url_ = this.baseUrl + "/api/platform-cache/reset";
@@ -463,7 +521,7 @@ export class ChangeLogClient extends AuthApiBase {
463
521
 
464
522
  /**
465
523
  * @param scope (optional)
466
- * @return Success
524
+ * @return OK
467
525
  */
468
526
  getLastModifiedDate(scope?: string | undefined): Promise<LastModifiedResponse> {
469
527
  let url_ = this.baseUrl + "/api/changes/lastmodifieddate?";
@@ -510,7 +568,7 @@ export class ChangeLogClient extends AuthApiBase {
510
568
 
511
569
  /**
512
570
  * @param body (optional)
513
- * @return Success
571
+ * @return OK
514
572
  */
515
573
  getChangedEntities(body?: ChangedEntitiesRequest | undefined): Promise<ChangedEntitiesResponse> {
516
574
  let url_ = this.baseUrl + "/api/changes/changed-entities";
@@ -559,7 +617,7 @@ export class ChangeLogClient extends AuthApiBase {
559
617
 
560
618
  /**
561
619
  * @param body (optional)
562
- * @return Success
620
+ * @return No Content
563
621
  */
564
622
  resetChangedEntities(body?: string[] | undefined): Promise<void> {
565
623
  let url_ = this.baseUrl + "/api/changes/changed-entities/reset";
@@ -612,7 +670,7 @@ export class ChangeLogClient extends AuthApiBase {
612
670
 
613
671
  /**
614
672
  * @param body (optional)
615
- * @return Success
673
+ * @return OK
616
674
  */
617
675
  searchChanges(body?: ChangeLogSearchCriteria | undefined): Promise<ChangeLogSearchResult> {
618
676
  let url_ = this.baseUrl + "/api/platform/changelog/search";
@@ -670,7 +728,7 @@ export class ChangeLogClient extends AuthApiBase {
670
728
  /**
671
729
  * @param start (optional)
672
730
  * @param end (optional)
673
- * @return Success
731
+ * @return OK
674
732
  */
675
733
  searchTypeChangeHistory(type: string, start?: Date | undefined, end?: Date | undefined): Promise<OperationLog[]> {
676
734
  let url_ = this.baseUrl + "/api/platform/changelog/{type}/changes?";
@@ -745,7 +803,7 @@ export class DiagnosticsClient extends AuthApiBase {
745
803
  }
746
804
 
747
805
  /**
748
- * @return Success
806
+ * @return OK
749
807
  */
750
808
  getSystemInfo(): Promise<SystemInfo> {
751
809
  let url_ = this.baseUrl + "/api/platform/diagnostics/systeminfo";
@@ -797,7 +855,7 @@ export class DiagnosticsClient extends AuthApiBase {
797
855
  }
798
856
 
799
857
  /**
800
- * @return Success
858
+ * @return OK
801
859
  */
802
860
  getModulesErrors(): Promise<ModuleDescriptor[]> {
803
861
  let url_ = this.baseUrl + "/api/platform/diagnostics/errors";
@@ -858,7 +916,7 @@ export class DynamicPropertiesClient extends AuthApiBase {
858
916
  }
859
917
 
860
918
  /**
861
- * @return Success
919
+ * @return OK
862
920
  */
863
921
  getObjectTypes(): Promise<string[]> {
864
922
  let url_ = this.baseUrl + "/api/platform/dynamic/types";
@@ -915,20 +973,18 @@ export class DynamicPropertiesClient extends AuthApiBase {
915
973
  }
916
974
 
917
975
  /**
918
- * @param body (optional)
919
- * @return Success
976
+ * @param id (optional)
977
+ * @return OK
920
978
  */
921
- searchDynamicProperties(body?: DynamicPropertySearchCriteria | undefined): Promise<DynamicPropertySearchResult> {
922
- let url_ = this.baseUrl + "/api/platform/dynamic/properties/search";
979
+ getAllDynamicProperties(id?: string | undefined): Promise<DynamicProperty[]> {
980
+ let url_ = this.baseUrl + "/api/platform/dynamic/properties?";
981
+ if (id === null) throw new Error("The parameter 'id' cannot be null.");
982
+ else if (id !== undefined) url_ += "id=" + encodeURIComponent("" + id) + "&";
923
983
  url_ = url_.replace(/[?&]$/, "");
924
984
 
925
- const content_ = JSON.stringify(body);
926
-
927
985
  let options_: RequestInit = {
928
- body: content_,
929
- method: "POST",
986
+ method: "GET",
930
987
  headers: {
931
- "Content-Type": "application/json-patch+json",
932
988
  Accept: "application/json",
933
989
  },
934
990
  };
@@ -938,11 +994,11 @@ export class DynamicPropertiesClient extends AuthApiBase {
938
994
  return this.http.fetch(url_, transformedOptions_);
939
995
  })
940
996
  .then((_response: Response) => {
941
- return this.processSearchDynamicProperties(_response);
997
+ return this.processGetAllDynamicProperties(_response);
942
998
  });
943
999
  }
944
1000
 
945
- protected processSearchDynamicProperties(response: Response): Promise<DynamicPropertySearchResult> {
1001
+ protected processGetAllDynamicProperties(response: Response): Promise<DynamicProperty[]> {
946
1002
  const status = response.status;
947
1003
  let _headers: any = {};
948
1004
  if (response.headers && response.headers.forEach) {
@@ -952,7 +1008,12 @@ export class DynamicPropertiesClient extends AuthApiBase {
952
1008
  return response.text().then((_responseText) => {
953
1009
  let result200: any = null;
954
1010
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
955
- result200 = DynamicPropertySearchResult.fromJS(resultData200);
1011
+ if (Array.isArray(resultData200)) {
1012
+ result200 = [] as any;
1013
+ for (let item of resultData200) result200!.push(DynamicProperty.fromJS(item));
1014
+ } else {
1015
+ result200 = <any>null;
1016
+ }
956
1017
  return result200;
957
1018
  });
958
1019
  } else if (status === 401) {
@@ -968,12 +1029,12 @@ export class DynamicPropertiesClient extends AuthApiBase {
968
1029
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
969
1030
  });
970
1031
  }
971
- return Promise.resolve<DynamicPropertySearchResult>(null as any);
1032
+ return Promise.resolve<DynamicProperty[]>(null as any);
972
1033
  }
973
1034
 
974
1035
  /**
975
1036
  * @param body (optional)
976
- * @return Success
1037
+ * @return OK
977
1038
  */
978
1039
  createProperty(body?: DynamicProperty | undefined): Promise<DynamicProperty> {
979
1040
  let url_ = this.baseUrl + "/api/platform/dynamic/properties";
@@ -1030,7 +1091,7 @@ export class DynamicPropertiesClient extends AuthApiBase {
1030
1091
 
1031
1092
  /**
1032
1093
  * @param body (optional)
1033
- * @return Success
1094
+ * @return No Content
1034
1095
  */
1035
1096
  updateProperty(body?: DynamicProperty | undefined): Promise<void> {
1036
1097
  let url_ = this.baseUrl + "/api/platform/dynamic/properties";
@@ -1083,7 +1144,7 @@ export class DynamicPropertiesClient extends AuthApiBase {
1083
1144
 
1084
1145
  /**
1085
1146
  * @param propertyIds (optional)
1086
- * @return Success
1147
+ * @return No Content
1087
1148
  */
1088
1149
  deleteProperty(propertyIds?: string[] | undefined): Promise<void> {
1089
1150
  let url_ = this.baseUrl + "/api/platform/dynamic/properties?";
@@ -1136,7 +1197,64 @@ export class DynamicPropertiesClient extends AuthApiBase {
1136
1197
  }
1137
1198
 
1138
1199
  /**
1139
- * @return Success
1200
+ * @param body (optional)
1201
+ * @return OK
1202
+ */
1203
+ searchDynamicProperties(body?: DynamicPropertySearchCriteria | undefined): Promise<DynamicPropertySearchResult> {
1204
+ let url_ = this.baseUrl + "/api/platform/dynamic/properties/search";
1205
+ url_ = url_.replace(/[?&]$/, "");
1206
+
1207
+ const content_ = JSON.stringify(body);
1208
+
1209
+ let options_: RequestInit = {
1210
+ body: content_,
1211
+ method: "POST",
1212
+ headers: {
1213
+ "Content-Type": "application/json-patch+json",
1214
+ Accept: "application/json",
1215
+ },
1216
+ };
1217
+
1218
+ return this.transformOptions(options_)
1219
+ .then((transformedOptions_) => {
1220
+ return this.http.fetch(url_, transformedOptions_);
1221
+ })
1222
+ .then((_response: Response) => {
1223
+ return this.processSearchDynamicProperties(_response);
1224
+ });
1225
+ }
1226
+
1227
+ protected processSearchDynamicProperties(response: Response): Promise<DynamicPropertySearchResult> {
1228
+ const status = response.status;
1229
+ let _headers: any = {};
1230
+ if (response.headers && response.headers.forEach) {
1231
+ response.headers.forEach((v: any, k: any) => (_headers[k] = v));
1232
+ }
1233
+ if (status === 200) {
1234
+ return response.text().then((_responseText) => {
1235
+ let result200: any = null;
1236
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1237
+ result200 = DynamicPropertySearchResult.fromJS(resultData200);
1238
+ return result200;
1239
+ });
1240
+ } else if (status === 401) {
1241
+ return response.text().then((_responseText) => {
1242
+ return throwException("Unauthorized", status, _responseText, _headers);
1243
+ });
1244
+ } else if (status === 403) {
1245
+ return response.text().then((_responseText) => {
1246
+ return throwException("Forbidden", status, _responseText, _headers);
1247
+ });
1248
+ } else if (status !== 200 && status !== 204) {
1249
+ return response.text().then((_responseText) => {
1250
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
1251
+ });
1252
+ }
1253
+ return Promise.resolve<DynamicPropertySearchResult>(null as any);
1254
+ }
1255
+
1256
+ /**
1257
+ * @return OK
1140
1258
  */
1141
1259
  exposeDynamicObjectProperty(): Promise<DynamicObjectProperty> {
1142
1260
  let url_ = this.baseUrl + "/api/platform/dynamic";
@@ -1173,7 +1291,7 @@ export class DynamicPropertiesClient extends AuthApiBase {
1173
1291
  });
1174
1292
  } else if (status === 204) {
1175
1293
  return response.text().then((_responseText) => {
1176
- return throwException("Success", status, _responseText, _headers);
1294
+ return throwException("No Content", status, _responseText, _headers);
1177
1295
  });
1178
1296
  } else if (status === 401) {
1179
1297
  return response.text().then((_responseText) => {
@@ -1192,22 +1310,18 @@ export class DynamicPropertiesClient extends AuthApiBase {
1192
1310
  }
1193
1311
 
1194
1312
  /**
1195
- * @param body (optional)
1196
- * @return Success
1313
+ * @param propertyId (optional)
1314
+ * @return OK
1197
1315
  */
1198
- searchDictionaryItems(
1199
- body?: DynamicPropertyDictionaryItemSearchCriteria | undefined,
1200
- ): Promise<DynamicPropertyDictionaryItemSearchResult> {
1201
- let url_ = this.baseUrl + "/api/platform/dynamic/dictionaryitems/search";
1316
+ getAllDictionaryItems(propertyId?: string | undefined): Promise<DynamicPropertyDictionaryItem[]> {
1317
+ let url_ = this.baseUrl + "/api/platform/dynamic/dictionaryitems?";
1318
+ if (propertyId === null) throw new Error("The parameter 'propertyId' cannot be null.");
1319
+ else if (propertyId !== undefined) url_ += "propertyId=" + encodeURIComponent("" + propertyId) + "&";
1202
1320
  url_ = url_.replace(/[?&]$/, "");
1203
1321
 
1204
- const content_ = JSON.stringify(body);
1205
-
1206
1322
  let options_: RequestInit = {
1207
- body: content_,
1208
- method: "POST",
1323
+ method: "GET",
1209
1324
  headers: {
1210
- "Content-Type": "application/json-patch+json",
1211
1325
  Accept: "application/json",
1212
1326
  },
1213
1327
  };
@@ -1217,11 +1331,11 @@ export class DynamicPropertiesClient extends AuthApiBase {
1217
1331
  return this.http.fetch(url_, transformedOptions_);
1218
1332
  })
1219
1333
  .then((_response: Response) => {
1220
- return this.processSearchDictionaryItems(_response);
1334
+ return this.processGetAllDictionaryItems(_response);
1221
1335
  });
1222
1336
  }
1223
1337
 
1224
- protected processSearchDictionaryItems(response: Response): Promise<DynamicPropertyDictionaryItemSearchResult> {
1338
+ protected processGetAllDictionaryItems(response: Response): Promise<DynamicPropertyDictionaryItem[]> {
1225
1339
  const status = response.status;
1226
1340
  let _headers: any = {};
1227
1341
  if (response.headers && response.headers.forEach) {
@@ -1231,7 +1345,12 @@ export class DynamicPropertiesClient extends AuthApiBase {
1231
1345
  return response.text().then((_responseText) => {
1232
1346
  let result200: any = null;
1233
1347
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1234
- result200 = DynamicPropertyDictionaryItemSearchResult.fromJS(resultData200);
1348
+ if (Array.isArray(resultData200)) {
1349
+ result200 = [] as any;
1350
+ for (let item of resultData200) result200!.push(DynamicPropertyDictionaryItem.fromJS(item));
1351
+ } else {
1352
+ result200 = <any>null;
1353
+ }
1235
1354
  return result200;
1236
1355
  });
1237
1356
  } else if (status === 401) {
@@ -1247,12 +1366,12 @@ export class DynamicPropertiesClient extends AuthApiBase {
1247
1366
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
1248
1367
  });
1249
1368
  }
1250
- return Promise.resolve<DynamicPropertyDictionaryItemSearchResult>(null as any);
1369
+ return Promise.resolve<DynamicPropertyDictionaryItem[]>(null as any);
1251
1370
  }
1252
1371
 
1253
1372
  /**
1254
1373
  * @param body (optional)
1255
- * @return Success
1374
+ * @return No Content
1256
1375
  */
1257
1376
  saveDictionaryItems(body?: DynamicPropertyDictionaryItem[] | undefined): Promise<void> {
1258
1377
  let url_ = this.baseUrl + "/api/platform/dynamic/dictionaryitems";
@@ -1305,7 +1424,7 @@ export class DynamicPropertiesClient extends AuthApiBase {
1305
1424
 
1306
1425
  /**
1307
1426
  * @param ids (optional)
1308
- * @return Success
1427
+ * @return No Content
1309
1428
  */
1310
1429
  deleteDictionaryItem(ids?: string[] | undefined): Promise<void> {
1311
1430
  let url_ = this.baseUrl + "/api/platform/dynamic/dictionaryitems?";
@@ -1356,6 +1475,65 @@ export class DynamicPropertiesClient extends AuthApiBase {
1356
1475
  }
1357
1476
  return Promise.resolve<void>(null as any);
1358
1477
  }
1478
+
1479
+ /**
1480
+ * @param body (optional)
1481
+ * @return OK
1482
+ */
1483
+ searchDictionaryItems(
1484
+ body?: DynamicPropertyDictionaryItemSearchCriteria | undefined,
1485
+ ): Promise<DynamicPropertyDictionaryItemSearchResult> {
1486
+ let url_ = this.baseUrl + "/api/platform/dynamic/dictionaryitems/search";
1487
+ url_ = url_.replace(/[?&]$/, "");
1488
+
1489
+ const content_ = JSON.stringify(body);
1490
+
1491
+ let options_: RequestInit = {
1492
+ body: content_,
1493
+ method: "POST",
1494
+ headers: {
1495
+ "Content-Type": "application/json-patch+json",
1496
+ Accept: "application/json",
1497
+ },
1498
+ };
1499
+
1500
+ return this.transformOptions(options_)
1501
+ .then((transformedOptions_) => {
1502
+ return this.http.fetch(url_, transformedOptions_);
1503
+ })
1504
+ .then((_response: Response) => {
1505
+ return this.processSearchDictionaryItems(_response);
1506
+ });
1507
+ }
1508
+
1509
+ protected processSearchDictionaryItems(response: Response): Promise<DynamicPropertyDictionaryItemSearchResult> {
1510
+ const status = response.status;
1511
+ let _headers: any = {};
1512
+ if (response.headers && response.headers.forEach) {
1513
+ response.headers.forEach((v: any, k: any) => (_headers[k] = v));
1514
+ }
1515
+ if (status === 200) {
1516
+ return response.text().then((_responseText) => {
1517
+ let result200: any = null;
1518
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1519
+ result200 = DynamicPropertyDictionaryItemSearchResult.fromJS(resultData200);
1520
+ return result200;
1521
+ });
1522
+ } else if (status === 401) {
1523
+ return response.text().then((_responseText) => {
1524
+ return throwException("Unauthorized", status, _responseText, _headers);
1525
+ });
1526
+ } else if (status === 403) {
1527
+ return response.text().then((_responseText) => {
1528
+ return throwException("Forbidden", status, _responseText, _headers);
1529
+ });
1530
+ } else if (status !== 200 && status !== 204) {
1531
+ return response.text().then((_responseText) => {
1532
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
1533
+ });
1534
+ }
1535
+ return Promise.resolve<DynamicPropertyDictionaryItemSearchResult>(null as any);
1536
+ }
1359
1537
  }
1360
1538
 
1361
1539
  export class JobsClient extends AuthApiBase {
@@ -1370,7 +1548,7 @@ export class JobsClient extends AuthApiBase {
1370
1548
  }
1371
1549
 
1372
1550
  /**
1373
- * @return Success
1551
+ * @return OK
1374
1552
  */
1375
1553
  getStatus(id: string): Promise<Job> {
1376
1554
  let url_ = this.baseUrl + "/api/platform/jobs/{id}";
@@ -1436,7 +1614,7 @@ export class LocalizableSettingsClient extends AuthApiBase {
1436
1614
  }
1437
1615
 
1438
1616
  /**
1439
- * @return Success
1617
+ * @return OK
1440
1618
  */
1441
1619
  getSettingsAndLanguages(): Promise<LocalizableSettingsAndLanguages> {
1442
1620
  let url_ = this.baseUrl + "/api/platform/localizable-settings";
@@ -1488,7 +1666,7 @@ export class LocalizableSettingsClient extends AuthApiBase {
1488
1666
  }
1489
1667
 
1490
1668
  /**
1491
- * @return Success
1669
+ * @return OK
1492
1670
  */
1493
1671
  getDictionaryValues(name: string, language: string): Promise<KeyValue[]> {
1494
1672
  let url_ = this.baseUrl + "/api/platform/localizable-settings/{name}/dictionary-items/{language}/values";
@@ -1550,7 +1728,7 @@ export class LocalizableSettingsClient extends AuthApiBase {
1550
1728
 
1551
1729
  /**
1552
1730
  * @param body (optional)
1553
- * @return Success
1731
+ * @return No Content
1554
1732
  */
1555
1733
  saveDictionaryItems(name: string, body?: DictionaryItem[] | undefined): Promise<void> {
1556
1734
  let url_ = this.baseUrl + "/api/platform/localizable-settings/{name}/dictionary-items";
@@ -1605,7 +1783,7 @@ export class LocalizableSettingsClient extends AuthApiBase {
1605
1783
 
1606
1784
  /**
1607
1785
  * @param values (optional)
1608
- * @return Success
1786
+ * @return No Content
1609
1787
  */
1610
1788
  deleteDictionaryItems(name: string, values?: string[] | undefined): Promise<void> {
1611
1789
  let url_ = this.baseUrl + "/api/platform/localizable-settings/{name}/dictionary-items?";
@@ -1672,7 +1850,7 @@ export class ModulesClient extends AuthApiBase {
1672
1850
  }
1673
1851
 
1674
1852
  /**
1675
- * @return Success
1853
+ * @return No Content
1676
1854
  */
1677
1855
  reloadModules(): Promise<void> {
1678
1856
  let url_ = this.baseUrl + "/api/platform/modules/reload";
@@ -1719,7 +1897,7 @@ export class ModulesClient extends AuthApiBase {
1719
1897
  }
1720
1898
 
1721
1899
  /**
1722
- * @return Success
1900
+ * @return OK
1723
1901
  */
1724
1902
  getModules(): Promise<ModuleDescriptor[]> {
1725
1903
  let url_ = this.baseUrl + "/api/platform/modules";
@@ -1777,7 +1955,7 @@ export class ModulesClient extends AuthApiBase {
1777
1955
 
1778
1956
  /**
1779
1957
  * @param body (optional)
1780
- * @return Success
1958
+ * @return OK
1781
1959
  */
1782
1960
  getDependingModules(body?: ModuleDescriptor[] | undefined): Promise<ModuleDescriptor[]> {
1783
1961
  let url_ = this.baseUrl + "/api/platform/modules/getdependents";
@@ -1839,7 +2017,7 @@ export class ModulesClient extends AuthApiBase {
1839
2017
 
1840
2018
  /**
1841
2019
  * @param body (optional)
1842
- * @return Success
2020
+ * @return OK
1843
2021
  */
1844
2022
  getMissingDependencies(body?: ModuleDescriptor[] | undefined): Promise<ModuleDescriptor[]> {
1845
2023
  let url_ = this.baseUrl + "/api/platform/modules/getmissingdependencies";
@@ -1900,7 +2078,7 @@ export class ModulesClient extends AuthApiBase {
1900
2078
  }
1901
2079
 
1902
2080
  /**
1903
- * @return Success
2081
+ * @return OK
1904
2082
  */
1905
2083
  uploadModuleArchive(): Promise<ModuleDescriptor> {
1906
2084
  let url_ = this.baseUrl + "/api/platform/modules/localstorage";
@@ -1953,7 +2131,7 @@ export class ModulesClient extends AuthApiBase {
1953
2131
 
1954
2132
  /**
1955
2133
  * @param body (optional)
1956
- * @return Success
2134
+ * @return OK
1957
2135
  */
1958
2136
  installModules(body?: ModuleDescriptor[] | undefined): Promise<ModulePushNotification> {
1959
2137
  let url_ = this.baseUrl + "/api/platform/modules/install";
@@ -2010,7 +2188,7 @@ export class ModulesClient extends AuthApiBase {
2010
2188
 
2011
2189
  /**
2012
2190
  * @param body (optional)
2013
- * @return Success
2191
+ * @return OK
2014
2192
  */
2015
2193
  uninstallModule(body?: ModuleDescriptor[] | undefined): Promise<ModulePushNotification> {
2016
2194
  let url_ = this.baseUrl + "/api/platform/modules/uninstall";
@@ -2066,7 +2244,7 @@ export class ModulesClient extends AuthApiBase {
2066
2244
  }
2067
2245
 
2068
2246
  /**
2069
- * @return Success
2247
+ * @return No Content
2070
2248
  */
2071
2249
  restart(): Promise<void> {
2072
2250
  let url_ = this.baseUrl + "/api/platform/modules/restart";
@@ -2082,19 +2260,71 @@ export class ModulesClient extends AuthApiBase {
2082
2260
  return this.http.fetch(url_, transformedOptions_);
2083
2261
  })
2084
2262
  .then((_response: Response) => {
2085
- return this.processRestart(_response);
2263
+ return this.processRestart(_response);
2264
+ });
2265
+ }
2266
+
2267
+ protected processRestart(response: Response): Promise<void> {
2268
+ const status = response.status;
2269
+ let _headers: any = {};
2270
+ if (response.headers && response.headers.forEach) {
2271
+ response.headers.forEach((v: any, k: any) => (_headers[k] = v));
2272
+ }
2273
+ if (status === 204) {
2274
+ return response.text().then((_responseText) => {
2275
+ return;
2276
+ });
2277
+ } else if (status === 401) {
2278
+ return response.text().then((_responseText) => {
2279
+ return throwException("Unauthorized", status, _responseText, _headers);
2280
+ });
2281
+ } else if (status === 403) {
2282
+ return response.text().then((_responseText) => {
2283
+ return throwException("Forbidden", status, _responseText, _headers);
2284
+ });
2285
+ } else if (status !== 200 && status !== 204) {
2286
+ return response.text().then((_responseText) => {
2287
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
2288
+ });
2289
+ }
2290
+ return Promise.resolve<void>(null as any);
2291
+ }
2292
+
2293
+ /**
2294
+ * @return OK
2295
+ */
2296
+ tryToAutoInstallModules(): Promise<ModuleAutoInstallPushNotification> {
2297
+ let url_ = this.baseUrl + "/api/platform/modules/autoinstall";
2298
+ url_ = url_.replace(/[?&]$/, "");
2299
+
2300
+ let options_: RequestInit = {
2301
+ method: "POST",
2302
+ headers: {
2303
+ Accept: "text/plain",
2304
+ },
2305
+ };
2306
+
2307
+ return this.transformOptions(options_)
2308
+ .then((transformedOptions_) => {
2309
+ return this.http.fetch(url_, transformedOptions_);
2310
+ })
2311
+ .then((_response: Response) => {
2312
+ return this.processTryToAutoInstallModules(_response);
2086
2313
  });
2087
2314
  }
2088
2315
 
2089
- protected processRestart(response: Response): Promise<void> {
2316
+ protected processTryToAutoInstallModules(response: Response): Promise<ModuleAutoInstallPushNotification> {
2090
2317
  const status = response.status;
2091
2318
  let _headers: any = {};
2092
2319
  if (response.headers && response.headers.forEach) {
2093
2320
  response.headers.forEach((v: any, k: any) => (_headers[k] = v));
2094
2321
  }
2095
- if (status === 204) {
2322
+ if (status === 200) {
2096
2323
  return response.text().then((_responseText) => {
2097
- return;
2324
+ let result200: any = null;
2325
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2326
+ result200 = ModuleAutoInstallPushNotification.fromJS(resultData200);
2327
+ return result200;
2098
2328
  });
2099
2329
  } else if (status === 401) {
2100
2330
  return response.text().then((_responseText) => {
@@ -2109,18 +2339,18 @@ export class ModulesClient extends AuthApiBase {
2109
2339
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
2110
2340
  });
2111
2341
  }
2112
- return Promise.resolve<void>(null as any);
2342
+ return Promise.resolve<ModuleAutoInstallPushNotification>(null as any);
2113
2343
  }
2114
2344
 
2115
2345
  /**
2116
- * @return Success
2346
+ * @return OK
2117
2347
  */
2118
- tryToAutoInstallModules(): Promise<ModuleAutoInstallPushNotification> {
2119
- let url_ = this.baseUrl + "/api/platform/modules/autoinstall";
2348
+ getModulesLoadingOrder(): Promise<string[]> {
2349
+ let url_ = this.baseUrl + "/api/platform/modules/loading-order";
2120
2350
  url_ = url_.replace(/[?&]$/, "");
2121
2351
 
2122
2352
  let options_: RequestInit = {
2123
- method: "POST",
2353
+ method: "GET",
2124
2354
  headers: {
2125
2355
  Accept: "text/plain",
2126
2356
  },
@@ -2131,11 +2361,11 @@ export class ModulesClient extends AuthApiBase {
2131
2361
  return this.http.fetch(url_, transformedOptions_);
2132
2362
  })
2133
2363
  .then((_response: Response) => {
2134
- return this.processTryToAutoInstallModules(_response);
2364
+ return this.processGetModulesLoadingOrder(_response);
2135
2365
  });
2136
2366
  }
2137
2367
 
2138
- protected processTryToAutoInstallModules(response: Response): Promise<ModuleAutoInstallPushNotification> {
2368
+ protected processGetModulesLoadingOrder(response: Response): Promise<string[]> {
2139
2369
  const status = response.status;
2140
2370
  let _headers: any = {};
2141
2371
  if (response.headers && response.headers.forEach) {
@@ -2145,7 +2375,12 @@ export class ModulesClient extends AuthApiBase {
2145
2375
  return response.text().then((_responseText) => {
2146
2376
  let result200: any = null;
2147
2377
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2148
- result200 = ModuleAutoInstallPushNotification.fromJS(resultData200);
2378
+ if (Array.isArray(resultData200)) {
2379
+ result200 = [] as any;
2380
+ for (let item of resultData200) result200!.push(item);
2381
+ } else {
2382
+ result200 = <any>null;
2383
+ }
2149
2384
  return result200;
2150
2385
  });
2151
2386
  } else if (status === 401) {
@@ -2161,7 +2396,7 @@ export class ModulesClient extends AuthApiBase {
2161
2396
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
2162
2397
  });
2163
2398
  }
2164
- return Promise.resolve<ModuleAutoInstallPushNotification>(null as any);
2399
+ return Promise.resolve<string[]>(null as any);
2165
2400
  }
2166
2401
  }
2167
2402
 
@@ -2177,7 +2412,7 @@ export class OAuthAppsClient extends AuthApiBase {
2177
2412
  }
2178
2413
 
2179
2414
  /**
2180
- * @return Success
2415
+ * @return OK
2181
2416
  */
2182
2417
  new(): Promise<OpenIddictApplicationDescriptor> {
2183
2418
  let url_ = this.baseUrl + "/api/platform/oauthapps/new";
@@ -2230,7 +2465,7 @@ export class OAuthAppsClient extends AuthApiBase {
2230
2465
 
2231
2466
  /**
2232
2467
  * @param body (optional)
2233
- * @return Success
2468
+ * @return OK
2234
2469
  */
2235
2470
  save(body?: OpenIddictApplicationDescriptor | undefined): Promise<OpenIddictApplicationDescriptor> {
2236
2471
  let url_ = this.baseUrl + "/api/platform/oauthapps";
@@ -2287,7 +2522,7 @@ export class OAuthAppsClient extends AuthApiBase {
2287
2522
 
2288
2523
  /**
2289
2524
  * @param clientIds (optional)
2290
- * @return Success
2525
+ * @return OK
2291
2526
  */
2292
2527
  delete(clientIds?: string[] | undefined): Promise<void> {
2293
2528
  let url_ = this.baseUrl + "/api/platform/oauthapps?";
@@ -2341,7 +2576,7 @@ export class OAuthAppsClient extends AuthApiBase {
2341
2576
 
2342
2577
  /**
2343
2578
  * @param body (optional)
2344
- * @return Success
2579
+ * @return OK
2345
2580
  */
2346
2581
  search(body?: OAuthAppSearchCriteria | undefined): Promise<OAuthAppSearchResult> {
2347
2582
  let url_ = this.baseUrl + "/api/platform/oauthapps/search";
@@ -2410,7 +2645,7 @@ export class PushNotificationClient extends AuthApiBase {
2410
2645
 
2411
2646
  /**
2412
2647
  * @param body (optional)
2413
- * @return Success
2648
+ * @return OK
2414
2649
  */
2415
2650
  searchPushNotification(body?: PushNotificationSearchCriteria | undefined): Promise<PushNotificationSearchResult> {
2416
2651
  let url_ = this.baseUrl + "/api/platform/pushnotifications";
@@ -2466,7 +2701,7 @@ export class PushNotificationClient extends AuthApiBase {
2466
2701
  }
2467
2702
 
2468
2703
  /**
2469
- * @return Success
2704
+ * @return OK
2470
2705
  */
2471
2706
  markAllAsRead(): Promise<PushNotificationSearchResult> {
2472
2707
  let url_ = this.baseUrl + "/api/platform/pushnotifications/markAllAsRead";
@@ -2531,7 +2766,7 @@ export class SecurityClient extends AuthApiBase {
2531
2766
 
2532
2767
  /**
2533
2768
  * @param body (optional)
2534
- * @return Success
2769
+ * @return OK
2535
2770
  */
2536
2771
  login(body?: LoginRequest | undefined): Promise<SignInResult> {
2537
2772
  let url_ = this.baseUrl + "/api/platform/security/login";
@@ -2579,7 +2814,7 @@ export class SecurityClient extends AuthApiBase {
2579
2814
  }
2580
2815
 
2581
2816
  /**
2582
- * @return Success
2817
+ * @return No Content
2583
2818
  */
2584
2819
  logout(): Promise<void> {
2585
2820
  let url_ = this.baseUrl + "/api/platform/security/logout";
@@ -2626,7 +2861,7 @@ export class SecurityClient extends AuthApiBase {
2626
2861
  }
2627
2862
 
2628
2863
  /**
2629
- * @return Success
2864
+ * @return OK
2630
2865
  */
2631
2866
  getCurrentUser(): Promise<UserDetail> {
2632
2867
  let url_ = this.baseUrl + "/api/platform/security/currentuser";
@@ -2661,14 +2896,6 @@ export class SecurityClient extends AuthApiBase {
2661
2896
  result200 = UserDetail.fromJS(resultData200);
2662
2897
  return result200;
2663
2898
  });
2664
- } else if (status === 401) {
2665
- return response.text().then((_responseText) => {
2666
- return throwException("Unauthorized", status, _responseText, _headers);
2667
- });
2668
- } else if (status === 403) {
2669
- return response.text().then((_responseText) => {
2670
- return throwException("Forbidden", status, _responseText, _headers);
2671
- });
2672
2899
  } else if (status !== 200 && status !== 204) {
2673
2900
  return response.text().then((_responseText) => {
2674
2901
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2678,7 +2905,7 @@ export class SecurityClient extends AuthApiBase {
2678
2905
  }
2679
2906
 
2680
2907
  /**
2681
- * @return Success
2908
+ * @return OK
2682
2909
  */
2683
2910
  userinfo(): Promise<Claim[]> {
2684
2911
  let url_ = this.baseUrl + "/api/platform/security/userinfo";
@@ -2735,7 +2962,7 @@ export class SecurityClient extends AuthApiBase {
2735
2962
  }
2736
2963
 
2737
2964
  /**
2738
- * @return Success
2965
+ * @return OK
2739
2966
  */
2740
2967
  getAllRegisteredPermissions(): Promise<Permission[]> {
2741
2968
  let url_ = this.baseUrl + "/api/platform/security/permissions";
@@ -2793,7 +3020,7 @@ export class SecurityClient extends AuthApiBase {
2793
3020
 
2794
3021
  /**
2795
3022
  * @param body (optional)
2796
- * @return Success
3023
+ * @return OK
2797
3024
  */
2798
3025
  searchRoles(body?: RoleSearchCriteria | undefined): Promise<RoleSearchResult> {
2799
3026
  let url_ = this.baseUrl + "/api/platform/security/roles/search";
@@ -2849,7 +3076,7 @@ export class SecurityClient extends AuthApiBase {
2849
3076
  }
2850
3077
 
2851
3078
  /**
2852
- * @return Success
3079
+ * @return OK
2853
3080
  */
2854
3081
  getRole(roleName: string): Promise<Role> {
2855
3082
  let url_ = this.baseUrl + "/api/platform/security/roles/{roleName}";
@@ -2904,7 +3131,7 @@ export class SecurityClient extends AuthApiBase {
2904
3131
 
2905
3132
  /**
2906
3133
  * @param ids (optional)
2907
- * @return Success
3134
+ * @return No Content
2908
3135
  */
2909
3136
  deleteRoles(ids?: string[] | undefined): Promise<void> {
2910
3137
  let url_ = this.baseUrl + "/api/platform/security/roles?";
@@ -2958,7 +3185,7 @@ export class SecurityClient extends AuthApiBase {
2958
3185
 
2959
3186
  /**
2960
3187
  * @param body (optional)
2961
- * @return Success
3188
+ * @return OK
2962
3189
  */
2963
3190
  updateRole(body?: Role | undefined): Promise<SecurityResult> {
2964
3191
  let url_ = this.baseUrl + "/api/platform/security/roles";
@@ -3015,7 +3242,7 @@ export class SecurityClient extends AuthApiBase {
3015
3242
 
3016
3243
  /**
3017
3244
  * @param body (optional)
3018
- * @return Success
3245
+ * @return OK
3019
3246
  */
3020
3247
  searchUsers(body?: UserSearchCriteria | undefined): Promise<UserSearchResult> {
3021
3248
  let url_ = this.baseUrl + "/api/platform/security/users/search";
@@ -3071,7 +3298,7 @@ export class SecurityClient extends AuthApiBase {
3071
3298
  }
3072
3299
 
3073
3300
  /**
3074
- * @return Success
3301
+ * @return OK
3075
3302
  */
3076
3303
  getUserByName(userName: string): Promise<ApplicationUser> {
3077
3304
  let url_ = this.baseUrl + "/api/platform/security/users/{userName}";
@@ -3125,7 +3352,7 @@ export class SecurityClient extends AuthApiBase {
3125
3352
  }
3126
3353
 
3127
3354
  /**
3128
- * @return Success
3355
+ * @return OK
3129
3356
  */
3130
3357
  getUserById(id: string): Promise<ApplicationUser> {
3131
3358
  let url_ = this.baseUrl + "/api/platform/security/users/id/{id}";
@@ -3179,7 +3406,7 @@ export class SecurityClient extends AuthApiBase {
3179
3406
  }
3180
3407
 
3181
3408
  /**
3182
- * @return Success
3409
+ * @return OK
3183
3410
  */
3184
3411
  getUserByEmail(email: string): Promise<ApplicationUser> {
3185
3412
  let url_ = this.baseUrl + "/api/platform/security/users/email/{email}";
@@ -3233,7 +3460,7 @@ export class SecurityClient extends AuthApiBase {
3233
3460
  }
3234
3461
 
3235
3462
  /**
3236
- * @return Success
3463
+ * @return OK
3237
3464
  */
3238
3465
  getUserByLogin(loginProvider: string, providerKey: string): Promise<ApplicationUser> {
3239
3466
  let url_ = this.baseUrl + "/api/platform/security/users/login/external/{loginProvider}/{providerKey}";
@@ -3292,7 +3519,7 @@ export class SecurityClient extends AuthApiBase {
3292
3519
 
3293
3520
  /**
3294
3521
  * @param body (optional)
3295
- * @return Success
3522
+ * @return OK
3296
3523
  */
3297
3524
  create(body?: ApplicationUser | undefined): Promise<SecurityResult> {
3298
3525
  let url_ = this.baseUrl + "/api/platform/security/users/create";
@@ -3349,7 +3576,7 @@ export class SecurityClient extends AuthApiBase {
3349
3576
 
3350
3577
  /**
3351
3578
  * @param body (optional)
3352
- * @return Success
3579
+ * @return OK
3353
3580
  */
3354
3581
  changeCurrentUserPassword(body?: ChangePasswordRequest | undefined): Promise<SecurityResult> {
3355
3582
  let url_ = this.baseUrl + "/api/platform/security/currentuser/changepassword";
@@ -3410,7 +3637,7 @@ export class SecurityClient extends AuthApiBase {
3410
3637
 
3411
3638
  /**
3412
3639
  * @param body (optional)
3413
- * @return Success
3640
+ * @return OK
3414
3641
  */
3415
3642
  changePassword(userName: string, body?: ChangePasswordRequest | undefined): Promise<SecurityResult> {
3416
3643
  let url_ = this.baseUrl + "/api/platform/security/users/{userName}/changepassword";
@@ -3473,7 +3700,7 @@ export class SecurityClient extends AuthApiBase {
3473
3700
 
3474
3701
  /**
3475
3702
  * @param body (optional)
3476
- * @return Success
3703
+ * @return OK
3477
3704
  */
3478
3705
  resetPassword(userName: string, body?: ResetPasswordConfirmRequest | undefined): Promise<SecurityResult> {
3479
3706
  let url_ = this.baseUrl + "/api/platform/security/users/{userName}/resetpassword";
@@ -3532,7 +3759,7 @@ export class SecurityClient extends AuthApiBase {
3532
3759
 
3533
3760
  /**
3534
3761
  * @param body (optional)
3535
- * @return Success
3762
+ * @return OK
3536
3763
  */
3537
3764
  resetPasswordByToken(userId: string, body?: ResetPasswordConfirmRequest | undefined): Promise<SecurityResult> {
3538
3765
  let url_ = this.baseUrl + "/api/platform/security/users/{userId}/resetpasswordconfirm";
@@ -3583,7 +3810,7 @@ export class SecurityClient extends AuthApiBase {
3583
3810
 
3584
3811
  /**
3585
3812
  * @param body (optional)
3586
- * @return Success
3813
+ * @return OK
3587
3814
  */
3588
3815
  validatePasswordResetToken(userId: string, body?: ValidatePasswordResetTokenRequest | undefined): Promise<boolean> {
3589
3816
  let url_ = this.baseUrl + "/api/platform/security/users/{userId}/validatepasswordresettoken";
@@ -3634,7 +3861,7 @@ export class SecurityClient extends AuthApiBase {
3634
3861
  }
3635
3862
 
3636
3863
  /**
3637
- * @return Success
3864
+ * @return OK
3638
3865
  */
3639
3866
  requestPasswordReset(loginOrEmail: string): Promise<void> {
3640
3867
  let url_ = this.baseUrl + "/api/platform/security/users/{loginOrEmail}/requestpasswordreset";
@@ -3677,7 +3904,7 @@ export class SecurityClient extends AuthApiBase {
3677
3904
 
3678
3905
  /**
3679
3906
  * @param body (optional)
3680
- * @return Success
3907
+ * @return OK
3681
3908
  */
3682
3909
  validatePassword(body?: string | undefined): Promise<IdentityResult> {
3683
3910
  let url_ = this.baseUrl + "/api/platform/security/validatepassword";
@@ -3726,7 +3953,7 @@ export class SecurityClient extends AuthApiBase {
3726
3953
 
3727
3954
  /**
3728
3955
  * @param body (optional)
3729
- * @return Success
3956
+ * @return OK
3730
3957
  */
3731
3958
  validateUserPassword(body?: ChangePasswordRequest | undefined): Promise<IdentityResult> {
3732
3959
  let url_ = this.baseUrl + "/api/platform/security/validateuserpassword";
@@ -3783,7 +4010,7 @@ export class SecurityClient extends AuthApiBase {
3783
4010
 
3784
4011
  /**
3785
4012
  * @param body (optional)
3786
- * @return Success
4013
+ * @return OK
3787
4014
  */
3788
4015
  update(body?: ApplicationUser | undefined): Promise<SecurityResult> {
3789
4016
  let url_ = this.baseUrl + "/api/platform/security/users";
@@ -3840,7 +4067,7 @@ export class SecurityClient extends AuthApiBase {
3840
4067
 
3841
4068
  /**
3842
4069
  * @param names (optional)
3843
- * @return Success
4070
+ * @return OK
3844
4071
  */
3845
4072
  delete(names?: string[] | undefined): Promise<void> {
3846
4073
  let url_ = this.baseUrl + "/api/platform/security/users?";
@@ -3893,7 +4120,7 @@ export class SecurityClient extends AuthApiBase {
3893
4120
  }
3894
4121
 
3895
4122
  /**
3896
- * @return Success
4123
+ * @return OK
3897
4124
  */
3898
4125
  isUserLocked(id: string): Promise<UserLockedResult> {
3899
4126
  let url_ = this.baseUrl + "/api/platform/security/users/{id}/locked";
@@ -3947,7 +4174,7 @@ export class SecurityClient extends AuthApiBase {
3947
4174
  }
3948
4175
 
3949
4176
  /**
3950
- * @return Success
4177
+ * @return OK
3951
4178
  */
3952
4179
  passwordChangeEnabled(): Promise<UserLockedResult> {
3953
4180
  let url_ = this.baseUrl + "/api/platform/security/passwordchangeenabled";
@@ -3999,7 +4226,7 @@ export class SecurityClient extends AuthApiBase {
3999
4226
  }
4000
4227
 
4001
4228
  /**
4002
- * @return Success
4229
+ * @return OK
4003
4230
  */
4004
4231
  lockUser(id: string): Promise<SecurityResult> {
4005
4232
  let url_ = this.baseUrl + "/api/platform/security/users/{id}/lock";
@@ -4053,7 +4280,7 @@ export class SecurityClient extends AuthApiBase {
4053
4280
  }
4054
4281
 
4055
4282
  /**
4056
- * @return Success
4283
+ * @return OK
4057
4284
  */
4058
4285
  unlockUser(id: string): Promise<SecurityResult> {
4059
4286
  let url_ = this.baseUrl + "/api/platform/security/users/{id}/unlock";
@@ -4107,7 +4334,7 @@ export class SecurityClient extends AuthApiBase {
4107
4334
  }
4108
4335
 
4109
4336
  /**
4110
- * @return Success
4337
+ * @return OK
4111
4338
  */
4112
4339
  getUserApiKeys(id: string): Promise<UserApiKey[]> {
4113
4340
  let url_ = this.baseUrl + "/api/platform/security/users/{id}/apikeys";
@@ -4167,7 +4394,7 @@ export class SecurityClient extends AuthApiBase {
4167
4394
 
4168
4395
  /**
4169
4396
  * @param body (optional)
4170
- * @return Success
4397
+ * @return OK
4171
4398
  */
4172
4399
  saveUserApiKey(body?: UserApiKey | undefined): Promise<UserApiKey[]> {
4173
4400
  let url_ = this.baseUrl + "/api/platform/security/users/apikeys";
@@ -4229,7 +4456,7 @@ export class SecurityClient extends AuthApiBase {
4229
4456
 
4230
4457
  /**
4231
4458
  * @param body (optional)
4232
- * @return Success
4459
+ * @return OK
4233
4460
  */
4234
4461
  updateUserApiKey(body?: UserApiKey | undefined): Promise<UserApiKey[]> {
4235
4462
  let url_ = this.baseUrl + "/api/platform/security/users/apikeys";
@@ -4291,7 +4518,7 @@ export class SecurityClient extends AuthApiBase {
4291
4518
 
4292
4519
  /**
4293
4520
  * @param ids (optional)
4294
- * @return Success
4521
+ * @return OK
4295
4522
  */
4296
4523
  deleteUserApiKeys(ids?: string[] | undefined): Promise<UserApiKey[]> {
4297
4524
  let url_ = this.baseUrl + "/api/platform/security/users/apikeys?";
@@ -4354,7 +4581,7 @@ export class SecurityClient extends AuthApiBase {
4354
4581
  }
4355
4582
 
4356
4583
  /**
4357
- * @return Success
4584
+ * @return OK
4358
4585
  */
4359
4586
  getLoginTypes(): Promise<LoginType[]> {
4360
4587
  let url_ = this.baseUrl + "/api/platform/security/logintypes";
@@ -4403,7 +4630,7 @@ export class SecurityClient extends AuthApiBase {
4403
4630
  }
4404
4631
 
4405
4632
  /**
4406
- * @return Success
4633
+ * @return OK
4407
4634
  */
4408
4635
  sendVerificationEmail(userId: string): Promise<void> {
4409
4636
  let url_ = this.baseUrl + "/api/platform/security/users/{userId}/sendVerificationEmail";
@@ -4453,7 +4680,7 @@ export class SecurityClient extends AuthApiBase {
4453
4680
 
4454
4681
  /**
4455
4682
  * @param body (optional)
4456
- * @return Success
4683
+ * @return OK
4457
4684
  */
4458
4685
  confirmEmail(userId: string, body?: ConfirmEmailRequest | undefined): Promise<SecurityResult> {
4459
4686
  let url_ = this.baseUrl + "/api/platform/security/users/{userId}/confirmEmail";
@@ -4512,7 +4739,7 @@ export class SecurityClient extends AuthApiBase {
4512
4739
 
4513
4740
  /**
4514
4741
  * @param newEmail (optional)
4515
- * @return Success
4742
+ * @return OK
4516
4743
  */
4517
4744
  generateChangeEmailToken(userId: string, newEmail?: string | undefined): Promise<string> {
4518
4745
  let url_ = this.baseUrl + "/api/platform/security/users/{userId}/generateChangeEmailToken?";
@@ -4569,7 +4796,7 @@ export class SecurityClient extends AuthApiBase {
4569
4796
  }
4570
4797
 
4571
4798
  /**
4572
- * @return Success
4799
+ * @return OK
4573
4800
  */
4574
4801
  generateEmailConfirmationToken(userId: string): Promise<string> {
4575
4802
  let url_ = this.baseUrl + "/api/platform/security/users/{userId}/generateEmailConfirmationToken";
@@ -4624,7 +4851,7 @@ export class SecurityClient extends AuthApiBase {
4624
4851
  }
4625
4852
 
4626
4853
  /**
4627
- * @return Success
4854
+ * @return OK
4628
4855
  */
4629
4856
  generatePasswordResetToken(userId: string): Promise<string> {
4630
4857
  let url_ = this.baseUrl + "/api/platform/security/users/{userId}/generatePasswordResetToken";
@@ -4681,7 +4908,7 @@ export class SecurityClient extends AuthApiBase {
4681
4908
  /**
4682
4909
  * @param tokenProvider (optional)
4683
4910
  * @param purpose (optional)
4684
- * @return Success
4911
+ * @return OK
4685
4912
  */
4686
4913
  generateUserToken(userId: string, tokenProvider?: string | undefined, purpose?: string | undefined): Promise<string> {
4687
4914
  let url_ = this.baseUrl + "/api/platform/security/users/{userId}/generateToken?";
@@ -4741,7 +4968,7 @@ export class SecurityClient extends AuthApiBase {
4741
4968
 
4742
4969
  /**
4743
4970
  * @param body (optional)
4744
- * @return Success
4971
+ * @return OK
4745
4972
  */
4746
4973
  verifyUserToken(userId: string, body?: VerifyTokenRequest | undefined): Promise<boolean> {
4747
4974
  let url_ = this.baseUrl + "/api/platform/security/users/{userId}/verifyToken";
@@ -4812,7 +5039,7 @@ export class SettingClient extends AuthApiBase {
4812
5039
  }
4813
5040
 
4814
5041
  /**
4815
- * @return Success
5042
+ * @return OK
4816
5043
  */
4817
5044
  getAllGlobalSettings(): Promise<ObjectSettingEntry[]> {
4818
5045
  let url_ = this.baseUrl + "/api/platform/settings";
@@ -4870,7 +5097,7 @@ export class SettingClient extends AuthApiBase {
4870
5097
 
4871
5098
  /**
4872
5099
  * @param body (optional)
4873
- * @return Success
5100
+ * @return No Content
4874
5101
  */
4875
5102
  update(body?: ObjectSettingEntry[] | undefined): Promise<void> {
4876
5103
  let url_ = this.baseUrl + "/api/platform/settings";
@@ -4922,7 +5149,7 @@ export class SettingClient extends AuthApiBase {
4922
5149
  }
4923
5150
 
4924
5151
  /**
4925
- * @return Success
5152
+ * @return OK
4926
5153
  */
4927
5154
  getGlobalModuleSettings(id: string): Promise<ObjectSettingEntry[]> {
4928
5155
  let url_ = this.baseUrl + "/api/platform/settings/modules/{id}";
@@ -4981,7 +5208,7 @@ export class SettingClient extends AuthApiBase {
4981
5208
  }
4982
5209
 
4983
5210
  /**
4984
- * @return Success
5211
+ * @return OK
4985
5212
  */
4986
5213
  getGlobalSetting(name: string): Promise<ObjectSettingEntry> {
4987
5214
  let url_ = this.baseUrl + "/api/platform/settings/{name}";
@@ -5035,7 +5262,7 @@ export class SettingClient extends AuthApiBase {
5035
5262
  }
5036
5263
 
5037
5264
  /**
5038
- * @return Success
5265
+ * @return OK
5039
5266
  */
5040
5267
  getUICustomizationSetting(): Promise<ObjectSettingEntry> {
5041
5268
  let url_ = this.baseUrl + "/api/platform/settings/ui/customization";
@@ -5079,12 +5306,6 @@ export class SettingClient extends AuthApiBase {
5079
5306
  }
5080
5307
  }
5081
5308
 
5082
- export enum AccountState {
5083
- PendingApproval = "PendingApproval",
5084
- Approved = "Approved",
5085
- Rejected = "Rejected",
5086
- }
5087
-
5088
5309
  export class AppDescriptor implements IAppDescriptor {
5089
5310
  title?: string | undefined;
5090
5311
  description?: string | undefined;
@@ -5153,9 +5374,6 @@ export class ApplicationUser implements IApplicationUser {
5153
5374
  createdBy?: string | undefined;
5154
5375
  modifiedBy?: string | undefined;
5155
5376
  roles?: Role[] | undefined;
5156
- lockoutEndDateUtc?: Date | undefined;
5157
- userState?: ApplicationUserUserState;
5158
- permissions?: string[] | undefined;
5159
5377
  logins?: ApplicationUserLogin[] | undefined;
5160
5378
  passwordExpired?: boolean;
5161
5379
  lastPasswordChangedDate?: Date | undefined;
@@ -5202,14 +5420,6 @@ export class ApplicationUser implements IApplicationUser {
5202
5420
  this.roles = [] as any;
5203
5421
  for (let item of _data["roles"]) this.roles!.push(Role.fromJS(item));
5204
5422
  }
5205
- this.lockoutEndDateUtc = _data["lockoutEndDateUtc"]
5206
- ? new Date(_data["lockoutEndDateUtc"].toString())
5207
- : <any>undefined;
5208
- this.userState = _data["userState"];
5209
- if (Array.isArray(_data["permissions"])) {
5210
- this.permissions = [] as any;
5211
- for (let item of _data["permissions"]) this.permissions!.push(item);
5212
- }
5213
5423
  if (Array.isArray(_data["logins"])) {
5214
5424
  this.logins = [] as any;
5215
5425
  for (let item of _data["logins"]) this.logins!.push(ApplicationUserLogin.fromJS(item));
@@ -5227,248 +5437,114 @@ export class ApplicationUser implements IApplicationUser {
5227
5437
  this.normalizedUserName = _data["normalizedUserName"];
5228
5438
  this.email = _data["email"];
5229
5439
  this.normalizedEmail = _data["normalizedEmail"];
5230
- this.emailConfirmed = _data["emailConfirmed"];
5231
- this.passwordHash = _data["passwordHash"];
5232
- this.securityStamp = _data["securityStamp"];
5233
- this.concurrencyStamp = _data["concurrencyStamp"];
5234
- this.phoneNumber = _data["phoneNumber"];
5235
- this.phoneNumberConfirmed = _data["phoneNumberConfirmed"];
5236
- this.twoFactorEnabled = _data["twoFactorEnabled"];
5237
- this.lockoutEnd = _data["lockoutEnd"] ? new Date(_data["lockoutEnd"].toString()) : <any>undefined;
5238
- this.lockoutEnabled = _data["lockoutEnabled"];
5239
- this.accessFailedCount = _data["accessFailedCount"];
5240
- }
5241
- }
5242
-
5243
- static fromJS(data: any): ApplicationUser {
5244
- data = typeof data === "object" ? data : {};
5245
- let result = new ApplicationUser();
5246
- result.init(data);
5247
- return result;
5248
- }
5249
-
5250
- toJSON(data?: any) {
5251
- data = typeof data === "object" ? data : {};
5252
- data["storeId"] = this.storeId;
5253
- data["memberId"] = this.memberId;
5254
- data["isAdministrator"] = this.isAdministrator;
5255
- data["photoUrl"] = this.photoUrl;
5256
- data["userType"] = this.userType;
5257
- data["status"] = this.status;
5258
- data["password"] = this.password;
5259
- data["createdDate"] = this.createdDate ? this.createdDate.toISOString() : <any>undefined;
5260
- data["modifiedDate"] = this.modifiedDate ? this.modifiedDate.toISOString() : <any>undefined;
5261
- data["createdBy"] = this.createdBy;
5262
- data["modifiedBy"] = this.modifiedBy;
5263
- if (Array.isArray(this.roles)) {
5264
- data["roles"] = [];
5265
- for (let item of this.roles) data["roles"].push(item.toJSON());
5266
- }
5267
- data["lockoutEndDateUtc"] = this.lockoutEndDateUtc ? this.lockoutEndDateUtc.toISOString() : <any>undefined;
5268
- data["userState"] = this.userState;
5269
- if (Array.isArray(this.permissions)) {
5270
- data["permissions"] = [];
5271
- for (let item of this.permissions) data["permissions"].push(item);
5272
- }
5273
- if (Array.isArray(this.logins)) {
5274
- data["logins"] = [];
5275
- for (let item of this.logins) data["logins"].push(item.toJSON());
5276
- }
5277
- data["passwordExpired"] = this.passwordExpired;
5278
- data["lastPasswordChangedDate"] = this.lastPasswordChangedDate
5279
- ? this.lastPasswordChangedDate.toISOString()
5280
- : <any>undefined;
5281
- data["lastPasswordChangeRequestDate"] = this.lastPasswordChangeRequestDate
5282
- ? this.lastPasswordChangeRequestDate.toISOString()
5283
- : <any>undefined;
5284
- data["lastLoginDate"] = this.lastLoginDate ? this.lastLoginDate.toISOString() : <any>undefined;
5285
- data["id"] = this.id;
5286
- data["userName"] = this.userName;
5287
- data["normalizedUserName"] = this.normalizedUserName;
5288
- data["email"] = this.email;
5289
- data["normalizedEmail"] = this.normalizedEmail;
5290
- data["emailConfirmed"] = this.emailConfirmed;
5291
- data["passwordHash"] = this.passwordHash;
5292
- data["securityStamp"] = this.securityStamp;
5293
- data["concurrencyStamp"] = this.concurrencyStamp;
5294
- data["phoneNumber"] = this.phoneNumber;
5295
- data["phoneNumberConfirmed"] = this.phoneNumberConfirmed;
5296
- data["twoFactorEnabled"] = this.twoFactorEnabled;
5297
- data["lockoutEnd"] = this.lockoutEnd ? this.lockoutEnd.toISOString() : <any>undefined;
5298
- data["lockoutEnabled"] = this.lockoutEnabled;
5299
- data["accessFailedCount"] = this.accessFailedCount;
5300
- return data;
5301
- }
5302
- }
5303
-
5304
- export interface IApplicationUser {
5305
- storeId?: string | undefined;
5306
- memberId?: string | undefined;
5307
- isAdministrator?: boolean;
5308
- photoUrl?: string | undefined;
5309
- userType?: string | undefined;
5310
- status?: string | undefined;
5311
- password?: string | undefined;
5312
- createdDate?: Date;
5313
- modifiedDate?: Date | undefined;
5314
- createdBy?: string | undefined;
5315
- modifiedBy?: string | undefined;
5316
- roles?: Role[] | undefined;
5317
- lockoutEndDateUtc?: Date | undefined;
5318
- userState?: ApplicationUserUserState;
5319
- permissions?: string[] | undefined;
5320
- logins?: ApplicationUserLogin[] | undefined;
5321
- passwordExpired?: boolean;
5322
- lastPasswordChangedDate?: Date | undefined;
5323
- lastPasswordChangeRequestDate?: Date | undefined;
5324
- lastLoginDate?: Date | undefined;
5325
- id?: string | undefined;
5326
- userName?: string | undefined;
5327
- normalizedUserName?: string | undefined;
5328
- email?: string | undefined;
5329
- normalizedEmail?: string | undefined;
5330
- emailConfirmed?: boolean;
5331
- passwordHash?: string | undefined;
5332
- securityStamp?: string | undefined;
5333
- concurrencyStamp?: string | undefined;
5334
- phoneNumber?: string | undefined;
5335
- phoneNumberConfirmed?: boolean;
5336
- twoFactorEnabled?: boolean;
5337
- lockoutEnd?: Date | undefined;
5338
- lockoutEnabled?: boolean;
5339
- accessFailedCount?: number;
5340
- }
5341
-
5342
- export class ApplicationUserLogin implements IApplicationUserLogin {
5343
- loginProvider?: string | undefined;
5344
- providerKey?: string | undefined;
5345
-
5346
- constructor(data?: IApplicationUserLogin) {
5347
- if (data) {
5348
- for (var property in data) {
5349
- if (data.hasOwnProperty(property)) (<any>this)[property] = (<any>data)[property];
5350
- }
5351
- }
5352
- }
5353
-
5354
- init(_data?: any) {
5355
- if (_data) {
5356
- this.loginProvider = _data["loginProvider"];
5357
- this.providerKey = _data["providerKey"];
5358
- }
5359
- }
5360
-
5361
- static fromJS(data: any): ApplicationUserLogin {
5362
- data = typeof data === "object" ? data : {};
5363
- let result = new ApplicationUserLogin();
5364
- result.init(data);
5365
- return result;
5366
- }
5367
-
5368
- toJSON(data?: any) {
5369
- data = typeof data === "object" ? data : {};
5370
- data["loginProvider"] = this.loginProvider;
5371
- data["providerKey"] = this.providerKey;
5372
- return data;
5373
- }
5374
- }
5375
-
5376
- export interface IApplicationUserLogin {
5377
- loginProvider?: string | undefined;
5378
- providerKey?: string | undefined;
5379
- }
5380
-
5381
- export class ChangedEntitiesRequest implements IChangedEntitiesRequest {
5382
- entityNames?: string[] | undefined;
5383
- modifiedSince?: Date;
5384
-
5385
- constructor(data?: IChangedEntitiesRequest) {
5386
- if (data) {
5387
- for (var property in data) {
5388
- if (data.hasOwnProperty(property)) (<any>this)[property] = (<any>data)[property];
5389
- }
5390
- }
5391
- }
5392
-
5393
- init(_data?: any) {
5394
- if (_data) {
5395
- if (Array.isArray(_data["entityNames"])) {
5396
- this.entityNames = [] as any;
5397
- for (let item of _data["entityNames"]) this.entityNames!.push(item);
5398
- }
5399
- this.modifiedSince = _data["modifiedSince"] ? new Date(_data["modifiedSince"].toString()) : <any>undefined;
5400
- }
5401
- }
5402
-
5403
- static fromJS(data: any): ChangedEntitiesRequest {
5404
- data = typeof data === "object" ? data : {};
5405
- let result = new ChangedEntitiesRequest();
5406
- result.init(data);
5407
- return result;
5408
- }
5409
-
5410
- toJSON(data?: any) {
5411
- data = typeof data === "object" ? data : {};
5412
- if (Array.isArray(this.entityNames)) {
5413
- data["entityNames"] = [];
5414
- for (let item of this.entityNames) data["entityNames"].push(item);
5415
- }
5416
- data["modifiedSince"] = this.modifiedSince ? this.modifiedSince.toISOString() : <any>undefined;
5417
- return data;
5418
- }
5419
- }
5420
-
5421
- export interface IChangedEntitiesRequest {
5422
- entityNames?: string[] | undefined;
5423
- modifiedSince?: Date;
5424
- }
5425
-
5426
- export class ChangedEntitiesResponse implements IChangedEntitiesResponse {
5427
- entities?: ChangedEntity[] | undefined;
5428
-
5429
- constructor(data?: IChangedEntitiesResponse) {
5430
- if (data) {
5431
- for (var property in data) {
5432
- if (data.hasOwnProperty(property)) (<any>this)[property] = (<any>data)[property];
5433
- }
5434
- }
5435
- }
5436
-
5437
- init(_data?: any) {
5438
- if (_data) {
5439
- if (Array.isArray(_data["entities"])) {
5440
- this.entities = [] as any;
5441
- for (let item of _data["entities"]) this.entities!.push(ChangedEntity.fromJS(item));
5442
- }
5440
+ this.emailConfirmed = _data["emailConfirmed"];
5441
+ this.passwordHash = _data["passwordHash"];
5442
+ this.securityStamp = _data["securityStamp"];
5443
+ this.concurrencyStamp = _data["concurrencyStamp"];
5444
+ this.phoneNumber = _data["phoneNumber"];
5445
+ this.phoneNumberConfirmed = _data["phoneNumberConfirmed"];
5446
+ this.twoFactorEnabled = _data["twoFactorEnabled"];
5447
+ this.lockoutEnd = _data["lockoutEnd"] ? new Date(_data["lockoutEnd"].toString()) : <any>undefined;
5448
+ this.lockoutEnabled = _data["lockoutEnabled"];
5449
+ this.accessFailedCount = _data["accessFailedCount"];
5443
5450
  }
5444
5451
  }
5445
5452
 
5446
- static fromJS(data: any): ChangedEntitiesResponse {
5453
+ static fromJS(data: any): ApplicationUser {
5447
5454
  data = typeof data === "object" ? data : {};
5448
- let result = new ChangedEntitiesResponse();
5455
+ let result = new ApplicationUser();
5449
5456
  result.init(data);
5450
5457
  return result;
5451
5458
  }
5452
5459
 
5453
5460
  toJSON(data?: any) {
5454
5461
  data = typeof data === "object" ? data : {};
5455
- if (Array.isArray(this.entities)) {
5456
- data["entities"] = [];
5457
- for (let item of this.entities) data["entities"].push(item.toJSON());
5462
+ data["storeId"] = this.storeId;
5463
+ data["memberId"] = this.memberId;
5464
+ data["isAdministrator"] = this.isAdministrator;
5465
+ data["photoUrl"] = this.photoUrl;
5466
+ data["userType"] = this.userType;
5467
+ data["status"] = this.status;
5468
+ data["password"] = this.password;
5469
+ data["createdDate"] = this.createdDate ? this.createdDate.toISOString() : <any>undefined;
5470
+ data["modifiedDate"] = this.modifiedDate ? this.modifiedDate.toISOString() : <any>undefined;
5471
+ data["createdBy"] = this.createdBy;
5472
+ data["modifiedBy"] = this.modifiedBy;
5473
+ if (Array.isArray(this.roles)) {
5474
+ data["roles"] = [];
5475
+ for (let item of this.roles) data["roles"].push(item.toJSON());
5476
+ }
5477
+ if (Array.isArray(this.logins)) {
5478
+ data["logins"] = [];
5479
+ for (let item of this.logins) data["logins"].push(item.toJSON());
5458
5480
  }
5481
+ data["passwordExpired"] = this.passwordExpired;
5482
+ data["lastPasswordChangedDate"] = this.lastPasswordChangedDate
5483
+ ? this.lastPasswordChangedDate.toISOString()
5484
+ : <any>undefined;
5485
+ data["lastPasswordChangeRequestDate"] = this.lastPasswordChangeRequestDate
5486
+ ? this.lastPasswordChangeRequestDate.toISOString()
5487
+ : <any>undefined;
5488
+ data["lastLoginDate"] = this.lastLoginDate ? this.lastLoginDate.toISOString() : <any>undefined;
5489
+ data["id"] = this.id;
5490
+ data["userName"] = this.userName;
5491
+ data["normalizedUserName"] = this.normalizedUserName;
5492
+ data["email"] = this.email;
5493
+ data["normalizedEmail"] = this.normalizedEmail;
5494
+ data["emailConfirmed"] = this.emailConfirmed;
5495
+ data["passwordHash"] = this.passwordHash;
5496
+ data["securityStamp"] = this.securityStamp;
5497
+ data["concurrencyStamp"] = this.concurrencyStamp;
5498
+ data["phoneNumber"] = this.phoneNumber;
5499
+ data["phoneNumberConfirmed"] = this.phoneNumberConfirmed;
5500
+ data["twoFactorEnabled"] = this.twoFactorEnabled;
5501
+ data["lockoutEnd"] = this.lockoutEnd ? this.lockoutEnd.toISOString() : <any>undefined;
5502
+ data["lockoutEnabled"] = this.lockoutEnabled;
5503
+ data["accessFailedCount"] = this.accessFailedCount;
5459
5504
  return data;
5460
5505
  }
5461
5506
  }
5462
5507
 
5463
- export interface IChangedEntitiesResponse {
5464
- entities?: ChangedEntity[] | undefined;
5508
+ export interface IApplicationUser {
5509
+ storeId?: string | undefined;
5510
+ memberId?: string | undefined;
5511
+ isAdministrator?: boolean;
5512
+ photoUrl?: string | undefined;
5513
+ userType?: string | undefined;
5514
+ status?: string | undefined;
5515
+ password?: string | undefined;
5516
+ createdDate?: Date;
5517
+ modifiedDate?: Date | undefined;
5518
+ createdBy?: string | undefined;
5519
+ modifiedBy?: string | undefined;
5520
+ roles?: Role[] | undefined;
5521
+ logins?: ApplicationUserLogin[] | undefined;
5522
+ passwordExpired?: boolean;
5523
+ lastPasswordChangedDate?: Date | undefined;
5524
+ lastPasswordChangeRequestDate?: Date | undefined;
5525
+ lastLoginDate?: Date | undefined;
5526
+ id?: string | undefined;
5527
+ userName?: string | undefined;
5528
+ normalizedUserName?: string | undefined;
5529
+ email?: string | undefined;
5530
+ normalizedEmail?: string | undefined;
5531
+ emailConfirmed?: boolean;
5532
+ passwordHash?: string | undefined;
5533
+ securityStamp?: string | undefined;
5534
+ concurrencyStamp?: string | undefined;
5535
+ phoneNumber?: string | undefined;
5536
+ phoneNumberConfirmed?: boolean;
5537
+ twoFactorEnabled?: boolean;
5538
+ lockoutEnd?: Date | undefined;
5539
+ lockoutEnabled?: boolean;
5540
+ accessFailedCount?: number;
5465
5541
  }
5466
5542
 
5467
- export class ChangedEntity implements IChangedEntity {
5468
- name?: string | undefined;
5469
- modifiedDate?: Date;
5543
+ export class ApplicationUserLogin implements IApplicationUserLogin {
5544
+ loginProvider?: string | undefined;
5545
+ providerKey?: string | undefined;
5470
5546
 
5471
- constructor(data?: IChangedEntity) {
5547
+ constructor(data?: IApplicationUserLogin) {
5472
5548
  if (data) {
5473
5549
  for (var property in data) {
5474
5550
  if (data.hasOwnProperty(property)) (<any>this)[property] = (<any>data)[property];
@@ -5478,29 +5554,29 @@ export class ChangedEntity implements IChangedEntity {
5478
5554
 
5479
5555
  init(_data?: any) {
5480
5556
  if (_data) {
5481
- this.name = _data["name"];
5482
- this.modifiedDate = _data["modifiedDate"] ? new Date(_data["modifiedDate"].toString()) : <any>undefined;
5557
+ this.loginProvider = _data["loginProvider"];
5558
+ this.providerKey = _data["providerKey"];
5483
5559
  }
5484
5560
  }
5485
5561
 
5486
- static fromJS(data: any): ChangedEntity {
5562
+ static fromJS(data: any): ApplicationUserLogin {
5487
5563
  data = typeof data === "object" ? data : {};
5488
- let result = new ChangedEntity();
5564
+ let result = new ApplicationUserLogin();
5489
5565
  result.init(data);
5490
5566
  return result;
5491
5567
  }
5492
5568
 
5493
5569
  toJSON(data?: any) {
5494
5570
  data = typeof data === "object" ? data : {};
5495
- data["name"] = this.name;
5496
- data["modifiedDate"] = this.modifiedDate ? this.modifiedDate.toISOString() : <any>undefined;
5571
+ data["loginProvider"] = this.loginProvider;
5572
+ data["providerKey"] = this.providerKey;
5497
5573
  return data;
5498
5574
  }
5499
5575
  }
5500
5576
 
5501
- export interface IChangedEntity {
5502
- name?: string | undefined;
5503
- modifiedDate?: Date;
5577
+ export interface IApplicationUserLogin {
5578
+ loginProvider?: string | undefined;
5579
+ providerKey?: string | undefined;
5504
5580
  }
5505
5581
 
5506
5582
  export class ChangeLogSearchCriteria implements IChangeLogSearchCriteria {
@@ -5702,6 +5778,131 @@ export interface IChangePasswordRequest {
5702
5778
  newPassword?: string | undefined;
5703
5779
  }
5704
5780
 
5781
+ export class ChangedEntitiesRequest implements IChangedEntitiesRequest {
5782
+ entityNames?: string[] | undefined;
5783
+ modifiedSince?: Date;
5784
+
5785
+ constructor(data?: IChangedEntitiesRequest) {
5786
+ if (data) {
5787
+ for (var property in data) {
5788
+ if (data.hasOwnProperty(property)) (<any>this)[property] = (<any>data)[property];
5789
+ }
5790
+ }
5791
+ }
5792
+
5793
+ init(_data?: any) {
5794
+ if (_data) {
5795
+ if (Array.isArray(_data["entityNames"])) {
5796
+ this.entityNames = [] as any;
5797
+ for (let item of _data["entityNames"]) this.entityNames!.push(item);
5798
+ }
5799
+ this.modifiedSince = _data["modifiedSince"] ? new Date(_data["modifiedSince"].toString()) : <any>undefined;
5800
+ }
5801
+ }
5802
+
5803
+ static fromJS(data: any): ChangedEntitiesRequest {
5804
+ data = typeof data === "object" ? data : {};
5805
+ let result = new ChangedEntitiesRequest();
5806
+ result.init(data);
5807
+ return result;
5808
+ }
5809
+
5810
+ toJSON(data?: any) {
5811
+ data = typeof data === "object" ? data : {};
5812
+ if (Array.isArray(this.entityNames)) {
5813
+ data["entityNames"] = [];
5814
+ for (let item of this.entityNames) data["entityNames"].push(item);
5815
+ }
5816
+ data["modifiedSince"] = this.modifiedSince ? this.modifiedSince.toISOString() : <any>undefined;
5817
+ return data;
5818
+ }
5819
+ }
5820
+
5821
+ export interface IChangedEntitiesRequest {
5822
+ entityNames?: string[] | undefined;
5823
+ modifiedSince?: Date;
5824
+ }
5825
+
5826
+ export class ChangedEntitiesResponse implements IChangedEntitiesResponse {
5827
+ entities?: ChangedEntity[] | undefined;
5828
+
5829
+ constructor(data?: IChangedEntitiesResponse) {
5830
+ if (data) {
5831
+ for (var property in data) {
5832
+ if (data.hasOwnProperty(property)) (<any>this)[property] = (<any>data)[property];
5833
+ }
5834
+ }
5835
+ }
5836
+
5837
+ init(_data?: any) {
5838
+ if (_data) {
5839
+ if (Array.isArray(_data["entities"])) {
5840
+ this.entities = [] as any;
5841
+ for (let item of _data["entities"]) this.entities!.push(ChangedEntity.fromJS(item));
5842
+ }
5843
+ }
5844
+ }
5845
+
5846
+ static fromJS(data: any): ChangedEntitiesResponse {
5847
+ data = typeof data === "object" ? data : {};
5848
+ let result = new ChangedEntitiesResponse();
5849
+ result.init(data);
5850
+ return result;
5851
+ }
5852
+
5853
+ toJSON(data?: any) {
5854
+ data = typeof data === "object" ? data : {};
5855
+ if (Array.isArray(this.entities)) {
5856
+ data["entities"] = [];
5857
+ for (let item of this.entities) data["entities"].push(item.toJSON());
5858
+ }
5859
+ return data;
5860
+ }
5861
+ }
5862
+
5863
+ export interface IChangedEntitiesResponse {
5864
+ entities?: ChangedEntity[] | undefined;
5865
+ }
5866
+
5867
+ export class ChangedEntity implements IChangedEntity {
5868
+ name?: string | undefined;
5869
+ modifiedDate?: Date;
5870
+
5871
+ constructor(data?: IChangedEntity) {
5872
+ if (data) {
5873
+ for (var property in data) {
5874
+ if (data.hasOwnProperty(property)) (<any>this)[property] = (<any>data)[property];
5875
+ }
5876
+ }
5877
+ }
5878
+
5879
+ init(_data?: any) {
5880
+ if (_data) {
5881
+ this.name = _data["name"];
5882
+ this.modifiedDate = _data["modifiedDate"] ? new Date(_data["modifiedDate"].toString()) : <any>undefined;
5883
+ }
5884
+ }
5885
+
5886
+ static fromJS(data: any): ChangedEntity {
5887
+ data = typeof data === "object" ? data : {};
5888
+ let result = new ChangedEntity();
5889
+ result.init(data);
5890
+ return result;
5891
+ }
5892
+
5893
+ toJSON(data?: any) {
5894
+ data = typeof data === "object" ? data : {};
5895
+ data["name"] = this.name;
5896
+ data["modifiedDate"] = this.modifiedDate ? this.modifiedDate.toISOString() : <any>undefined;
5897
+ return data;
5898
+ }
5899
+ }
5900
+
5901
+ export interface IChangedEntity {
5902
+ name?: string | undefined;
5903
+ modifiedDate?: Date;
5904
+ }
5905
+
5705
5906
  export class Claim implements IClaim {
5706
5907
  issuer?: string | undefined;
5707
5908
  originalIssuer?: string | undefined;
@@ -6995,6 +7196,7 @@ export interface ILicense {
6995
7196
 
6996
7197
  export class LocalizableSetting implements ILocalizableSetting {
6997
7198
  name?: string | undefined;
7199
+ isLocalizable?: boolean;
6998
7200
  items?: DictionaryItem[] | undefined;
6999
7201
 
7000
7202
  constructor(data?: ILocalizableSetting) {
@@ -7008,6 +7210,7 @@ export class LocalizableSetting implements ILocalizableSetting {
7008
7210
  init(_data?: any) {
7009
7211
  if (_data) {
7010
7212
  this.name = _data["name"];
7213
+ this.isLocalizable = _data["isLocalizable"];
7011
7214
  if (Array.isArray(_data["items"])) {
7012
7215
  this.items = [] as any;
7013
7216
  for (let item of _data["items"]) this.items!.push(DictionaryItem.fromJS(item));
@@ -7025,6 +7228,7 @@ export class LocalizableSetting implements ILocalizableSetting {
7025
7228
  toJSON(data?: any) {
7026
7229
  data = typeof data === "object" ? data : {};
7027
7230
  data["name"] = this.name;
7231
+ data["isLocalizable"] = this.isLocalizable;
7028
7232
  if (Array.isArray(this.items)) {
7029
7233
  data["items"] = [];
7030
7234
  for (let item of this.items) data["items"].push(item.toJSON());
@@ -7035,6 +7239,7 @@ export class LocalizableSetting implements ILocalizableSetting {
7035
7239
 
7036
7240
  export interface ILocalizableSetting {
7037
7241
  name?: string | undefined;
7242
+ isLocalizable?: boolean;
7038
7243
  items?: DictionaryItem[] | undefined;
7039
7244
  }
7040
7245
 
@@ -7453,6 +7658,7 @@ export interface IModuleDescriptor {
7453
7658
  export class ModuleIdentity implements IModuleIdentity {
7454
7659
  id?: string | undefined;
7455
7660
  version?: SemanticVersion | undefined;
7661
+ optional?: boolean;
7456
7662
 
7457
7663
  constructor(data?: IModuleIdentity) {
7458
7664
  if (data) {
@@ -7466,6 +7672,7 @@ export class ModuleIdentity implements IModuleIdentity {
7466
7672
  if (_data) {
7467
7673
  this.id = _data["id"];
7468
7674
  this.version = _data["version"] ? SemanticVersion.fromJS(_data["version"]) : <any>undefined;
7675
+ this.optional = _data["optional"];
7469
7676
  }
7470
7677
  }
7471
7678
 
@@ -7480,6 +7687,7 @@ export class ModuleIdentity implements IModuleIdentity {
7480
7687
  data = typeof data === "object" ? data : {};
7481
7688
  data["id"] = this.id;
7482
7689
  data["version"] = this.version ? this.version.toJSON() : <any>undefined;
7690
+ data["optional"] = this.optional;
7483
7691
  return data;
7484
7692
  }
7485
7693
  }
@@ -7487,6 +7695,7 @@ export class ModuleIdentity implements IModuleIdentity {
7487
7695
  export interface IModuleIdentity {
7488
7696
  id?: string | undefined;
7489
7697
  version?: SemanticVersion | undefined;
7698
+ optional?: boolean;
7490
7699
  }
7491
7700
 
7492
7701
  export class ModulePushNotification implements IModulePushNotification {
@@ -7730,6 +7939,7 @@ export class ObjectSettingEntry implements IObjectSettingEntry {
7730
7939
  displayName?: string | undefined;
7731
7940
  isRequired?: boolean;
7732
7941
  isHidden?: boolean;
7942
+ isPublic?: boolean;
7733
7943
  valueType?: ObjectSettingEntryValueType;
7734
7944
  allowedValues?: any[] | undefined;
7735
7945
  defaultValue?: any | undefined;
@@ -7759,6 +7969,7 @@ export class ObjectSettingEntry implements IObjectSettingEntry {
7759
7969
  this.displayName = _data["displayName"];
7760
7970
  this.isRequired = _data["isRequired"];
7761
7971
  this.isHidden = _data["isHidden"];
7972
+ this.isPublic = _data["isPublic"];
7762
7973
  this.valueType = _data["valueType"];
7763
7974
  if (Array.isArray(_data["allowedValues"])) {
7764
7975
  this.allowedValues = [] as any;
@@ -7792,6 +8003,7 @@ export class ObjectSettingEntry implements IObjectSettingEntry {
7792
8003
  data["displayName"] = this.displayName;
7793
8004
  data["isRequired"] = this.isRequired;
7794
8005
  data["isHidden"] = this.isHidden;
8006
+ data["isPublic"] = this.isPublic;
7795
8007
  data["valueType"] = this.valueType;
7796
8008
  if (Array.isArray(this.allowedValues)) {
7797
8009
  data["allowedValues"] = [];
@@ -7818,6 +8030,7 @@ export interface IObjectSettingEntry {
7818
8030
  displayName?: string | undefined;
7819
8031
  isRequired?: boolean;
7820
8032
  isHidden?: boolean;
8033
+ isPublic?: boolean;
7821
8034
  valueType?: ObjectSettingEntryValueType;
7822
8035
  allowedValues?: any[] | undefined;
7823
8036
  defaultValue?: any | undefined;
@@ -7958,11 +8171,14 @@ export class OpenIddictResponse implements IOpenIddictResponse {
7958
8171
  errorUri?: string | undefined;
7959
8172
  expiresIn?: number | undefined;
7960
8173
  idToken?: string | undefined;
8174
+ iss?: string | undefined;
7961
8175
  refreshToken?: string | undefined;
7962
8176
  scope?: string | undefined;
7963
8177
  state?: string | undefined;
7964
8178
  tokenType?: string | undefined;
7965
8179
  userCode?: string | undefined;
8180
+ verificationUri?: string | undefined;
8181
+ verificationUriComplete?: string | undefined;
7966
8182
  readonly count?: number;
7967
8183
 
7968
8184
  constructor(data?: IOpenIddictResponse) {
@@ -7983,11 +8199,14 @@ export class OpenIddictResponse implements IOpenIddictResponse {
7983
8199
  this.errorUri = _data["errorUri"];
7984
8200
  this.expiresIn = _data["expiresIn"];
7985
8201
  this.idToken = _data["idToken"];
8202
+ this.iss = _data["iss"];
7986
8203
  this.refreshToken = _data["refreshToken"];
7987
8204
  this.scope = _data["scope"];
7988
8205
  this.state = _data["state"];
7989
8206
  this.tokenType = _data["tokenType"];
7990
8207
  this.userCode = _data["userCode"];
8208
+ this.verificationUri = _data["verificationUri"];
8209
+ this.verificationUriComplete = _data["verificationUriComplete"];
7991
8210
  (<any>this).count = _data["count"];
7992
8211
  }
7993
8212
  }
@@ -8009,11 +8228,14 @@ export class OpenIddictResponse implements IOpenIddictResponse {
8009
8228
  data["errorUri"] = this.errorUri;
8010
8229
  data["expiresIn"] = this.expiresIn;
8011
8230
  data["idToken"] = this.idToken;
8231
+ data["iss"] = this.iss;
8012
8232
  data["refreshToken"] = this.refreshToken;
8013
8233
  data["scope"] = this.scope;
8014
8234
  data["state"] = this.state;
8015
8235
  data["tokenType"] = this.tokenType;
8016
8236
  data["userCode"] = this.userCode;
8237
+ data["verificationUri"] = this.verificationUri;
8238
+ data["verificationUriComplete"] = this.verificationUriComplete;
8017
8239
  data["count"] = this.count;
8018
8240
  return data;
8019
8241
  }
@@ -8028,11 +8250,14 @@ export interface IOpenIddictResponse {
8028
8250
  errorUri?: string | undefined;
8029
8251
  expiresIn?: number | undefined;
8030
8252
  idToken?: string | undefined;
8253
+ iss?: string | undefined;
8031
8254
  refreshToken?: string | undefined;
8032
8255
  scope?: string | undefined;
8033
8256
  state?: string | undefined;
8034
8257
  tokenType?: string | undefined;
8035
8258
  userCode?: string | undefined;
8259
+ verificationUri?: string | undefined;
8260
+ verificationUriComplete?: string | undefined;
8036
8261
  count?: number;
8037
8262
  }
8038
8263
 
@@ -8104,7 +8329,6 @@ export interface IOperationLog {
8104
8329
  }
8105
8330
 
8106
8331
  export class Permission implements IPermission {
8107
- id?: string | undefined;
8108
8332
  name?: string | undefined;
8109
8333
  moduleId?: string | undefined;
8110
8334
  groupName?: string | undefined;
@@ -8121,7 +8345,6 @@ export class Permission implements IPermission {
8121
8345
 
8122
8346
  init(_data?: any) {
8123
8347
  if (_data) {
8124
- this.id = _data["id"];
8125
8348
  this.name = _data["name"];
8126
8349
  this.moduleId = _data["moduleId"];
8127
8350
  this.groupName = _data["groupName"];
@@ -8145,7 +8368,6 @@ export class Permission implements IPermission {
8145
8368
 
8146
8369
  toJSON(data?: any) {
8147
8370
  data = typeof data === "object" ? data : {};
8148
- data["id"] = this.id;
8149
8371
  data["name"] = this.name;
8150
8372
  data["moduleId"] = this.moduleId;
8151
8373
  data["groupName"] = this.groupName;
@@ -8162,7 +8384,6 @@ export class Permission implements IPermission {
8162
8384
  }
8163
8385
 
8164
8386
  export interface IPermission {
8165
- id?: string | undefined;
8166
8387
  name?: string | undefined;
8167
8388
  moduleId?: string | undefined;
8168
8389
  groupName?: string | undefined;
@@ -9485,6 +9706,8 @@ export class Body implements IBody {
9485
9706
  scope?: string;
9486
9707
  username?: string;
9487
9708
  password?: string;
9709
+ storeId?: string;
9710
+ user_id?: string;
9488
9711
 
9489
9712
  [key: string]: any;
9490
9713
 
@@ -9505,6 +9728,8 @@ export class Body implements IBody {
9505
9728
  this.scope = _data["scope"];
9506
9729
  this.username = _data["username"];
9507
9730
  this.password = _data["password"];
9731
+ this.storeId = _data["storeId"];
9732
+ this.user_id = _data["user_id"];
9508
9733
  }
9509
9734
  }
9510
9735
 
@@ -9524,6 +9749,8 @@ export class Body implements IBody {
9524
9749
  data["scope"] = this.scope;
9525
9750
  data["username"] = this.username;
9526
9751
  data["password"] = this.password;
9752
+ data["storeId"] = this.storeId;
9753
+ data["user_id"] = this.user_id;
9527
9754
  return data;
9528
9755
  }
9529
9756
  }
@@ -9533,16 +9760,12 @@ export interface IBody {
9533
9760
  scope?: string;
9534
9761
  username?: string;
9535
9762
  password?: string;
9763
+ storeId?: string;
9764
+ user_id?: string;
9536
9765
 
9537
9766
  [key: string]: any;
9538
9767
  }
9539
9768
 
9540
- export enum ApplicationUserUserState {
9541
- PendingApproval = "PendingApproval",
9542
- Approved = "Approved",
9543
- Rejected = "Rejected",
9544
- }
9545
-
9546
9769
  export enum DynamicObjectPropertyValueType {
9547
9770
  Undefined = "Undefined",
9548
9771
  ShortText = "ShortText",