@tagsamurai/fats-api-services 1.0.0-alpha.264 → 1.0.0-alpha.265

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.
@@ -1404,6 +1404,10 @@ const AccountingServices = {
1404
1404
  getDepreciationGroupDropdown: () => {
1405
1405
  return DepreciationGroupAPI.get("/dropdown");
1406
1406
  },
1407
+ //https://dev-api.tagsamurai.com/settings-attribute-go/v2/account-code/dropdown
1408
+ getAccountDropdown: () => {
1409
+ return AccountCodeAPI.get("/dropdown");
1410
+ },
1407
1411
  // Depreciation Method API Services
1408
1412
  getDepreciationMethod: () => {
1409
1413
  return DepreciationMethodAPI.get("");
@@ -1411,6 +1411,10 @@ System.register(["axios"], function(exports, module) {
1411
1411
  getDepreciationGroupDropdown: () => {
1412
1412
  return DepreciationGroupAPI.get("/dropdown");
1413
1413
  },
1414
+ //https://dev-api.tagsamurai.com/settings-attribute-go/v2/account-code/dropdown
1415
+ getAccountDropdown: () => {
1416
+ return AccountCodeAPI.get("/dropdown");
1417
+ },
1414
1418
  // Depreciation Method API Services
1415
1419
  getDepreciationMethod: () => {
1416
1420
  return DepreciationMethodAPI.get("");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagsamurai/fats-api-services",
3
- "version": "1.0.0-alpha.264",
3
+ "version": "1.0.0-alpha.265",
4
4
  "author": "developer.tagsamurai",
5
5
  "description": "Fixed Asset Tag Samurai Services Library",
6
6
  "module": "./api-services.es.js",
@@ -2,10 +2,11 @@ import { AxiosResponse } from 'axios';
2
2
  import { PostAccountCode } from '../dto/accountCode.dto';
3
3
  import { GetDepreciactionListParams, GetDepreciactionOptionParams, PostDepreciationGroup } from '../dto/depreciationData.dto';
4
4
  import { TableParams } from '../types/dataTable.type';
5
- import { DeprecitationGroupDropdown } from '../types/accountCode.type';
5
+ import { AccountCodeDropdown, DeprecitationGroupDropdown } from '../types/accountCode.type';
6
6
  import { ShortFetchListResponse } from '../types/fetchResponse.type';
7
7
  declare const AccountingServices: {
8
8
  getDepreciationGroupDropdown: () => Promise<AxiosResponse<ShortFetchListResponse<DeprecitationGroupDropdown>>>;
9
+ getAccountDropdown: () => Promise<AxiosResponse<ShortFetchListResponse<AccountCodeDropdown>>>;
9
10
  getDepreciationMethod: () => Promise<AxiosResponse>;
10
11
  changeDepreciationMethod: (body: string) => Promise<AxiosResponse>;
11
12
  cancelChangeDepreciationMethod: () => Promise<AxiosResponse>;
@@ -9,3 +9,4 @@ export interface DeprecitationGroupDropdown {
9
9
  _id: string;
10
10
  name: string;
11
11
  }
12
+ export type AccountCodeDropdown = DeprecitationGroupDropdown;