@nomalism-com/types 1.3.15 → 1.3.17
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.js
CHANGED
|
@@ -1520,7 +1520,8 @@ var createFromHeaderBodyKeys = {
|
|
|
1520
1520
|
provider_ref: joi10.string().optional(),
|
|
1521
1521
|
global_discount: joi10.number().min(0).max(100).optional(),
|
|
1522
1522
|
current_account: joi10.boolean().optional(),
|
|
1523
|
-
store_operator_id: joi10.string().uuid().allow(null).optional()
|
|
1523
|
+
store_operator_id: joi10.string().uuid().allow(null).optional(),
|
|
1524
|
+
document_set_id: joi10.string().uuid().optional()
|
|
1524
1525
|
};
|
|
1525
1526
|
var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
|
|
1526
1527
|
var findQueryKeys6 = {
|
|
@@ -3589,7 +3590,8 @@ var createBodyKeys44 = {
|
|
|
3589
3590
|
Timezone: joi10.string(),
|
|
3590
3591
|
telephone: joi10.string(),
|
|
3591
3592
|
fax: joi10.string(),
|
|
3592
|
-
website: joi10.string()
|
|
3593
|
+
website: joi10.string(),
|
|
3594
|
+
vat_tax_zone_saft_code: joi10.string().required()
|
|
3593
3595
|
};
|
|
3594
3596
|
var createBody45 = joi10.object().keys(createBodyKeys44).messages(messages);
|
|
3595
3597
|
var updateBodyKeys38 = {
|
|
@@ -3608,7 +3610,8 @@ var updateBodyKeys38 = {
|
|
|
3608
3610
|
Timezone: joi10.string(),
|
|
3609
3611
|
telephone: joi10.string(),
|
|
3610
3612
|
fax: joi10.string(),
|
|
3611
|
-
website: joi10.string()
|
|
3613
|
+
website: joi10.string(),
|
|
3614
|
+
vat_tax_zone_saft_code: joi10.string()
|
|
3612
3615
|
};
|
|
3613
3616
|
var updateBody38 = joi10.object().keys(updateBodyKeys38).messages(messages);
|
|
3614
3617
|
|
|
@@ -21,6 +21,7 @@ export interface ICreateRequest {
|
|
|
21
21
|
telephone?: string | null;
|
|
22
22
|
fax?: string | null;
|
|
23
23
|
website?: string | null;
|
|
24
|
+
vat_tax_zone_saft_code: string;
|
|
24
25
|
}
|
|
25
26
|
export interface IUpdateRequest {
|
|
26
27
|
name?: string;
|
|
@@ -39,6 +40,7 @@ export interface IUpdateRequest {
|
|
|
39
40
|
telephone?: string | null;
|
|
40
41
|
fax?: string | null;
|
|
41
42
|
website?: string | null;
|
|
43
|
+
vat_tax_zone_saft_code?: string;
|
|
42
44
|
}
|
|
43
45
|
export interface IRepository {
|
|
44
46
|
find(): Promise<Entity[]>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.17",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"eslint-config-prettier": "^10.1.8",
|
|
35
35
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
36
36
|
"eslint-plugin-prettier": "^5.5.4",
|
|
37
|
-
"prettier": "^3.
|
|
37
|
+
"prettier": "^3.7.1",
|
|
38
38
|
"tsup": "^8.5.1"
|
|
39
39
|
},
|
|
40
40
|
"repository": {
|