qorstack-report-sdk 1.0.0 → 2.1.1-rc.1
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/QorstackApi.d.ts +25 -0
- package/package.json +4 -3
package/dist/QorstackApi.d.ts
CHANGED
|
@@ -802,6 +802,31 @@ export interface ExportPdfAsyncResponse {
|
|
|
802
802
|
/** GET this URL to poll the job; it returns a fresh downloadUrl once status is success. */
|
|
803
803
|
statusUrl?: string | null;
|
|
804
804
|
}
|
|
805
|
+
export interface ProjectImportResult {
|
|
806
|
+
dryRun?: boolean;
|
|
807
|
+
applied?: boolean;
|
|
808
|
+
sourceProject?: string | null;
|
|
809
|
+
/** @format date-time */
|
|
810
|
+
exportedAt?: string | null;
|
|
811
|
+
templates?: ImportTemplateItem[];
|
|
812
|
+
fonts?: ImportFontItem[];
|
|
813
|
+
warnings?: string[];
|
|
814
|
+
}
|
|
815
|
+
export interface ImportTemplateItem {
|
|
816
|
+
key?: string;
|
|
817
|
+
name?: string;
|
|
818
|
+
action?: "create" | "update" | "skip";
|
|
819
|
+
/** @format int32 */
|
|
820
|
+
fromVersion?: number | null;
|
|
821
|
+
/** @format int32 */
|
|
822
|
+
toVersion?: number;
|
|
823
|
+
reason?: string | null;
|
|
824
|
+
}
|
|
825
|
+
export interface ImportFontItem {
|
|
826
|
+
name?: string;
|
|
827
|
+
action?: "create" | "update" | "skip";
|
|
828
|
+
reason?: string | null;
|
|
829
|
+
}
|
|
805
830
|
export type QueryParamsType = Record<string | number, any>;
|
|
806
831
|
export type ResponseFormat = keyof Omit<Body, "body" | "bodyUsed">;
|
|
807
832
|
export interface FullRequestParams extends Omit<RequestInit, "body"> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qorstack-report-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.1-rc.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
"prebuild": "pnpm sync-config",
|
|
12
12
|
"build": "tsc",
|
|
13
13
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
+
"gen:swagger": "bash ../backend/gen-swagger-sdk.sh && node -e \"require('fs').copyFileSync('../backend/swagger-sdk.json','src/qorstack-swagger.json')\"",
|
|
14
15
|
"gen:nodejs": "swagger-typescript-api generate -p ../backend/swagger-sdk.json -o ./src/nodejs --name QorstackApi.ts",
|
|
15
|
-
"gen:dotnet": "nswag openapi2csclient /input:../backend/swagger-sdk.json /output:src/dotnet/QorstackApi.cs /namespace:Qorstack.Report.Sdk /ClassName:QorstackApi",
|
|
16
|
+
"gen:dotnet": "nswag openapi2csclient /input:../backend/swagger-sdk.json /output:src/dotnet/QorstackApi.cs /namespace:Qorstack.Report.Sdk /ClassName:QorstackApi && node scripts/fix-dotnet.js",
|
|
16
17
|
"gen:all": "pnpm gen:nodejs && pnpm gen:dotnet"
|
|
17
18
|
},
|
|
18
19
|
"keywords": [
|
|
@@ -27,7 +28,7 @@
|
|
|
27
28
|
"description": "Qorstack Report SDK for Node.js and .NET",
|
|
28
29
|
"repository": {
|
|
29
30
|
"type": "git",
|
|
30
|
-
"url": "https://github.com/qorstack/qorstack-report"
|
|
31
|
+
"url": "git+https://github.com/qorstack/qorstack-report.git"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
34
|
"@types/node": "^25.2.1",
|