@nomalism-com/types 0.14.22 → 0.15.2

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.
Files changed (65) hide show
  1. package/dist/index.d.ts +1 -14
  2. package/dist/index.js +7 -33
  3. package/dist/modules/user/clients/interface.d.ts +6 -14
  4. package/dist/modules/user/clients/route.schema.js +3 -7
  5. package/dist/modules/user/commissioner/interface.d.ts +6 -12
  6. package/dist/modules/user/commissioner/route.schema.js +2 -2
  7. package/dist/modules/user/persona/interface.d.ts +18 -0
  8. package/dist/modules/user/persona/route.schema.d.ts +1 -0
  9. package/dist/modules/user/persona/route.schema.js +13 -1
  10. package/dist/modules/user/providers/interface.d.ts +6 -12
  11. package/dist/modules/user/providers/route.schema.js +2 -2
  12. package/dist/modules/user/storeOperator/interface.d.ts +2 -10
  13. package/dist/modules/user/storeOperator/route.schema.js +0 -2
  14. package/dist/modules/user/users/interface.d.ts +10 -13
  15. package/dist/shared/entities/index.d.ts +0 -3
  16. package/dist/shared/entities/user.d.ts +3 -50
  17. package/package.json +3 -3
  18. package/dist/modules/user/address/interface.d.ts +0 -53
  19. package/dist/modules/user/address/interface.js +0 -6
  20. package/dist/modules/user/address/oas.schema.d.ts +0 -352
  21. package/dist/modules/user/address/oas.schema.js +0 -248
  22. package/dist/modules/user/address/responseCreate.schema.d.ts +0 -2
  23. package/dist/modules/user/address/responseCreate.schema.js +0 -58
  24. package/dist/modules/user/address/route.schema.d.ts +0 -5
  25. package/dist/modules/user/address/route.schema.js +0 -46
  26. package/dist/modules/user/address/tests.d.ts +0 -10
  27. package/dist/modules/user/address/tests.js +0 -117
  28. package/dist/modules/user/clients/oas.schema.d.ts +0 -0
  29. package/dist/modules/user/clients/oas.schema.js +0 -1
  30. package/dist/modules/user/clients/responseCreate.schema.d.ts +0 -2
  31. package/dist/modules/user/clients/responseCreate.schema.js +0 -64
  32. package/dist/modules/user/commissioner/responseCreate.schema.d.ts +0 -2
  33. package/dist/modules/user/commissioner/responseCreate.schema.js +0 -59
  34. package/dist/modules/user/contactTypes/interface.d.ts +0 -30
  35. package/dist/modules/user/contactTypes/interface.js +0 -6
  36. package/dist/modules/user/contactTypes/oas.schema.d.ts +0 -350
  37. package/dist/modules/user/contactTypes/oas.schema.js +0 -237
  38. package/dist/modules/user/contactTypes/responseCreate.schema.d.ts +0 -2
  39. package/dist/modules/user/contactTypes/responseCreate.schema.js +0 -48
  40. package/dist/modules/user/contactTypes/route.schema.d.ts +0 -5
  41. package/dist/modules/user/contactTypes/route.schema.js +0 -26
  42. package/dist/modules/user/contactTypes/tests.d.ts +0 -6
  43. package/dist/modules/user/contactTypes/tests.js +0 -73
  44. package/dist/modules/user/contacts/interface.d.ts +0 -67
  45. package/dist/modules/user/contacts/interface.js +0 -6
  46. package/dist/modules/user/contacts/oas.schema.d.ts +0 -406
  47. package/dist/modules/user/contacts/oas.schema.js +0 -268
  48. package/dist/modules/user/contacts/responseCreate.schema.d.ts +0 -2
  49. package/dist/modules/user/contacts/responseCreate.schema.js +0 -60
  50. package/dist/modules/user/contacts/route.schema.d.ts +0 -6
  51. package/dist/modules/user/contacts/route.schema.js +0 -69
  52. package/dist/modules/user/contacts/tests.d.ts +0 -10
  53. package/dist/modules/user/contacts/tests.js +0 -121
  54. package/dist/modules/user/providers/responseCreate.schema.d.ts +0 -2
  55. package/dist/modules/user/providers/responseCreate.schema.js +0 -63
  56. package/dist/modules/user/storeOperator/oas.schema.d.ts +0 -406
  57. package/dist/modules/user/storeOperator/oas.schema.js +0 -268
  58. package/dist/modules/user/storeOperator/responseCreate.schema.d.ts +0 -2
  59. package/dist/modules/user/storeOperator/responseCreate.schema.js +0 -61
  60. package/dist/modules/user/storeOperator/tests.d.ts +0 -7
  61. package/dist/modules/user/storeOperator/tests.js +0 -139
  62. package/dist/modules/user/users/oas.schema.d.ts +0 -350
  63. package/dist/modules/user/users/oas.schema.js +0 -237
  64. package/dist/modules/user/users/tests.d.ts +0 -6
  65. package/dist/modules/user/users/tests.js +0 -154
@@ -1,350 +0,0 @@
1
- export declare const createPost: {
2
- tags: string[];
3
- summary: string;
4
- description: string;
5
- requestBody: {
6
- content: {
7
- 'application/json': {
8
- schema: {
9
- [x: string]: any;
10
- };
11
- };
12
- };
13
- };
14
- responses: {
15
- '200': {
16
- description: string;
17
- content: {
18
- 'application/json': {
19
- schema: {
20
- [x: string]: any;
21
- };
22
- };
23
- };
24
- };
25
- };
26
- };
27
- export declare const updatePost: {
28
- tags: string[];
29
- summary: string;
30
- description: string;
31
- parameters: {
32
- name: string;
33
- in: string;
34
- description: string;
35
- required: boolean;
36
- schema: {
37
- type: string;
38
- format: string;
39
- };
40
- }[];
41
- requestBody: {
42
- content: {
43
- 'application/json': {
44
- schema: {
45
- [x: string]: any;
46
- };
47
- };
48
- };
49
- };
50
- responses: {
51
- '200': {
52
- description: string;
53
- content: {
54
- 'application/json': {
55
- schema: {
56
- [x: string]: any;
57
- };
58
- };
59
- };
60
- };
61
- };
62
- };
63
- export declare const deletePost: {
64
- tags: string[];
65
- summary: string;
66
- description: string;
67
- parameters: {
68
- name: string;
69
- in: string;
70
- description: string;
71
- required: boolean;
72
- schema: {
73
- type: string;
74
- format: string;
75
- };
76
- }[];
77
- responses: {
78
- '200': {
79
- description: string;
80
- content: {
81
- 'application/json': {
82
- schema: {
83
- [x: string]: any;
84
- };
85
- };
86
- };
87
- };
88
- };
89
- };
90
- export declare const findByIdGet: {
91
- tags: string[];
92
- summary: string;
93
- description: string;
94
- parameters: {
95
- name: string;
96
- in: string;
97
- description: string;
98
- required: boolean;
99
- schema: {
100
- type: string;
101
- format: string;
102
- };
103
- }[];
104
- responses: {
105
- '200': {
106
- description: string;
107
- content: {
108
- 'application/json': {
109
- schema: {
110
- [x: string]: any;
111
- };
112
- };
113
- };
114
- };
115
- };
116
- };
117
- export declare const findGet: {
118
- tags: string[];
119
- summary: string;
120
- description: string;
121
- parameters: never[];
122
- responses: {
123
- '200': {
124
- description: string;
125
- content: {
126
- 'application/json': {
127
- schema: {
128
- [x: string]: any;
129
- };
130
- };
131
- };
132
- };
133
- };
134
- };
135
- export declare const findPaginatedGet: {
136
- tags: string[];
137
- summary: string;
138
- description: string;
139
- parameters: never[];
140
- responses: {
141
- '200': {
142
- description: string;
143
- content: {
144
- 'application/json': {
145
- schema: {
146
- [x: string]: any;
147
- };
148
- };
149
- };
150
- };
151
- };
152
- };
153
- export declare const findMinifiedGet: {
154
- tags: string[];
155
- summary: string;
156
- description: string;
157
- parameters: {
158
- name: string;
159
- in: string;
160
- description: string;
161
- required: boolean;
162
- schema: {
163
- type: string;
164
- format: string;
165
- };
166
- }[];
167
- responses: {
168
- '200': {
169
- description: string;
170
- content: {
171
- 'application/json': {
172
- schema: {
173
- [x: string]: any;
174
- };
175
- };
176
- };
177
- };
178
- };
179
- };
180
- export declare const sw: {
181
- '/contact_type': {
182
- post: {
183
- tags: string[];
184
- summary: string;
185
- description: string;
186
- requestBody: {
187
- content: {
188
- 'application/json': {
189
- schema: {
190
- [x: string]: any;
191
- };
192
- };
193
- };
194
- };
195
- responses: {
196
- '200': {
197
- description: string;
198
- content: {
199
- 'application/json': {
200
- schema: {
201
- [x: string]: any;
202
- };
203
- };
204
- };
205
- };
206
- };
207
- };
208
- };
209
- '/contact_type/{id}': {
210
- put: {
211
- tags: string[];
212
- summary: string;
213
- description: string;
214
- parameters: {
215
- name: string;
216
- in: string;
217
- description: string;
218
- required: boolean;
219
- schema: {
220
- type: string;
221
- format: string;
222
- };
223
- }[];
224
- requestBody: {
225
- content: {
226
- 'application/json': {
227
- schema: {
228
- [x: string]: any;
229
- };
230
- };
231
- };
232
- };
233
- responses: {
234
- '200': {
235
- description: string;
236
- content: {
237
- 'application/json': {
238
- schema: {
239
- [x: string]: any;
240
- };
241
- };
242
- };
243
- };
244
- };
245
- };
246
- get: {
247
- tags: string[];
248
- summary: string;
249
- description: string;
250
- parameters: {
251
- name: string;
252
- in: string;
253
- description: string;
254
- required: boolean;
255
- schema: {
256
- type: string;
257
- format: string;
258
- };
259
- }[];
260
- responses: {
261
- '200': {
262
- description: string;
263
- content: {
264
- 'application/json': {
265
- schema: {
266
- [x: string]: any;
267
- };
268
- };
269
- };
270
- };
271
- };
272
- };
273
- delete: {
274
- tags: string[];
275
- summary: string;
276
- description: string;
277
- parameters: {
278
- name: string;
279
- in: string;
280
- description: string;
281
- required: boolean;
282
- schema: {
283
- type: string;
284
- format: string;
285
- };
286
- }[];
287
- responses: {
288
- '200': {
289
- description: string;
290
- content: {
291
- 'application/json': {
292
- schema: {
293
- [x: string]: any;
294
- };
295
- };
296
- };
297
- };
298
- };
299
- };
300
- };
301
- '/contact_type/paginated': {
302
- get: {
303
- tags: string[];
304
- summary: string;
305
- description: string;
306
- parameters: never[];
307
- responses: {
308
- '200': {
309
- description: string;
310
- content: {
311
- 'application/json': {
312
- schema: {
313
- [x: string]: any;
314
- };
315
- };
316
- };
317
- };
318
- };
319
- };
320
- };
321
- '/contact_type/minified': {
322
- get: {
323
- tags: string[];
324
- summary: string;
325
- description: string;
326
- parameters: {
327
- name: string;
328
- in: string;
329
- description: string;
330
- required: boolean;
331
- schema: {
332
- type: string;
333
- format: string;
334
- };
335
- }[];
336
- responses: {
337
- '200': {
338
- description: string;
339
- content: {
340
- 'application/json': {
341
- schema: {
342
- [x: string]: any;
343
- };
344
- };
345
- };
346
- };
347
- };
348
- };
349
- };
350
- };
@@ -1,237 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- var desc = Object.getOwnPropertyDescriptor(m, k);
16
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
- desc = { enumerable: true, get: function() { return m[k]; } };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- var __importDefault = (this && this.__importDefault) || function (mod) {
37
- return (mod && mod.__esModule) ? mod : { "default": mod };
38
- };
39
- Object.defineProperty(exports, "__esModule", { value: true });
40
- exports.sw = exports.findMinifiedGet = exports.findPaginatedGet = exports.findGet = exports.findByIdGet = exports.deletePost = exports.updatePost = exports.createPost = void 0;
41
- var joi_to_swagger_1 = __importDefault(require("joi-to-swagger"));
42
- var interface_1 = require("../../../shared/interface");
43
- var route_schema_1 = require("./route.schema");
44
- var tests_1 = require("./tests");
45
- var interfaces = __importStar(require("./interface"));
46
- var createSchema = (0, joi_to_swagger_1.default)(route_schema_1.createBody).swagger;
47
- var createSchemaResponse = (0, joi_to_swagger_1.default)(tests_1.createUpdateDeleteBodyResponse).swagger;
48
- var updateSchema = (0, joi_to_swagger_1.default)(route_schema_1.updateBody).swagger;
49
- var findByIdSchemaResponse = (0, joi_to_swagger_1.default)(tests_1.findByIdBodyResponse).swagger;
50
- var findSchemaResponse = (0, joi_to_swagger_1.default)(tests_1.findBodyResponse).swagger;
51
- var findPaginatedSchemaResponse = (0, joi_to_swagger_1.default)(tests_1.findPaginationBodyResponse).swagger;
52
- var findMinifiedSchemaResponse = (0, joi_to_swagger_1.default)(interface_1.findMinifiedReponse).swagger;
53
- exports.createPost = {
54
- tags: ["".concat(interfaces.UpperName)],
55
- summary: "Create ".concat(interfaces.Route),
56
- description: "Create a new ".concat(interfaces.Route),
57
- requestBody: {
58
- content: {
59
- 'application/json': {
60
- schema: __assign({}, createSchema),
61
- },
62
- },
63
- },
64
- responses: {
65
- '200': {
66
- description: 'Create with success',
67
- content: {
68
- 'application/json': {
69
- schema: __assign({}, createSchemaResponse),
70
- },
71
- },
72
- },
73
- },
74
- };
75
- exports.updatePost = {
76
- tags: ["".concat(interfaces.UpperName)],
77
- summary: "Update ".concat(interfaces.Route),
78
- description: "Update a ".concat(interfaces.Route),
79
- parameters: [
80
- {
81
- name: 'id',
82
- in: 'path',
83
- description: "ID of ".concat(interfaces.Route, " to return"),
84
- required: true,
85
- schema: {
86
- type: 'string',
87
- format: 'uuid',
88
- },
89
- },
90
- ],
91
- requestBody: {
92
- content: {
93
- 'application/json': {
94
- schema: __assign({}, updateSchema),
95
- },
96
- },
97
- },
98
- responses: {
99
- '200': {
100
- description: 'Updated with success',
101
- content: {
102
- 'application/json': {
103
- schema: __assign({}, createSchemaResponse),
104
- },
105
- },
106
- },
107
- },
108
- };
109
- exports.deletePost = {
110
- tags: ["".concat(interfaces.UpperName)],
111
- summary: "Delete ".concat(interfaces.Route),
112
- description: "Delete an existing ".concat(interfaces.Route),
113
- parameters: [
114
- {
115
- name: 'id',
116
- in: 'path',
117
- description: "ID of ".concat(interfaces.Route, " to return"),
118
- required: true,
119
- schema: {
120
- type: 'string',
121
- format: 'uuid',
122
- },
123
- },
124
- ],
125
- responses: {
126
- '200': {
127
- description: 'Delete with success',
128
- content: {
129
- 'application/json': {
130
- schema: __assign({}, createSchemaResponse),
131
- },
132
- },
133
- },
134
- },
135
- };
136
- exports.findByIdGet = {
137
- tags: ["".concat(interfaces.UpperName)],
138
- summary: "Find ".concat(interfaces.Route),
139
- description: "Find ".concat(interfaces.Route),
140
- parameters: [
141
- {
142
- name: 'id',
143
- in: 'path',
144
- description: "ID of ".concat(interfaces.Route, " to return"),
145
- required: true,
146
- schema: {
147
- type: 'string',
148
- format: 'uuid',
149
- },
150
- },
151
- ],
152
- responses: {
153
- '200': {
154
- description: 'Find with success',
155
- content: {
156
- 'application/json': {
157
- schema: __assign({}, findByIdSchemaResponse),
158
- },
159
- },
160
- },
161
- },
162
- };
163
- exports.findGet = {
164
- tags: ["".concat(interfaces.UpperName)],
165
- summary: "Find ".concat(interfaces.Route),
166
- description: "Find ".concat(interfaces.Route),
167
- parameters: [],
168
- responses: {
169
- '200': {
170
- description: 'Find with success',
171
- content: {
172
- 'application/json': {
173
- schema: __assign({}, findSchemaResponse),
174
- },
175
- },
176
- },
177
- },
178
- };
179
- exports.findPaginatedGet = {
180
- tags: ["".concat(interfaces.UpperName)],
181
- summary: "Find pagination ".concat(interfaces.Route),
182
- description: "Find with pagination ".concat(interfaces.Route),
183
- parameters: [],
184
- responses: {
185
- '200': {
186
- description: 'Find with success',
187
- content: {
188
- 'application/json': {
189
- schema: __assign({}, findPaginatedSchemaResponse),
190
- },
191
- },
192
- },
193
- },
194
- };
195
- exports.findMinifiedGet = {
196
- tags: ["".concat(interfaces.UpperName)],
197
- summary: "Find pagination ".concat(interfaces.Route),
198
- description: "Find with pagination ".concat(interfaces.Route),
199
- parameters: [
200
- {
201
- name: 'search_value',
202
- in: 'path',
203
- description: "Value of ".concat(interfaces.Route, " to return"),
204
- required: true,
205
- schema: {
206
- type: 'string',
207
- format: 'uuid',
208
- },
209
- },
210
- ],
211
- responses: {
212
- '200': {
213
- description: 'Find with success',
214
- content: {
215
- 'application/json': {
216
- schema: __assign({}, findMinifiedSchemaResponse),
217
- },
218
- },
219
- },
220
- },
221
- };
222
- exports.sw = {
223
- '/contact_type': {
224
- post: __assign({}, exports.createPost),
225
- },
226
- '/contact_type/{id}': {
227
- put: __assign({}, exports.updatePost),
228
- get: __assign({}, exports.findByIdGet),
229
- delete: __assign({}, exports.deletePost),
230
- },
231
- '/contact_type/paginated': {
232
- get: __assign({}, exports.findPaginatedGet),
233
- },
234
- '/contact_type/minified': {
235
- get: __assign({}, exports.findMinifiedGet),
236
- },
237
- };
@@ -1,2 +0,0 @@
1
- import joi from 'joi';
2
- export declare const createUpdateDeleteBodyResponse: joi.ObjectSchema<any>;
@@ -1,48 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- var desc = Object.getOwnPropertyDescriptor(m, k);
16
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
- desc = { enumerable: true, get: function() { return m[k]; } };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- var __importDefault = (this && this.__importDefault) || function (mod) {
37
- return (mod && mod.__esModule) ? mod : { "default": mod };
38
- };
39
- Object.defineProperty(exports, "__esModule", { value: true });
40
- exports.createUpdateDeleteBodyResponse = void 0;
41
- var joi_1 = __importDefault(require("joi"));
42
- var IShared = __importStar(require("../../../shared/interface"));
43
- var createUpdateDeleteBodyResponseKeys = {
44
- id: joi_1.default.string().uuid().required(),
45
- name: joi_1.default.string().required(),
46
- origin_id: joi_1.default.string().allow(null).optional(),
47
- };
48
- exports.createUpdateDeleteBodyResponse = joi_1.default.object().keys(__assign(__assign({}, createUpdateDeleteBodyResponseKeys), IShared.joiValidateStamps));
@@ -1,5 +0,0 @@
1
- import joi from 'joi';
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
4
- export declare const findQuery: joi.ObjectSchema<any>;
5
- export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.findWithPaginationQuery = exports.findQuery = exports.updateBody = exports.createBody = void 0;
7
- var joi_1 = __importDefault(require("joi"));
8
- var messages_1 = require("../../../shared/messages");
9
- var createBodyKeys = {
10
- name: joi_1.default.string().required(),
11
- };
12
- exports.createBody = joi_1.default.object().keys(createBodyKeys).messages(messages_1.messages);
13
- var updateBodyKeys = {
14
- name: joi_1.default.string().required(),
15
- };
16
- exports.updateBody = joi_1.default.object().keys(updateBodyKeys).messages(messages_1.messages);
17
- var findQueryKeys = {};
18
- exports.findQuery = joi_1.default.object().keys(findQueryKeys).messages(messages_1.messages);
19
- var findWithPaginationQueryKeys = {
20
- per_page: joi_1.default.number().integer().positive().default(10).optional(),
21
- current_page: joi_1.default.number().integer().positive().default(1).optional(),
22
- };
23
- exports.findWithPaginationQuery = joi_1.default
24
- .object()
25
- .keys(findWithPaginationQueryKeys)
26
- .messages(messages_1.messages);
@@ -1,6 +0,0 @@
1
- import joi from 'joi';
2
- import { createUpdateDeleteBodyResponse } from './responseCreate.schema';
3
- export { createUpdateDeleteBodyResponse };
4
- export declare const findBodyResponse: joi.ArraySchema<any[]>;
5
- export declare const findByIdBodyResponse: joi.ObjectSchema<any>;
6
- export declare const findPaginationBodyResponse: joi.ObjectSchema<any>;