Commit aea83389 authored by Matija Obreza's avatar Matija Obreza
Browse files

Lint: client

parent ed6ae98c
import { AxiosInstance, AxiosRequestConfig } from "axios";
import * as QueryString from "query-string";
import { AxiosInstance, AxiosRequestConfig } from 'axios';
import * as QueryString from 'query-string';
const API_SERVER = "https://wiews.fao.org";
const API_SERVER = 'https://wiews.fao.org';
const URL_LIST_INSTITUTES = `${API_SERVER}/api/v1/organizations/`;
/**
......@@ -37,7 +37,7 @@ class FaoWiewsInstituteService {
.request({
...xhrConfig,
url: apiUrl,
method: "GET",
method: 'GET',
...content,
})
.then(({ data }) => {
......
......@@ -46,7 +46,7 @@ class Accession {
initialReceivedFormCode: 'GERMPLASM_FORM',
improvementStatusCode: 'IMPROVEMENT_LEVEL',
reproductiveUniformityCode: 'REPRODUCTIVE_UNIFORMITY',
mlsStatus: "ACCESSION_MLS_STATUS",
mlsStatus: 'ACCESSION_MLS_STATUS',
}
public static DEREFERENCES = {
......
......@@ -7,8 +7,8 @@ import SiteFilter from '@gringlobal-ce/client/model/gringlobal/SiteFilter';
import TaxonomySpeciesFilter from '@gringlobal-ce/client/model/gringlobal/TaxonomySpeciesFilter';
import InventoryFilter from '@gringlobal-ce/client/model/gringlobal/InventoryFilter';
import AccessionSourceFilter from '@gringlobal-ce/client/model/gringlobal/AccessionSourceFilter';
import AccessionActionFilter from "@gringlobal-ce/client/model/gringlobal/AccessionActionFilter";
import AccessionIprFilter from "@gringlobal-ce/client/model/gringlobal/AccessionIprFilter";
import AccessionActionFilter from '@gringlobal-ce/client/model/gringlobal/AccessionActionFilter';
import AccessionIprFilter from '@gringlobal-ce/client/model/gringlobal/AccessionIprFilter';
/**
* AccessionFilter
......
import CooperatorFilter from '@gringlobal-ce/client/model/gringlobal/CooperatorFilter';
import DateFilter from '@gringlobal-ce/client/model/gringlobal/DateFilter';
import StringFilter from "@gringlobal-ce/client/model/common/StringFilter";
import StringFilter from '@gringlobal-ce/client/model/common/StringFilter';
/**
* AccessionInvGroupFilter
......
import DateFilter from '@gringlobal-ce/client/model/gringlobal/DateFilter';
import InventoryFilter from '@gringlobal-ce/client/model/gringlobal/InventoryFilter';
import NameGroupFilter from '@gringlobal-ce/client/model/gringlobal/NameGroupFilter';
import StringFilter from "@gringlobal-ce/client/model/common/StringFilter";
import StringFilter from '@gringlobal-ce/client/model/common/StringFilter';
/**
* AccessionInvNameFilter
......
import AccessionFilter from '@gringlobal-ce/client/model/gringlobal/AccessionFilter';
import DateFilter from '@gringlobal-ce/client/model/gringlobal/DateFilter';
import StringFilter from "@gringlobal-ce/client/model/common/StringFilter";
import StringFilter from '@gringlobal-ce/client/model/common/StringFilter';
/**
* AccessionIprFilter
......
export enum Action {
UPDATE = "UPDATE",
DELETE = "DELETE"
UPDATE = 'UPDATE',
DELETE = 'DELETE'
}
/*
......
......@@ -4,8 +4,8 @@ import DateFilter from '@gringlobal-ce/client/model/gringlobal/DateFilter';
import NumberFilter from '@gringlobal-ce/client/model/common/NumberFilter';
import StringFilter from '@gringlobal-ce/client/model/common/StringFilter';
import SiteFilter from '@gringlobal-ce/client/model/gringlobal/SiteFilter';
import InventoryActionFilter from "@gringlobal-ce/client/model/gringlobal/InventoryActionFilter";
import AccessionInvNameFilter from "@gringlobal-ce/client/model/gringlobal/AccessionInvNameFilter";
import InventoryActionFilter from '@gringlobal-ce/client/model/gringlobal/InventoryActionFilter';
import AccessionInvNameFilter from '@gringlobal-ce/client/model/gringlobal/AccessionInvNameFilter';
/**
* InventoryFilter
......
......@@ -26,7 +26,7 @@ class SourceDescriptor {
public note: string;
public static CodeGroup = {
categoryCode: "SOURCE_DESCRIPTOR_CATEGORY",
categoryCode: 'SOURCE_DESCRIPTOR_CATEGORY',
dataTypeCode: 'CROP_TRAIT_DATA_TYPE', // SOURCE_DESCRIPTOR_DATA_TYPE
originalValueTypeCode: 'CROP_TRAIT_DATA_TYPE', // SOURCE_DESCRIPTOR_DATA_TYPE
}
......
......@@ -30,10 +30,10 @@ const URL_START_ACTIONS = '/api/v1/a/action/start';
const URL_UPDATE_ACTION = '/api/v1/a/action';
const URL_CREATE_ACTION = '/api/v1/a/action';
const URL_SCHEDULE_ACTIONS = '/api/v1/a/action/schedule';
const URL_ACTION_SCHEDULE_OVERVIEW = `/api/v1/a/schedule`;
const URL_LIST_SCHEDULED_ACTIONS = UrlTemplate.parse(`/api/v1/a/action/list/{schedule}`);
const URL_GET_ACTION = UrlTemplate.parse(`/api/v1/a/action/{id}`);
const URL_REMOVE_ACTION = UrlTemplate.parse(`/api/v1/a/action/{id}`);
const URL_ACTION_SCHEDULE_OVERVIEW = '/api/v1/a/schedule';
const URL_LIST_SCHEDULED_ACTIONS = UrlTemplate.parse('/api/v1/a/action/list/{schedule}');
const URL_GET_ACTION = UrlTemplate.parse('/api/v1/a/action/{id}');
const URL_REMOVE_ACTION = UrlTemplate.parse('/api/v1/a/action/{id}');
const URL_UPDATE = '/api/v1/a';
const URL_CREATE = '/api/v1/a';
const URL_LIST = '/api/v1/a/list';
......@@ -62,10 +62,10 @@ const URL_UPDATE_ACCESSION_SOURCE = '/api/v1/a/source';
const URL_CREATE_ACCESSION_SOURCE = '/api/v1/a/source';
const URL_GET_ACCESSION_SOURCE = UrlTemplate.parse('/api/v1/a/source/{id}');
const URL_REMOVE_ACCESSION_SOURCE = UrlTemplate.parse('/api/v1/a/source/{id}');
const URL_UPDATE_SOURCE_COOPERATOR = `/api/v1/a/source/cooperator-map`;
const URL_CREATE_SOURCE_COOPERATOR = `/api/v1/a/source/cooperator-map`;
const URL_GET_SOURCE_COOPERATOR = UrlTemplate.parse(`/api/v1/a/source/cooperator-map/{id}`);
const URL_REMOVE_SOURCE_COOPERATOR = UrlTemplate.parse(`/api/v1/a/source/cooperator-map/{id}`);
const URL_UPDATE_SOURCE_COOPERATOR = '/api/v1/a/source/cooperator-map';
const URL_CREATE_SOURCE_COOPERATOR = '/api/v1/a/source/cooperator-map';
const URL_GET_SOURCE_COOPERATOR = UrlTemplate.parse('/api/v1/a/source/cooperator-map/{id}');
const URL_REMOVE_SOURCE_COOPERATOR = UrlTemplate.parse('/api/v1/a/source/cooperator-map/{id}');
const URL_UPDATE_CITATION = '/api/v1/a/citation';
const URL_CREATE_CITATION = '/api/v1/a/citation';
const URL_GET_CITATION = UrlTemplate.parse('/api/v1/a/citation/{id}');
......
import * as QueryString from 'query-string';
import { AxiosInstance, AxiosRequestConfig } from 'axios';
import AclSid from "@gringlobal-ce/client/model/acl/AclSid";
import AclSid from '@gringlobal-ce/client/model/acl/AclSid';
const URL_AUTOCOMPLETE_ACL_SID = `/api/v1/aclsid/autocomplete`;
const URL_AUTOCOMPLETE_ACL_SID = '/api/v1/aclsid/autocomplete';
/**
* AclSid service
......
......@@ -6,8 +6,8 @@ import TransientMessage from '@gringlobal-ce/client/model/gringlobal/TransientMe
import { IPageRequest, Page } from '@gringlobal-ce/client/model/page';
const URL_LIST = `/api/v1/admin/alerts`;
const URL_DELETE = UrlTemplate.parse(`/api/v1/admin/alerts/{uuid}`);
const URL_LIST = '/api/v1/admin/alerts';
const URL_DELETE = UrlTemplate.parse('/api/v1/admin/alerts/{uuid}');
/**
* Admin alerts service
......
......@@ -7,14 +7,14 @@ import CodeValueInfo from '@gringlobal-ce/client/model/gringlobal/CodeValueInfo'
import SysLang from '@gringlobal-ce/client/model/gringlobal/SysLang';
import AppSetting from '@gringlobal-ce/client/model/gringlobal/AppSetting';
import { IPageRequest, Page } from '@gringlobal-ce/client/model/page';
import * as QueryString from "query-string";
import * as QueryString from 'query-string';
const URL_CODE_VALUES_LIST = '/api/v1/app/codes';
// const URL_APP_RESOURCES_LIST = UrlTemplate.parse('/api/v1/app/resources/{appName}/{lang}');
const URL_APP_SETTINGS_MINI = '/api/v1/app/settings';
const URL_APP_SETTINGS_GETSETTING = '/api/v1/app/setting'
const URL_APP_SETTINGS_LIST = `/api/v1/app/settings/list`;
const URL_UPDATE_APP_SETTING = `/api/v1/app/settings/set`;
const URL_APP_SETTINGS_LIST = '/api/v1/app/settings/list';
const URL_UPDATE_APP_SETTING = '/api/v1/app/settings/set';
const URL_APP_LANGUAGES_LIST = '/api/v1/app/languages';
const URL_CREATE = '/api/v1/app/settings';
const URL_UPDATE = '/api/v1/app/settings';
......
......@@ -6,13 +6,13 @@ import { AuditLog, AuditLogFilter, AuditLogFilteredPage } from '@gringlobal-ce/c
import { IPageRequest } from '@gringlobal-ce/client/model/page';
const URL_UPDATE = `/api/v1/auditlog`;
const URL_CREATE = `/api/v1/auditlog`;
const URL_LIST = `/api/v1/auditlog/list`;
const URL_FILTER = `/api/v1/auditlog/filter`;
const URL_DELETE = `/api/v1/auditlog/delete`;
const URL_GET = UrlTemplate.parse(`/api/v1/auditlog/{id}`);
const URL_REMOVE = UrlTemplate.parse(`/api/v1/auditlog/{id}`);
const URL_UPDATE = '/api/v1/auditlog';
const URL_CREATE = '/api/v1/auditlog';
const URL_LIST = '/api/v1/auditlog/list';
const URL_FILTER = '/api/v1/auditlog/filter';
const URL_DELETE = '/api/v1/auditlog/delete';
const URL_GET = UrlTemplate.parse('/api/v1/auditlog/{id}');
const URL_REMOVE = UrlTemplate.parse('/api/v1/auditlog/{id}');
/**
* AuditLog service
......
......@@ -5,7 +5,7 @@ import CodeValueLang from '@gringlobal-ce/client/model/gringlobal/CodeValueLang'
import CodeValue from '@gringlobal-ce/client/model/gringlobal/CodeValue';
import TranslatedCodeValue from '@gringlobal-ce/client/model/gringlobal/TranslatedCodeValue';
import ReplaceAndRemove from '@gringlobal-ce/client/model/gringlobal/ReplaceAndRemove';
import CodeValueStats from "@gringlobal-ce/client/model/gringlobal/CodeValueStats";
import CodeValueStats from '@gringlobal-ce/client/model/gringlobal/CodeValueStats';
const URL_GET_TRANSLATED = UrlTemplate.parse('/api/v1/codes/{id}');
......@@ -15,9 +15,9 @@ const URL_CREATE_CODE_VALUE_WITH_LANG = '/api/v1/codes';
const URL_GET_LANGS = UrlTemplate.parse('/api/v1/codes/{id}/langs');
const URL_DELETE_CODE_VALUE_LANG = UrlTemplate.parse('/api/v1/codes/{cvId}/lang/{sysLangId}');
const URL_UPSERT_CODE_VALUE_LANG = UrlTemplate.parse('/api/v1/codes/{codeValueId}/lang/{sysLangId}');
const URL_REPLACE = `/api/v1/codes/replace`;
const URL_REMOVE_MANY = `/api/v1/codes/many`;
const URL_STATS = UrlTemplate.parse(`/api/v1/codes/{groupName}/stats`);
const URL_REPLACE = '/api/v1/codes/replace';
const URL_REMOVE_MANY = '/api/v1/codes/many';
const URL_STATS = UrlTemplate.parse('/api/v1/codes/{groupName}/stats');
/**
......
......@@ -15,9 +15,9 @@ const URL_FILTER = '/api/v1/cooperator/filter';
const URL_LIST = '/api/v1/cooperator/list';
const URL_GET_COOPERATOR = UrlTemplate.parse('/api/v1/cooperator/{id}');
const URL_COOPERATOR_AUDIT_LOGS = UrlTemplate.parse('/api/v1/cooperator/auditlog/{id}');
const URL_GET_SIMILAR_COOPERATOR_FOR_ID = UrlTemplate.parse(`/api/v1/cooperator/similar/{id}`);
const URL_GET_SIMILAR_COOPERATOR_FOR_UNSAVED = `/api/v1/cooperator/similar`;
const URL_SAVE_AS_NEW = `/api/v1/cooperator/save-as-new`;
const URL_GET_SIMILAR_COOPERATOR_FOR_ID = UrlTemplate.parse('/api/v1/cooperator/similar/{id}');
const URL_GET_SIMILAR_COOPERATOR_FOR_UNSAVED = '/api/v1/cooperator/similar';
const URL_SAVE_AS_NEW = '/api/v1/cooperator/save-as-new';
/**
* Cooperator service
......
......@@ -13,8 +13,8 @@ import TaxonomyCropMap from '@gringlobal-ce/client/model/gringlobal/TaxonomyCrop
const URL_REMOVE_FILE = UrlTemplate.parse('/api/v1/crop/attach/{cropId}/{attachmentId}');
const URL_UPLOAD_FILE = UrlTemplate.parse('/api/v1/crop/attach/{cropId}');
const URL_LIST_CROP_SPECIES = UrlTemplate.parse('/api/v1/crop/species/{cropId}');
const URL_ADD_SPECIES = UrlTemplate.parse(`/api/v1/crop/{id}/species`);
const URL_REMOVE_SPECIES = UrlTemplate.parse(`/api/v1/crop/{id}/species`);
const URL_ADD_SPECIES = UrlTemplate.parse('/api/v1/crop/{id}/species');
const URL_REMOVE_SPECIES = UrlTemplate.parse('/api/v1/crop/{id}/species');
const URL_CROP_DETAILS = UrlTemplate.parse('/api/v1/crop/details/{id}');
const URL_GET = UrlTemplate.parse('/api/v1/crop/{id}');
const URL_DELETE_CROP = UrlTemplate.parse('/api/v1/crop/{id}');
......@@ -23,8 +23,8 @@ const URL_CREATE_CROP = '/api/v1/crop';
const URL_LIST_CROPS = '/api/v1/crop/list';
const URL_FILTER_CROPS = '/api/v1/crop/filter';
const URL_AUTOCOMPLETE_CROPS = '/api/v1/crop/autocomplete';
const URL_UPDATE_CROP_ATTACH = `/api/v1/crop/attach/meta`;
const URL_GET_CROP_ATTACH = UrlTemplate.parse(`/api/v1/crop/attach/meta/{id}`);
const URL_UPDATE_CROP_ATTACH = '/api/v1/crop/attach/meta';
const URL_GET_CROP_ATTACH = UrlTemplate.parse('/api/v1/crop/attach/meta/{id}');
/**
......
......@@ -20,23 +20,23 @@ const URL_UPLOAD_FILE = UrlTemplate.parse('/api/v1/crop-trait/attach/{cropTraitI
const URL_GET_TRANSLATED = UrlTemplate.parse('/api/v1/crop-trait/{id}');
const URL_REMOVE = UrlTemplate.parse('/api/v1/crop-trait/{id}');
const URL_DELETE_CROP_TRAIT_CODE = UrlTemplate.parse('/api/v1/crop-trait/code/{id}');
const URL_DELETE_CROP_TRAIT_CODE_LANG = UrlTemplate.parse(`/api/v1/crop-trait/code/{entityId}/lang/{sysLangId}`);
const URL_DELETE_CROP_TRAIT_CODE_LANG = UrlTemplate.parse('/api/v1/crop-trait/code/{entityId}/lang/{sysLangId}');
const URL_UPLOAD_TRAIT_CODE_FILE = UrlTemplate.parse('/api/v1/crop-trait/code/attach/{cropTraitCodeId}');
const URL_REMOVE_TRAIT_CODE_FILE = UrlTemplate.parse('/api/v1/crop-trait/code/attach/{cropTraitCodeId}/{attachmentId}');
const URL_UPDATE_CROP_TRAIT_CODE_ATTACH = `/api/v1/crop-trait/code/attach/meta`;
const URL_GET_CROP_TRAIT_CODE_ATTACH = UrlTemplate.parse(`/api/v1/crop-trait/code/attach/meta/{id}`);
const URL_UPDATE_CROP_TRAIT_CODE_ATTACH = '/api/v1/crop-trait/code/attach/meta';
const URL_GET_CROP_TRAIT_CODE_ATTACH = UrlTemplate.parse('/api/v1/crop-trait/code/attach/meta/{id}');
const URL_REMOVE_FILE = UrlTemplate.parse('/api/v1/crop-trait/attach/{cropTraitId}/{attachmentId}');
const URL_UPDATE_CROP_TRAIT_ATTACH = `/api/v1/crop-trait/attach/meta`;
const URL_GET_CROP_TRAIT_ATTACH = UrlTemplate.parse(`/api/v1/crop-trait/attach/meta/{id}`);
const URL_UPDATE_CROP_TRAIT_ATTACH = '/api/v1/crop-trait/attach/meta';
const URL_GET_CROP_TRAIT_ATTACH = UrlTemplate.parse('/api/v1/crop-trait/attach/meta/{id}');
const URL_UPDATE_CROP_TRAIT_LANG = '/api/v1/crop-trait/lang';
const URL_UPDATE = '/api/v1/crop-trait';
const URL_CREATE = '/api/v1/crop-trait';
const URL_UPDATE_CROP_TRAIT_CODE_LANG = UrlTemplate.parse(`/api/v1/crop-trait/code/{entityId}/lang/{sysLangId}`);
const URL_UPDATE_CROP_TRAIT_CODE_LANG = UrlTemplate.parse('/api/v1/crop-trait/code/{entityId}/lang/{sysLangId}');
const URL_UPDATE_CROP_TRAIT_CODE = '/api/v1/crop-trait/code';
const URL_CREATE_CROP_TRAIT_CODE_WITH_LANG = '/api/v1/crop-trait/code';
const URL_LIST = '/api/v1/crop-trait/list';
const URL_GET_LANGS = UrlTemplate.parse('/api/v1/crop-trait/{cropTraitId}/langs');
const URL_LIST_CODE_LANGS = UrlTemplate.parse(`/api/v1/crop-trait/code/{entityId}/langs`);
const URL_LIST_CODE_LANGS = UrlTemplate.parse('/api/v1/crop-trait/code/{entityId}/langs');
const URL_UPSERT_CROP_TRAIT_LANG = UrlTemplate.parse('/api/v1/crop-trait/{cropTraitId}/lang/{sysLangId}');
const URL_DELETE_CROP_TRAIT_LANG = UrlTemplate.parse('/api/v1/crop-trait/{cropTraitId}/lang/{sysLangId}');
const URL_FILTER_OBSERVATIONS = '/api/v1/crop-trait/observations/list';
......
......@@ -8,11 +8,11 @@ import { IPageRequest } from '@gringlobal-ce/client/model/page';
import UploadProgressData from '@gringlobal-ce/client/model/genesys/UploadProgressData';
import { AccessionFilter } from '@gringlobal-ce/client/model/gringlobal';
const URL_GET_CONFIG = `/api/v1/genesys/config`;
const URL_PUT_CONFIG = `/api/v1/genesys/config`;
const URL_LIST_REQUESTS = `/api/v1/genesys/requests`;
const URL_CONNECT = `/api/v1/genesys/connect`;
const URL_LIST_ACCESSIONS = `/api/v1/genesys/accessions`;
const URL_GET_CONFIG = '/api/v1/genesys/config';
const URL_PUT_CONFIG = '/api/v1/genesys/config';
const URL_LIST_REQUESTS = '/api/v1/genesys/requests';
const URL_CONNECT = '/api/v1/genesys/connect';
const URL_LIST_ACCESSIONS = '/api/v1/genesys/accessions';
const URL_UPLOAD_ACCESSIONS = '/api/v1/genesys/accessions/upload';
const URL_UPLOAD_ACCESSIONS_CANCEL = '/api/v1/genesys/accessions/cancel-upload';
......
......@@ -25,7 +25,7 @@ import InventoryQualityStatusFilter from '@gringlobal-ce/client/model/gringlobal
const URL_UPDATE = '/api/v1/i';
const URL_SET_QUANTITY = '/api/v1/i/quantity';
const URL_AGGREGATE_QUANTITY = `/api/v1/i/aggregate-quantity`;
const URL_AGGREGATE_QUANTITY = '/api/v1/i/aggregate-quantity';
const URL_CREATE = '/api/v1/i';
const URL_LIST = '/api/v1/i/list';
const URL_FILTER = '/api/v1/i/filter';
......@@ -40,18 +40,18 @@ const URL_LIST_MAINT = '/api/v1/i/maintenance/list';
const URL_FILTER_MAINT = '/api/v1/i/maintenance/filter';
const URL_LIST_ACTIONS = '/api/v1/i/action/list';
const URL_SCHEDULE_ACTIONS = '/api/v1/i/action/schedule';
const URL_ACTION_SCHEDULE_OVERVIEW = `/api/v1/i/schedule`;
const URL_LIST_SCHEDULED_ACTIONS = UrlTemplate.parse(`/api/v1/i/action/list/{schedule}`);
const URL_ACTION_SCHEDULE_OVERVIEW = '/api/v1/i/schedule';
const URL_LIST_SCHEDULED_ACTIONS = UrlTemplate.parse('/api/v1/i/action/list/{schedule}');
const URL_START_ACTIONS = '/api/v1/i/action/start';
const URL_UPDATE_ACTION = `/api/v1/i/action`;
const URL_CREATE_ACTION = `/api/v1/i/action`;
const URL_GET_ACTION = UrlTemplate.parse(`/api/v1/i/action/{id}`);
const URL_REMOVE_ACTION = UrlTemplate.parse(`/api/v1/i/action/{id}`);
const URL_UPDATE_ACTION = '/api/v1/i/action';
const URL_CREATE_ACTION = '/api/v1/i/action';
const URL_GET_ACTION = UrlTemplate.parse('/api/v1/i/action/{id}');
const URL_REMOVE_ACTION = UrlTemplate.parse('/api/v1/i/action/{id}');
const URL_COMPLETE_ACTIONS = '/api/v1/i/action/complete';
const URL_REOPEN_ACTIONS = '/api/v1/i/action/reopen';
const URL_GET_DETAILS = UrlTemplate.parse('/api/v1/i/details/{id}');
const URL_DISCARD_MATERIAL = `/api/v1/i/discard-material`;
const URL_ASSIGN_BARCODE = UrlTemplate.parse(`/api/v1/i/{id}/barcode`);
const URL_DISCARD_MATERIAL = '/api/v1/i/discard-material';
const URL_ASSIGN_BARCODE = UrlTemplate.parse('/api/v1/i/{id}/barcode');
const URL_UPDATE_GROUP = '/api/v1/i/group';
const URL_CREATE_GROUP = '/api/v1/i/group';
......@@ -65,19 +65,19 @@ const URL_ADD_INVENTORIES = UrlTemplate.parse('/api/v1/i/group/{id}/add-inventor
const URL_OVERVIEW = UrlTemplate.parse('/api/v1/i/overview/{groupBy}');
const URL_UPLOAD_FILE = UrlTemplate.parse('/api/v1/i/attach/{inventoryId}');
const URL_REMOVE_FILE = UrlTemplate.parse('/api/v1/i/attach/{inventoryId}/{attachmentId}');
const URL_UPDATE_ACCESSION_INV_ATTACH = `/api/v1/i/attach/meta`;
const URL_GET_ACCESSION_INV_ATTACH = UrlTemplate.parse(`/api/v1/i/attach/meta/{id}`);
const URL_UPDATE_QUANTITY = `/api/v1/i/quality`;
const URL_CREATE_QUANTITY = `/api/v1/i/quality`;
const URL_UPSERT_QUANTITY_MANY = `/api/v1/i/quality/upsert`;
const URL_UPDATE_QUANTITY_MANY = `/api/v1/i/quality/many`;
const URL_CREATE_QUANTITY_MANY = `/api/v1/i/quality/many`;
const URL_REMOVE_QUANTITY_MANY = `/api/v1/i/quality/many`;
const URL_LIST_QUANTITY = `/api/v1/i/quality/list`;
const URL_FILTER_QUANTITY = `/api/v1/i/quality/filter`;
const URL_GET_QUANTITY = UrlTemplate.parse(`/api/v1/i/quality/{id}`);
const URL_REMOVE_QUANTITY = UrlTemplate.parse(`/api/v1/i/quality/{id}`);
const URL_UPDATE_ACCESSION_INV_ATTACH = '/api/v1/i/attach/meta';
const URL_GET_ACCESSION_INV_ATTACH = UrlTemplate.parse('/api/v1/i/attach/meta/{id}');
const URL_UPDATE_QUANTITY = '/api/v1/i/quality';
const URL_CREATE_QUANTITY = '/api/v1/i/quality';
const URL_UPSERT_QUANTITY_MANY = '/api/v1/i/quality/upsert';
const URL_UPDATE_QUANTITY_MANY = '/api/v1/i/quality/many';
const URL_CREATE_QUANTITY_MANY = '/api/v1/i/quality/many';
const URL_REMOVE_QUANTITY_MANY = '/api/v1/i/quality/many';
const URL_LIST_QUANTITY = '/api/v1/i/quality/list';
const URL_FILTER_QUANTITY = '/api/v1/i/quality/filter';
const URL_GET_QUANTITY = UrlTemplate.parse('/api/v1/i/quality/{id}');
const URL_REMOVE_QUANTITY = UrlTemplate.parse('/api/v1/i/quality/{id}');
/**
* Inventory service
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment