@esb-market-contracts/backend 1.0.18 → 1.0.19
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/api.d.ts +514 -503
- package/constants.d.ts +1 -3
- package/enums.d.ts +30 -42
- package/package.json +1 -1
- package/types.d.ts +366 -353
package/constants.d.ts
CHANGED
package/enums.d.ts
CHANGED
|
@@ -1,50 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const localesArray: readonly [
|
|
4
|
-
"ka",
|
|
5
|
-
"en",
|
|
6
|
-
"ru"
|
|
7
|
-
];
|
|
1
|
+
import "zod";
|
|
2
|
+
//#region src/internal/localization/localization.config.d.ts
|
|
3
|
+
export declare const localesArray: readonly ['ka', 'en', 'ru'];
|
|
8
4
|
export declare const locale: Readonly<{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
EN: "en";
|
|
6
|
+
KA: "ka";
|
|
7
|
+
RU: "ru";
|
|
12
8
|
}>;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/internal/localization/localization.types.d.ts
|
|
11
|
+
type Locale = (typeof localesArray)[number];
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/app/domain/global/global.enums.d.ts
|
|
14
|
+
declare const entityStatusesArray: readonly ['active', 'archived'];
|
|
18
15
|
declare const entityStatusesRecord: Readonly<{
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
ACTIVE: "active";
|
|
17
|
+
ARCHIVED: "archived";
|
|
21
18
|
}>;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
];
|
|
19
|
+
type EntityStatus = (typeof entityStatusesArray)[number];
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/app/flows/audit/audit.enums.d.ts
|
|
22
|
+
export declare const auditLogSourcesArray: readonly ['admin', 'backend'];
|
|
27
23
|
declare const auditLogSourcesRecord: Readonly<{
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
ADMIN: "admin";
|
|
25
|
+
BACKEND: "backend";
|
|
30
26
|
}>;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"legal_entity"
|
|
36
|
-
];
|
|
27
|
+
type AuditLogSource = (typeof auditLogSourcesArray)[number];
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/app/domain/(operations)/customers/customers.enums.d.ts
|
|
30
|
+
export declare const customerTypesArray: readonly ['individual', 'individual_entrepreneur', 'legal_entity'];
|
|
37
31
|
declare const customerTypesRecord: Readonly<{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
INDIVIDUAL: "individual";
|
|
33
|
+
INDIVIDUAL_ENTREPRENEUR: "individual_entrepreneur";
|
|
34
|
+
LEGAL_ENTITY: "legal_entity";
|
|
41
35
|
}>;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
export {
|
|
45
|
-
auditLogSourcesRecord as auditLogSource,
|
|
46
|
-
customerTypesRecord as customerType,
|
|
47
|
-
entityStatusesRecord as entityStatus,
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
export {};
|
|
36
|
+
type CustomerType = (typeof customerTypesArray)[number];
|
|
37
|
+
//#endregion
|
|
38
|
+
export { type AuditLogSource, type CustomerType, type EntityStatus, type Locale, auditLogSourcesRecord as auditLogSource, customerTypesRecord as customerType, entityStatusesRecord as entityStatus };
|