@nomalism-com/types 0.17.57 → 0.18.1
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.d.ts +1 -87
- package/dist/index.js +6 -179
- package/dist/index.min.js +1 -0
- package/dist/modules/stock/unitOfMeasure/interface.d.ts +4 -5
- package/package.json +6 -7
- package/dist/modules/document/materialEntrance/tests.d.ts +0 -0
- package/dist/modules/document/materialEntrance/tests.js +0 -1
- package/dist/modules/document/purchase/tests.d.ts +0 -0
- package/dist/modules/document/purchase/tests.js +0 -1
- package/dist/modules/documentManagement/multimedia/oas.schema.d.ts +0 -108
- package/dist/modules/documentManagement/multimedia/oas.schema.js +0 -71
- package/dist/modules/documentManagement/multimedia/tests.d.ts +0 -2
- package/dist/modules/documentManagement/multimedia/tests.js +0 -53
- package/dist/modules/integration/dynamicData/interfaces.d.ts +0 -29
- package/dist/modules/integration/dynamicData/interfaces.js +0 -6
- package/dist/modules/integration/dynamicData/route.schema.d.ts +0 -4
- package/dist/modules/integration/dynamicData/route.schema.js +0 -25
- package/dist/modules/integration/field/oas.schema.d.ts +0 -224
- package/dist/modules/integration/field/oas.schema.js +0 -135
- package/dist/modules/integration/field/tests.d.ts +0 -3
- package/dist/modules/integration/field/tests.js +0 -57
- package/dist/modules/integration/fieldGroup/oas.schema.d.ts +0 -241
- package/dist/modules/integration/fieldGroup/oas.schema.js +0 -155
- package/dist/modules/integration/fieldGroup/tests.d.ts +0 -6
- package/dist/modules/integration/fieldGroup/tests.js +0 -66
- package/dist/modules/integration/history/oas.schema.d.ts +0 -399
- package/dist/modules/integration/history/oas.schema.js +0 -141
- package/dist/modules/integration/history/tests.d.ts +0 -0
- package/dist/modules/integration/history/tests.js +0 -1
- package/dist/modules/integration/observation/tests.d.ts +0 -8
- package/dist/modules/integration/observation/tests.js +0 -71
- package/dist/modules/integration/observationType/responseCreate.schema.d.ts +0 -5
- package/dist/modules/integration/observationType/responseCreate.schema.js +0 -47
- package/dist/modules/integration/observationType/tests.d.ts +0 -5
- package/dist/modules/integration/observationType/tests.js +0 -57
- package/dist/modules/integration/taskAttachment/interfaces.d.ts +0 -27
- package/dist/modules/integration/taskAttachment/interfaces.js +0 -6
- package/dist/modules/integration/taskAttachment/oas.schema.d.ts +0 -238
- package/dist/modules/integration/taskAttachment/oas.schema.js +0 -144
- package/dist/modules/integration/taskAttachment/route.schema.d.ts +0 -7
- package/dist/modules/integration/taskAttachment/route.schema.js +0 -21
- package/dist/modules/integration/taskAttachment/tests.d.ts +0 -4
- package/dist/modules/integration/taskAttachment/tests.js +0 -61
- package/dist/modules/integration/taskNote/interface.d.ts +0 -29
- package/dist/modules/integration/taskNote/interface.js +0 -6
- package/dist/modules/integration/taskNote/oas.schema.d.ts +0 -238
- package/dist/modules/integration/taskNote/oas.schema.js +0 -144
- package/dist/modules/integration/taskNote/route.schema.d.ts +0 -9
- package/dist/modules/integration/taskNote/route.schema.js +0 -24
- package/dist/modules/integration/taskNote/tests.d.ts +0 -4
- package/dist/modules/integration/taskNote/tests.js +0 -60
- package/dist/modules/integration/tasks/interfaces.d.ts +0 -68
- package/dist/modules/integration/tasks/interfaces.js +0 -6
- package/dist/modules/integration/tasks/oas.schema.d.ts +0 -618
- package/dist/modules/integration/tasks/oas.schema.js +0 -256
- package/dist/modules/integration/tasks/route.schema.d.ts +0 -14
- package/dist/modules/integration/tasks/route.schema.js +0 -54
- package/dist/modules/integration/tasks/tests.d.ts +0 -4
- package/dist/modules/integration/tasks/tests.js +0 -94
- package/dist/modules/integration/tasksGroup/interfaces.d.ts +0 -30
- package/dist/modules/integration/tasksGroup/interfaces.js +0 -6
- package/dist/modules/integration/tasksGroup/oas.schema.d.ts +0 -270
- package/dist/modules/integration/tasksGroup/oas.schema.js +0 -146
- package/dist/modules/integration/tasksGroup/route.schema.d.ts +0 -3
- package/dist/modules/integration/tasksGroup/route.schema.js +0 -16
- package/dist/modules/integration/tasksGroup/tests.d.ts +0 -5
- package/dist/modules/integration/tasksGroup/tests.js +0 -68
- package/dist/modules/stock/attribute/tests.d.ts +0 -10
- package/dist/modules/stock/attribute/tests.js +0 -102
- package/dist/modules/stock/attributeValue/tests.d.ts +0 -9
- package/dist/modules/stock/attributeValue/tests.js +0 -90
- package/dist/modules/stock/color/tests.d.ts +0 -9
- package/dist/modules/stock/color/tests.js +0 -90
- package/dist/modules/stock/composition/tests.d.ts +0 -9
- package/dist/modules/stock/composition/tests.js +0 -94
- package/dist/modules/stock/compositionMaterial/oas.schema.d.ts +0 -406
- package/dist/modules/stock/compositionMaterial/oas.schema.js +0 -268
- package/dist/modules/stock/compositionMaterial/tests.d.ts +0 -6
- package/dist/modules/stock/compositionMaterial/tests.js +0 -87
- package/dist/modules/stock/location/oas.schema.d.ts +0 -406
- package/dist/modules/stock/location/oas.schema.js +0 -268
- package/dist/modules/stock/location/tests.d.ts +0 -6
- package/dist/modules/stock/location/tests.js +0 -149
- package/dist/modules/stock/maintenance/tests.d.ts +0 -9
- package/dist/modules/stock/maintenance/tests.js +0 -96
- package/dist/modules/stock/maintenanceAssoc/tests.d.ts +0 -9
- package/dist/modules/stock/maintenanceAssoc/tests.js +0 -90
- package/dist/modules/stock/maintenancePreset/tests.d.ts +0 -3
- package/dist/modules/stock/maintenancePreset/tests.js +0 -57
- package/dist/modules/stock/maintenanceType/oas.schema.d.ts +0 -406
- package/dist/modules/stock/maintenanceType/oas.schema.js +0 -268
- package/dist/modules/stock/maintenanceType/tests.d.ts +0 -6
- package/dist/modules/stock/maintenanceType/tests.js +0 -87
- package/dist/modules/stock/primaryColor/oas.schema.d.ts +0 -406
- package/dist/modules/stock/primaryColor/oas.schema.js +0 -268
- package/dist/modules/stock/primaryColor/tests.d.ts +0 -6
- package/dist/modules/stock/primaryColor/tests.js +0 -87
- package/dist/modules/stock/product/tests.d.ts +0 -6
- package/dist/modules/stock/product/tests.js +0 -253
- package/dist/modules/stock/productAttribute/tests.d.ts +0 -9
- package/dist/modules/stock/productAttribute/tests.js +0 -94
- package/dist/modules/stock/productCategory/tests.d.ts +0 -10
- package/dist/modules/stock/productCategory/tests.js +0 -84
- package/dist/modules/stock/productColor/tests.d.ts +0 -9
- package/dist/modules/stock/productColor/tests.js +0 -94
- package/dist/modules/stock/productImage/tests.d.ts +0 -9
- package/dist/modules/stock/productImage/tests.js +0 -92
- package/dist/modules/stock/productName/tests.d.ts +0 -9
- package/dist/modules/stock/productName/tests.js +0 -84
- package/dist/modules/stock/productNamePreset/oas.schema.d.ts +0 -406
- package/dist/modules/stock/productNamePreset/oas.schema.js +0 -268
- package/dist/modules/stock/productNamePreset/tests.d.ts +0 -6
- package/dist/modules/stock/productNamePreset/tests.js +0 -87
- package/dist/modules/stock/productPart/tests.d.ts +0 -9
- package/dist/modules/stock/productPart/tests.js +0 -92
- package/dist/modules/stock/productSubCategory/responseCreate.schema.d.ts +0 -2
- package/dist/modules/stock/productSubCategory/responseCreate.schema.js +0 -50
- package/dist/modules/stock/productSubCategory/tests.d.ts +0 -9
- package/dist/modules/stock/productSubCategory/tests.js +0 -86
- package/dist/modules/stock/productUse/oas.schema.d.ts +0 -397
- package/dist/modules/stock/productUse/oas.schema.js +0 -268
- package/dist/modules/stock/productUse/tests.d.ts +0 -6
- package/dist/modules/stock/productUse/tests.js +0 -91
- package/dist/modules/stock/productUseAssoc/tests.d.ts +0 -9
- package/dist/modules/stock/productUseAssoc/tests.js +0 -90
- package/dist/modules/stock/promotion/tests.d.ts +0 -9
- package/dist/modules/stock/promotion/tests.js +0 -144
- package/dist/modules/stock/promotionAssoc/tests.d.ts +0 -9
- package/dist/modules/stock/promotionAssoc/tests.js +0 -100
- package/dist/modules/stock/similarProduct/tests.d.ts +0 -9
- package/dist/modules/stock/similarProduct/tests.js +0 -94
- package/dist/modules/stock/typeOfInventory/oas.schema.d.ts +0 -406
- package/dist/modules/stock/typeOfInventory/oas.schema.js +0 -268
- package/dist/modules/stock/typeOfInventory/tests.d.ts +0 -9
- package/dist/modules/stock/typeOfInventory/tests.js +0 -91
- package/dist/modules/stock/typeOfLocation/oas.schema.d.ts +0 -406
- package/dist/modules/stock/typeOfLocation/oas.schema.js +0 -268
- package/dist/modules/stock/typeOfLocation/tests.d.ts +0 -6
- package/dist/modules/stock/typeOfLocation/tests.js +0 -87
- package/dist/modules/stock/unitOfMeasure/oas.schema.d.ts +0 -406
- package/dist/modules/stock/unitOfMeasure/oas.schema.js +0 -269
- package/dist/modules/stock/unitOfMeasure/responseCreate.schema.d.ts +0 -2
- package/dist/modules/stock/unitOfMeasure/responseCreate.schema.js +0 -55
- package/dist/modules/stock/unitOfMeasure/tests.d.ts +0 -9
- package/dist/modules/stock/unitOfMeasure/tests.js +0 -99
- package/dist/modules/stock/vatTax/oas.schema.d.ts +0 -406
- package/dist/modules/stock/vatTax/oas.schema.js +0 -268
- package/dist/modules/stock/vatTax/tests.d.ts +0 -9
- package/dist/modules/stock/vatTax/tests.js +0 -91
- package/dist/modules/stock/vatTaxZone/tests.d.ts +0 -10
- package/dist/modules/stock/vatTaxZone/tests.js +0 -102
- package/dist/modules/supply/counter/tests.d.ts +0 -0
- package/dist/modules/supply/counter/tests.js +0 -1
- package/dist/modules/supply/documentLineAssoc/tests.d.ts +0 -5
- package/dist/modules/supply/documentLineAssoc/tests.js +0 -57
- package/dist/modules/supply/documentLineFolder/tests.d.ts +0 -0
- package/dist/modules/supply/documentLineFolder/tests.js +0 -1
- package/dist/modules/supply/documentType/tests.d.ts +0 -0
- package/dist/modules/supply/documentType/tests.js +0 -1
- package/dist/modules/supply/externalDocumentHeader/tests.d.ts +0 -5
- package/dist/modules/supply/externalDocumentHeader/tests.js +0 -103
- package/dist/modules/supply/payment/tests.d.ts +0 -8
- package/dist/modules/supply/payment/tests.js +0 -102
- package/dist/modules/user/bankData/oas.schema.d.ts +0 -406
- package/dist/modules/user/bankData/oas.schema.js +0 -268
- package/dist/modules/user/bankData/tests.d.ts +0 -6
- package/dist/modules/user/bankData/tests.js +0 -116
- package/dist/modules/user/clientType/oas.schema.d.ts +0 -350
- package/dist/modules/user/clientType/oas.schema.js +0 -237
- package/dist/modules/user/clientType/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/clientType/responseCreate.schema.js +0 -48
- package/dist/modules/user/clientType/tests.d.ts +0 -6
- package/dist/modules/user/clientType/tests.js +0 -71
- package/dist/modules/user/commissioner/oas.schema.d.ts +0 -0
- package/dist/modules/user/commissioner/oas.schema.js +0 -1
- package/dist/modules/user/country/oas.schema.d.ts +0 -350
- package/dist/modules/user/country/oas.schema.js +0 -237
- package/dist/modules/user/country/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/country/responseCreate.schema.js +0 -50
- package/dist/modules/user/country/tests.d.ts +0 -9
- package/dist/modules/user/country/tests.js +0 -75
- package/dist/modules/user/deliveryMethods/tests.d.ts +0 -2
- package/dist/modules/user/deliveryMethods/tests.js +0 -48
- package/dist/modules/user/entityList/interface.d.ts +0 -32
- package/dist/modules/user/entityList/interface.js +0 -14
- package/dist/modules/user/entityList/oas.schema.d.ts +0 -274
- package/dist/modules/user/entityList/oas.schema.js +0 -185
- package/dist/modules/user/entityList/route.schema.d.ts +0 -3
- package/dist/modules/user/entityList/route.schema.js +0 -30
- package/dist/modules/user/entityList/tests.d.ts +0 -3
- package/dist/modules/user/entityList/tests.js +0 -69
- package/dist/modules/user/favorites/oas.schema.d.ts +0 -112
- package/dist/modules/user/favorites/oas.schema.js +0 -103
- package/dist/modules/user/favorites/tests.d.ts +0 -2
- package/dist/modules/user/favorites/tests.js +0 -48
- package/dist/modules/user/groupPermissions/oas.schema.d.ts +0 -56
- package/dist/modules/user/groupPermissions/oas.schema.js +0 -73
- package/dist/modules/user/groupPermissions/tests.d.ts +0 -2
- package/dist/modules/user/groupPermissions/tests.js +0 -49
- package/dist/modules/user/language/oas.schema.d.ts +0 -350
- package/dist/modules/user/language/oas.schema.js +0 -237
- package/dist/modules/user/language/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/language/responseCreate.schema.js +0 -49
- package/dist/modules/user/language/tests.d.ts +0 -6
- package/dist/modules/user/language/tests.js +0 -73
- package/dist/modules/user/maturityDates/tests.d.ts +0 -2
- package/dist/modules/user/maturityDates/tests.js +0 -49
- package/dist/modules/user/paymentConditions/oas.schema.d.ts +0 -406
- package/dist/modules/user/paymentConditions/oas.schema.js +0 -268
- package/dist/modules/user/paymentConditions/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/paymentConditions/responseCreate.schema.js +0 -50
- package/dist/modules/user/paymentConditions/tests.d.ts +0 -7
- package/dist/modules/user/paymentConditions/tests.js +0 -86
- package/dist/modules/user/paymentMethods/tests.d.ts +0 -2
- package/dist/modules/user/paymentMethods/tests.js +0 -52
- package/dist/modules/user/permissions/oas.schema.d.ts +0 -56
- package/dist/modules/user/permissions/oas.schema.js +0 -73
- package/dist/modules/user/permissions/tests.d.ts +0 -2
- package/dist/modules/user/permissions/tests.js +0 -49
- package/dist/modules/user/providerType/oas.schema.d.ts +0 -350
- package/dist/modules/user/providerType/oas.schema.js +0 -237
- package/dist/modules/user/providerType/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/providerType/responseCreate.schema.js +0 -48
- package/dist/modules/user/providerType/tests.d.ts +0 -6
- package/dist/modules/user/providerType/tests.js +0 -71
- package/dist/modules/user/providers/oas.schema.d.ts +0 -0
- package/dist/modules/user/providers/oas.schema.js +0 -1
- package/dist/modules/user/purchaseConditions/oas.schema.d.ts +0 -406
- package/dist/modules/user/purchaseConditions/oas.schema.js +0 -268
- package/dist/modules/user/purchaseConditions/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/purchaseConditions/responseCreate.schema.js +0 -52
- package/dist/modules/user/purchaseConditions/tests.d.ts +0 -7
- package/dist/modules/user/purchaseConditions/tests.js +0 -108
- package/dist/modules/user/reasonForExemption/oas.schema.d.ts +0 -350
- package/dist/modules/user/reasonForExemption/oas.schema.js +0 -237
- package/dist/modules/user/reasonForExemption/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/reasonForExemption/responseCreate.schema.js +0 -51
- package/dist/modules/user/reasonForExemption/tests.d.ts +0 -6
- package/dist/modules/user/reasonForExemption/tests.js +0 -77
- package/dist/modules/user/refreshToken/tests.d.ts +0 -0
- package/dist/modules/user/refreshToken/tests.js +0 -1
- package/dist/modules/user/segmentsArea/oas.schema.d.ts +0 -350
- package/dist/modules/user/segmentsArea/oas.schema.js +0 -237
- package/dist/modules/user/segmentsArea/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/segmentsArea/responseCreate.schema.js +0 -49
- package/dist/modules/user/segmentsArea/tests.d.ts +0 -6
- package/dist/modules/user/segmentsArea/tests.js +0 -73
- package/dist/modules/user/sessions/tests.d.ts +0 -0
- package/dist/modules/user/sessions/tests.js +0 -1
- package/dist/modules/user/shippings/oas.schema.d.ts +0 -406
- package/dist/modules/user/shippings/oas.schema.js +0 -268
- package/dist/modules/user/shippings/responseCreate.shema.d.ts +0 -2
- package/dist/modules/user/shippings/responseCreate.shema.js +0 -52
- package/dist/modules/user/shippings/tests.d.ts +0 -7
- package/dist/modules/user/shippings/tests.js +0 -92
- package/dist/modules/user/socialMedia/oas.schema.d.ts +0 -406
- package/dist/modules/user/socialMedia/oas.schema.js +0 -268
- package/dist/modules/user/socialMedia/tests.d.ts +0 -6
- package/dist/modules/user/socialMedia/tests.js +0 -96
- package/dist/modules/user/swift/oas.schema.d.ts +0 -350
- package/dist/modules/user/swift/oas.schema.js +0 -237
- package/dist/modules/user/swift/tests.d.ts +0 -5
- package/dist/modules/user/swift/tests.js +0 -87
- package/dist/modules/user/userPermissions/oas.schema.d.ts +0 -224
- package/dist/modules/user/userPermissions/oas.schema.js +0 -166
- package/dist/modules/user/userPermissions/tests.d.ts +0 -3
- package/dist/modules/user/userPermissions/tests.js +0 -63
- package/dist/modules/user/userPositions/oas.schema.d.ts +0 -350
- package/dist/modules/user/userPositions/oas.schema.js +0 -237
- package/dist/modules/user/userPositions/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/userPositions/responseCreate.schema.js +0 -48
- package/dist/modules/user/userPositions/tests.d.ts +0 -6
- package/dist/modules/user/userPositions/tests.js +0 -71
- package/dist/modules/user/users/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/users/responseCreate.schema.js +0 -56
- package/dist/modules/user/vehicles/tests.d.ts +0 -2
- package/dist/modules/user/vehicles/tests.js +0 -49
- package/dist/modules/view/channels/oas.schema.d.ts +0 -0
- package/dist/modules/view/channels/oas.schema.js +0 -1
- package/dist/modules/view/channels/tests.d.ts +0 -0
- package/dist/modules/view/channels/tests.js +0 -1
- package/dist/modules/view/connections/oas.schema.d.ts +0 -0
- package/dist/modules/view/connections/oas.schema.js +0 -1
- package/dist/modules/view/connections/tests.d.ts +0 -0
- package/dist/modules/view/connections/tests.js +0 -1
- package/dist/modules/view/eventHistory/oas.schema.d.ts +0 -0
- package/dist/modules/view/eventHistory/oas.schema.js +0 -1
- package/dist/modules/view/eventHistory/tests.d.ts +0 -0
- package/dist/modules/view/eventHistory/tests.js +0 -1
|
@@ -1,91 +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.findPaginationBodyResponse = exports.findOwnerIdBodyResponse = exports.findByIdBodyResponse = exports.findBodyResponse = exports.findBodyResponseKeys = 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
|
-
saft_code: joi_1.default.string().required(),
|
|
47
|
-
origin_id: joi_1.default.string().allow(null).optional(),
|
|
48
|
-
};
|
|
49
|
-
exports.createUpdateDeleteBodyResponse = joi_1.default.object().keys(__assign(__assign({}, createUpdateDeleteBodyResponseKeys), IShared.joiValidateStamps));
|
|
50
|
-
exports.findBodyResponseKeys = {
|
|
51
|
-
id: joi_1.default.string().uuid().required(),
|
|
52
|
-
name: joi_1.default.string().required(),
|
|
53
|
-
saft_code: joi_1.default.string().required(),
|
|
54
|
-
origin_id: joi_1.default.string().allow(null).optional(),
|
|
55
|
-
};
|
|
56
|
-
exports.findBodyResponse = joi_1.default
|
|
57
|
-
.array()
|
|
58
|
-
.items(__assign(__assign({}, exports.findBodyResponseKeys), IShared.joiValidateStamps))
|
|
59
|
-
.required();
|
|
60
|
-
var findByIdBodyResponseKeys = {
|
|
61
|
-
id: joi_1.default.string().uuid().required(),
|
|
62
|
-
name: joi_1.default.string().required(),
|
|
63
|
-
saft_code: joi_1.default.string().required(),
|
|
64
|
-
origin_id: joi_1.default.string().allow(null).optional(),
|
|
65
|
-
};
|
|
66
|
-
exports.findByIdBodyResponse = joi_1.default
|
|
67
|
-
.object()
|
|
68
|
-
.keys(__assign(__assign({}, findByIdBodyResponseKeys), IShared.joiValidateStamps))
|
|
69
|
-
.allow(null);
|
|
70
|
-
var findOwnerIdBodyResponsekeys = {
|
|
71
|
-
id: joi_1.default.string().uuid().required(),
|
|
72
|
-
name: joi_1.default.string().required(),
|
|
73
|
-
saft_code: joi_1.default.string().required(),
|
|
74
|
-
origin_id: joi_1.default.string().allow(null).optional(),
|
|
75
|
-
};
|
|
76
|
-
exports.findOwnerIdBodyResponse = joi_1.default
|
|
77
|
-
.array()
|
|
78
|
-
.items(__assign(__assign({}, findOwnerIdBodyResponsekeys), IShared.joiValidateStamps))
|
|
79
|
-
.required();
|
|
80
|
-
var findPaginatedBodyResponseKeys = {
|
|
81
|
-
per_page: joi_1.default.number().required(),
|
|
82
|
-
current_page: joi_1.default.number().required(),
|
|
83
|
-
total: joi_1.default.number().required(),
|
|
84
|
-
data: joi_1.default
|
|
85
|
-
.array()
|
|
86
|
-
.items(__assign(__assign({}, exports.findBodyResponseKeys), IShared.joiValidateStamps))
|
|
87
|
-
.required(),
|
|
88
|
-
};
|
|
89
|
-
exports.findPaginationBodyResponse = joi_1.default
|
|
90
|
-
.object()
|
|
91
|
-
.keys(findPaginatedBodyResponseKeys);
|
|
@@ -1,406 +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 findByOwnerIdGet: {
|
|
118
|
-
tags: string[];
|
|
119
|
-
summary: string;
|
|
120
|
-
description: string;
|
|
121
|
-
parameters: {
|
|
122
|
-
name: string;
|
|
123
|
-
in: string;
|
|
124
|
-
description: string;
|
|
125
|
-
required: boolean;
|
|
126
|
-
schema: {
|
|
127
|
-
type: string;
|
|
128
|
-
format: string;
|
|
129
|
-
};
|
|
130
|
-
}[];
|
|
131
|
-
responses: {
|
|
132
|
-
'200': {
|
|
133
|
-
description: string;
|
|
134
|
-
content: {
|
|
135
|
-
'application/json': {
|
|
136
|
-
schema: {
|
|
137
|
-
[x: string]: any;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
export declare const findGet: {
|
|
145
|
-
tags: string[];
|
|
146
|
-
summary: string;
|
|
147
|
-
description: string;
|
|
148
|
-
parameters: never[];
|
|
149
|
-
responses: {
|
|
150
|
-
'200': {
|
|
151
|
-
description: string;
|
|
152
|
-
content: {
|
|
153
|
-
'application/json': {
|
|
154
|
-
schema: {
|
|
155
|
-
[x: string]: any;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
export declare const findPaginatedGet: {
|
|
163
|
-
tags: string[];
|
|
164
|
-
summary: string;
|
|
165
|
-
description: string;
|
|
166
|
-
parameters: never[];
|
|
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 findMinifiedGet: {
|
|
181
|
-
tags: string[];
|
|
182
|
-
summary: string;
|
|
183
|
-
description: string;
|
|
184
|
-
parameters: {
|
|
185
|
-
name: string;
|
|
186
|
-
in: string;
|
|
187
|
-
description: string;
|
|
188
|
-
required: boolean;
|
|
189
|
-
schema: {
|
|
190
|
-
type: string;
|
|
191
|
-
format: string;
|
|
192
|
-
};
|
|
193
|
-
}[];
|
|
194
|
-
responses: {
|
|
195
|
-
'200': {
|
|
196
|
-
description: string;
|
|
197
|
-
content: {
|
|
198
|
-
'application/json': {
|
|
199
|
-
schema: {
|
|
200
|
-
[x: string]: any;
|
|
201
|
-
};
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
export declare const sw: {
|
|
208
|
-
'/type_of_location': {
|
|
209
|
-
post: {
|
|
210
|
-
tags: string[];
|
|
211
|
-
summary: string;
|
|
212
|
-
description: string;
|
|
213
|
-
requestBody: {
|
|
214
|
-
content: {
|
|
215
|
-
'application/json': {
|
|
216
|
-
schema: {
|
|
217
|
-
[x: string]: any;
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
responses: {
|
|
223
|
-
'200': {
|
|
224
|
-
description: string;
|
|
225
|
-
content: {
|
|
226
|
-
'application/json': {
|
|
227
|
-
schema: {
|
|
228
|
-
[x: string]: any;
|
|
229
|
-
};
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
'/type_of_location/{id}': {
|
|
237
|
-
put: {
|
|
238
|
-
tags: string[];
|
|
239
|
-
summary: string;
|
|
240
|
-
description: string;
|
|
241
|
-
parameters: {
|
|
242
|
-
name: string;
|
|
243
|
-
in: string;
|
|
244
|
-
description: string;
|
|
245
|
-
required: boolean;
|
|
246
|
-
schema: {
|
|
247
|
-
type: string;
|
|
248
|
-
format: string;
|
|
249
|
-
};
|
|
250
|
-
}[];
|
|
251
|
-
requestBody: {
|
|
252
|
-
content: {
|
|
253
|
-
'application/json': {
|
|
254
|
-
schema: {
|
|
255
|
-
[x: string]: any;
|
|
256
|
-
};
|
|
257
|
-
};
|
|
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
|
-
get: {
|
|
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
|
-
delete: {
|
|
301
|
-
tags: string[];
|
|
302
|
-
summary: string;
|
|
303
|
-
description: string;
|
|
304
|
-
parameters: {
|
|
305
|
-
name: string;
|
|
306
|
-
in: string;
|
|
307
|
-
description: string;
|
|
308
|
-
required: boolean;
|
|
309
|
-
schema: {
|
|
310
|
-
type: string;
|
|
311
|
-
format: string;
|
|
312
|
-
};
|
|
313
|
-
}[];
|
|
314
|
-
responses: {
|
|
315
|
-
'200': {
|
|
316
|
-
description: string;
|
|
317
|
-
content: {
|
|
318
|
-
'application/json': {
|
|
319
|
-
schema: {
|
|
320
|
-
[x: string]: any;
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
};
|
|
324
|
-
};
|
|
325
|
-
};
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
'/type_of_location/by_owner': {
|
|
329
|
-
get: {
|
|
330
|
-
tags: string[];
|
|
331
|
-
summary: string;
|
|
332
|
-
description: string;
|
|
333
|
-
parameters: {
|
|
334
|
-
name: string;
|
|
335
|
-
in: string;
|
|
336
|
-
description: string;
|
|
337
|
-
required: boolean;
|
|
338
|
-
schema: {
|
|
339
|
-
type: string;
|
|
340
|
-
format: string;
|
|
341
|
-
};
|
|
342
|
-
}[];
|
|
343
|
-
responses: {
|
|
344
|
-
'200': {
|
|
345
|
-
description: string;
|
|
346
|
-
content: {
|
|
347
|
-
'application/json': {
|
|
348
|
-
schema: {
|
|
349
|
-
[x: string]: any;
|
|
350
|
-
};
|
|
351
|
-
};
|
|
352
|
-
};
|
|
353
|
-
};
|
|
354
|
-
};
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
'/type_of_location/paginated': {
|
|
358
|
-
get: {
|
|
359
|
-
tags: string[];
|
|
360
|
-
summary: string;
|
|
361
|
-
description: string;
|
|
362
|
-
parameters: never[];
|
|
363
|
-
responses: {
|
|
364
|
-
'200': {
|
|
365
|
-
description: string;
|
|
366
|
-
content: {
|
|
367
|
-
'application/json': {
|
|
368
|
-
schema: {
|
|
369
|
-
[x: string]: any;
|
|
370
|
-
};
|
|
371
|
-
};
|
|
372
|
-
};
|
|
373
|
-
};
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
'/type_of_location/minified': {
|
|
378
|
-
get: {
|
|
379
|
-
tags: string[];
|
|
380
|
-
summary: string;
|
|
381
|
-
description: string;
|
|
382
|
-
parameters: {
|
|
383
|
-
name: string;
|
|
384
|
-
in: string;
|
|
385
|
-
description: string;
|
|
386
|
-
required: boolean;
|
|
387
|
-
schema: {
|
|
388
|
-
type: string;
|
|
389
|
-
format: string;
|
|
390
|
-
};
|
|
391
|
-
}[];
|
|
392
|
-
responses: {
|
|
393
|
-
'200': {
|
|
394
|
-
description: string;
|
|
395
|
-
content: {
|
|
396
|
-
'application/json': {
|
|
397
|
-
schema: {
|
|
398
|
-
[x: string]: any;
|
|
399
|
-
};
|
|
400
|
-
};
|
|
401
|
-
};
|
|
402
|
-
};
|
|
403
|
-
};
|
|
404
|
-
};
|
|
405
|
-
};
|
|
406
|
-
};
|