abra-flexi 0.5.5 → 0.5.6
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 +5 -1
- package/dist/index.d.cts +448 -444
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +448 -444
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -66669,7 +66669,7 @@ var AFApiClient = class {
|
|
|
66669
66669
|
const detail = options.detail || AFQueryDetail.SUMMARY;
|
|
66670
66670
|
let furl = options.filter?.toUrlComponent();
|
|
66671
66671
|
if (furl && !furl.length) furl = void 0;
|
|
66672
|
-
let url = this._url + "/c/" + this.company + "/" + entityPath;
|
|
66672
|
+
let url = this._url + "/c/" + this.company + "/" + (options.entityPathPrefix ?? "") + entityPath;
|
|
66673
66673
|
url += furl ? "/" + furl : "";
|
|
66674
66674
|
url += "." + ABRA_API_FORMAT;
|
|
66675
66675
|
url = addParamToUrl(url, "detail", composeDetail(detail));
|
|
@@ -66688,6 +66688,8 @@ var AFApiClient = class {
|
|
|
66688
66688
|
url = addParamToUrl(url, "ucetniObdobi", options.ucetniObdobi);
|
|
66689
66689
|
url = addParamToUrl(url, "koncovyMesicRok", options.koncovyMesicRok);
|
|
66690
66690
|
url = addParamToUrl(url, "pocetMesicu", options.pocetMesicu);
|
|
66691
|
+
url = addParamToUrl(url, "date", options.date);
|
|
66692
|
+
url = addParamToUrl(url, "currency", options.currency);
|
|
66691
66693
|
console.log(url);
|
|
66692
66694
|
try {
|
|
66693
66695
|
const raw$1 = await this._fetch(url, { signal: options.abortController?.signal });
|
|
@@ -66839,6 +66841,7 @@ var AFApiClient = class {
|
|
|
66839
66841
|
let url = this._url + "/c/" + this.company + "/" + entityPath + ".json";
|
|
66840
66842
|
console.log(url);
|
|
66841
66843
|
console.log(data);
|
|
66844
|
+
if (options.removeStitky) data["stitky@removeAll"] = "true";
|
|
66842
66845
|
try {
|
|
66843
66846
|
const raw$1 = await this._fetch(url, {
|
|
66844
66847
|
signal: options.abortController?.signal,
|
|
@@ -67012,6 +67015,7 @@ var AFApiClient = class {
|
|
|
67012
67015
|
}
|
|
67013
67016
|
if (!obj) return;
|
|
67014
67017
|
obj[key] = serializePropertyValue(annot.type, annot, val);
|
|
67018
|
+
if (entity instanceof AFPriloha && key === "content") obj["content@encoding"] = "base64";
|
|
67015
67019
|
}
|
|
67016
67020
|
};
|
|
67017
67021
|
|