@nomalism-com/types 0.34.37 → 0.34.38
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
|
@@ -4794,13 +4794,7 @@ var undoProviderOrderBodyKeys = {
|
|
|
4794
4794
|
var undoProviderOrderBody = joi87.object().keys(undoProviderOrderBodyKeys).messages(messages);
|
|
4795
4795
|
var conferirEncomendaClienteBody = joi87.object().keys({
|
|
4796
4796
|
option: joi87.string().valid(...conferirEncomendaClienteOptions).required(),
|
|
4797
|
-
document_line_ids: joi87.array().items(joi87.string().uuid().required()).required()
|
|
4798
|
-
uploads: joi87.array().items(
|
|
4799
|
-
joi87.object().keys({
|
|
4800
|
-
title: joi87.string().required(),
|
|
4801
|
-
multimedia_id: joi87.string().uuid().required()
|
|
4802
|
-
}).required()
|
|
4803
|
-
).required()
|
|
4797
|
+
document_line_ids: joi87.array().items(joi87.string().uuid().required()).required()
|
|
4804
4798
|
}).messages(messages);
|
|
4805
4799
|
var setProviderBodyKeys = {
|
|
4806
4800
|
document_line_assoc_ids: joi87.array().items(joi87.string().uuid().required()).required(),
|
package/dist/index.js
CHANGED
|
@@ -4794,13 +4794,7 @@ var undoProviderOrderBodyKeys = {
|
|
|
4794
4794
|
var undoProviderOrderBody = joi87.object().keys(undoProviderOrderBodyKeys).messages(messages);
|
|
4795
4795
|
var conferirEncomendaClienteBody = joi87.object().keys({
|
|
4796
4796
|
option: joi87.string().valid(...conferirEncomendaClienteOptions).required(),
|
|
4797
|
-
document_line_ids: joi87.array().items(joi87.string().uuid().required()).required()
|
|
4798
|
-
uploads: joi87.array().items(
|
|
4799
|
-
joi87.object().keys({
|
|
4800
|
-
title: joi87.string().required(),
|
|
4801
|
-
multimedia_id: joi87.string().uuid().required()
|
|
4802
|
-
}).required()
|
|
4803
|
-
).required()
|
|
4797
|
+
document_line_ids: joi87.array().items(joi87.string().uuid().required()).required()
|
|
4804
4798
|
}).messages(messages);
|
|
4805
4799
|
var setProviderBodyKeys = {
|
|
4806
4800
|
document_line_assoc_ids: joi87.array().items(joi87.string().uuid().required()).required(),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { File } from '../../../shared/entities/stock';
|
|
2
1
|
import * as IShared from '../../../shared/interface';
|
|
3
2
|
export declare const Route = "order";
|
|
4
3
|
export declare const UpperName = "Order";
|
|
@@ -47,7 +46,6 @@ export declare const conferirEncomendaClienteOptions: string[];
|
|
|
47
46
|
export interface IConferirEncomendaClienteRequest {
|
|
48
47
|
option: IConferirEncomendaClienteOptions;
|
|
49
48
|
document_line_ids: string[];
|
|
50
|
-
uploads: Pick<File, 'title' | 'multimedia_id'>[];
|
|
51
49
|
}
|
|
52
50
|
export interface IConferirEncomendaClienteResponse {
|
|
53
51
|
document_line_id: string;
|
package/package.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { File } from '../../../shared/entities/stock';
|
|
2
1
|
import * as IShared from '../../../shared/interface';
|
|
3
2
|
|
|
4
3
|
export const Route = 'order';
|
|
@@ -89,7 +88,6 @@ export const conferirEncomendaClienteOptions = Object.keys(ConferirEncomendaClie
|
|
|
89
88
|
export interface IConferirEncomendaClienteRequest {
|
|
90
89
|
option: IConferirEncomendaClienteOptions;
|
|
91
90
|
document_line_ids: string[];
|
|
92
|
-
uploads: Pick<File, 'title' | 'multimedia_id'>[];
|
|
93
91
|
}
|
|
94
92
|
|
|
95
93
|
export interface IConferirEncomendaClienteResponse {
|
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
IFindRequest,
|
|
11
11
|
IFindByIdsRequest,
|
|
12
12
|
} from './interfaces';
|
|
13
|
-
import { File } from '../../../shared/entities/stock';
|
|
14
13
|
|
|
15
14
|
const undoProviderOrderBodyKeys: IShared.IRouteRequest<IUndoProviderOrderRequest> = {
|
|
16
15
|
document_line_ids: joi.array().items(joi.string().uuid().required()).required(),
|
|
@@ -29,18 +28,6 @@ export const conferirEncomendaClienteBody = joi
|
|
|
29
28
|
.valid(...conferirEncomendaClienteOptions)
|
|
30
29
|
.required(),
|
|
31
30
|
document_line_ids: joi.array().items(joi.string().uuid().required()).required(),
|
|
32
|
-
uploads: joi
|
|
33
|
-
.array()
|
|
34
|
-
.items(
|
|
35
|
-
joi
|
|
36
|
-
.object<Pick<File, 'title' | 'multimedia_id'>>()
|
|
37
|
-
.keys({
|
|
38
|
-
title: joi.string().required(),
|
|
39
|
-
multimedia_id: joi.string().uuid().required(),
|
|
40
|
-
})
|
|
41
|
-
.required(),
|
|
42
|
-
)
|
|
43
|
-
.required(),
|
|
44
31
|
})
|
|
45
32
|
.messages(messages);
|
|
46
33
|
|