sm-types 1.9.12 → 1.9.13
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/errors/support/index.d.ts +12 -5
- package/errors/support/use-cases/createSupplierConfig.d.ts +7 -0
- package/errors/support/use-cases/createSupplierConfig.js +7 -0
- package/errors/support/use-cases/editSupplierConfig.d.ts +6 -6
- package/errors/support/use-cases/editSupplierConfig.js +7 -7
- package/package.json +1 -1
|
@@ -72,23 +72,23 @@ export declare const SUPPORT_ERROR_CODES: {
|
|
|
72
72
|
"PT-BR": string;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
|
|
76
|
-
SUPPLIER_CONFIG_EDIT: {
|
|
77
|
-
INVALID_MONETIZATION_LOCATION: {
|
|
75
|
+
INVALID_MANDATORY_FIELDS: {
|
|
78
76
|
usecase: string;
|
|
79
77
|
type: string;
|
|
80
78
|
messageLangMap: {
|
|
81
79
|
"PT-BR": string;
|
|
82
80
|
};
|
|
83
81
|
};
|
|
84
|
-
|
|
82
|
+
};
|
|
83
|
+
SUPPLIER_CONFIG_EDIT: {
|
|
84
|
+
INVALID_MONETIZATION_LOCATION: {
|
|
85
85
|
usecase: string;
|
|
86
86
|
type: string;
|
|
87
87
|
messageLangMap: {
|
|
88
88
|
"PT-BR": string;
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
|
|
91
|
+
INVALID_MONETIZATION_CONFIG: {
|
|
92
92
|
usecase: string;
|
|
93
93
|
type: string;
|
|
94
94
|
messageLangMap: {
|
|
@@ -130,6 +130,13 @@ export declare const SUPPORT_ERROR_CODES: {
|
|
|
130
130
|
"PT-BR": string;
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
|
+
INVALID_MANDATORY_FIELDS: {
|
|
134
|
+
usecase: string;
|
|
135
|
+
type: string;
|
|
136
|
+
messageLangMap: {
|
|
137
|
+
"PT-BR": string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
133
140
|
};
|
|
134
141
|
MANUAL_ORDER_TRAVEL_REPROCESS: {
|
|
135
142
|
CANNOT_BE_REPROCESSED: {
|
|
@@ -50,5 +50,12 @@ exports.SUPPLIER_CONFIG_CREATE = {
|
|
|
50
50
|
messageLangMap: {
|
|
51
51
|
"PT-BR": "Fornecedor já configurado.",
|
|
52
52
|
},
|
|
53
|
+
},
|
|
54
|
+
INVALID_MANDATORY_FIELDS: {
|
|
55
|
+
usecase: "SUPPLIER_CONFIG_CREATE",
|
|
56
|
+
type: "INVALID_MANDATORY_FIELDS",
|
|
57
|
+
messageLangMap: {
|
|
58
|
+
"PT-BR": "Campos obrigatório(s) não preenchido(s) para esse fornecedor.",
|
|
59
|
+
},
|
|
53
60
|
}
|
|
54
61
|
};
|
|
@@ -13,42 +13,42 @@ export declare const SUPPLIER_CONFIG_EDIT: {
|
|
|
13
13
|
"PT-BR": string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
INVALID_AGENCY_RECEIPT_OPTION: {
|
|
17
17
|
usecase: string;
|
|
18
18
|
type: string;
|
|
19
19
|
messageLangMap: {
|
|
20
20
|
"PT-BR": string;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
|
|
23
|
+
INVALID_SUPPLIER_RECEIPT_OPTION: {
|
|
24
24
|
usecase: string;
|
|
25
25
|
type: string;
|
|
26
26
|
messageLangMap: {
|
|
27
27
|
"PT-BR": string;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
|
|
30
|
+
SUPPLIER_NOT_FOUND: {
|
|
31
31
|
usecase: string;
|
|
32
32
|
type: string;
|
|
33
33
|
messageLangMap: {
|
|
34
34
|
"PT-BR": string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
USER_NOT_FOUND: {
|
|
38
38
|
usecase: string;
|
|
39
39
|
type: string;
|
|
40
40
|
messageLangMap: {
|
|
41
41
|
"PT-BR": string;
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
|
-
|
|
44
|
+
SUPPLIER_CONFIG_NOT_FOUND: {
|
|
45
45
|
usecase: string;
|
|
46
46
|
type: string;
|
|
47
47
|
messageLangMap: {
|
|
48
48
|
"PT-BR": string;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
INVALID_MANDATORY_FIELDS: {
|
|
52
52
|
usecase: string;
|
|
53
53
|
type: string;
|
|
54
54
|
messageLangMap: {
|
|
@@ -16,13 +16,6 @@ exports.SUPPLIER_CONFIG_EDIT = {
|
|
|
16
16
|
"PT-BR": "Configuração de monetização inválida.",
|
|
17
17
|
},
|
|
18
18
|
},
|
|
19
|
-
INVALID_PAY_OPTION_FOR_SAME_SERVICE_TYPE: {
|
|
20
|
-
usecase: "SUPPLIER_CONFIG_EDIT",
|
|
21
|
-
type: "INVALID_PAY_OPTION_FOR_SAME_SERVICE_TYPE",
|
|
22
|
-
messageLangMap: {
|
|
23
|
-
"PT-BR": "Fornecedores integrados do mesmo tipo de serviço não podem ter formas de pagamento diferentes.",
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
19
|
INVALID_AGENCY_RECEIPT_OPTION: {
|
|
27
20
|
usecase: "SUPPLIER_CONFIG_EDIT",
|
|
28
21
|
type: "INVALID_AGENCY_RECEIPT_OPTION",
|
|
@@ -58,4 +51,11 @@ exports.SUPPLIER_CONFIG_EDIT = {
|
|
|
58
51
|
"PT-BR": "Configuração de fornecedor não encontrada.",
|
|
59
52
|
},
|
|
60
53
|
},
|
|
54
|
+
INVALID_MANDATORY_FIELDS: {
|
|
55
|
+
usecase: "SUPPLIER_CONFIG_EDIT",
|
|
56
|
+
type: "INVALID_MANDATORY_FIELDS",
|
|
57
|
+
messageLangMap: {
|
|
58
|
+
"PT-BR": "Campos obrigatório(s) não preenchido(s) para esse fornecedor.",
|
|
59
|
+
},
|
|
60
|
+
}
|
|
61
61
|
};
|