@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.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// package.json
|
|
2
|
-
var version = "0.
|
|
2
|
+
var version = "0.7.0";
|
|
3
3
|
|
|
4
4
|
// ../protocol-types/dist/index.js
|
|
5
5
|
function normalizeSubroute(subroute) {
|
|
@@ -177,6 +177,26 @@ var getSubsidiaryJournalLinesApiAccountingSubsidiarySubsidiaryIdJournalEntryLine
|
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
179
|
};
|
|
180
|
+
var setLineDimensionValueApiAccountingSubsidiarySubsidiaryIdJournalEntryLinesLineIdDimensionValuePut = (options) => {
|
|
181
|
+
return (options.client ?? client).put({
|
|
182
|
+
url: "/api/accounting/subsidiary/{subsidiary_id}/journal-entry/lines/{line_id}/dimension-value",
|
|
183
|
+
...options,
|
|
184
|
+
headers: {
|
|
185
|
+
"Content-Type": "application/json",
|
|
186
|
+
...options?.headers
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
};
|
|
190
|
+
var bulkSetLineDimensionValueApiAccountingSubsidiarySubsidiaryIdJournalEntryLinesDimensionValueBulkPut = (options) => {
|
|
191
|
+
return (options.client ?? client).put({
|
|
192
|
+
url: "/api/accounting/subsidiary/{subsidiary_id}/journal-entry/lines/dimension-value/bulk",
|
|
193
|
+
...options,
|
|
194
|
+
headers: {
|
|
195
|
+
"Content-Type": "application/json",
|
|
196
|
+
...options?.headers
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
};
|
|
180
200
|
var getSubsidiaryJournalApiAccountingSubsidiarySubsidiaryIdJournalEntryGet = (options) => {
|
|
181
201
|
return (options.client ?? client).get({
|
|
182
202
|
url: "/api/accounting/subsidiary/{subsidiary_id}/journal-entry",
|
|
@@ -199,6 +219,22 @@ var getDimensionsApiAccountingDimensionGet = (options) => {
|
|
|
199
219
|
...options
|
|
200
220
|
});
|
|
201
221
|
};
|
|
222
|
+
var getDimensionBalanceApiAccountingDimensionDimensionIdBalanceGet = (options) => {
|
|
223
|
+
return (options.client ?? client).get({
|
|
224
|
+
url: "/api/accounting/dimension/{dimension_id}/balance",
|
|
225
|
+
...options
|
|
226
|
+
});
|
|
227
|
+
};
|
|
228
|
+
var addDimensionValueApiAccountingDimensionDimensionIdValuePost = (options) => {
|
|
229
|
+
return (options.client ?? client).post({
|
|
230
|
+
url: "/api/accounting/dimension/{dimension_id}/value",
|
|
231
|
+
...options,
|
|
232
|
+
headers: {
|
|
233
|
+
"Content-Type": "application/json",
|
|
234
|
+
...options?.headers
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
};
|
|
202
238
|
var getAccountDimensionAssignmentsForDimensionApiAccountingDimensionDimensionIdAccountAccountIdGet = (options) => {
|
|
203
239
|
return (options.client ?? client).get({
|
|
204
240
|
url: "/api/accounting/dimension/{dimension_id}/account/{account_id}",
|
|
@@ -506,6 +542,18 @@ function accountingHandlers(client2) {
|
|
|
506
542
|
p,
|
|
507
543
|
client2
|
|
508
544
|
),
|
|
545
|
+
GET_DIMENSION_BALANCE: (p) => call(getDimensionBalanceApiAccountingDimensionDimensionIdBalanceGet, p, client2),
|
|
546
|
+
ADD_DIMENSION_VALUE: (p) => call(addDimensionValueApiAccountingDimensionDimensionIdValuePost, p, client2),
|
|
547
|
+
SET_LINE_DIMENSION_VALUE: (p) => call(
|
|
548
|
+
setLineDimensionValueApiAccountingSubsidiarySubsidiaryIdJournalEntryLinesLineIdDimensionValuePut,
|
|
549
|
+
p,
|
|
550
|
+
client2
|
|
551
|
+
),
|
|
552
|
+
BULK_SET_LINE_DIMENSION_VALUE: (p) => call(
|
|
553
|
+
bulkSetLineDimensionValueApiAccountingSubsidiarySubsidiaryIdJournalEntryLinesDimensionValueBulkPut,
|
|
554
|
+
p,
|
|
555
|
+
client2
|
|
556
|
+
),
|
|
509
557
|
// Journal entries
|
|
510
558
|
GET_JOURNAL_ENTRIES: (p) => call(
|
|
511
559
|
getSubsidiaryJournalApiAccountingSubsidiarySubsidiaryIdJournalEntryGet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nominalso/vibe-host",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Host-side SDK for embedding Nominal Vibe Apps — receives bridge requests over a typed postMessage protocol and dispatches them to Nominal APIs (used by nom-ui).",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://github.com/nominalso/vibe-apps-sdk#readme",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@nominalso/vibe-api-client": "0.0.1",
|
|
38
|
-
"@nominalso/vibe-
|
|
39
|
-
"@nominalso/vibe-
|
|
38
|
+
"@nominalso/vibe-protocol-types": "0.0.1",
|
|
39
|
+
"@nominalso/vibe-api-types": "0.0.1"
|
|
40
40
|
},
|
|
41
41
|
"tsup": {
|
|
42
42
|
"entry": [
|