@nominalso/vibe-host 0.5.1 → 0.7.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.
- package/dist/index.cjs +49 -1
- package/dist/index.d.cts +387 -74
- package/dist/index.d.ts +387 -74
- package/dist/index.js +49 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -27,7 +27,7 @@ __export(index_exports, {
|
|
|
27
27
|
module.exports = __toCommonJS(index_exports);
|
|
28
28
|
|
|
29
29
|
// package.json
|
|
30
|
-
var version = "0.
|
|
30
|
+
var version = "0.7.0";
|
|
31
31
|
|
|
32
32
|
// ../protocol-types/dist/index.js
|
|
33
33
|
function normalizeSubroute(subroute) {
|
|
@@ -202,6 +202,26 @@ var getSubsidiaryJournalLinesApiAccountingSubsidiarySubsidiaryIdJournalEntryLine
|
|
|
202
202
|
}
|
|
203
203
|
});
|
|
204
204
|
};
|
|
205
|
+
var setLineDimensionValueApiAccountingSubsidiarySubsidiaryIdJournalEntryLinesLineIdDimensionValuePut = (options) => {
|
|
206
|
+
return (options.client ?? client).put({
|
|
207
|
+
url: "/api/accounting/subsidiary/{subsidiary_id}/journal-entry/lines/{line_id}/dimension-value",
|
|
208
|
+
...options,
|
|
209
|
+
headers: {
|
|
210
|
+
"Content-Type": "application/json",
|
|
211
|
+
...options?.headers
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
};
|
|
215
|
+
var bulkSetLineDimensionValueApiAccountingSubsidiarySubsidiaryIdJournalEntryLinesDimensionValueBulkPut = (options) => {
|
|
216
|
+
return (options.client ?? client).put({
|
|
217
|
+
url: "/api/accounting/subsidiary/{subsidiary_id}/journal-entry/lines/dimension-value/bulk",
|
|
218
|
+
...options,
|
|
219
|
+
headers: {
|
|
220
|
+
"Content-Type": "application/json",
|
|
221
|
+
...options?.headers
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
};
|
|
205
225
|
var getSubsidiaryJournalApiAccountingSubsidiarySubsidiaryIdJournalEntryGet = (options) => {
|
|
206
226
|
return (options.client ?? client).get({
|
|
207
227
|
url: "/api/accounting/subsidiary/{subsidiary_id}/journal-entry",
|
|
@@ -224,6 +244,22 @@ var getDimensionsApiAccountingDimensionGet = (options) => {
|
|
|
224
244
|
...options
|
|
225
245
|
});
|
|
226
246
|
};
|
|
247
|
+
var getDimensionBalanceApiAccountingDimensionDimensionIdBalanceGet = (options) => {
|
|
248
|
+
return (options.client ?? client).get({
|
|
249
|
+
url: "/api/accounting/dimension/{dimension_id}/balance",
|
|
250
|
+
...options
|
|
251
|
+
});
|
|
252
|
+
};
|
|
253
|
+
var addDimensionValueApiAccountingDimensionDimensionIdValuePost = (options) => {
|
|
254
|
+
return (options.client ?? client).post({
|
|
255
|
+
url: "/api/accounting/dimension/{dimension_id}/value",
|
|
256
|
+
...options,
|
|
257
|
+
headers: {
|
|
258
|
+
"Content-Type": "application/json",
|
|
259
|
+
...options?.headers
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
};
|
|
227
263
|
var getAccountDimensionAssignmentsForDimensionApiAccountingDimensionDimensionIdAccountAccountIdGet = (options) => {
|
|
228
264
|
return (options.client ?? client).get({
|
|
229
265
|
url: "/api/accounting/dimension/{dimension_id}/account/{account_id}",
|
|
@@ -531,6 +567,18 @@ function accountingHandlers(client2) {
|
|
|
531
567
|
p,
|
|
532
568
|
client2
|
|
533
569
|
),
|
|
570
|
+
GET_DIMENSION_BALANCE: (p) => call(getDimensionBalanceApiAccountingDimensionDimensionIdBalanceGet, p, client2),
|
|
571
|
+
ADD_DIMENSION_VALUE: (p) => call(addDimensionValueApiAccountingDimensionDimensionIdValuePost, p, client2),
|
|
572
|
+
SET_LINE_DIMENSION_VALUE: (p) => call(
|
|
573
|
+
setLineDimensionValueApiAccountingSubsidiarySubsidiaryIdJournalEntryLinesLineIdDimensionValuePut,
|
|
574
|
+
p,
|
|
575
|
+
client2
|
|
576
|
+
),
|
|
577
|
+
BULK_SET_LINE_DIMENSION_VALUE: (p) => call(
|
|
578
|
+
bulkSetLineDimensionValueApiAccountingSubsidiarySubsidiaryIdJournalEntryLinesDimensionValueBulkPut,
|
|
579
|
+
p,
|
|
580
|
+
client2
|
|
581
|
+
),
|
|
534
582
|
// Journal entries
|
|
535
583
|
GET_JOURNAL_ENTRIES: (p) => call(
|
|
536
584
|
getSubsidiaryJournalApiAccountingSubsidiarySubsidiaryIdJournalEntryGet,
|