bexio 3.8.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/lib/index.d.mts +2908 -0
  2. package/lib/index.d.ts +2879 -55
  3. package/lib/index.js +2045 -100
  4. package/lib/index.js.map +1 -1
  5. package/lib/index.mjs +1990 -0
  6. package/lib/index.mjs.map +1 -0
  7. package/package.json +20 -4
  8. package/lib/interfaces/AccountsStatic.d.ts +0 -14
  9. package/lib/interfaces/AccountsStatic.js +0 -3
  10. package/lib/interfaces/AccountsStatic.js.map +0 -1
  11. package/lib/interfaces/BankAccountsStatic.d.ts +0 -25
  12. package/lib/interfaces/BankAccountsStatic.js +0 -3
  13. package/lib/interfaces/BankAccountsStatic.js.map +0 -1
  14. package/lib/interfaces/BaseStatic.d.ts +0 -20
  15. package/lib/interfaces/BaseStatic.js +0 -3
  16. package/lib/interfaces/BaseStatic.js.map +0 -1
  17. package/lib/interfaces/BillsStatic.d.ts +0 -167
  18. package/lib/interfaces/BillsStatic.js +0 -25
  19. package/lib/interfaces/BillsStatic.js.map +0 -1
  20. package/lib/interfaces/BillsV4Static.d.ts +0 -204
  21. package/lib/interfaces/BillsV4Static.js +0 -60
  22. package/lib/interfaces/BillsV4Static.js.map +0 -1
  23. package/lib/interfaces/BusinessActivitiesStatic.d.ts +0 -24
  24. package/lib/interfaces/BusinessActivitiesStatic.js +0 -11
  25. package/lib/interfaces/BusinessActivitiesStatic.js.map +0 -1
  26. package/lib/interfaces/CalendarStatic.d.ts +0 -30
  27. package/lib/interfaces/CalendarStatic.js +0 -18
  28. package/lib/interfaces/CalendarStatic.js.map +0 -1
  29. package/lib/interfaces/ContactGroupsStatic.d.ts +0 -12
  30. package/lib/interfaces/ContactGroupsStatic.js +0 -11
  31. package/lib/interfaces/ContactGroupsStatic.js.map +0 -1
  32. package/lib/interfaces/ContactRelationsStatic.d.ts +0 -24
  33. package/lib/interfaces/ContactRelationsStatic.js +0 -13
  34. package/lib/interfaces/ContactRelationsStatic.js.map +0 -1
  35. package/lib/interfaces/ContactSectorsStatic.d.ts +0 -9
  36. package/lib/interfaces/ContactSectorsStatic.js +0 -11
  37. package/lib/interfaces/ContactSectorsStatic.js.map +0 -1
  38. package/lib/interfaces/ContactTypesStatic.d.ts +0 -9
  39. package/lib/interfaces/ContactTypesStatic.js +0 -11
  40. package/lib/interfaces/ContactTypesStatic.js.map +0 -1
  41. package/lib/interfaces/ContactsStatic.d.ts +0 -118
  42. package/lib/interfaces/ContactsStatic.js +0 -27
  43. package/lib/interfaces/ContactsStatic.js.map +0 -1
  44. package/lib/interfaces/CurrenciesStatic.d.ts +0 -20
  45. package/lib/interfaces/CurrenciesStatic.js +0 -3
  46. package/lib/interfaces/CurrenciesStatic.js.map +0 -1
  47. package/lib/interfaces/ExpensesStatic.d.ts +0 -83
  48. package/lib/interfaces/ExpensesStatic.js +0 -25
  49. package/lib/interfaces/ExpensesStatic.js.map +0 -1
  50. package/lib/interfaces/InvoicesStatic.d.ts +0 -162
  51. package/lib/interfaces/InvoicesStatic.js +0 -46
  52. package/lib/interfaces/InvoicesStatic.js.map +0 -1
  53. package/lib/interfaces/ItemsStatic.d.ts +0 -120
  54. package/lib/interfaces/ItemsStatic.js +0 -47
  55. package/lib/interfaces/ItemsStatic.js.map +0 -1
  56. package/lib/interfaces/ManualEntriesStatic.d.ts +0 -42
  57. package/lib/interfaces/ManualEntriesStatic.js +0 -3
  58. package/lib/interfaces/ManualEntriesStatic.js.map +0 -1
  59. package/lib/interfaces/NotesStatic.d.ts +0 -23
  60. package/lib/interfaces/NotesStatic.js +0 -16
  61. package/lib/interfaces/NotesStatic.js.map +0 -1
  62. package/lib/interfaces/OrdersStatic.d.ts +0 -117
  63. package/lib/interfaces/OrdersStatic.js +0 -25
  64. package/lib/interfaces/OrdersStatic.js.map +0 -1
  65. package/lib/interfaces/OutgoingPaymentsStatic.d.ts +0 -142
  66. package/lib/interfaces/OutgoingPaymentsStatic.js +0 -39
  67. package/lib/interfaces/OutgoingPaymentsStatic.js.map +0 -1
  68. package/lib/interfaces/PaymentsStatic.d.ts +0 -22
  69. package/lib/interfaces/PaymentsStatic.js +0 -3
  70. package/lib/interfaces/PaymentsStatic.js.map +0 -1
  71. package/lib/interfaces/PositionStatic.d.ts +0 -35
  72. package/lib/interfaces/PositionStatic.js +0 -3
  73. package/lib/interfaces/PositionStatic.js.map +0 -1
  74. package/lib/interfaces/PositionsStatic.d.ts +0 -46
  75. package/lib/interfaces/PositionsStatic.js +0 -3
  76. package/lib/interfaces/PositionsStatic.js.map +0 -1
  77. package/lib/interfaces/ProjectStatusesStatic.d.ts +0 -9
  78. package/lib/interfaces/ProjectStatusesStatic.js +0 -11
  79. package/lib/interfaces/ProjectStatusesStatic.js.map +0 -1
  80. package/lib/interfaces/ProjectTypesStatic.d.ts +0 -9
  81. package/lib/interfaces/ProjectTypesStatic.js +0 -11
  82. package/lib/interfaces/ProjectTypesStatic.js.map +0 -1
  83. package/lib/interfaces/ProjectsStatic.d.ts +0 -55
  84. package/lib/interfaces/ProjectsStatic.js +0 -13
  85. package/lib/interfaces/ProjectsStatic.js.map +0 -1
  86. package/lib/interfaces/SalesOrderManagementStatic.d.ts +0 -289
  87. package/lib/interfaces/SalesOrderManagementStatic.js +0 -69
  88. package/lib/interfaces/SalesOrderManagementStatic.js.map +0 -1
  89. package/lib/interfaces/TaxesStatic.d.ts +0 -31
  90. package/lib/interfaces/TaxesStatic.js +0 -3
  91. package/lib/interfaces/TaxesStatic.js.map +0 -1
  92. package/lib/interfaces/TimetrackingStatusesStatic.d.ts +0 -9
  93. package/lib/interfaces/TimetrackingStatusesStatic.js +0 -11
  94. package/lib/interfaces/TimetrackingStatusesStatic.js.map +0 -1
  95. package/lib/interfaces/TimetrackingsStatic.d.ts +0 -69
  96. package/lib/interfaces/TimetrackingsStatic.js +0 -16
  97. package/lib/interfaces/TimetrackingsStatic.js.map +0 -1
  98. package/lib/interfaces/UsersStatic.d.ts +0 -23
  99. package/lib/interfaces/UsersStatic.js +0 -15
  100. package/lib/interfaces/UsersStatic.js.map +0 -1
  101. package/lib/resources/Accounts.d.ts +0 -49
  102. package/lib/resources/Accounts.js +0 -85
  103. package/lib/resources/Accounts.js.map +0 -1
  104. package/lib/resources/BankAccounts.d.ts +0 -49
  105. package/lib/resources/BankAccounts.js +0 -85
  106. package/lib/resources/BankAccounts.js.map +0 -1
  107. package/lib/resources/BaseCrud.d.ts +0 -89
  108. package/lib/resources/BaseCrud.js +0 -181
  109. package/lib/resources/BaseCrud.js.map +0 -1
  110. package/lib/resources/Bills.d.ts +0 -67
  111. package/lib/resources/Bills.js +0 -107
  112. package/lib/resources/Bills.js.map +0 -1
  113. package/lib/resources/BillsV4.d.ts +0 -52
  114. package/lib/resources/BillsV4.js +0 -86
  115. package/lib/resources/BillsV4.js.map +0 -1
  116. package/lib/resources/BusinessActivities.d.ts +0 -5
  117. package/lib/resources/BusinessActivities.js +0 -13
  118. package/lib/resources/BusinessActivities.js.map +0 -1
  119. package/lib/resources/ContactGroups.d.ts +0 -13
  120. package/lib/resources/ContactGroups.js +0 -34
  121. package/lib/resources/ContactGroups.js.map +0 -1
  122. package/lib/resources/ContactRelations.d.ts +0 -5
  123. package/lib/resources/ContactRelations.js +0 -13
  124. package/lib/resources/ContactRelations.js.map +0 -1
  125. package/lib/resources/ContactSectors.d.ts +0 -39
  126. package/lib/resources/ContactSectors.js +0 -72
  127. package/lib/resources/ContactSectors.js.map +0 -1
  128. package/lib/resources/ContactTypes.d.ts +0 -39
  129. package/lib/resources/ContactTypes.js +0 -72
  130. package/lib/resources/ContactTypes.js.map +0 -1
  131. package/lib/resources/Contacts.d.ts +0 -5
  132. package/lib/resources/Contacts.js +0 -13
  133. package/lib/resources/Contacts.js.map +0 -1
  134. package/lib/resources/Currencies.d.ts +0 -33
  135. package/lib/resources/Currencies.js +0 -61
  136. package/lib/resources/Currencies.js.map +0 -1
  137. package/lib/resources/DefaultPositions.d.ts +0 -33
  138. package/lib/resources/DefaultPositions.js +0 -61
  139. package/lib/resources/DefaultPositions.js.map +0 -1
  140. package/lib/resources/Expenses.d.ts +0 -5
  141. package/lib/resources/Expenses.js +0 -13
  142. package/lib/resources/Expenses.js.map +0 -1
  143. package/lib/resources/Invoices.d.ts +0 -113
  144. package/lib/resources/Invoices.js +0 -189
  145. package/lib/resources/Invoices.js.map +0 -1
  146. package/lib/resources/ItemPositions.d.ts +0 -33
  147. package/lib/resources/ItemPositions.js +0 -61
  148. package/lib/resources/ItemPositions.js.map +0 -1
  149. package/lib/resources/Items.d.ts +0 -5
  150. package/lib/resources/Items.js +0 -13
  151. package/lib/resources/Items.js.map +0 -1
  152. package/lib/resources/ManualEntries.d.ts +0 -50
  153. package/lib/resources/ManualEntries.js +0 -84
  154. package/lib/resources/ManualEntries.js.map +0 -1
  155. package/lib/resources/Orders.d.ts +0 -33
  156. package/lib/resources/Orders.js +0 -64
  157. package/lib/resources/Orders.js.map +0 -1
  158. package/lib/resources/OutgoingPayments.d.ts +0 -63
  159. package/lib/resources/OutgoingPayments.js +0 -117
  160. package/lib/resources/OutgoingPayments.js.map +0 -1
  161. package/lib/resources/Payments.d.ts +0 -36
  162. package/lib/resources/Payments.js +0 -64
  163. package/lib/resources/Payments.js.map +0 -1
  164. package/lib/resources/ProjectStatuses.d.ts +0 -39
  165. package/lib/resources/ProjectStatuses.js +0 -72
  166. package/lib/resources/ProjectStatuses.js.map +0 -1
  167. package/lib/resources/ProjectTypes.d.ts +0 -39
  168. package/lib/resources/ProjectTypes.js +0 -72
  169. package/lib/resources/ProjectTypes.js.map +0 -1
  170. package/lib/resources/Projects.d.ts +0 -5
  171. package/lib/resources/Projects.js +0 -13
  172. package/lib/resources/Projects.js.map +0 -1
  173. package/lib/resources/Taxes.d.ts +0 -30
  174. package/lib/resources/Taxes.js +0 -70
  175. package/lib/resources/Taxes.js.map +0 -1
  176. package/lib/resources/TextPositions.d.ts +0 -33
  177. package/lib/resources/TextPositions.js +0 -61
  178. package/lib/resources/TextPositions.js.map +0 -1
  179. package/lib/resources/TimetrackingStatuses.d.ts +0 -39
  180. package/lib/resources/TimetrackingStatuses.js +0 -72
  181. package/lib/resources/TimetrackingStatuses.js.map +0 -1
  182. package/lib/resources/Timetrackings.d.ts +0 -14
  183. package/lib/resources/Timetrackings.js +0 -35
  184. package/lib/resources/Timetrackings.js.map +0 -1
  185. package/lib/resources/Users.d.ts +0 -39
  186. package/lib/resources/Users.js +0 -72
  187. package/lib/resources/Users.js.map +0 -1
  188. package/lib/tests/Accounts.test.d.ts +0 -1
  189. package/lib/tests/Accounts.test.js +0 -86
  190. package/lib/tests/Accounts.test.js.map +0 -1
  191. package/lib/tests/BankAccounts.test.d.ts +0 -1
  192. package/lib/tests/BankAccounts.test.js +0 -86
  193. package/lib/tests/BankAccounts.test.js.map +0 -1
  194. package/lib/tests/BaseCrud.test.d.ts +0 -1
  195. package/lib/tests/BaseCrud.test.js +0 -302
  196. package/lib/tests/BaseCrud.test.js.map +0 -1
  197. package/lib/tests/Bills.test.d.ts +0 -1
  198. package/lib/tests/Bills.test.js +0 -110
  199. package/lib/tests/Bills.test.js.map +0 -1
  200. package/lib/tests/BillsV4.test.d.ts +0 -1
  201. package/lib/tests/BillsV4.test.js +0 -134
  202. package/lib/tests/BillsV4.test.js.map +0 -1
  203. package/lib/tests/BusinessActivities.test.d.ts +0 -1
  204. package/lib/tests/BusinessActivities.test.js +0 -21
  205. package/lib/tests/BusinessActivities.test.js.map +0 -1
  206. package/lib/tests/ContactGroups.test.d.ts +0 -1
  207. package/lib/tests/ContactGroups.test.js +0 -21
  208. package/lib/tests/ContactGroups.test.js.map +0 -1
  209. package/lib/tests/ContactRelations.test.d.ts +0 -1
  210. package/lib/tests/ContactRelations.test.js +0 -21
  211. package/lib/tests/ContactRelations.test.js.map +0 -1
  212. package/lib/tests/ContactSectors.test.d.ts +0 -1
  213. package/lib/tests/ContactSectors.test.js +0 -21
  214. package/lib/tests/ContactSectors.test.js.map +0 -1
  215. package/lib/tests/ContactTypes.test.d.ts +0 -1
  216. package/lib/tests/ContactTypes.test.js +0 -21
  217. package/lib/tests/ContactTypes.test.js.map +0 -1
  218. package/lib/tests/Contacts.test.d.ts +0 -1
  219. package/lib/tests/Contacts.test.js +0 -21
  220. package/lib/tests/Contacts.test.js.map +0 -1
  221. package/lib/tests/Currencies.test.d.ts +0 -1
  222. package/lib/tests/Currencies.test.js +0 -21
  223. package/lib/tests/Currencies.test.js.map +0 -1
  224. package/lib/tests/DefaultPositions.test.d.ts +0 -1
  225. package/lib/tests/DefaultPositions.test.js +0 -22
  226. package/lib/tests/DefaultPositions.test.js.map +0 -1
  227. package/lib/tests/Expenses.test.d.ts +0 -1
  228. package/lib/tests/Expenses.test.js +0 -21
  229. package/lib/tests/Expenses.test.js.map +0 -1
  230. package/lib/tests/Invoices.test.d.ts +0 -1
  231. package/lib/tests/Invoices.test.js +0 -207
  232. package/lib/tests/Invoices.test.js.map +0 -1
  233. package/lib/tests/ItemPositions.test.d.ts +0 -1
  234. package/lib/tests/ItemPositions.test.js +0 -22
  235. package/lib/tests/ItemPositions.test.js.map +0 -1
  236. package/lib/tests/Items.test.d.ts +0 -1
  237. package/lib/tests/Items.test.js +0 -21
  238. package/lib/tests/Items.test.js.map +0 -1
  239. package/lib/tests/ManualEntries.test.d.ts +0 -1
  240. package/lib/tests/ManualEntries.test.js +0 -116
  241. package/lib/tests/ManualEntries.test.js.map +0 -1
  242. package/lib/tests/Orders.test.d.ts +0 -1
  243. package/lib/tests/Orders.test.js +0 -137
  244. package/lib/tests/Orders.test.js.map +0 -1
  245. package/lib/tests/OutgoingPayments.test.d.ts +0 -1
  246. package/lib/tests/OutgoingPayments.test.js +0 -125
  247. package/lib/tests/OutgoingPayments.test.js.map +0 -1
  248. package/lib/tests/Payments.test.d.ts +0 -1
  249. package/lib/tests/Payments.test.js +0 -22
  250. package/lib/tests/Payments.test.js.map +0 -1
  251. package/lib/tests/ProjectStatuses.test.d.ts +0 -1
  252. package/lib/tests/ProjectStatuses.test.js +0 -21
  253. package/lib/tests/ProjectStatuses.test.js.map +0 -1
  254. package/lib/tests/ProjectTypes.test.d.ts +0 -1
  255. package/lib/tests/ProjectTypes.test.js +0 -21
  256. package/lib/tests/ProjectTypes.test.js.map +0 -1
  257. package/lib/tests/Projects.test.d.ts +0 -1
  258. package/lib/tests/Projects.test.js +0 -21
  259. package/lib/tests/Projects.test.js.map +0 -1
  260. package/lib/tests/Taxes.test.d.ts +0 -1
  261. package/lib/tests/Taxes.test.js +0 -107
  262. package/lib/tests/Taxes.test.js.map +0 -1
  263. package/lib/tests/TextPositions.test.d.ts +0 -1
  264. package/lib/tests/TextPositions.test.js +0 -22
  265. package/lib/tests/TextPositions.test.js.map +0 -1
  266. package/lib/tests/TimetrackingStatuses.test.d.ts +0 -1
  267. package/lib/tests/TimetrackingStatuses.test.js +0 -21
  268. package/lib/tests/TimetrackingStatuses.test.js.map +0 -1
  269. package/lib/tests/Timetrackings.test.d.ts +0 -1
  270. package/lib/tests/Timetrackings.test.js +0 -21
  271. package/lib/tests/Timetrackings.test.js.map +0 -1
  272. package/lib/tests/Users.test.d.ts +0 -1
  273. package/lib/tests/Users.test.js +0 -21
  274. package/lib/tests/Users.test.js.map +0 -1
@@ -1,39 +0,0 @@
1
- import { ProjectTypesStatic } from "../interfaces/ProjectTypesStatic";
2
- import BaseCrud from "./BaseCrud";
3
- export default class ProjectTypes extends BaseCrud<ProjectTypesStatic.ProjectType, ProjectTypesStatic.ProjectType, ProjectTypesStatic.ProjectType, ProjectTypesStatic.ProjectTypeSearchParameters, {}, ProjectTypesStatic.ProjectType> {
4
- constructor(apiToken: string);
5
- /**
6
- * Not implemented by Bexio yet
7
- *
8
- * @param {{}} ressource
9
- * @returns {Promise<ProjectTypesStatic.ProjectType>}
10
- * @memberof ProjectTypes
11
- */
12
- create(ressource: {}): Promise<ProjectTypesStatic.ProjectType>;
13
- /**
14
- * Not implemented by Bexio yet
15
- *
16
- * @param {number} id
17
- * @param {{}} ressource
18
- * @returns {Promise<ProjectTypesStatic.ProjectType>}
19
- * @memberof ProjectTypes
20
- */
21
- edit(id: number, ressource: {}): Promise<ProjectTypesStatic.ProjectType>;
22
- /**
23
- * Not implemented by Bexio yet
24
- *
25
- * @param {number} id
26
- * @param {{}} ressource
27
- * @returns {Promise<ProjectTypesStatic.ProjectType>}
28
- * @memberof ProjectTypes
29
- */
30
- overwrite(id: number, ressource: {}): Promise<ProjectTypesStatic.ProjectType>;
31
- /**
32
- * Not implemented by Bexio yet
33
- *
34
- * @param {number} id
35
- * @returns {Promise<boolean>}
36
- * @memberof ProjectTypes
37
- */
38
- delete(id: number): Promise<boolean>;
39
- }
@@ -1,72 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const BaseCrud_1 = __importDefault(require("./BaseCrud"));
16
- class ProjectTypes extends BaseCrud_1.default {
17
- constructor(apiToken) {
18
- super(apiToken, "/2.0/pr_project_type");
19
- }
20
- /**
21
- * Not implemented by Bexio yet
22
- *
23
- * @param {{}} ressource
24
- * @returns {Promise<ProjectTypesStatic.ProjectType>}
25
- * @memberof ProjectTypes
26
- */
27
- create(ressource) {
28
- return __awaiter(this, void 0, void 0, function* () {
29
- throw new Error("not implemented by Bexio yet");
30
- });
31
- }
32
- /**
33
- * Not implemented by Bexio yet
34
- *
35
- * @param {number} id
36
- * @param {{}} ressource
37
- * @returns {Promise<ProjectTypesStatic.ProjectType>}
38
- * @memberof ProjectTypes
39
- */
40
- edit(id, ressource) {
41
- return __awaiter(this, void 0, void 0, function* () {
42
- throw new Error("not implemented by Bexio yet");
43
- });
44
- }
45
- /**
46
- * Not implemented by Bexio yet
47
- *
48
- * @param {number} id
49
- * @param {{}} ressource
50
- * @returns {Promise<ProjectTypesStatic.ProjectType>}
51
- * @memberof ProjectTypes
52
- */
53
- overwrite(id, ressource) {
54
- return __awaiter(this, void 0, void 0, function* () {
55
- throw new Error("not implemented by Bexio yet");
56
- });
57
- }
58
- /**
59
- * Not implemented by Bexio yet
60
- *
61
- * @param {number} id
62
- * @returns {Promise<boolean>}
63
- * @memberof ProjectTypes
64
- */
65
- delete(id) {
66
- return __awaiter(this, void 0, void 0, function* () {
67
- throw new Error("not implemented by Bexio yet");
68
- });
69
- }
70
- }
71
- exports.default = ProjectTypes;
72
- //# sourceMappingURL=ProjectTypes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProjectTypes.js","sourceRoot":"","sources":["../../src/resources/ProjectTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,0DAAkC;AAElC,MAAqB,YAAa,SAAQ,kBAOzC;IACC,YAAY,QAAgB;QAC1B,KAAK,CAAC,QAAQ,EAAE,sBAAsB,CAAC,CAAC;IAC1C,CAAC;IAED;;;;;;OAMG;IACU,MAAM,CAAC,SAAa;;YAC/B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;;OAOG;IACU,IAAI,CACf,EAAU,EACV,SAAa;;YAEb,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;;OAOG;IACU,SAAS,CACpB,EAAU,EACV,SAAa;;YAEb,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;OAMG;IACU,MAAM,CAAC,EAAU;;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;CACF;AA/DD,+BA+DC"}
@@ -1,5 +0,0 @@
1
- import { ProjectsStatic } from "../interfaces/ProjectsStatic";
2
- import BaseCrud from "./BaseCrud";
3
- export default class Projects extends BaseCrud<ProjectsStatic.Project, ProjectsStatic.Project, ProjectsStatic.Project, ProjectsStatic.ProjectSearchParameters, ProjectsStatic.ProjectCreate, ProjectsStatic.ProjectOverwrite> {
4
- constructor(apiToken: string);
5
- }
@@ -1,13 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const BaseCrud_1 = __importDefault(require("./BaseCrud"));
7
- class Projects extends BaseCrud_1.default {
8
- constructor(apiToken) {
9
- super(apiToken, "/2.0/pr_project");
10
- }
11
- }
12
- exports.default = Projects;
13
- //# sourceMappingURL=Projects.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Projects.js","sourceRoot":"","sources":["../../src/resources/Projects.ts"],"names":[],"mappings":";;;;;AACA,0DAAkC;AAElC,MAAqB,QAAS,SAAQ,kBAOrC;IACC,YAAY,QAAgB;QAC1B,KAAK,CAAC,QAAQ,EAAE,iBAAiB,CAAC,CAAC;IACrC,CAAC;CACF;AAXD,2BAWC"}
@@ -1,30 +0,0 @@
1
- import { TaxesStatic } from '../interfaces/TaxesStatic';
2
- import BaseCrud from './BaseCrud';
3
- export default class Taxes extends BaseCrud<TaxesStatic.Tax, TaxesStatic.Tax, TaxesStatic.Tax, TaxesStatic.TaxOptions, any, any> {
4
- constructor(accessToken: string);
5
- /**
6
- * Lists the taxes
7
- *
8
- * @param {TaxesStatic.TaxOptions} [options]
9
- * @returns {Promise<TaxesStatic.Tax[]>}
10
- * @memberof Taxes
11
- */
12
- list(options?: TaxesStatic.TaxOptions): Promise<TaxesStatic.Tax[]>;
13
- /**
14
- * Search for taxes is not implemented in the API.
15
- * Use list() with parameters instead.
16
- */
17
- search(): Promise<TaxesStatic.Tax[]>;
18
- /**
19
- * Create a tax is not implemented in the API.
20
- */
21
- create(): Promise<TaxesStatic.Tax>;
22
- /**
23
- * Overwrite a tax is not implemented in the API.
24
- */
25
- overwrite(): Promise<TaxesStatic.Tax>;
26
- /**
27
- * Edit a tax is not implemented in the API.
28
- */
29
- edit(): Promise<TaxesStatic.Tax>;
30
- }
@@ -1,70 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const BaseCrud_1 = __importDefault(require("./BaseCrud"));
16
- class Taxes extends BaseCrud_1.default {
17
- constructor(accessToken) {
18
- super(accessToken, '/3.0/taxes');
19
- }
20
- /**
21
- * Lists the taxes
22
- *
23
- * @param {TaxesStatic.TaxOptions} [options]
24
- * @returns {Promise<TaxesStatic.Tax[]>}
25
- * @memberof Taxes
26
- */
27
- list(options) {
28
- const _super = Object.create(null, {
29
- list: { get: () => super.list }
30
- });
31
- return __awaiter(this, void 0, void 0, function* () {
32
- return _super.list.call(this, options);
33
- });
34
- }
35
- /**
36
- * Search for taxes is not implemented in the API.
37
- * Use list() with parameters instead.
38
- */
39
- search() {
40
- return __awaiter(this, void 0, void 0, function* () {
41
- throw new Error('Method not implemented.');
42
- });
43
- }
44
- /**
45
- * Create a tax is not implemented in the API.
46
- */
47
- create() {
48
- return __awaiter(this, void 0, void 0, function* () {
49
- throw new Error('Method not implemented.');
50
- });
51
- }
52
- /**
53
- * Overwrite a tax is not implemented in the API.
54
- */
55
- overwrite() {
56
- return __awaiter(this, void 0, void 0, function* () {
57
- throw new Error('Method not implemented.');
58
- });
59
- }
60
- /**
61
- * Edit a tax is not implemented in the API.
62
- */
63
- edit() {
64
- return __awaiter(this, void 0, void 0, function* () {
65
- throw new Error('Method not implemented.');
66
- });
67
- }
68
- }
69
- exports.default = Taxes;
70
- //# sourceMappingURL=Taxes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Taxes.js","sourceRoot":"","sources":["../../src/resources/Taxes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,0DAAkC;AAElC,MAAqB,KAAM,SAAQ,kBAOlC;IACC,YAAY,WAAmB;QAC7B,KAAK,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;IACnC,CAAC;IAED;;;;;;OAMG;IACmB,IAAI,CAAC,OAAgC;;;;;YACzD,OAAO,OAAM,IAAI,YAAC,OAAO,EAAE;QAC7B,CAAC;KAAA;IAED;;;OAGG;IACmB,MAAM;;YAC1B,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC7C,CAAC;KAAA;IAED;;OAEG;IACmB,MAAM;;YAC1B,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC7C,CAAC;KAAA;IAED;;OAEG;IACmB,SAAS;;YAC7B,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC7C,CAAC;KAAA;IAED;;OAEG;IACmB,IAAI;;YACxB,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC7C,CAAC;KAAA;CACF;AAnDD,wBAmDC"}
@@ -1,33 +0,0 @@
1
- import BaseCrud from "./BaseCrud";
2
- import { PositionsStatic } from "../interfaces/PositionsStatic";
3
- import { BaseStatic } from "../interfaces/BaseStatic";
4
- export default class TextPositions extends BaseCrud<PositionsStatic.TextPosition, PositionsStatic.TextPosition, {}, {}, PositionsStatic.TextPositionCreate, {}> {
5
- constructor(apiToken: string, documentType: PositionsStatic.KbDocumentType, documentId: number);
6
- /**
7
- * Not implemented by Bexio yet
8
- *
9
- * @param {Array<BaseStatic.SearchParameter<{}>>} searchOptions
10
- * @param {BaseStatic.BaseOptions} [options]
11
- * @returns {Promise<Array<{}>>}
12
- * @memberof TextPositions
13
- */
14
- search(searchOptions: Array<BaseStatic.SearchParameter<{}>>, options?: BaseStatic.BaseOptions): Promise<Array<{}>>;
15
- /**
16
- * Not implemented by Bexio yet
17
- *
18
- * @param {number} id
19
- * @param {{}} ressource
20
- * @returns {Promise<PositionsStatic.TextPosition>}
21
- * @memberof TextPositions
22
- */
23
- overwrite(id: number, ressource: {}): Promise<PositionsStatic.TextPosition>;
24
- /**
25
- * Not implemented by Bexio yet
26
- *
27
- * @param {number} id
28
- * @param {Partial<{}>} ressource
29
- * @returns {Promise<PositionsStatic.TextPosition>}
30
- * @memberof TextPositions
31
- */
32
- edit(id: number, ressource: Partial<{}>): Promise<PositionsStatic.TextPosition>;
33
- }
@@ -1,61 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const BaseCrud_1 = __importDefault(require("./BaseCrud"));
16
- class TextPositions extends BaseCrud_1.default {
17
- constructor(apiToken, documentType, documentId) {
18
- super(apiToken, `/2.0/${documentType}/${documentId}/kb_position_text`);
19
- }
20
- /**
21
- * Not implemented by Bexio yet
22
- *
23
- * @param {Array<BaseStatic.SearchParameter<{}>>} searchOptions
24
- * @param {BaseStatic.BaseOptions} [options]
25
- * @returns {Promise<Array<{}>>}
26
- * @memberof TextPositions
27
- */
28
- search(searchOptions, options) {
29
- return __awaiter(this, void 0, void 0, function* () {
30
- throw new Error("not implemented by Bexio yet");
31
- });
32
- }
33
- /**
34
- * Not implemented by Bexio yet
35
- *
36
- * @param {number} id
37
- * @param {{}} ressource
38
- * @returns {Promise<PositionsStatic.TextPosition>}
39
- * @memberof TextPositions
40
- */
41
- overwrite(id, ressource) {
42
- return __awaiter(this, void 0, void 0, function* () {
43
- throw new Error("not implemented by Bexio yet");
44
- });
45
- }
46
- /**
47
- * Not implemented by Bexio yet
48
- *
49
- * @param {number} id
50
- * @param {Partial<{}>} ressource
51
- * @returns {Promise<PositionsStatic.TextPosition>}
52
- * @memberof TextPositions
53
- */
54
- edit(id, ressource) {
55
- return __awaiter(this, void 0, void 0, function* () {
56
- throw new Error("not implemented by Bexio yet");
57
- });
58
- }
59
- }
60
- exports.default = TextPositions;
61
- //# sourceMappingURL=TextPositions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextPositions.js","sourceRoot":"","sources":["../../src/resources/TextPositions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,0DAAkC;AAIlC,MAAqB,aAAc,SAAQ,kBAO1C;IACC,YACE,QAAgB,EAChB,YAA4C,EAC5C,UAAkB;QAElB,KAAK,CACH,QAAQ,EACR,QAAQ,YAAY,IAAI,UAAU,mBAAmB,CACtD,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACU,MAAM,CACjB,aAAoD,EACpD,OAAgC;;YAEhC,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;;OAOG;IACU,SAAS,CACpB,EAAU,EACV,SAAa;;YAEb,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;;OAOG;IACU,IAAI,CACf,EAAU,EACV,SAAsB;;YAEtB,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;CACF;AA/DD,gCA+DC"}
@@ -1,39 +0,0 @@
1
- import BaseCrud from "./BaseCrud";
2
- import { TimetrackingStatusesStatic } from "../interfaces/TimetrackingStatusesStatic";
3
- export default class TimetrackingStatuses extends BaseCrud<TimetrackingStatusesStatic.TimetrackingStatus, TimetrackingStatusesStatic.TimetrackingStatus, TimetrackingStatusesStatic.TimetrackingStatus, TimetrackingStatusesStatic.TimetrackingStatusesSearchparameters, {}, {}> {
4
- constructor(apiToken: string);
5
- /**
6
- * Not implemented by Bexio yet
7
- *
8
- * @param {number} id
9
- * @param {{}} ressource
10
- * @returns {Promise<TimetrackingStatusesStatic.TimetrackingStatus>}
11
- * @memberof TimetrackingStatuses
12
- */
13
- overwrite(id: number, ressource: {}): Promise<TimetrackingStatusesStatic.TimetrackingStatus>;
14
- /**
15
- * Not implemented by Bexio yet
16
- *
17
- * @param {number} id
18
- * @param {{}} ressource
19
- * @returns {Promise<TimetrackingStatusesStatic.TimetrackingStatus>}
20
- * @memberof TimetrackingStatuses
21
- */
22
- edit(id: number, ressource: {}): Promise<TimetrackingStatusesStatic.TimetrackingStatus>;
23
- /**
24
- * Not implemented by Bexio yet
25
- *
26
- * @param {{}} ressource
27
- * @returns {Promise<TimetrackingStatusesStatic.TimetrackingStatus>}
28
- * @memberof TimetrackingStatuses
29
- */
30
- create(ressource: {}): Promise<TimetrackingStatusesStatic.TimetrackingStatus>;
31
- /**
32
- * Not implemented by Bexio yet
33
- *
34
- * @param {number} id
35
- * @returns {Promise<boolean>}
36
- * @memberof TimetrackingStatuses
37
- */
38
- delete(id: number): Promise<boolean>;
39
- }
@@ -1,72 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const BaseCrud_1 = __importDefault(require("./BaseCrud"));
16
- class TimetrackingStatuses extends BaseCrud_1.default {
17
- constructor(apiToken) {
18
- super(apiToken, "/2.0/timesheet_status");
19
- }
20
- /**
21
- * Not implemented by Bexio yet
22
- *
23
- * @param {number} id
24
- * @param {{}} ressource
25
- * @returns {Promise<TimetrackingStatusesStatic.TimetrackingStatus>}
26
- * @memberof TimetrackingStatuses
27
- */
28
- overwrite(id, ressource) {
29
- return __awaiter(this, void 0, void 0, function* () {
30
- throw new Error("not implemented by Bexio yet");
31
- });
32
- }
33
- /**
34
- * Not implemented by Bexio yet
35
- *
36
- * @param {number} id
37
- * @param {{}} ressource
38
- * @returns {Promise<TimetrackingStatusesStatic.TimetrackingStatus>}
39
- * @memberof TimetrackingStatuses
40
- */
41
- edit(id, ressource) {
42
- return __awaiter(this, void 0, void 0, function* () {
43
- throw new Error("not implemented by Bexio yet");
44
- });
45
- }
46
- /**
47
- * Not implemented by Bexio yet
48
- *
49
- * @param {{}} ressource
50
- * @returns {Promise<TimetrackingStatusesStatic.TimetrackingStatus>}
51
- * @memberof TimetrackingStatuses
52
- */
53
- create(ressource) {
54
- return __awaiter(this, void 0, void 0, function* () {
55
- throw new Error("not implemented by Bexio yet");
56
- });
57
- }
58
- /**
59
- * Not implemented by Bexio yet
60
- *
61
- * @param {number} id
62
- * @returns {Promise<boolean>}
63
- * @memberof TimetrackingStatuses
64
- */
65
- delete(id) {
66
- return __awaiter(this, void 0, void 0, function* () {
67
- throw new Error("not implemented by Bexio yet");
68
- });
69
- }
70
- }
71
- exports.default = TimetrackingStatuses;
72
- //# sourceMappingURL=TimetrackingStatuses.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TimetrackingStatuses.js","sourceRoot":"","sources":["../../src/resources/TimetrackingStatuses.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,0DAAkC;AAGlC,MAAqB,oBAAqB,SAAQ,kBAOjD;IACC,YAAY,QAAgB;QAC1B,KAAK,CAAC,QAAQ,EAAE,uBAAuB,CAAC,CAAC;IAC3C,CAAC;IAED;;;;;;;OAOG;IACU,SAAS,CACpB,EAAU,EACV,SAAa;;YAEb,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;;OAOG;IACU,IAAI,CACf,EAAU,EACV,SAAa;;YAEb,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;OAMG;IACU,MAAM,CAAC,SAAa;;YAG/B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;OAMG;IACU,MAAM,CAAC,EAAU;;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;CACF;AAjED,uCAiEC"}
@@ -1,14 +0,0 @@
1
- import BaseCrud from "./BaseCrud";
2
- import { TimetrackingsStatic } from "../interfaces/TimetrackingsStatic";
3
- export default class Timetrackings extends BaseCrud<TimetrackingsStatic.TimetrackingsSmall, TimetrackingsStatic.TimetrackingsFull, TimetrackingsStatic.TimetrackingsSmall, TimetrackingsStatic.TimetrackingsSearchParameters, TimetrackingsStatic.TimetrackingsCreate, {}> {
4
- constructor(apiToken: string);
5
- /**
6
- * Not implemented by Bexio yet
7
- *
8
- * @param {number} id
9
- * @param {{}} ressource
10
- * @returns {Promise<TimetrackingsStatic.TimetrackingsFull>}
11
- * @memberof Timetracking
12
- */
13
- overwrite(id: number, ressource: {}): Promise<TimetrackingsStatic.TimetrackingsFull>;
14
- }
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const BaseCrud_1 = __importDefault(require("./BaseCrud"));
16
- class Timetrackings extends BaseCrud_1.default {
17
- constructor(apiToken) {
18
- super(apiToken, "/2.0/timesheet");
19
- }
20
- /**
21
- * Not implemented by Bexio yet
22
- *
23
- * @param {number} id
24
- * @param {{}} ressource
25
- * @returns {Promise<TimetrackingsStatic.TimetrackingsFull>}
26
- * @memberof Timetracking
27
- */
28
- overwrite(id, ressource) {
29
- return __awaiter(this, void 0, void 0, function* () {
30
- throw new Error("not implemented by Bexio yet");
31
- });
32
- }
33
- }
34
- exports.default = Timetrackings;
35
- //# sourceMappingURL=Timetrackings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Timetrackings.js","sourceRoot":"","sources":["../../src/resources/Timetrackings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,0DAAkC;AAGlC,MAAqB,aAAc,SAAQ,kBAO1C;IACC,YAAY,QAAgB;QAC1B,KAAK,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC;IACpC,CAAC;IAED;;;;;;;OAOG;IACU,SAAS,CACpB,EAAU,EACV,SAAa;;YAEb,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;CACF;AA1BD,gCA0BC"}
@@ -1,39 +0,0 @@
1
- import BaseCrud from "./BaseCrud";
2
- import { UsersStatic } from "../interfaces/UsersStatic";
3
- export default class Users extends BaseCrud<UsersStatic.UserSmall, UsersStatic.UserFull, UsersStatic.UserSmall, UsersStatic.UsersSearchparameters, {}, {}> {
4
- constructor(apiToken: string);
5
- /**
6
- * Not implemented by Bexio yet
7
- *
8
- * @param {number} id
9
- * @param {{}} ressource
10
- * @returns {Promise<UsersStatic.UserFull>}
11
- * @memberof Users
12
- */
13
- overwrite(id: number, ressource: {}): Promise<UsersStatic.UserFull>;
14
- /**
15
- * Not implemented by Bexio yet
16
- *
17
- * @param {number} id
18
- * @param {{}} ressource
19
- * @returns {Promise<UsersStatic.UserFull>}
20
- * @memberof Users
21
- */
22
- edit(id: number, ressource: {}): Promise<UsersStatic.UserFull>;
23
- /**
24
- * Not implemented by Bexio yet
25
- *
26
- * @param {{}} ressource
27
- * @returns {Promise<UsersStatic.UserFull>}
28
- * @memberof Users
29
- */
30
- create(ressource: {}): Promise<UsersStatic.UserFull>;
31
- /**
32
- * Not implemented by Bexio yet
33
- *
34
- * @param {number} id
35
- * @returns {Promise<boolean>}
36
- * @memberof Users
37
- */
38
- delete(id: number): Promise<boolean>;
39
- }
@@ -1,72 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const BaseCrud_1 = __importDefault(require("./BaseCrud"));
16
- class Users extends BaseCrud_1.default {
17
- constructor(apiToken) {
18
- super(apiToken, "/2.0/user");
19
- }
20
- /**
21
- * Not implemented by Bexio yet
22
- *
23
- * @param {number} id
24
- * @param {{}} ressource
25
- * @returns {Promise<UsersStatic.UserFull>}
26
- * @memberof Users
27
- */
28
- overwrite(id, ressource) {
29
- return __awaiter(this, void 0, void 0, function* () {
30
- throw new Error("not implemented by Bexio yet");
31
- });
32
- }
33
- /**
34
- * Not implemented by Bexio yet
35
- *
36
- * @param {number} id
37
- * @param {{}} ressource
38
- * @returns {Promise<UsersStatic.UserFull>}
39
- * @memberof Users
40
- */
41
- edit(id, ressource) {
42
- return __awaiter(this, void 0, void 0, function* () {
43
- throw new Error("not implemented by Bexio yet");
44
- });
45
- }
46
- /**
47
- * Not implemented by Bexio yet
48
- *
49
- * @param {{}} ressource
50
- * @returns {Promise<UsersStatic.UserFull>}
51
- * @memberof Users
52
- */
53
- create(ressource) {
54
- return __awaiter(this, void 0, void 0, function* () {
55
- throw new Error("not implemented by Bexio yet");
56
- });
57
- }
58
- /**
59
- * Not implemented by Bexio yet
60
- *
61
- * @param {number} id
62
- * @returns {Promise<boolean>}
63
- * @memberof Users
64
- */
65
- delete(id) {
66
- return __awaiter(this, void 0, void 0, function* () {
67
- throw new Error("not implemented by Bexio yet");
68
- });
69
- }
70
- }
71
- exports.default = Users;
72
- //# sourceMappingURL=Users.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Users.js","sourceRoot":"","sources":["../../src/resources/Users.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,0DAAkC;AAGlC,MAAqB,KAAM,SAAQ,kBAOlC;IACC,YAAY,QAAgB;QAC1B,KAAK,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;IAC/B,CAAC;IAED;;;;;;;OAOG;IACU,SAAS,CACpB,EAAU,EACV,SAAa;;YAEb,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;;OAOG;IACU,IAAI,CAAC,EAAU,EAAE,SAAa;;YACzC,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;OAMG;IACU,MAAM,CAAC,SAAa;;YAC/B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;OAMG;IACU,MAAM,CAAC,EAAU;;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;CACF;AA5DD,wBA4DC"}
@@ -1 +0,0 @@
1
- export {};