@vulog/aima-user 1.1.86 → 1.1.87
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/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/package.json +4 -4
- package/src/types.ts +9 -0
package/dist/index.d.mts
CHANGED
|
@@ -27,6 +27,13 @@ type UserAgreement = {
|
|
|
27
27
|
};
|
|
28
28
|
type ProfileType = 'Single' | 'Business';
|
|
29
29
|
type ProfileStatus = 'PENDING' | 'APPROVED' | 'REJECTED' | 'SUSPENDED' | 'INACTIVE' | 'ARCHIVED' | 'PENDING_REGISTRATION';
|
|
30
|
+
type ServiceStatus = {
|
|
31
|
+
cityId: string;
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
status: string;
|
|
35
|
+
visibility: string;
|
|
36
|
+
};
|
|
30
37
|
type UserProfile = {
|
|
31
38
|
id: string;
|
|
32
39
|
rfid?: string;
|
|
@@ -37,6 +44,7 @@ type UserProfile = {
|
|
|
37
44
|
status: ProfileStatus;
|
|
38
45
|
type: ProfileType;
|
|
39
46
|
emailConsent: boolean;
|
|
47
|
+
services: ServiceStatus[];
|
|
40
48
|
};
|
|
41
49
|
type ServicesRegistrationList = {
|
|
42
50
|
approved: string[];
|
|
@@ -266,4 +274,4 @@ declare const getFleetBillingGroups: (client: Client, options?: PaginableOptions
|
|
|
266
274
|
|
|
267
275
|
declare const getUsersByIds: (client: Client, ids: string[]) => Promise<User[]>;
|
|
268
276
|
|
|
269
|
-
export { type AccountStatus, type Address, type BillingGroup, type CreateBusinessProfile, type CreateUser, type CreateUserOptions, type Entity, type FiscalInformation, type IndividualBusiness, type Label, type PersonalCompany, type PersonalInformationBirth, type PersonalInformationIdentity, type PersonalInformationProfile, type PersonalInformationProfileType, type PersonalInformationUser, type PersonalInformationUserType, type Profile, type ProfileServiceRegistration, type ProfileStatus, type ProfileType, type ResponseFind, type SearchType, type ServiceRegistrationWithReason, type ServicesRegistrationList, type ServicesUpdate, type User, type UserAgreement, type UserFull, type UserProfile, type UserServiceRegistration, type UserUpdateBody, acceptTAndC, accountStatus, addLabelForUser, assignBillingGroup, createBusinessProfile, createUser, findUser, getEntity, getFleetBillingGroups, getLabelsForUser, getProfilePersonalInfoById, getRegistrationOverview, getUserById, getUserPersonalInfoById, getUsersByIds, getUsersPIByIds, personalInformationProfileTypeSchema, personalInformationProfileTypes, personalInformationUserPaths, personalInformationUserTypeSchema, personalInformationUserTypes, removeLabelForUser, setServicesStatus, updateProfilePersonalInfo, updateUser, updateUserPersonalInfo };
|
|
277
|
+
export { type AccountStatus, type Address, type BillingGroup, type CreateBusinessProfile, type CreateUser, type CreateUserOptions, type Entity, type FiscalInformation, type IndividualBusiness, type Label, type PersonalCompany, type PersonalInformationBirth, type PersonalInformationIdentity, type PersonalInformationProfile, type PersonalInformationProfileType, type PersonalInformationUser, type PersonalInformationUserType, type Profile, type ProfileServiceRegistration, type ProfileStatus, type ProfileType, type ResponseFind, type SearchType, type ServiceRegistrationWithReason, type ServiceStatus, type ServicesRegistrationList, type ServicesUpdate, type User, type UserAgreement, type UserFull, type UserProfile, type UserServiceRegistration, type UserUpdateBody, acceptTAndC, accountStatus, addLabelForUser, assignBillingGroup, createBusinessProfile, createUser, findUser, getEntity, getFleetBillingGroups, getLabelsForUser, getProfilePersonalInfoById, getRegistrationOverview, getUserById, getUserPersonalInfoById, getUsersByIds, getUsersPIByIds, personalInformationProfileTypeSchema, personalInformationProfileTypes, personalInformationUserPaths, personalInformationUserTypeSchema, personalInformationUserTypes, removeLabelForUser, setServicesStatus, updateProfilePersonalInfo, updateUser, updateUserPersonalInfo };
|
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,13 @@ type UserAgreement = {
|
|
|
27
27
|
};
|
|
28
28
|
type ProfileType = 'Single' | 'Business';
|
|
29
29
|
type ProfileStatus = 'PENDING' | 'APPROVED' | 'REJECTED' | 'SUSPENDED' | 'INACTIVE' | 'ARCHIVED' | 'PENDING_REGISTRATION';
|
|
30
|
+
type ServiceStatus = {
|
|
31
|
+
cityId: string;
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
status: string;
|
|
35
|
+
visibility: string;
|
|
36
|
+
};
|
|
30
37
|
type UserProfile = {
|
|
31
38
|
id: string;
|
|
32
39
|
rfid?: string;
|
|
@@ -37,6 +44,7 @@ type UserProfile = {
|
|
|
37
44
|
status: ProfileStatus;
|
|
38
45
|
type: ProfileType;
|
|
39
46
|
emailConsent: boolean;
|
|
47
|
+
services: ServiceStatus[];
|
|
40
48
|
};
|
|
41
49
|
type ServicesRegistrationList = {
|
|
42
50
|
approved: string[];
|
|
@@ -266,4 +274,4 @@ declare const getFleetBillingGroups: (client: Client, options?: PaginableOptions
|
|
|
266
274
|
|
|
267
275
|
declare const getUsersByIds: (client: Client, ids: string[]) => Promise<User[]>;
|
|
268
276
|
|
|
269
|
-
export { type AccountStatus, type Address, type BillingGroup, type CreateBusinessProfile, type CreateUser, type CreateUserOptions, type Entity, type FiscalInformation, type IndividualBusiness, type Label, type PersonalCompany, type PersonalInformationBirth, type PersonalInformationIdentity, type PersonalInformationProfile, type PersonalInformationProfileType, type PersonalInformationUser, type PersonalInformationUserType, type Profile, type ProfileServiceRegistration, type ProfileStatus, type ProfileType, type ResponseFind, type SearchType, type ServiceRegistrationWithReason, type ServicesRegistrationList, type ServicesUpdate, type User, type UserAgreement, type UserFull, type UserProfile, type UserServiceRegistration, type UserUpdateBody, acceptTAndC, accountStatus, addLabelForUser, assignBillingGroup, createBusinessProfile, createUser, findUser, getEntity, getFleetBillingGroups, getLabelsForUser, getProfilePersonalInfoById, getRegistrationOverview, getUserById, getUserPersonalInfoById, getUsersByIds, getUsersPIByIds, personalInformationProfileTypeSchema, personalInformationProfileTypes, personalInformationUserPaths, personalInformationUserTypeSchema, personalInformationUserTypes, removeLabelForUser, setServicesStatus, updateProfilePersonalInfo, updateUser, updateUserPersonalInfo };
|
|
277
|
+
export { type AccountStatus, type Address, type BillingGroup, type CreateBusinessProfile, type CreateUser, type CreateUserOptions, type Entity, type FiscalInformation, type IndividualBusiness, type Label, type PersonalCompany, type PersonalInformationBirth, type PersonalInformationIdentity, type PersonalInformationProfile, type PersonalInformationProfileType, type PersonalInformationUser, type PersonalInformationUserType, type Profile, type ProfileServiceRegistration, type ProfileStatus, type ProfileType, type ResponseFind, type SearchType, type ServiceRegistrationWithReason, type ServiceStatus, type ServicesRegistrationList, type ServicesUpdate, type User, type UserAgreement, type UserFull, type UserProfile, type UserServiceRegistration, type UserUpdateBody, acceptTAndC, accountStatus, addLabelForUser, assignBillingGroup, createBusinessProfile, createUser, findUser, getEntity, getFleetBillingGroups, getLabelsForUser, getProfilePersonalInfoById, getRegistrationOverview, getUserById, getUserPersonalInfoById, getUsersByIds, getUsersPIByIds, personalInformationProfileTypeSchema, personalInformationProfileTypes, personalInformationUserPaths, personalInformationUserTypeSchema, personalInformationUserTypes, removeLabelForUser, setServicesStatus, updateProfilePersonalInfo, updateUser, updateUserPersonalInfo };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vulog/aima-user",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.87",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"author": "Vulog",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@vulog/aima-client": "1.1.
|
|
23
|
-
"@vulog/aima-config": "1.1.
|
|
24
|
-
"@vulog/aima-core": "1.1.
|
|
22
|
+
"@vulog/aima-client": "1.1.87",
|
|
23
|
+
"@vulog/aima-config": "1.1.87",
|
|
24
|
+
"@vulog/aima-core": "1.1.87"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"zod": "^3.25.76"
|
package/src/types.ts
CHANGED
|
@@ -32,6 +32,14 @@ export type ProfileStatus =
|
|
|
32
32
|
| 'ARCHIVED'
|
|
33
33
|
| 'PENDING_REGISTRATION';
|
|
34
34
|
|
|
35
|
+
export type ServiceStatus = {
|
|
36
|
+
cityId: string;
|
|
37
|
+
id: string;
|
|
38
|
+
name: string;
|
|
39
|
+
status: string;
|
|
40
|
+
visibility: string;
|
|
41
|
+
};
|
|
42
|
+
|
|
35
43
|
export type UserProfile = {
|
|
36
44
|
id: string;
|
|
37
45
|
rfid?: string;
|
|
@@ -42,6 +50,7 @@ export type UserProfile = {
|
|
|
42
50
|
status: ProfileStatus;
|
|
43
51
|
type: ProfileType;
|
|
44
52
|
emailConsent: boolean;
|
|
53
|
+
services: ServiceStatus[];
|
|
45
54
|
};
|
|
46
55
|
|
|
47
56
|
export type ServicesRegistrationList = {
|