@nomalism-com/types 0.9.562 → 0.10.0

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.
@@ -19,24 +19,16 @@ export interface ICreateSchedulePrintJobRequest {
19
19
  export interface IDispatchSchedulePrintJobResponse {
20
20
  npc_id: string;
21
21
  secret?: string | null;
22
- }
23
- export interface IFindScheduleRequest {
24
- last_print_job_id?: string;
25
- npc_id: string;
26
- secret?: string | null;
27
- }
28
- export interface IFindScheduleResponse {
29
22
  print_job?: {
30
23
  id: string;
31
24
  moloni_json?: unknown;
32
25
  external_url?: string | null;
33
26
  printer_id: string;
27
+ orientation: 'landscape' | 'portrait';
34
28
  };
35
- secret?: string | null;
36
29
  }
37
30
  export interface IRepository {
38
31
  dispatchSchedulePrintJob: (data: IDispatchSchedulePrintJobRequest) => Promise<IDispatchSchedulePrintJobResponse>;
39
- findSchedule: (data: IFindScheduleRequest) => Promise<IFindScheduleResponse>;
40
32
  findByOwner: (data: IShared.IFindByOwnerIdRequest) => Promise<Entity[]>;
41
33
  create: (data: ICreateSchedulePrintJobRequest) => Promise<Entity>;
42
34
  deleteOne: (params: IShared.IFindByIdRequest) => Promise<void>;
@@ -1,4 +1,3 @@
1
1
  import joi from 'joi';
2
2
  export declare const dispatchSchedulePrintJobBody: joi.ObjectSchema<any>;
3
- export declare const findScheduleQuery: joi.ObjectSchema<any>;
4
3
  export declare const createSchedulePrintJobBody: joi.ObjectSchema<any>;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.createSchedulePrintJobBody = exports.findScheduleQuery = exports.dispatchSchedulePrintJobBody = void 0;
6
+ exports.createSchedulePrintJobBody = exports.dispatchSchedulePrintJobBody = void 0;
7
7
  var joi_1 = __importDefault(require("joi"));
8
8
  var messages_1 = require("../../../shared/messages");
9
9
  var dispatchSchedulePrintJobBodyKeys = {
@@ -16,15 +16,6 @@ exports.dispatchSchedulePrintJobBody = joi_1.default
16
16
  .object()
17
17
  .keys(dispatchSchedulePrintJobBodyKeys)
18
18
  .messages(messages_1.messages);
19
- var findScheduleQueryKeys = {
20
- last_print_job_id: joi_1.default.string().uuid().optional(),
21
- npc_id: joi_1.default.string().uuid().required(),
22
- secret: joi_1.default.string().allow(null).optional(),
23
- };
24
- exports.findScheduleQuery = joi_1.default
25
- .object()
26
- .keys(findScheduleQueryKeys)
27
- .messages(messages_1.messages);
28
19
  var createSchedulePrintJobBodyKeys = {
29
20
  external_document_id: joi_1.default.string().optional(),
30
21
  multimedia_id: joi_1.default.string().uuid().optional(),
@@ -6,18 +6,18 @@ export declare const UpperName = "Clients";
6
6
  export declare const LowerName: string;
7
7
  interface IFindDetailedResponse extends Entity {
8
8
  user: Users;
9
- preferentialContact?: (Contacts & {
10
- ContactType: ContactTypes | null;
9
+ preferential_contact?: (Contacts & {
10
+ contact_type: ContactTypes | null;
11
11
  }) | null;
12
12
  personas: (Persona & {
13
13
  country: Country | null;
14
14
  })[];
15
- Address: (Address & {
15
+ addresses: (Address & {
16
16
  country: Country;
17
17
  })[];
18
18
  exemption_reason: ReasonForExemption | null;
19
- clientType: ClientType | null;
20
- segmentsArea: SegmentsArea | null;
19
+ client_type: ClientType | null;
20
+ segments_area: SegmentsArea | null;
21
21
  country: Country | null;
22
22
  language: Language | null;
23
23
  default_payment_method: PaymentMethods | null;
@@ -26,7 +26,7 @@ interface IFindDetailedResponse extends Entity {
26
26
  default_vehicle: Vehicles | null;
27
27
  }
28
28
  export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
29
- export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | 'preferentialContact' | 'Address' | 'personas' | 'exemption_reason' | 'clientType' | 'segmentsArea' | 'country' | 'language' | 'default_payment_method' | 'default_maturity_date' | 'default_delivery_method' | 'default_vehicle'>;
29
+ export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | 'preferential_contact' | 'addresses' | 'personas' | 'exemption_reason' | 'client_type' | 'segments_area' | 'country' | 'language' | 'default_payment_method' | 'default_maturity_date' | 'default_delivery_method' | 'default_vehicle'>;
30
30
  export interface IFindRequest {
31
31
  number?: number[];
32
32
  id?: string[];
@@ -6,13 +6,13 @@ export declare const UpperName = "Commissioner";
6
6
  export declare const LowerName: string;
7
7
  interface IFindDetailedResponse extends Entity {
8
8
  user: Users;
9
- preferentialContact?: (Contacts & {
10
- ContactType: ContactTypes | null;
9
+ preferential_contact?: (Contacts & {
10
+ contact_type: ContactTypes | null;
11
11
  }) | null;
12
12
  personas: (Persona & {
13
13
  country: Country | null;
14
14
  })[];
15
- Address: (Address & {
15
+ addresses: (Address & {
16
16
  country: Country;
17
17
  })[];
18
18
  country: Country | null;
@@ -23,7 +23,7 @@ interface IFindDetailedResponse extends Entity {
23
23
  default_vehicle: Vehicles | null;
24
24
  }
25
25
  export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
26
- export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | 'preferentialContact' | 'Address' | 'personas' | 'country' | 'language' | 'default_payment_method' | 'default_maturity_date' | 'default_delivery_method' | 'default_vehicle'>;
26
+ export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | 'preferential_Contact' | 'addresses' | 'personas' | 'country' | 'language' | 'default_payment_method' | 'default_maturity_date' | 'default_delivery_method' | 'default_vehicle'>;
27
27
  export type IFindRequest = Record<string, unknown>;
28
28
  export type IFindResponse = Omit<IFindDetailedResponse, ''>;
29
29
  export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
@@ -6,16 +6,16 @@ export declare const Route = "contacts";
6
6
  export declare const UpperName = "Contacts";
7
7
  export declare const LowerName: string;
8
8
  interface IFindDetailedResponse extends Entity {
9
- ContactType: ContactTypes | null;
9
+ contact_type: ContactTypes | null;
10
10
  preferential: boolean;
11
11
  }
12
- export type IFindByIdResponse = Omit<IFindDetailedResponse, 'ContactType'>;
12
+ export type IFindByIdResponse = Omit<IFindDetailedResponse, 'contact_type'>;
13
13
  export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, ''>;
14
14
  export type IFindRequest = Record<string, unknown>;
15
- export type IFindResponse = Omit<IFindDetailedResponse, 'ContactType'>;
15
+ export type IFindResponse = Omit<IFindDetailedResponse, 'contact_type'>;
16
16
  export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
17
17
  }
18
- export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, 'ContactType'>>;
18
+ export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, 'contact_type'>>;
19
19
  export interface ICreateRequest {
20
20
  provider_id?: string | null;
21
21
  client_id?: string | null;
@@ -102,7 +102,7 @@ var findOwnerIdBodyResponsekeys = {
102
102
  .string()
103
103
  .email({ tlds: { allow: false } })
104
104
  .required(),
105
- ContactType: tests_1.createUpdateDeleteBodyResponse.required(),
105
+ contact_type: tests_1.createUpdateDeleteBodyResponse.required(),
106
106
  origin_id: joi_1.default.string().allow(null).optional(),
107
107
  preferential: joi_1.default.boolean().required(),
108
108
  };
@@ -6,20 +6,20 @@ export declare const UpperName = "Providers";
6
6
  export declare const LowerName: string;
7
7
  interface IFindDetailedResponse extends Entity {
8
8
  user: Users;
9
- preferentialContact?: (Contacts & {
10
- ContactType: ContactTypes | null;
9
+ preferential_contact?: (Contacts & {
10
+ contact_type: ContactTypes | null;
11
11
  }) | null;
12
12
  personas: (Persona & {
13
13
  country: Country | null;
14
14
  })[];
15
- Address: (Address & {
15
+ addresses: (Address & {
16
16
  country: Country;
17
17
  })[];
18
18
  exemption_reason: ReasonForExemption | null;
19
19
  country: Country | null;
20
20
  language: Language | null;
21
- supportLanguage: Language | null;
22
- providerType: ProviderType | null;
21
+ support_language: Language | null;
22
+ provider_type: ProviderType | null;
23
23
  default_payment_method: PaymentMethods | null;
24
24
  default_maturity_date: MaturityDates | null;
25
25
  default_delivery_method: DeliveryMethods | null;
@@ -6,17 +6,17 @@ export declare const UpperName = "StoreOperator";
6
6
  export declare const LowerName: string;
7
7
  interface IFindDetailedResponse extends Entity {
8
8
  user: Users;
9
- preferentialContact?: (Contacts & {
10
- ContactType: ContactTypes | null;
9
+ preferential_contact?: (Contacts & {
10
+ contact_type: ContactTypes | null;
11
11
  }) | null;
12
- Address: (Address & {
12
+ addresses: (Address & {
13
13
  country: Country;
14
14
  })[];
15
- supportLanguage: Language | null;
16
- userPosition: UserPositions | null;
15
+ support_language: Language | null;
16
+ user_position: UserPositions | null;
17
17
  }
18
18
  export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
19
- export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | 'preferentialContact' | 'Address' | 'supportLanguage' | 'userPosition'>;
19
+ export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | 'preferential_contact' | 'addresses' | 'support_language' | 'user_position'>;
20
20
  export type IFindRequest = Record<string, unknown>;
21
21
  export type IFindResponse = Omit<IFindDetailedResponse, ''>;
22
22
  export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
@@ -43,7 +43,7 @@ var IShared = __importStar(require("../../../shared/interface"));
43
43
  var createUpdateDeleteBodyResponseKeys = {
44
44
  id: joi_1.default.string().uuid().required(),
45
45
  user_id: joi_1.default.string().uuid().required(),
46
- user_position: joi_1.default.string().uuid().required(),
46
+ user_position_id: joi_1.default.string().uuid().required(),
47
47
  location_id: joi_1.default.string().required(),
48
48
  internal_email: joi_1.default
49
49
  .string()
@@ -51,7 +51,7 @@ Object.defineProperty(exports, "createUpdateDeleteBodyResponse", { enumerable: t
51
51
  var findBodyResponseKeys = {
52
52
  id: joi_1.default.string().uuid().required(),
53
53
  user_id: joi_1.default.string().uuid().required(),
54
- user_position: joi_1.default.string().uuid().required(),
54
+ user_position_id: joi_1.default.string().uuid().required(),
55
55
  location_id: joi_1.default.string().required(),
56
56
  internal_email: joi_1.default
57
57
  .string()
@@ -64,13 +64,13 @@ var findBodyResponseKeys = {
64
64
  pin: joi_1.default.string().required(),
65
65
  inactive: joi_1.default.boolean().required(),
66
66
  external_id: joi_1.default.string(),
67
- Address: joi_1.default.array().items(responseCreate_schema_2.createUpdateDeleteBodyResponse.keys({
67
+ addresses: joi_1.default.array().items(responseCreate_schema_2.createUpdateDeleteBodyResponse.keys({
68
68
  country: responseCreate_schema_3.createUpdateDeleteBodyResponse.required(),
69
69
  })),
70
70
  user: responseCreate_schema_4.createUpdateDeleteBodyResponse.required(),
71
- preferentialContact: responseCreate_schema_1.createUpdateDeleteBodyResponse.required().allow(null),
72
- supportLanguage: responseCreate_schema_5.createUpdateDeleteBodyResponse.required().allow(null),
73
- userPosition: responseCreate_schema_6.createUpdateDeleteBodyResponse.required().allow(null),
71
+ preferential_contact: responseCreate_schema_1.createUpdateDeleteBodyResponse.required().allow(null),
72
+ support_language: responseCreate_schema_5.createUpdateDeleteBodyResponse.required().allow(null),
73
+ user_position: responseCreate_schema_6.createUpdateDeleteBodyResponse.required().allow(null),
74
74
  origin_id: joi_1.default.string().allow(null).optional(),
75
75
  };
76
76
  exports.findBodyResponse = joi_1.default
@@ -80,7 +80,7 @@ exports.findBodyResponse = joi_1.default
80
80
  var findByIdBodyResponseKeys = {
81
81
  id: joi_1.default.string().uuid().required(),
82
82
  user_id: joi_1.default.string().uuid().required(),
83
- user_position: joi_1.default.string().uuid().required(),
83
+ user_position_id: joi_1.default.string().uuid().required(),
84
84
  location_id: joi_1.default.string().required(),
85
85
  internal_email: joi_1.default
86
86
  .string()
@@ -93,13 +93,13 @@ var findByIdBodyResponseKeys = {
93
93
  pin: joi_1.default.string().required(),
94
94
  inactive: joi_1.default.boolean().required(),
95
95
  user: responseCreate_schema_4.createUpdateDeleteBodyResponse.required(),
96
- preferentialContact: responseCreate_schema_1.createUpdateDeleteBodyResponse.allow(null),
97
- Address: joi_1.default.array().items(responseCreate_schema_2.createUpdateDeleteBodyResponse.keys({
96
+ preferential_contact: responseCreate_schema_1.createUpdateDeleteBodyResponse.allow(null),
97
+ addresses: joi_1.default.array().items(responseCreate_schema_2.createUpdateDeleteBodyResponse.keys({
98
98
  country: responseCreate_schema_3.createUpdateDeleteBodyResponse.required(),
99
99
  })),
100
100
  external_id: joi_1.default.string(),
101
- supportLanguage: responseCreate_schema_5.createUpdateDeleteBodyResponse.required().allow(null),
102
- userPosition: responseCreate_schema_6.createUpdateDeleteBodyResponse.required().allow(null),
101
+ support_language: responseCreate_schema_5.createUpdateDeleteBodyResponse.required().allow(null),
102
+ user_position: responseCreate_schema_6.createUpdateDeleteBodyResponse.required().allow(null),
103
103
  origin_id: joi_1.default.string().allow(null).optional(),
104
104
  };
105
105
  exports.findByIdBodyResponse = joi_1.default
@@ -109,7 +109,7 @@ exports.findByIdBodyResponse = joi_1.default
109
109
  var findOwnerIdBodyResponsekeys = {
110
110
  id: joi_1.default.string().uuid().required(),
111
111
  user_id: joi_1.default.string().uuid(),
112
- user_position: joi_1.default.string().uuid().required(),
112
+ user_position_id: joi_1.default.string().uuid().required(),
113
113
  location_id: joi_1.default.string().required(),
114
114
  internal_email: joi_1.default
115
115
  .string()
@@ -5,8 +5,8 @@ export declare const Route = "user_permissions";
5
5
  export declare const UpperName = "UserPermissions";
6
6
  export declare const LowerName: string;
7
7
  interface IFindDetailedResponse extends Entity {
8
- groupPermissions: GroupPermissions;
9
- permissions: Permissions;
8
+ group_permission: GroupPermissions;
9
+ permission: Permissions;
10
10
  }
11
11
  export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, ''>;
12
12
  export interface ICreateRequest {
@@ -54,8 +54,8 @@ var findOwnerIdBodyResponsekeys = {
54
54
  user_id: joi_1.default.string().uuid().required(),
55
55
  group_id: joi_1.default.string().uuid().required(),
56
56
  permission_id: joi_1.default.string().uuid().required(),
57
- groupPermissions: IGroupPermissions.createUpdateDeleteBodyResponse.required(),
58
- permissions: IPermissions.createUpdateDeleteBodyResponse.required(),
57
+ group_permission: IGroupPermissions.createUpdateDeleteBodyResponse.required(),
58
+ permission: IPermissions.createUpdateDeleteBodyResponse.required(),
59
59
  };
60
60
  exports.findOwnerIdBodyResponse = joi_1.default
61
61
  .array()
@@ -14,50 +14,50 @@ export interface IFindByEmailResponse extends IFindDetailedResponse {
14
14
  }
15
15
  export interface IFindByIdResponse extends IFindDetailedResponse {
16
16
  subordinates: Users[];
17
- Providers: (Providers & {
17
+ provider: (Providers & {
18
18
  country: Country | null;
19
19
  language: Language | null;
20
- supportLanguage: Language | null;
21
- providerType: ProviderType | null;
20
+ support_language: Language | null;
21
+ provider_type: ProviderType | null;
22
22
  exemption_reason: ReasonForExemption | null;
23
23
  default_payment_method: PaymentMethods | null;
24
24
  default_maturity_date: MaturityDates | null;
25
25
  default_delivery_method: DeliveryMethods | null;
26
26
  default_vehicle: Vehicles | null;
27
- preferentialContact: (Contacts & {
28
- ContactType: ContactTypes | null;
27
+ preferential_contact: (Contacts & {
28
+ contact_type: ContactTypes | null;
29
29
  }) | null;
30
30
  }) | null;
31
- Clients: (Clients & {
31
+ client: (Clients & {
32
32
  country: Country | null;
33
33
  language: Language | null;
34
- segmentsArea: SegmentsArea | null;
35
- clientType: ClientType | null;
34
+ segments_area: SegmentsArea | null;
35
+ client_type: ClientType | null;
36
36
  exemption_reason: ReasonForExemption | null;
37
37
  default_payment_method: PaymentMethods | null;
38
38
  default_maturity_date: MaturityDates | null;
39
39
  default_delivery_method: DeliveryMethods | null;
40
40
  default_vehicle: Vehicles | null;
41
- preferentialContact: (Contacts & {
42
- ContactType: ContactTypes | null;
41
+ preferential_contact: (Contacts & {
42
+ contact_type: ContactTypes | null;
43
43
  }) | null;
44
44
  }) | null;
45
- StoreOperator: (StoreOperator & {
46
- userPosition: UserPositions | null;
47
- supportLanguage: Language | null;
48
- preferentialContact: (Contacts & {
49
- ContactType: ContactTypes | null;
45
+ store_operator: (StoreOperator & {
46
+ user_position: UserPositions | null;
47
+ support_language: Language | null;
48
+ preferential_contact: (Contacts & {
49
+ contact_type: ContactTypes | null;
50
50
  }) | null;
51
51
  }) | null;
52
- Commissioner: (Commissioner & {
52
+ commissioner: (Commissioner & {
53
53
  country: Country | null;
54
54
  language: Language | null;
55
55
  default_payment_method: PaymentMethods | null;
56
56
  default_maturity_date: MaturityDates | null;
57
57
  default_delivery_method: DeliveryMethods | null;
58
58
  default_vehicle: Vehicles | null;
59
- preferentialContact: (Contacts & {
60
- ContactType: ContactTypes | null;
59
+ preferential_contact: (Contacts & {
60
+ contact_type: ContactTypes | null;
61
61
  }) | null;
62
62
  }) | null;
63
63
  }
@@ -82,14 +82,14 @@ var findByIdBodyResponseKeys = {
82
82
  .required(),
83
83
  password: joi_1.default.string().required(),
84
84
  deleted_at: joi_1.default.date().required().allow(null),
85
- Providers: responseCreate_schema_1.createUpdateDeleteBodyResponse.keys({
85
+ provider: responseCreate_schema_1.createUpdateDeleteBodyResponse.keys({
86
86
  country: responseCreate_schema_2.createUpdateDeleteBodyResponse.required(),
87
87
  language: responseCreate_schema_3.createUpdateDeleteBodyResponse.required(),
88
- supportLanguage: responseCreate_schema_3.createUpdateDeleteBodyResponse.allow(null).required(),
89
- providerType: responseCreate_schema_4.createUpdateDeleteBodyResponse.required(),
88
+ support_language: responseCreate_schema_3.createUpdateDeleteBodyResponse.allow(null).required(),
89
+ provider_type: responseCreate_schema_4.createUpdateDeleteBodyResponse.required(),
90
90
  exemption_reason: responseCreate_schema_5.createUpdateDeleteBodyResponse.allow(null).required(),
91
- preferentialContact: responseCreate_schema_6.createUpdateDeleteBodyResponse.keys({
92
- contactType: responseCreate_schema_7.createUpdateDeleteBodyResponse.required(),
91
+ preferential_contact: responseCreate_schema_6.createUpdateDeleteBodyResponse.keys({
92
+ contact_type: responseCreate_schema_7.createUpdateDeleteBodyResponse.required(),
93
93
  language: responseCreate_schema_3.createUpdateDeleteBodyResponse.required(),
94
94
  })
95
95
  .required()
@@ -97,36 +97,36 @@ var findByIdBodyResponseKeys = {
97
97
  })
98
98
  .required()
99
99
  .allow(null),
100
- Clients: responseCreate_schema_8.createUpdateDeleteBodyResponse.keys({
100
+ client: responseCreate_schema_8.createUpdateDeleteBodyResponse.keys({
101
101
  country: responseCreate_schema_2.createUpdateDeleteBodyResponse.required(),
102
102
  language: responseCreate_schema_3.createUpdateDeleteBodyResponse.required(),
103
- segmentsArea: responseCreate_schema_9.createUpdateDeleteBodyResponse.required(),
104
- clientType: responseCreate_schema_10.createUpdateDeleteBodyResponse.required(),
103
+ segments_area: responseCreate_schema_9.createUpdateDeleteBodyResponse.required(),
104
+ client_type: responseCreate_schema_10.createUpdateDeleteBodyResponse.required(),
105
105
  exemption_reason: responseCreate_schema_5.createUpdateDeleteBodyResponse.allow(null).required(),
106
- preferentialContact: responseCreate_schema_6.createUpdateDeleteBodyResponse.keys({
107
- ContactType: responseCreate_schema_7.createUpdateDeleteBodyResponse.required(),
106
+ preferential_contact: responseCreate_schema_6.createUpdateDeleteBodyResponse.keys({
107
+ contact_type: responseCreate_schema_7.createUpdateDeleteBodyResponse.required(),
108
108
  })
109
109
  .required()
110
110
  .allow(null),
111
111
  })
112
112
  .required()
113
113
  .allow(null),
114
- StoreOperator: responseCreate_schema_11.createUpdateDeleteBodyResponse.keys({
115
- userPosition: responseCreate_schema_12.createUpdateDeleteBodyResponse.required(),
116
- supportLanguage: responseCreate_schema_3.createUpdateDeleteBodyResponse.allow(null).required(),
117
- preferentialContact: responseCreate_schema_6.createUpdateDeleteBodyResponse.keys({
118
- ContactType: responseCreate_schema_7.createUpdateDeleteBodyResponse.required(),
114
+ store_operator: responseCreate_schema_11.createUpdateDeleteBodyResponse.keys({
115
+ user_position: responseCreate_schema_12.createUpdateDeleteBodyResponse.required(),
116
+ support_language: responseCreate_schema_3.createUpdateDeleteBodyResponse.allow(null).required(),
117
+ preferential_contact: responseCreate_schema_6.createUpdateDeleteBodyResponse.keys({
118
+ contact_type: responseCreate_schema_7.createUpdateDeleteBodyResponse.required(),
119
119
  })
120
120
  .required()
121
121
  .allow(null),
122
122
  })
123
123
  .required()
124
124
  .allow(null),
125
- Commissioner: responseCreate_schema_13.createUpdateDeleteBodyResponse.keys({
125
+ commissioner: responseCreate_schema_13.createUpdateDeleteBodyResponse.keys({
126
126
  country: responseCreate_schema_2.createUpdateDeleteBodyResponse.required(),
127
127
  language: responseCreate_schema_3.createUpdateDeleteBodyResponse.required(),
128
- preferentialContact: responseCreate_schema_6.createUpdateDeleteBodyResponse.keys({
129
- ContactType: responseCreate_schema_7.createUpdateDeleteBodyResponse.required(),
128
+ preferential_contact: responseCreate_schema_6.createUpdateDeleteBodyResponse.keys({
129
+ contact_type: responseCreate_schema_7.createUpdateDeleteBodyResponse.required(),
130
130
  })
131
131
  .required()
132
132
  .allow(null),
@@ -301,7 +301,7 @@ export type StoreOperator = {
301
301
  id: string;
302
302
  user_id: string;
303
303
  preferential_contact_id: string | null;
304
- user_position: string | null;
304
+ user_position_id: string | null;
305
305
  number: number;
306
306
  internal_email: string | null;
307
307
  support_language_id: string | null;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.9.562",
12
+ "version": "0.10.0",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [
@@ -38,18 +38,18 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/convert-units": "^2.3.7",
41
- "@types/node": "^18.17.18",
42
- "@typescript-eslint/eslint-plugin": "^6.7.2",
43
- "@typescript-eslint/parser": "^6.7.2",
41
+ "@types/node": "^18.18.0",
42
+ "@typescript-eslint/eslint-plugin": "^6.7.3",
43
+ "@typescript-eslint/parser": "^6.7.3",
44
44
  "concurrently": "^8.2.1",
45
- "eslint": "^8.49.0",
45
+ "eslint": "^8.50.0",
46
46
  "eslint-config-airbnb-base": "^15.0.0",
47
47
  "eslint-config-prettier": "^9.0.0",
48
48
  "eslint-import-resolver-typescript": "^3.6.1",
49
49
  "eslint-plugin-import": "^2.28.1",
50
50
  "eslint-plugin-prettier": "^5.0.0",
51
51
  "prettier": "^3.0.3",
52
- "tsx": "^3.12.10",
52
+ "tsx": "^3.13.0",
53
53
  "typescript": "^5.2.2"
54
54
  }
55
55
  }