@vc-shell/framework 2.0.4-pr228.833ff5f → 2.0.4
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.
- package/dist/ai-agent/index.js +2 -2
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-D5HgEXFw.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CTHTF63Q.js} +952 -1578
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CTHTF63Q.js.map +1 -0
- package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-HqgHfIV-.js → VcTableAdapter.vue_vue_type_style_index_0_lang-dJW2U276.js} +1 -1
- package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-HqgHfIV-.js.map → VcTableAdapter.vue_vue_type_style_index_0_lang-dJW2U276.js.map} +1 -1
- package/dist/chunks/{index-CacTeJdd.js → index-CYv6y-92.js} +1 -1
- package/dist/chunks/{index-CacTeJdd.js.map → index-CYv6y-92.js.map} +1 -1
- package/dist/core/api/platform.d.ts +104 -334
- package/dist/core/api/platform.d.ts.map +1 -1
- package/dist/framework.js +320 -315
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/index.js +2 -2
- package/package.json +4 -4
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D5HgEXFw.js.map +0 -1
|
@@ -52,43 +52,6 @@ export declare class ExternalSignInClient extends AuthApiBase {
|
|
|
52
52
|
getExternalLoginProviders(): Promise<ExternalSignInProviderInfo[]>;
|
|
53
53
|
protected processGetExternalLoginProviders(response: Response): Promise<ExternalSignInProviderInfo[]>;
|
|
54
54
|
}
|
|
55
|
-
export declare class AppManifestClient extends AuthApiBase {
|
|
56
|
-
private http;
|
|
57
|
-
private baseUrl;
|
|
58
|
-
constructor(baseUrl?: string, http?: {
|
|
59
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
60
|
-
});
|
|
61
|
-
/**
|
|
62
|
-
* Returns the host app's plugin manifest.
|
|
63
|
-
|
|
64
|
-
In production: cacheable — responds 304 on matching
|
|
65
|
-
`If-None-Match`. The descriptor is built and hashed once at the
|
|
66
|
-
service layer (VirtoCommerce.Platform.Core.Modularity.IAppManifestService) and cached for the
|
|
67
|
-
process lifetime, so 304 cache-hits short-circuit without touching the
|
|
68
|
-
filesystem.
|
|
69
|
-
In Development: `Cache-Control: no-store` is emitted and the 304
|
|
70
|
-
fast path is skipped — every request returns 200 with a freshly built
|
|
71
|
-
body. This makes `yarn build` in a plugin folder visible on the
|
|
72
|
-
next page reload without restarting the platform.
|
|
73
|
-
* @return OK
|
|
74
|
-
*/
|
|
75
|
-
getManifest(appId: string): Promise<AppManifestResponse>;
|
|
76
|
-
protected processGetManifest(response: Response): Promise<AppManifestResponse>;
|
|
77
|
-
/**
|
|
78
|
-
* Force-invalidate the manifest cache for every `appId`. The next
|
|
79
|
-
call to `GET /api/apps/{appId}/manifest` will rebuild the
|
|
80
|
-
descriptor from disk, picking up any plugin changes since the last
|
|
81
|
-
build (new module installs, drop-in plugin replacements, plugin
|
|
82
|
-
rebuilds).
|
|
83
|
-
|
|
84
|
-
In Development this isn't normally needed (the service bypasses its
|
|
85
|
-
cache anyway), but the endpoint works in any environment for
|
|
86
|
-
operators who want to refresh without restarting the platform.
|
|
87
|
-
* @return No Content
|
|
88
|
-
*/
|
|
89
|
-
invalidateManifestCache(): Promise<void>;
|
|
90
|
-
protected processInvalidateManifestCache(response: Response): Promise<void>;
|
|
91
|
-
}
|
|
92
55
|
export declare class AppsClient extends AuthApiBase {
|
|
93
56
|
private http;
|
|
94
57
|
private baseUrl;
|
|
@@ -163,11 +126,11 @@ export declare class ChangeLogClient extends AuthApiBase {
|
|
|
163
126
|
resetPlatformCache(): Promise<void>;
|
|
164
127
|
protected processResetPlatformCache(response: Response): Promise<void>;
|
|
165
128
|
/**
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
129
|
+
* Get last modified date for given scope
|
|
130
|
+
Used for signal of what something changed and for cache invalidation in external platform clients
|
|
131
|
+
* @param scope (optional)
|
|
132
|
+
* @return OK
|
|
133
|
+
*/
|
|
171
134
|
getLastModifiedDate(scope?: string | undefined): Promise<LastModifiedResponse>;
|
|
172
135
|
protected processGetLastModifiedDate(response: Response): Promise<LastModifiedResponse>;
|
|
173
136
|
/**
|
|
@@ -186,14 +149,8 @@ export declare class ChangeLogClient extends AuthApiBase {
|
|
|
186
149
|
* @param body (optional)
|
|
187
150
|
* @return OK
|
|
188
151
|
*/
|
|
189
|
-
searchChanges(body?: ChangeLogSearchCriteria | undefined): Promise<
|
|
190
|
-
protected processSearchChanges(response: Response): Promise<
|
|
191
|
-
/**
|
|
192
|
-
* @param body (optional)
|
|
193
|
-
* @return OK
|
|
194
|
-
*/
|
|
195
|
-
searchChangesV2(body?: ChangeLogSearchCriteria | undefined): Promise<ChangeLogSearchResult>;
|
|
196
|
-
protected processSearchChangesV2(response: Response): Promise<ChangeLogSearchResult>;
|
|
152
|
+
searchChanges(body?: ChangeLogSearchCriteria | undefined): Promise<ChangeLogSearchResult>;
|
|
153
|
+
protected processSearchChanges(response: Response): Promise<ChangeLogSearchResult>;
|
|
197
154
|
/**
|
|
198
155
|
* @param start (optional)
|
|
199
156
|
* @param end (optional)
|
|
@@ -362,7 +319,7 @@ export declare class ModulesClient extends AuthApiBase {
|
|
|
362
319
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
363
320
|
});
|
|
364
321
|
/**
|
|
365
|
-
* Reload
|
|
322
|
+
* Reload modules
|
|
366
323
|
* @return No Content
|
|
367
324
|
*/
|
|
368
325
|
reloadModules(): Promise<void>;
|
|
@@ -374,14 +331,14 @@ export declare class ModulesClient extends AuthApiBase {
|
|
|
374
331
|
getModules(): Promise<ModuleDescriptor[]>;
|
|
375
332
|
protected processGetModules(response: Response): Promise<ModuleDescriptor[]>;
|
|
376
333
|
/**
|
|
377
|
-
* Get all dependent modules for
|
|
334
|
+
* Get all dependent modules for module
|
|
378
335
|
* @param body (optional) modules descriptors
|
|
379
336
|
* @return OK
|
|
380
337
|
*/
|
|
381
338
|
getDependingModules(body?: ModuleDescriptor[] | undefined): Promise<ModuleDescriptor[]>;
|
|
382
339
|
protected processGetDependingModules(response: Response): Promise<ModuleDescriptor[]>;
|
|
383
340
|
/**
|
|
384
|
-
* Returns a flat expanded
|
|
341
|
+
* Returns a flat expanded list of modules that depend on passed modules
|
|
385
342
|
* @param body (optional) modules descriptors
|
|
386
343
|
* @return OK
|
|
387
344
|
*/
|
|
@@ -400,13 +357,6 @@ export declare class ModulesClient extends AuthApiBase {
|
|
|
400
357
|
*/
|
|
401
358
|
installModules(body?: ModuleDescriptor[] | undefined): Promise<ModulePushNotification>;
|
|
402
359
|
protected processInstallModules(response: Response): Promise<ModulePushNotification>;
|
|
403
|
-
/**
|
|
404
|
-
* Install modules using lightweight requests
|
|
405
|
-
* @param body (optional) module install requests (id + optional version)
|
|
406
|
-
* @return OK
|
|
407
|
-
*/
|
|
408
|
-
installModuleRequests(body?: ModuleInstallRequest[] | undefined): Promise<ModulePushNotification>;
|
|
409
|
-
protected processInstallModuleRequests(response: Response): Promise<ModulePushNotification>;
|
|
410
360
|
/**
|
|
411
361
|
* Update modules
|
|
412
362
|
* @param body (optional) modules for update
|
|
@@ -414,13 +364,6 @@ export declare class ModulesClient extends AuthApiBase {
|
|
|
414
364
|
*/
|
|
415
365
|
updateModules(body?: ModuleDescriptor[] | undefined): Promise<ModulePushNotification>;
|
|
416
366
|
protected processUpdateModules(response: Response): Promise<ModulePushNotification>;
|
|
417
|
-
/**
|
|
418
|
-
* Update modules using lightweight requests
|
|
419
|
-
* @param body (optional) module install requests (id + optional version)
|
|
420
|
-
* @return OK
|
|
421
|
-
*/
|
|
422
|
-
updateModuleRequests(body?: ModuleInstallRequest[] | undefined): Promise<ModulePushNotification>;
|
|
423
|
-
protected processUpdateModuleRequests(response: Response): Promise<ModulePushNotification>;
|
|
424
367
|
/**
|
|
425
368
|
* Uninstall module
|
|
426
369
|
* @param body (optional) modules
|
|
@@ -428,13 +371,6 @@ export declare class ModulesClient extends AuthApiBase {
|
|
|
428
371
|
*/
|
|
429
372
|
uninstallModule(body?: ModuleDescriptor[] | undefined): Promise<ModulePushNotification>;
|
|
430
373
|
protected processUninstallModule(response: Response): Promise<ModulePushNotification>;
|
|
431
|
-
/**
|
|
432
|
-
* Uninstall modules using lightweight requests
|
|
433
|
-
* @param body (optional) module install requests (id only, version ignored)
|
|
434
|
-
* @return OK
|
|
435
|
-
*/
|
|
436
|
-
uninstallModuleRequests(body?: ModuleInstallRequest[] | undefined): Promise<ModulePushNotification>;
|
|
437
|
-
protected processUninstallModuleRequests(response: Response): Promise<ModulePushNotification>;
|
|
438
374
|
/**
|
|
439
375
|
* Restart web application
|
|
440
376
|
* @return No Content
|
|
@@ -448,42 +384,10 @@ export declare class ModulesClient extends AuthApiBase {
|
|
|
448
384
|
tryToAutoInstallModules(): Promise<ModuleAutoInstallPushNotification>;
|
|
449
385
|
protected processTryToAutoInstallModules(response: Response): Promise<ModuleAutoInstallPushNotification>;
|
|
450
386
|
/**
|
|
451
|
-
* Get module loading order
|
|
452
387
|
* @return OK
|
|
453
388
|
*/
|
|
454
389
|
getModulesLoadingOrder(): Promise<string[]>;
|
|
455
390
|
protected processGetModulesLoadingOrder(response: Response): Promise<string[]>;
|
|
456
|
-
/**
|
|
457
|
-
* Validate that a specific module version package exists at the download URL.
|
|
458
|
-
* @param moduleId Module identifier
|
|
459
|
-
* @param version Version to validate
|
|
460
|
-
* @return OK
|
|
461
|
-
*/
|
|
462
|
-
validateModuleVersion(moduleId: string, version: string): Promise<boolean>;
|
|
463
|
-
protected processValidateModuleVersion(response: Response): Promise<boolean>;
|
|
464
|
-
/**
|
|
465
|
-
* Install a specific version of a module.
|
|
466
|
-
Validates the package URL, registers the custom version, and schedules installation.
|
|
467
|
-
* @param moduleId Module identifier
|
|
468
|
-
* @param version Version to install
|
|
469
|
-
* @return OK
|
|
470
|
-
*/
|
|
471
|
-
installModuleVersion(moduleId: string, version: string): Promise<ModulePushNotification>;
|
|
472
|
-
protected processInstallModuleVersion(response: Response): Promise<ModulePushNotification>;
|
|
473
|
-
/**
|
|
474
|
-
* Install the latest available version of a module.
|
|
475
|
-
* @param moduleId Module identifier
|
|
476
|
-
* @return OK
|
|
477
|
-
*/
|
|
478
|
-
installModule(moduleId: string): Promise<ModulePushNotification>;
|
|
479
|
-
protected processInstallModule(response: Response): Promise<ModulePushNotification>;
|
|
480
|
-
/**
|
|
481
|
-
* Uninstall a module.
|
|
482
|
-
* @param moduleId Module identifier
|
|
483
|
-
* @return OK
|
|
484
|
-
*/
|
|
485
|
-
uninstallSingleModule(moduleId: string): Promise<ModulePushNotification>;
|
|
486
|
-
protected processUninstallSingleModule(response: Response): Promise<ModulePushNotification>;
|
|
487
391
|
}
|
|
488
392
|
export declare class OAuthAppsClient extends AuthApiBase {
|
|
489
393
|
private http;
|
|
@@ -621,27 +525,6 @@ export declare class SecurityClient extends AuthApiBase {
|
|
|
621
525
|
*/
|
|
622
526
|
searchUsers(body?: UserSearchCriteria | undefined): Promise<UserSearchResult>;
|
|
623
527
|
protected processSearchUsers(response: Response): Promise<UserSearchResult>;
|
|
624
|
-
/**
|
|
625
|
-
* Get users by IDs
|
|
626
|
-
* @param ids (optional) An array of user IDs.
|
|
627
|
-
* @return OK
|
|
628
|
-
*/
|
|
629
|
-
getUsersByIds(ids?: string[] | undefined): Promise<ApplicationUser[]>;
|
|
630
|
-
protected processGetUsersByIds(response: Response): Promise<ApplicationUser[]>;
|
|
631
|
-
/**
|
|
632
|
-
* Update user details by user ID
|
|
633
|
-
* @param body (optional) User details.
|
|
634
|
-
* @return OK
|
|
635
|
-
*/
|
|
636
|
-
update(body?: ApplicationUser | undefined): Promise<SecurityResult>;
|
|
637
|
-
protected processUpdate(response: Response): Promise<SecurityResult>;
|
|
638
|
-
/**
|
|
639
|
-
* Delete users by name
|
|
640
|
-
* @param names (optional) An array of user names.
|
|
641
|
-
* @return OK
|
|
642
|
-
*/
|
|
643
|
-
delete(names?: string[] | undefined): Promise<void>;
|
|
644
|
-
protected processDelete(response: Response): Promise<void>;
|
|
645
528
|
/**
|
|
646
529
|
* Get user details by user name
|
|
647
530
|
* @return OK
|
|
@@ -727,6 +610,20 @@ export declare class SecurityClient extends AuthApiBase {
|
|
|
727
610
|
*/
|
|
728
611
|
validateUserPassword(body?: ChangePasswordRequest | undefined): Promise<IdentityResult>;
|
|
729
612
|
protected processValidateUserPassword(response: Response): Promise<IdentityResult>;
|
|
613
|
+
/**
|
|
614
|
+
* Update user details by user ID
|
|
615
|
+
* @param body (optional) User details.
|
|
616
|
+
* @return OK
|
|
617
|
+
*/
|
|
618
|
+
update(body?: ApplicationUser | undefined): Promise<SecurityResult>;
|
|
619
|
+
protected processUpdate(response: Response): Promise<SecurityResult>;
|
|
620
|
+
/**
|
|
621
|
+
* Delete users by name
|
|
622
|
+
* @param names (optional) An array of user names.
|
|
623
|
+
* @return OK
|
|
624
|
+
*/
|
|
625
|
+
delete(names?: string[] | undefined): Promise<void>;
|
|
626
|
+
protected processDelete(response: Response): Promise<void>;
|
|
730
627
|
/**
|
|
731
628
|
* Checks if user locked
|
|
732
629
|
* @param id User id
|
|
@@ -865,142 +762,15 @@ export declare class SettingClient extends AuthApiBase {
|
|
|
865
762
|
getUICustomizationSetting(): Promise<ObjectSettingEntry>;
|
|
866
763
|
protected processGetUICustomizationSetting(response: Response): Promise<ObjectSettingEntry>;
|
|
867
764
|
}
|
|
868
|
-
export declare class SettingsV2Client extends AuthApiBase {
|
|
869
|
-
private http;
|
|
870
|
-
private baseUrl;
|
|
871
|
-
constructor(baseUrl?: string, http?: {
|
|
872
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
873
|
-
});
|
|
874
|
-
/**
|
|
875
|
-
* Get global settings schema (metadata only, no values)
|
|
876
|
-
* @param moduleId (optional)
|
|
877
|
-
* @param keyword (optional)
|
|
878
|
-
* @return OK
|
|
879
|
-
*/
|
|
880
|
-
getGlobalSchema(moduleId?: string | undefined, keyword?: string | undefined): Promise<SettingPropertySchema[]>;
|
|
881
|
-
protected processGetGlobalSchema(response: Response): Promise<SettingPropertySchema[]>;
|
|
882
|
-
/**
|
|
883
|
-
* Get global settings values as a flat { name: value } dictionary.
|
|
884
|
-
Optional moduleId narrows the response to a single
|
|
885
|
-
module's settings — same filter as M:VirtoCommerce.Platform.Web.Controllers.Api.SettingsV2Controller.GetGlobalSchema(System.String,System.String), so
|
|
886
|
-
a frontend can read+use one module's values in one round-trip
|
|
887
|
-
without a follow-up /schema lookup.
|
|
888
|
-
* @param modifiedOnly (optional)
|
|
889
|
-
* @param moduleId (optional)
|
|
890
|
-
* @return OK
|
|
891
|
-
*/
|
|
892
|
-
getGlobalValues(modifiedOnly?: boolean | undefined, moduleId?: string | undefined): Promise<void>;
|
|
893
|
-
protected processGetGlobalValues(response: Response): Promise<void>;
|
|
894
|
-
/**
|
|
895
|
-
* @param replaceAll (optional)
|
|
896
|
-
* @param body (optional)
|
|
897
|
-
* @return No Content
|
|
898
|
-
*/
|
|
899
|
-
saveGlobalValues(replaceAll?: boolean | undefined, body?: {
|
|
900
|
-
[key: string]: any;
|
|
901
|
-
} | undefined): Promise<void>;
|
|
902
|
-
protected processSaveGlobalValues(response: Response): Promise<void>;
|
|
903
|
-
/**
|
|
904
|
-
* Get tenant settings schema (metadata only, no values).
|
|
905
|
-
Schema depends only on tenantType registration, not on a specific tenant instance.
|
|
906
|
-
* @param moduleId (optional)
|
|
907
|
-
* @param keyword (optional)
|
|
908
|
-
* @return OK
|
|
909
|
-
*/
|
|
910
|
-
getTenantSchema(tenantType: string, moduleId?: string | undefined, keyword?: string | undefined): Promise<SettingPropertySchema[]>;
|
|
911
|
-
protected processGetTenantSchema(response: Response): Promise<SettingPropertySchema[]>;
|
|
912
|
-
/**
|
|
913
|
-
* Get tenant settings values as a flat { name: value } dictionary.
|
|
914
|
-
Optional moduleId narrows the response to a single
|
|
915
|
-
module's settings.
|
|
916
|
-
* @param modifiedOnly (optional)
|
|
917
|
-
* @param moduleId (optional)
|
|
918
|
-
* @return OK
|
|
919
|
-
*/
|
|
920
|
-
getTenantValues(tenantType: string, tenantId: string, modifiedOnly?: boolean | undefined, moduleId?: string | undefined): Promise<void>;
|
|
921
|
-
protected processGetTenantValues(response: Response): Promise<void>;
|
|
922
|
-
/**
|
|
923
|
-
* @param replaceAll (optional)
|
|
924
|
-
* @param body (optional)
|
|
925
|
-
* @return No Content
|
|
926
|
-
*/
|
|
927
|
-
saveTenantValues(tenantType: string, tenantId: string, replaceAll?: boolean | undefined, body?: {
|
|
928
|
-
[key: string]: any;
|
|
929
|
-
} | undefined): Promise<void>;
|
|
930
|
-
protected processSaveTenantValues(response: Response): Promise<void>;
|
|
931
|
-
/**
|
|
932
|
-
* Get the current user's UserProfile settings schema (metadata only).
|
|
933
|
-
Schema is the same for every user — it's defined by the
|
|
934
|
-
platform's UserProfile-tenant registration. Optionally filter
|
|
935
|
-
by moduleId so a frontend only fetches its own module's
|
|
936
|
-
per-user settings.
|
|
937
|
-
* @param moduleId (optional)
|
|
938
|
-
* @param keyword (optional)
|
|
939
|
-
* @return OK
|
|
940
|
-
*/
|
|
941
|
-
getMeSchema(moduleId?: string | undefined, keyword?: string | undefined): Promise<SettingPropertySchema[]>;
|
|
942
|
-
protected processGetMeSchema(response: Response): Promise<SettingPropertySchema[]>;
|
|
943
|
-
/**
|
|
944
|
-
* Get the current user's effective UserProfile settings values
|
|
945
|
-
as a flat { name: value } dictionary. Optional moduleId
|
|
946
|
-
narrows the response to a single module's per-user settings — same
|
|
947
|
-
filter M:VirtoCommerce.Platform.Web.Controllers.Api.SettingsV2Controller.GetMeSchema(System.String,System.String) accepts, so a frontend can do a
|
|
948
|
-
single round-trip read without a follow-up /me/schema lookup.
|
|
949
|
-
* @param modifiedOnly (optional)
|
|
950
|
-
* @param moduleId (optional)
|
|
951
|
-
* @return OK
|
|
952
|
-
*/
|
|
953
|
-
getMeValues(modifiedOnly?: boolean | undefined, moduleId?: string | undefined): Promise<void>;
|
|
954
|
-
protected processGetMeValues(response: Response): Promise<void>;
|
|
955
|
-
/**
|
|
956
|
-
* @param replaceAll (optional)
|
|
957
|
-
* @param body (optional)
|
|
958
|
-
* @return No Content
|
|
959
|
-
*/
|
|
960
|
-
saveMeValues(replaceAll?: boolean | undefined, body?: {
|
|
961
|
-
[key: string]: any;
|
|
962
|
-
} | undefined): Promise<void>;
|
|
963
|
-
protected processSaveMeValues(response: Response): Promise<void>;
|
|
964
|
-
}
|
|
965
765
|
export interface AppDescriptor {
|
|
966
766
|
title?: string | undefined;
|
|
967
767
|
description?: string | undefined;
|
|
968
768
|
iconUrl?: string | undefined;
|
|
969
769
|
relativeUrl?: string | undefined;
|
|
970
770
|
permission?: string | undefined;
|
|
971
|
-
/** Where the app surfaces in the admin navigation
|
|
972
|
-
(`AppMenu` / `MainMenu` / `Hidden`). */
|
|
973
|
-
placement?: AppPlacement;
|
|
974
|
-
/** Deprecated. Use VirtoCommerce.Platform.Web.Model.Modularity.AppDescriptor.Placement instead. Equivalent to
|
|
975
|
-
`Placement == AppPlacement.MainMenu`; kept on the JSON
|
|
976
|
-
contract for backwards compatibility. */
|
|
977
771
|
supportEmbeddedMode?: boolean;
|
|
978
772
|
id?: string | undefined;
|
|
979
773
|
}
|
|
980
|
-
/** Response shape for `GET /api/apps/{appId}/manifest`. Returns the host app metadata plus a topologically ordered, permission-filtered list of plugins the host should load. */
|
|
981
|
-
export interface AppManifestResponse {
|
|
982
|
-
/** Echo of the requested app id (e.g. `vc-shell-marketplace`, `system-operations`, `platform`). */
|
|
983
|
-
appId?: string | undefined;
|
|
984
|
-
/** Version of the host app — taken from the running platform when
|
|
985
|
-
VirtoCommerce.Platform.Web.Model.Modularity.AppManifestResponse.AppId is the reserved `platform` id, otherwise
|
|
986
|
-
from the module that declares the `<app>` in its
|
|
987
|
-
`module.manifest`. Useful for clients that want to surface the
|
|
988
|
-
host's version (e.g. footer banner, support diagnostics) without
|
|
989
|
-
a second round-trip. */
|
|
990
|
-
version?: string | undefined;
|
|
991
|
-
/** Display title of the host app, taken from the owning module's
|
|
992
|
-
`<app>` declaration in `module.manifest`. */
|
|
993
|
-
title?: string | undefined;
|
|
994
|
-
/** Plugins to load, in topological dependency order of their owning modules.
|
|
995
|
-
Already filtered by current user permissions and (for Module Federation
|
|
996
|
-
hosts) by host-app discovery folder convention. */
|
|
997
|
-
plugins?: PluginEntry[] | undefined;
|
|
998
|
-
}
|
|
999
|
-
export declare enum AppPlacement {
|
|
1000
|
-
AppMenu = "AppMenu",
|
|
1001
|
-
MainMenu = "MainMenu",
|
|
1002
|
-
Hidden = "Hidden"
|
|
1003
|
-
}
|
|
1004
774
|
export interface ApplicationUser {
|
|
1005
775
|
storeId?: string | undefined;
|
|
1006
776
|
memberId?: string | undefined;
|
|
@@ -1100,21 +870,6 @@ export interface ClaimsIdentity {
|
|
|
1100
870
|
export interface ConfirmEmailRequest {
|
|
1101
871
|
token?: string | undefined;
|
|
1102
872
|
}
|
|
1103
|
-
/** One asset belonging to a plugin (script, stylesheet, etc.). Carries the information a client-side loader needs to build the right HTML element with proper cache busting. */
|
|
1104
|
-
export interface ContentFile {
|
|
1105
|
-
/** Asset kind. See VirtoCommerce.Platform.Core.Modularity.ContentFileTypes
|
|
1106
|
-
for the canonical values. Lower-case string so the JSON contract is
|
|
1107
|
-
stable against future C# enum renames. */
|
|
1108
|
-
type?: string | undefined;
|
|
1109
|
-
/** Absolute URL path served by the platform's static-file middleware,
|
|
1110
|
-
e.g. `/modules/$(VirtoCommerce.Catalog)/dist/app.js`. */
|
|
1111
|
-
path?: string | undefined;
|
|
1112
|
-
/** Cache-busting hash (`?v={hash}`). Stable across requests as long
|
|
1113
|
-
as the file's last-write time is unchanged. `null` when the file
|
|
1114
|
-
doesn't exist on disk (e.g. a manifest reference that fell back to
|
|
1115
|
-
convention defaults). */
|
|
1116
|
-
hash?: string | undefined;
|
|
1117
|
-
}
|
|
1118
873
|
export interface CryptoProviderCache {
|
|
1119
874
|
}
|
|
1120
875
|
export interface CryptoProviderFactory {
|
|
@@ -1145,7 +900,7 @@ export interface DynamicObjectProperty {
|
|
|
1145
900
|
isMultilingual?: boolean;
|
|
1146
901
|
isRequired?: boolean;
|
|
1147
902
|
displayOrder?: number | undefined;
|
|
1148
|
-
valueType?:
|
|
903
|
+
valueType?: DynamicObjectPropertyValueType;
|
|
1149
904
|
displayNames?: DynamicPropertyName[] | undefined;
|
|
1150
905
|
createdDate?: Date;
|
|
1151
906
|
modifiedDate?: Date | undefined;
|
|
@@ -1162,7 +917,7 @@ export interface DynamicProperty {
|
|
|
1162
917
|
isMultilingual?: boolean;
|
|
1163
918
|
isRequired?: boolean;
|
|
1164
919
|
displayOrder?: number | undefined;
|
|
1165
|
-
valueType?:
|
|
920
|
+
valueType?: DynamicPropertyValueType2;
|
|
1166
921
|
displayNames?: DynamicPropertyName[] | undefined;
|
|
1167
922
|
createdDate?: Date;
|
|
1168
923
|
modifiedDate?: Date | undefined;
|
|
@@ -1212,7 +967,7 @@ export interface DynamicPropertyObjectValue {
|
|
|
1212
967
|
locale?: string | undefined;
|
|
1213
968
|
value?: any | undefined;
|
|
1214
969
|
valueId?: string | undefined;
|
|
1215
|
-
valueType?:
|
|
970
|
+
valueType?: DynamicPropertyObjectValueValueType;
|
|
1216
971
|
propertyId?: string | undefined;
|
|
1217
972
|
propertyName?: string | undefined;
|
|
1218
973
|
}
|
|
@@ -1273,7 +1028,7 @@ export interface Job {
|
|
|
1273
1028
|
id?: string | undefined;
|
|
1274
1029
|
}
|
|
1275
1030
|
export interface JsonElement {
|
|
1276
|
-
readonly valueKind?:
|
|
1031
|
+
readonly valueKind?: JsonElementValueKind;
|
|
1277
1032
|
}
|
|
1278
1033
|
export declare enum JsonValueKind {
|
|
1279
1034
|
Undefined = "Undefined",
|
|
@@ -1322,7 +1077,6 @@ export interface JsonWebKeySet {
|
|
|
1322
1077
|
} | undefined;
|
|
1323
1078
|
readonly keys?: JsonWebKey[] | undefined;
|
|
1324
1079
|
skipUnresolvedJsonWebKeys?: boolean;
|
|
1325
|
-
jsonData?: string | undefined;
|
|
1326
1080
|
}
|
|
1327
1081
|
export interface KeyValue {
|
|
1328
1082
|
key?: string | undefined;
|
|
@@ -1367,7 +1121,6 @@ export interface ModuleAutoInstallPushNotification {
|
|
|
1367
1121
|
started?: Date | undefined;
|
|
1368
1122
|
finished?: Date | undefined;
|
|
1369
1123
|
progressLog?: ProgressMessage[] | undefined;
|
|
1370
|
-
totalCount?: number;
|
|
1371
1124
|
readonly errorCount?: number;
|
|
1372
1125
|
serverId?: string | undefined;
|
|
1373
1126
|
creator?: string | undefined;
|
|
@@ -1399,7 +1152,6 @@ export interface ModuleDescriptor {
|
|
|
1399
1152
|
isRemovable?: boolean;
|
|
1400
1153
|
isInstalled?: boolean;
|
|
1401
1154
|
installedVersion?: ModuleIdentity | undefined;
|
|
1402
|
-
packageUrl?: string | undefined;
|
|
1403
1155
|
id?: string | undefined;
|
|
1404
1156
|
}
|
|
1405
1157
|
export interface ModuleIdentity {
|
|
@@ -1407,15 +1159,10 @@ export interface ModuleIdentity {
|
|
|
1407
1159
|
version?: SemanticVersion | undefined;
|
|
1408
1160
|
optional?: boolean;
|
|
1409
1161
|
}
|
|
1410
|
-
export interface ModuleInstallRequest {
|
|
1411
|
-
id?: string | undefined;
|
|
1412
|
-
version?: string | undefined;
|
|
1413
|
-
}
|
|
1414
1162
|
export interface ModulePushNotification {
|
|
1415
1163
|
started?: Date | undefined;
|
|
1416
1164
|
finished?: Date | undefined;
|
|
1417
1165
|
progressLog?: ProgressMessage[] | undefined;
|
|
1418
|
-
totalCount?: number;
|
|
1419
1166
|
readonly errorCount?: number;
|
|
1420
1167
|
serverId?: string | undefined;
|
|
1421
1168
|
creator?: string | undefined;
|
|
@@ -1459,12 +1206,11 @@ export interface ObjectSettingEntry {
|
|
|
1459
1206
|
isRequired?: boolean;
|
|
1460
1207
|
isHidden?: boolean;
|
|
1461
1208
|
isPublic?: boolean;
|
|
1462
|
-
valueType?:
|
|
1209
|
+
valueType?: ObjectSettingEntryValueType;
|
|
1463
1210
|
allowedValues?: any[] | undefined;
|
|
1464
1211
|
defaultValue?: any | undefined;
|
|
1465
1212
|
isDictionary?: boolean;
|
|
1466
1213
|
isLocalizable?: boolean;
|
|
1467
|
-
tenant?: string | undefined;
|
|
1468
1214
|
}
|
|
1469
1215
|
export interface OpenIddictApplicationDescriptor {
|
|
1470
1216
|
applicationType?: string | undefined;
|
|
@@ -1487,6 +1233,7 @@ export interface OpenIddictApplicationDescriptor {
|
|
|
1487
1233
|
readonly settings?: {
|
|
1488
1234
|
[key: string]: string;
|
|
1489
1235
|
} | undefined;
|
|
1236
|
+
type?: string | undefined;
|
|
1490
1237
|
}
|
|
1491
1238
|
export interface OpenIddictResponse {
|
|
1492
1239
|
accessToken?: string | undefined;
|
|
@@ -1498,9 +1245,7 @@ export interface OpenIddictResponse {
|
|
|
1498
1245
|
expiresIn?: number | undefined;
|
|
1499
1246
|
idToken?: string | undefined;
|
|
1500
1247
|
iss?: string | undefined;
|
|
1501
|
-
issuedTokenType?: string | undefined;
|
|
1502
1248
|
refreshToken?: string | undefined;
|
|
1503
|
-
requestUri?: string | undefined;
|
|
1504
1249
|
scope?: string | undefined;
|
|
1505
1250
|
state?: string | undefined;
|
|
1506
1251
|
tokenType?: string | undefined;
|
|
@@ -1512,7 +1257,7 @@ export interface OpenIddictResponse {
|
|
|
1512
1257
|
export interface OperationLog {
|
|
1513
1258
|
objectType?: string | undefined;
|
|
1514
1259
|
objectId?: string | undefined;
|
|
1515
|
-
operationType?:
|
|
1260
|
+
operationType?: OperationLogOperationType;
|
|
1516
1261
|
detail?: string | undefined;
|
|
1517
1262
|
createdDate?: Date;
|
|
1518
1263
|
modifiedDate?: Date | undefined;
|
|
@@ -1532,32 +1277,9 @@ export interface PermissionScope {
|
|
|
1532
1277
|
label?: string | undefined;
|
|
1533
1278
|
scope?: string | undefined;
|
|
1534
1279
|
}
|
|
1535
|
-
/** One plugin contribution to a host app, returned by `GET /api/apps/{appId}/manifest`. */
|
|
1536
|
-
export interface PluginEntry {
|
|
1537
|
-
/** Unique plugin id within the (host app, request) tuple.
|
|
1538
|
-
Defaults to the owning .NET module id (e.g. `VirtoCommerce.MarketplaceReviews`). */
|
|
1539
|
-
id?: string | undefined;
|
|
1540
|
-
/** Plugin version. Defaults to the parent module version. */
|
|
1541
|
-
version?: string | undefined;
|
|
1542
|
-
/** The plugin's primary file. For Module Federation plugins this is the
|
|
1543
|
-
federation entry (`remoteEntry.js`). For the legacy AngularJS host
|
|
1544
|
-
it is the module bundle (`dist/app.js`). Always a script. */
|
|
1545
|
-
entry?: ContentFile | undefined;
|
|
1546
|
-
/** Additional assets the host should preload alongside VirtoCommerce.Platform.Web.Model.Modularity.PluginEntry.Entry
|
|
1547
|
-
(typically stylesheets). Each carries its own type so a generic loader
|
|
1548
|
-
can dispatch on it. */
|
|
1549
|
-
contentFiles?: ContentFile[] | undefined;
|
|
1550
|
-
/** Module Federation coordinates. `null` for the legacy AngularJS host. */
|
|
1551
|
-
remote?: PluginRemote | undefined;
|
|
1552
|
-
}
|
|
1553
|
-
/** Module Federation remote coordinates for a plugin. Mirrors the shape expected by `@module-federation/runtime`. */
|
|
1554
|
-
export interface PluginRemote {
|
|
1555
|
-
name?: string | undefined;
|
|
1556
|
-
exposed?: string | undefined;
|
|
1557
|
-
}
|
|
1558
1280
|
export interface ProgressMessage {
|
|
1559
1281
|
message?: string | undefined;
|
|
1560
|
-
level?:
|
|
1282
|
+
level?: ProgressMessageLevel2;
|
|
1561
1283
|
}
|
|
1562
1284
|
export declare enum ProgressMessageLevel {
|
|
1563
1285
|
Info = "Info",
|
|
@@ -1642,21 +1364,6 @@ export interface SemanticVersion {
|
|
|
1642
1364
|
readonly patch?: number;
|
|
1643
1365
|
readonly prerelease?: string | undefined;
|
|
1644
1366
|
}
|
|
1645
|
-
export interface SettingPropertySchema {
|
|
1646
|
-
name?: string | undefined;
|
|
1647
|
-
displayName?: string | undefined;
|
|
1648
|
-
groupName?: string | undefined;
|
|
1649
|
-
moduleId?: string | undefined;
|
|
1650
|
-
valueType?: SettingValueType;
|
|
1651
|
-
defaultValue?: any | undefined;
|
|
1652
|
-
allowedValues?: any[] | undefined;
|
|
1653
|
-
isRequired?: boolean;
|
|
1654
|
-
isReadOnly?: boolean;
|
|
1655
|
-
isDictionary?: boolean;
|
|
1656
|
-
isLocalizable?: boolean;
|
|
1657
|
-
restartRequired?: boolean;
|
|
1658
|
-
assignedToTenants?: string[] | undefined;
|
|
1659
|
-
}
|
|
1660
1367
|
export declare enum SettingValueType {
|
|
1661
1368
|
ShortText = "ShortText",
|
|
1662
1369
|
LongText = "LongText",
|
|
@@ -1680,7 +1387,7 @@ export declare enum SortDirection {
|
|
|
1680
1387
|
}
|
|
1681
1388
|
export interface SortInfo {
|
|
1682
1389
|
sortColumn?: string | undefined;
|
|
1683
|
-
sortDirection?:
|
|
1390
|
+
sortDirection?: SortInfoSortDirection;
|
|
1684
1391
|
}
|
|
1685
1392
|
export interface StringIdentityUserRole {
|
|
1686
1393
|
userId?: string | undefined;
|
|
@@ -1695,7 +1402,6 @@ export interface SystemInfo {
|
|
|
1695
1402
|
is64BitProcess?: boolean;
|
|
1696
1403
|
databaseProvider?: string | undefined;
|
|
1697
1404
|
environmentName?: string | undefined;
|
|
1698
|
-
runtimeIdentifier?: string | undefined;
|
|
1699
1405
|
}
|
|
1700
1406
|
export interface UserApiKey {
|
|
1701
1407
|
apiKey?: string | undefined;
|
|
@@ -1729,13 +1435,6 @@ export interface UserSearchCriteria {
|
|
|
1729
1435
|
roles?: string[] | undefined;
|
|
1730
1436
|
lasLoginDate?: Date | undefined;
|
|
1731
1437
|
onlyUnlocked?: boolean;
|
|
1732
|
-
onlyLocked?: boolean;
|
|
1733
|
-
emailConfirmed?: boolean | undefined;
|
|
1734
|
-
userType?: string | undefined;
|
|
1735
|
-
status?: string | undefined;
|
|
1736
|
-
storeId?: string | undefined;
|
|
1737
|
-
loginStartDate?: Date | undefined;
|
|
1738
|
-
loginEndDate?: Date | undefined;
|
|
1739
1438
|
responseGroup?: string | undefined;
|
|
1740
1439
|
objectType?: string | undefined;
|
|
1741
1440
|
objectTypes?: string[] | undefined;
|
|
@@ -1796,6 +1495,77 @@ export interface Body {
|
|
|
1796
1495
|
user_id?: string;
|
|
1797
1496
|
[key: string]: any;
|
|
1798
1497
|
}
|
|
1498
|
+
export declare enum DynamicObjectPropertyValueType {
|
|
1499
|
+
Undefined = "Undefined",
|
|
1500
|
+
ShortText = "ShortText",
|
|
1501
|
+
LongText = "LongText",
|
|
1502
|
+
Integer = "Integer",
|
|
1503
|
+
Decimal = "Decimal",
|
|
1504
|
+
DateTime = "DateTime",
|
|
1505
|
+
Boolean = "Boolean",
|
|
1506
|
+
Html = "Html",
|
|
1507
|
+
Image = "Image"
|
|
1508
|
+
}
|
|
1509
|
+
export declare enum DynamicPropertyValueType2 {
|
|
1510
|
+
Undefined = "Undefined",
|
|
1511
|
+
ShortText = "ShortText",
|
|
1512
|
+
LongText = "LongText",
|
|
1513
|
+
Integer = "Integer",
|
|
1514
|
+
Decimal = "Decimal",
|
|
1515
|
+
DateTime = "DateTime",
|
|
1516
|
+
Boolean = "Boolean",
|
|
1517
|
+
Html = "Html",
|
|
1518
|
+
Image = "Image"
|
|
1519
|
+
}
|
|
1520
|
+
export declare enum DynamicPropertyObjectValueValueType {
|
|
1521
|
+
Undefined = "Undefined",
|
|
1522
|
+
ShortText = "ShortText",
|
|
1523
|
+
LongText = "LongText",
|
|
1524
|
+
Integer = "Integer",
|
|
1525
|
+
Decimal = "Decimal",
|
|
1526
|
+
DateTime = "DateTime",
|
|
1527
|
+
Boolean = "Boolean",
|
|
1528
|
+
Html = "Html",
|
|
1529
|
+
Image = "Image"
|
|
1530
|
+
}
|
|
1531
|
+
export declare enum JsonElementValueKind {
|
|
1532
|
+
Undefined = "Undefined",
|
|
1533
|
+
Object = "Object",
|
|
1534
|
+
Array = "Array",
|
|
1535
|
+
String = "String",
|
|
1536
|
+
Number = "Number",
|
|
1537
|
+
True = "True",
|
|
1538
|
+
False = "False",
|
|
1539
|
+
Null = "Null"
|
|
1540
|
+
}
|
|
1541
|
+
export declare enum ObjectSettingEntryValueType {
|
|
1542
|
+
ShortText = "ShortText",
|
|
1543
|
+
LongText = "LongText",
|
|
1544
|
+
Integer = "Integer",
|
|
1545
|
+
Decimal = "Decimal",
|
|
1546
|
+
DateTime = "DateTime",
|
|
1547
|
+
Boolean = "Boolean",
|
|
1548
|
+
SecureString = "SecureString",
|
|
1549
|
+
Json = "Json",
|
|
1550
|
+
PositiveInteger = "PositiveInteger"
|
|
1551
|
+
}
|
|
1552
|
+
export declare enum OperationLogOperationType {
|
|
1553
|
+
Detached = "Detached",
|
|
1554
|
+
Unchanged = "Unchanged",
|
|
1555
|
+
Added = "Added",
|
|
1556
|
+
Deleted = "Deleted",
|
|
1557
|
+
Modified = "Modified"
|
|
1558
|
+
}
|
|
1559
|
+
export declare enum ProgressMessageLevel2 {
|
|
1560
|
+
Info = "Info",
|
|
1561
|
+
Warning = "Warning",
|
|
1562
|
+
Debug = "Debug",
|
|
1563
|
+
Error = "Error"
|
|
1564
|
+
}
|
|
1565
|
+
export declare enum SortInfoSortDirection {
|
|
1566
|
+
Ascending = "Ascending",
|
|
1567
|
+
Descending = "Descending"
|
|
1568
|
+
}
|
|
1799
1569
|
export declare class ApiException extends Error {
|
|
1800
1570
|
message: string;
|
|
1801
1571
|
status: number;
|