@nomalism-com/types 0.42.4 → 0.42.5
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
|
@@ -4922,14 +4922,12 @@ var createBodyKeys55 = {
|
|
|
4922
4922
|
})
|
|
4923
4923
|
).required(),
|
|
4924
4924
|
key: joi87.string().required(),
|
|
4925
|
-
rapid: joi87.boolean().required()
|
|
4926
|
-
variables: joi87.array().items(joi87.string()).required()
|
|
4925
|
+
rapid: joi87.boolean().required()
|
|
4927
4926
|
};
|
|
4928
4927
|
var createBody56 = joi87.object().keys(createBodyKeys55).messages(messages);
|
|
4929
4928
|
var updateBodyKeys51 = {
|
|
4930
4929
|
name: joi87.string().optional(),
|
|
4931
|
-
body: joi87.string().optional()
|
|
4932
|
-
variables: joi87.array().items(joi87.string()).optional()
|
|
4930
|
+
body: joi87.string().optional()
|
|
4933
4931
|
};
|
|
4934
4932
|
var updateBody51 = joi87.object().keys(updateBodyKeys51).messages(messages);
|
|
4935
4933
|
var sendBodyKeys = {
|
package/dist/index.js
CHANGED
|
@@ -4922,14 +4922,12 @@ var createBodyKeys55 = {
|
|
|
4922
4922
|
})
|
|
4923
4923
|
).required(),
|
|
4924
4924
|
key: joi87.string().required(),
|
|
4925
|
-
rapid: joi87.boolean().required()
|
|
4926
|
-
variables: joi87.array().items(joi87.string()).required()
|
|
4925
|
+
rapid: joi87.boolean().required()
|
|
4927
4926
|
};
|
|
4928
4927
|
var createBody56 = joi87.object().keys(createBodyKeys55).messages(messages);
|
|
4929
4928
|
var updateBodyKeys51 = {
|
|
4930
4929
|
name: joi87.string().optional(),
|
|
4931
|
-
body: joi87.string().optional()
|
|
4932
|
-
variables: joi87.array().items(joi87.string()).optional()
|
|
4930
|
+
body: joi87.string().optional()
|
|
4933
4931
|
};
|
|
4934
4932
|
var updateBody51 = joi87.object().keys(updateBodyKeys51).messages(messages);
|
|
4935
4933
|
var sendBodyKeys = {
|
|
@@ -20,12 +20,10 @@ export interface ICreateRequest {
|
|
|
20
20
|
attachments: ICreateAttachments[];
|
|
21
21
|
key: string;
|
|
22
22
|
rapid: boolean;
|
|
23
|
-
variables: string[];
|
|
24
23
|
}
|
|
25
24
|
export interface IUpdateRequest {
|
|
26
25
|
name?: string;
|
|
27
26
|
body?: string;
|
|
28
|
-
variables?: string[];
|
|
29
27
|
}
|
|
30
28
|
export interface ISendRequest {
|
|
31
29
|
owner_id: string | null;
|
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.42.
|
|
4
|
+
"version": "0.42.5",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|