@nomalism-com/api 0.7.132 → 0.7.134
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/modules/documentManagement/multimedia.js +1 -1
- package/dist/modules/integration/dynamicData.js +1 -1
- package/dist/modules/integration/field.js +1 -1
- package/dist/modules/integration/fieldGroup.js +1 -1
- package/dist/modules/integration/file.js +1 -1
- package/dist/modules/integration/history.js +1 -1
- package/dist/modules/integration/observation.js +1 -1
- package/dist/modules/integration/observationType.js +1 -1
- package/dist/modules/integration/task.js +1 -1
- package/dist/modules/integration/taskAttachment.js +1 -1
- package/dist/modules/integration/taskGroup.js +1 -1
- package/dist/modules/integration/taskNote.js +1 -1
- package/dist/modules/stock/attribute.d.ts +1 -1
- package/dist/modules/stock/attribute.js +1 -1
- package/dist/modules/stock/attributeValue.d.ts +1 -1
- package/dist/modules/stock/attributeValue.js +1 -1
- package/dist/modules/stock/cabide.js +1 -1
- package/dist/modules/stock/cabideProduct.js +1 -1
- package/dist/modules/stock/clientCurrentAccount.js +1 -1
- package/dist/modules/stock/color.d.ts +1 -1
- package/dist/modules/stock/color.js +1 -1
- package/dist/modules/stock/composition.d.ts +1 -1
- package/dist/modules/stock/composition.js +1 -1
- package/dist/modules/stock/compositionMaterial.d.ts +1 -1
- package/dist/modules/stock/compositionMaterial.js +1 -1
- package/dist/modules/stock/documentHeader.js +1 -1
- package/dist/modules/stock/documentLine.js +1 -1
- package/dist/modules/stock/documentLineAssoc.js +1 -1
- package/dist/modules/stock/documentLineFolder.js +1 -1
- package/dist/modules/stock/documentLineState.js +1 -1
- package/dist/modules/stock/documentLineStateCriteria.d.ts +1 -1
- package/dist/modules/stock/documentLineStateCriteria.js +1 -1
- package/dist/modules/stock/documentSet.js +1 -1
- package/dist/modules/stock/documentType.js +1 -1
- package/dist/modules/stock/externalDocumentHeader.js +1 -1
- package/dist/modules/stock/externalDocumentType.js +1 -1
- package/dist/modules/stock/location.d.ts +1 -1
- package/dist/modules/stock/location.js +1 -1
- package/dist/modules/stock/maintenance.d.ts +1 -1
- package/dist/modules/stock/maintenance.js +1 -1
- package/dist/modules/stock/maintenanceAssoc.d.ts +1 -1
- package/dist/modules/stock/maintenanceAssoc.js +1 -1
- package/dist/modules/stock/maintenancePreset.js +1 -1
- package/dist/modules/stock/maintenancePresetAssoc.js +1 -1
- package/dist/modules/stock/maintenanceType.d.ts +1 -1
- package/dist/modules/stock/maintenanceType.js +1 -1
- package/dist/modules/stock/moloniRequest.js +1 -1
- package/dist/modules/stock/payment.d.ts +1 -1
- package/dist/modules/stock/payment.js +1 -1
- package/dist/modules/stock/plot.js +1 -1
- package/dist/modules/stock/preSale.d.ts +1 -1
- package/dist/modules/stock/preSale.js +1 -1
- package/dist/modules/stock/preSaleProduct.js +1 -1
- package/dist/modules/stock/primaryColor.d.ts +1 -1
- package/dist/modules/stock/primaryColor.js +1 -1
- package/dist/modules/stock/product.d.ts +1 -1
- package/dist/modules/stock/product.js +1 -1
- package/dist/modules/stock/productAttribute.d.ts +1 -1
- package/dist/modules/stock/productAttribute.js +1 -1
- package/dist/modules/stock/productCategory.d.ts +1 -1
- package/dist/modules/stock/productCategory.js +1 -1
- package/dist/modules/stock/productColor.d.ts +1 -1
- package/dist/modules/stock/productColor.js +1 -1
- package/dist/modules/stock/productImage.d.ts +1 -1
- package/dist/modules/stock/productImage.js +1 -1
- package/dist/modules/stock/productName.d.ts +1 -1
- package/dist/modules/stock/productName.js +1 -1
- package/dist/modules/stock/productNamePreset.d.ts +1 -1
- package/dist/modules/stock/productNamePreset.js +1 -1
- package/dist/modules/stock/productPart.d.ts +1 -1
- package/dist/modules/stock/productPart.js +1 -1
- package/dist/modules/stock/productSubCategory.d.ts +1 -1
- package/dist/modules/stock/productSubCategory.js +1 -1
- package/dist/modules/stock/productUse.d.ts +1 -1
- package/dist/modules/stock/productUse.js +1 -1
- package/dist/modules/stock/productUseAssoc.d.ts +1 -1
- package/dist/modules/stock/productUseAssoc.js +1 -1
- package/dist/modules/stock/promotion.d.ts +1 -1
- package/dist/modules/stock/promotion.js +1 -1
- package/dist/modules/stock/promotionAssoc.d.ts +1 -1
- package/dist/modules/stock/promotionAssoc.js +1 -1
- package/dist/modules/stock/providerCurrentAccount.js +1 -1
- package/dist/modules/stock/similarProduct.d.ts +1 -1
- package/dist/modules/stock/similarProduct.js +1 -1
- package/dist/modules/stock/stockMovement.js +1 -1
- package/dist/modules/stock/topMenu.js +1 -1
- package/dist/modules/stock/typeOfInventory.d.ts +1 -1
- package/dist/modules/stock/typeOfInventory.js +1 -1
- package/dist/modules/stock/typeOfLocation.d.ts +1 -1
- package/dist/modules/stock/typeOfLocation.js +1 -1
- package/dist/modules/stock/unitOfMeasure.d.ts +1 -1
- package/dist/modules/stock/unitOfMeasure.js +1 -1
- package/dist/modules/stock/vatTax.d.ts +1 -1
- package/dist/modules/stock/vatTax.js +1 -1
- package/dist/modules/stock/vatTaxZone.d.ts +1 -1
- package/dist/modules/stock/vatTaxZone.js +1 -1
- package/dist/modules/stock/vatValidation.js +1 -1
- package/dist/modules/stock/websiteRequest.js +1 -1
- package/dist/modules/stock/workflow.js +1 -1
- package/dist/modules/user/address.d.ts +1 -1
- package/dist/modules/user/address.js +1 -1
- package/dist/modules/user/bankData.d.ts +1 -1
- package/dist/modules/user/bankData.js +1 -1
- package/dist/modules/user/clientType.d.ts +1 -1
- package/dist/modules/user/clientType.js +1 -1
- package/dist/modules/user/clients.d.ts +1 -1
- package/dist/modules/user/clients.js +1 -1
- package/dist/modules/user/commissioner.d.ts +1 -1
- package/dist/modules/user/commissioner.js +1 -1
- package/dist/modules/user/contactTypes.d.ts +1 -1
- package/dist/modules/user/contactTypes.js +1 -1
- package/dist/modules/user/contacts.d.ts +1 -1
- package/dist/modules/user/contacts.js +1 -1
- package/dist/modules/user/country.d.ts +1 -1
- package/dist/modules/user/country.js +1 -1
- package/dist/modules/user/deliveryMethods.js +1 -1
- package/dist/modules/user/entityList.js +1 -1
- package/dist/modules/user/favorites.js +1 -1
- package/dist/modules/user/groupPermission.js +1 -1
- package/dist/modules/user/language.d.ts +1 -1
- package/dist/modules/user/language.js +1 -1
- package/dist/modules/user/logout.js +1 -1
- package/dist/modules/user/maturityDates.js +1 -1
- package/dist/modules/user/password.js +1 -1
- package/dist/modules/user/paymentCondition.d.ts +1 -1
- package/dist/modules/user/paymentCondition.js +1 -1
- package/dist/modules/user/paymentMethods.js +1 -1
- package/dist/modules/user/permission.js +1 -1
- package/dist/modules/user/provider.d.ts +1 -1
- package/dist/modules/user/provider.js +1 -1
- package/dist/modules/user/providerType.d.ts +1 -1
- package/dist/modules/user/providerType.js +1 -1
- package/dist/modules/user/purchaseCondition.d.ts +1 -1
- package/dist/modules/user/purchaseCondition.js +1 -1
- package/dist/modules/user/reasonForExemption.d.ts +1 -1
- package/dist/modules/user/reasonForExemption.js +1 -1
- package/dist/modules/user/refreshToken.js +1 -1
- package/dist/modules/user/segmentsArea.d.ts +1 -1
- package/dist/modules/user/segmentsArea.js +1 -1
- package/dist/modules/user/sessions.js +1 -1
- package/dist/modules/user/shippings.d.ts +1 -1
- package/dist/modules/user/shippings.js +1 -1
- package/dist/modules/user/socialMedia.d.ts +1 -1
- package/dist/modules/user/socialMedia.js +1 -1
- package/dist/modules/user/storeOperator.d.ts +1 -1
- package/dist/modules/user/storeOperator.js +1 -1
- package/dist/modules/user/swift.d.ts +1 -1
- package/dist/modules/user/swift.js +1 -1
- package/dist/modules/user/tenant.js +1 -1
- package/dist/modules/user/user.d.ts +1 -1
- package/dist/modules/user/user.js +1 -1
- package/dist/modules/user/userPermission.js +1 -1
- package/dist/modules/user/userPositions.d.ts +1 -1
- package/dist/modules/user/userPositions.js +1 -1
- package/dist/modules/user/userToken.d.ts +1 -1
- package/dist/modules/user/userToken.js +1 -1
- package/dist/modules/user/vehicles.js +1 -1
- package/dist/modules/user/zipCode.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
|
@@ -22,7 +22,7 @@ export import IBulkUpdateRequest = Entity.IBulkUpdateRequest;
|
|
|
22
22
|
export import IUpdateManyResponse = shared.IUpdateManyResponse;
|
|
23
23
|
export import IProductVirtuals = Entity.IProductVirtuals;
|
|
24
24
|
export import IProductPromotionVirtuals = Entity.IProductPromotionVirtuals;
|
|
25
|
-
export
|
|
25
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
26
26
|
export declare const route: string;
|
|
27
27
|
export declare const publicRoute: string;
|
|
28
28
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, findByRef: (selector: Entity.IFindByReferenceRequest) => Promise<Entity.IEntityExtended | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<Entity.IFindResponse | null>, basicSearch: (params: Entity.IBasicSearchRequest) => Promise<shared.IPaginationResponse<Entity.IBasicSearchResponse>>, bulkUpdate: (data: Entity.IBulkUpdateRequest) => Promise<shared.IUpdateManyResponse>, printLabel: (selector: Entity.IPrintLabel) => Promise<void>, printLabelToPdf: (selector: shared.IFindByIdRequest) => Promise<void>, printLabelToPdfUrl: (params: shared.IFindByIdRequest) => string, findByPlot: (selector: shared.IFindByIdRequest) => Promise<Entity.IEntityExtended | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -7,6 +7,6 @@ export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
|
7
7
|
export import IFindByOwnerIdResponse = Entity.IFindByOwnerIdResponse;
|
|
8
8
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
9
9
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
10
|
-
export
|
|
10
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
11
11
|
export declare const route: string;
|
|
12
12
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindDetailedResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindDetailedResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<Entity.IFindDetailedResponse | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -8,6 +8,6 @@ export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
|
8
8
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
9
9
|
export import IEntity = Entity.Entity;
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
|
-
export
|
|
11
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export declare const route: string;
|
|
13
13
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductCategory>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductCategory | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductCategory | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -7,6 +7,6 @@ export import IFindByOwnerIdResponse = Entity.IFindByOwnerIdResponse;
|
|
|
7
7
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
8
8
|
export import IEntity = Entity.Entity;
|
|
9
9
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
10
|
-
export
|
|
10
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
11
11
|
export declare const route: string;
|
|
12
12
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindByOwnerIdResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindByOwnerIdResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<Entity.IFindByOwnerIdResponse | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -9,6 +9,6 @@ export import IFindPaginatedRequest = Entity.IFindPaginatedRequest;
|
|
|
9
9
|
export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
10
10
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
11
11
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
12
|
-
export
|
|
12
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
13
13
|
export declare const route: string;
|
|
14
14
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductImage>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductImage | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductImage | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -8,6 +8,6 @@ export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
|
8
8
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
9
9
|
export import IEntity = Entity.Entity;
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
|
-
export
|
|
11
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export declare const route: string;
|
|
13
13
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductName>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductName | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductName | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -8,6 +8,6 @@ export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
|
8
8
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
9
9
|
export import IEntity = Entity.Entity;
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
|
-
export
|
|
11
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export declare const route: string;
|
|
13
13
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductNamePreset>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductNamePreset | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductNamePreset | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -9,6 +9,6 @@ export import IFindByOwnerIdResponse = Entity.IFindByOwnerIdResponse;
|
|
|
9
9
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
10
10
|
export import IEntity = Entity.Entity;
|
|
11
11
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
12
|
-
export
|
|
12
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
13
13
|
export declare const route: string;
|
|
14
14
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindByOwnerIdResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindByOwnerIdResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<void>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -8,6 +8,6 @@ export import IFindMinifiedResponse = shared.IFindMinifiedResponse;
|
|
|
8
8
|
export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
9
9
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
|
-
export
|
|
11
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export declare const route: string;
|
|
13
13
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<void>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -8,6 +8,6 @@ export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
|
8
8
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
9
9
|
export import IEntity = Entity.Entity;
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
|
-
export
|
|
11
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export declare const route: string;
|
|
13
13
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductUse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductUse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<import("@nomalism-com/types/dist/shared/entities").ProductUse | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -7,6 +7,6 @@ export import IFindByOwnerIdResponse = Entity.IFindByOwnerIdResponse;
|
|
|
7
7
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
8
8
|
export import IEntity = Entity.Entity;
|
|
9
9
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
10
|
-
export
|
|
10
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
11
11
|
export declare const route: string;
|
|
12
12
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindByOwnerIdResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindByOwnerIdResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<void>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -8,6 +8,6 @@ export import IFindMinifiedResponse = shared.IFindMinifiedResponse;
|
|
|
8
8
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
9
9
|
export import IEntity = Entity.Entity;
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
|
-
export
|
|
11
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export declare const route: string;
|
|
13
13
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").Promotion>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").Promotion | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<import("@nomalism-com/types/dist/shared/entities").Promotion | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -7,6 +7,6 @@ export import IFindByOwnerIdResponse = Entity.IFindByOwnerIdResponse;
|
|
|
7
7
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
8
8
|
export import IEntity = Entity.Entity;
|
|
9
9
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
10
|
-
export
|
|
10
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
11
11
|
export declare const route: string;
|
|
12
12
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindByOwnerIdResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindByOwnerIdResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<Entity.IFindByOwnerIdResponse | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -7,6 +7,6 @@ export import IFindByOwnerIdResponse = Entity.IFindByOwnerIdResponse;
|
|
|
7
7
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
8
8
|
export import IEntity = Entity.Entity;
|
|
9
9
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
10
|
-
export
|
|
10
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
11
11
|
export declare const route: string;
|
|
12
12
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindByOwnerIdResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindByOwnerIdResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<Entity.IFindByOwnerIdResponse | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -8,6 +8,6 @@ export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
|
8
8
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
9
9
|
export import IEntity = Entity.Entity;
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
|
-
export
|
|
11
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export declare const route: string;
|
|
13
13
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").TypeOfInventory>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").TypeOfInventory | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<import("@nomalism-com/types/dist/shared/entities").TypeOfInventory | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -8,6 +8,6 @@ export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
|
8
8
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
9
9
|
export import IEntity = Entity.Entity;
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
|
-
export
|
|
11
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export declare const route: string;
|
|
13
13
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").TypeOfLocation>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").TypeOfLocation | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<import("@nomalism-com/types/dist/shared/entities").TypeOfLocation | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -8,6 +8,6 @@ export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
|
8
8
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
9
9
|
export import IEntity = Entity.Entity;
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
|
-
export
|
|
11
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export declare const route: string;
|
|
13
13
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").UnitOfMeasure>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").UnitOfMeasure | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<import("@nomalism-com/types/dist/shared/entities").UnitOfMeasure | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -8,6 +8,6 @@ export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
|
8
8
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
9
9
|
export import IEntity = Entity.Entity;
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
|
-
export
|
|
11
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export declare const route: string;
|
|
13
13
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").VatTax>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").VatTax | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<import("@nomalism-com/types/dist/shared/entities").VatTax | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -9,6 +9,6 @@ export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
|
9
9
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
10
10
|
export import IEntity = Entity.Entity;
|
|
11
11
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
12
|
-
export
|
|
12
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
13
13
|
export declare const route: string;
|
|
14
14
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (selector: shared.IFindMinifiedRequest) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<Entity.IFindResponse | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -7,6 +7,6 @@ export import IFindByOwnerIdResponse = Entity.IFindByOwnerIdResponse;
|
|
|
7
7
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
8
8
|
export import IEntity = Entity.Entity;
|
|
9
9
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
10
|
-
export
|
|
10
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
11
11
|
export declare const route: string;
|
|
12
12
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindByOwnerIdResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindByOwnerIdResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<Entity.IFindByOwnerIdResponse | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -7,6 +7,6 @@ export import IFindByOwnerIdResponse = Entity.IFindByOwnerIdResponse;
|
|
|
7
7
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
8
8
|
export import IEntity = Entity.Entity;
|
|
9
9
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
10
|
-
export
|
|
10
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
11
11
|
export declare const route: string;
|
|
12
12
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindByOwnerIdResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindByOwnerIdResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<Entity.IFindByOwnerIdResponse | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -7,6 +7,6 @@ export import IFindMinifiedResponse = shared.IFindMinifiedResponse;
|
|
|
7
7
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
8
8
|
export import IEntity = Entity.Entity;
|
|
9
9
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
10
|
-
export
|
|
10
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
11
11
|
export declare const route: string;
|
|
12
12
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ClientType>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ClientType | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<import("@nomalism-com/types/dist/shared/entities").ClientType | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -10,6 +10,6 @@ export import IFindByIdResponse = Entity.IFindByIdResponse;
|
|
|
10
10
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
11
11
|
export import IEntity = Entity.Entity;
|
|
12
12
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
13
|
-
export
|
|
13
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
14
14
|
export declare const route: string;
|
|
15
15
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<Entity.IFindResponse | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -10,6 +10,6 @@ export import IFindByIdResponse = Entity.IFindByIdResponse;
|
|
|
10
10
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
11
11
|
export import IEntity = Entity.Entity;
|
|
12
12
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
13
|
-
export
|
|
13
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
14
14
|
export declare const route: string;
|
|
15
15
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findByOwnerId: (params: shared.IFindByOwnerIdRequest) => Promise<Entity.IFindByOwnerIdResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<Entity.IFindResponse>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<Entity.IFindResponse | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<Entity.IFindResponse | null>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -7,6 +7,6 @@ export import IFindMinifiedResponse = shared.IFindMinifiedResponse;
|
|
|
7
7
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
8
8
|
export import IEntity = Entity.Entity;
|
|
9
9
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
10
|
-
export
|
|
10
|
+
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
11
11
|
export declare const route: string;
|
|
12
12
|
export declare const find: (selector: Entity.IFindRequest) => Promise<Entity.IFindResponse[]>, findPaginated: (selector: Entity.IFindPaginatedRequest) => Promise<Entity.IFindWithPaginationResponse>, findMinified: (params?: shared.IFindMinifiedRequest | undefined) => Promise<shared.IFindMinifiedResponse[]>, findById: (selector: shared.IFindByIdRequest) => Promise<Entity.IFindByIdResponse | null>, create: (data: Entity.ICreateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ContactTypes>, update: (selector: shared.IFindByIdRequest, data: Entity.IUpdateRequest) => Promise<import("@nomalism-com/types/dist/shared/entities").ContactTypes | null>, deleteOne: (selector: shared.IFindByIdRequest, data?: shared.WithUpdatedBy | undefined) => Promise<import("@nomalism-com/types/dist/shared/entities").ContactTypes | null>;
|