@nomalism-com/types 0.43.54 → 0.43.56
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.cjs
CHANGED
|
@@ -1648,6 +1648,8 @@ var transferClientOwnershipBodyKeys = {
|
|
|
1648
1648
|
var transferClientOwnershipBody = joi10.object().keys(transferClientOwnershipBodyKeys).messages(messages);
|
|
1649
1649
|
var updateManyWithPersonaBodyKeys = {
|
|
1650
1650
|
id: joi10.string().uuid().required(),
|
|
1651
|
+
owner_id: joi10.string().uuid().required(),
|
|
1652
|
+
owner_name: joi10.string().required(),
|
|
1651
1653
|
name: joi10.string().allow(null).optional(),
|
|
1652
1654
|
telephone: joi10.string().allow(null).optional(),
|
|
1653
1655
|
email: joi10.string().email({ tlds: { allow: false } }).allow(null).optional(),
|
|
@@ -5545,13 +5547,13 @@ __export(route_schema_exports100, {
|
|
|
5545
5547
|
});
|
|
5546
5548
|
import joi101 from "joi";
|
|
5547
5549
|
var createBodyKeys61 = {
|
|
5548
|
-
url: joi101.string().optional(),
|
|
5549
5550
|
error: joi101.object({
|
|
5550
5551
|
name: joi101.string().required(),
|
|
5551
5552
|
message: joi101.string().required(),
|
|
5552
5553
|
stack: joi101.string().optional()
|
|
5553
5554
|
}),
|
|
5554
5555
|
request: joi101.object({
|
|
5556
|
+
url: joi101.string().required(),
|
|
5555
5557
|
body: joi101.any().optional(),
|
|
5556
5558
|
query: joi101.any().optional(),
|
|
5557
5559
|
params: joi101.any().optional()
|
package/dist/index.js
CHANGED
|
@@ -1648,6 +1648,8 @@ var transferClientOwnershipBodyKeys = {
|
|
|
1648
1648
|
var transferClientOwnershipBody = joi10.object().keys(transferClientOwnershipBodyKeys).messages(messages);
|
|
1649
1649
|
var updateManyWithPersonaBodyKeys = {
|
|
1650
1650
|
id: joi10.string().uuid().required(),
|
|
1651
|
+
owner_id: joi10.string().uuid().required(),
|
|
1652
|
+
owner_name: joi10.string().required(),
|
|
1651
1653
|
name: joi10.string().allow(null).optional(),
|
|
1652
1654
|
telephone: joi10.string().allow(null).optional(),
|
|
1653
1655
|
email: joi10.string().email({ tlds: { allow: false } }).allow(null).optional(),
|
|
@@ -5545,13 +5547,13 @@ __export(route_schema_exports100, {
|
|
|
5545
5547
|
});
|
|
5546
5548
|
import joi101 from "joi";
|
|
5547
5549
|
var createBodyKeys61 = {
|
|
5548
|
-
url: joi101.string().optional(),
|
|
5549
5550
|
error: joi101.object({
|
|
5550
5551
|
name: joi101.string().required(),
|
|
5551
5552
|
message: joi101.string().required(),
|
|
5552
5553
|
stack: joi101.string().optional()
|
|
5553
5554
|
}),
|
|
5554
5555
|
request: joi101.object({
|
|
5556
|
+
url: joi101.string().required(),
|
|
5555
5557
|
body: joi101.any().optional(),
|
|
5556
5558
|
query: joi101.any().optional(),
|
|
5557
5559
|
params: joi101.any().optional()
|
|
@@ -13,7 +13,6 @@ export declare const IErrorTypeEnum: {
|
|
|
13
13
|
export type IErrorType = (typeof IErrorTypeEnum)[keyof typeof IErrorTypeEnum];
|
|
14
14
|
export declare const errorTypes: string[];
|
|
15
15
|
export interface ICreateRequest {
|
|
16
|
-
url: string;
|
|
17
16
|
service: string;
|
|
18
17
|
type: IErrorType;
|
|
19
18
|
error: {
|
|
@@ -22,6 +21,7 @@ export interface ICreateRequest {
|
|
|
22
21
|
stack?: string;
|
|
23
22
|
};
|
|
24
23
|
request?: {
|
|
24
|
+
url: string;
|
|
25
25
|
body?: unknown;
|
|
26
26
|
query?: unknown;
|
|
27
27
|
params?: unknown;
|
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": "0.43.
|
|
4
|
+
"version": "0.43.56",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|