@bratislava/ginis-sdk 0.3.2 → 0.3.3

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 (34) hide show
  1. package/package.json +3 -3
  2. package/dist/api/json/pod/Detail-el-podani.d.ts +0 -36
  3. package/dist/api/json/pod/Detail-el-podani.d.ts.map +0 -1
  4. package/dist/api/json/pod/__tests__/Detail-el-podani.test.d.ts +0 -2
  5. package/dist/api/json/pod/__tests__/Detail-el-podani.test.d.ts.map +0 -1
  6. package/dist/api/json/pod/index.d.ts +0 -6
  7. package/dist/api/json/pod/index.d.ts.map +0 -1
  8. package/dist/api/json/ssl/Detail-dokumentu.d.ts +0 -110
  9. package/dist/api/json/ssl/Detail-dokumentu.d.ts.map +0 -1
  10. package/dist/api/json/ssl/Pridat-soubor.d.ts +0 -29
  11. package/dist/api/json/ssl/Pridat-soubor.d.ts.map +0 -1
  12. package/dist/api/json/ssl/__tests__/Detail-dokumentu.test.d.ts +0 -2
  13. package/dist/api/json/ssl/__tests__/Detail-dokumentu.test.d.ts.map +0 -1
  14. package/dist/api/json/ssl/__tests__/Pridat-soubor.test.d.ts +0 -2
  15. package/dist/api/json/ssl/__tests__/Pridat-soubor.test.d.ts.map +0 -1
  16. package/dist/api/json/ssl/index.d.ts +0 -8
  17. package/dist/api/json/ssl/index.d.ts.map +0 -1
  18. package/dist/api/xml/ssl.d.ts +0 -35
  19. package/dist/api/xml/ssl.d.ts.map +0 -1
  20. package/dist/api/xml/ude.d.ts +0 -103
  21. package/dist/api/xml/ude.d.ts.map +0 -1
  22. package/dist/ginis-sdk.js +0 -3
  23. package/dist/ginis-sdk.js.LICENSE.txt +0 -10
  24. package/dist/ginis.d.ts +0 -42
  25. package/dist/ginis.d.ts.map +0 -1
  26. package/dist/index.d.ts +0 -5
  27. package/dist/index.d.ts.map +0 -1
  28. package/dist/utils/api.d.ts +0 -18
  29. package/dist/utils/api.d.ts.map +0 -1
  30. package/dist/utils/errors.d.ts +0 -4
  31. package/dist/utils/errors.d.ts.map +0 -1
  32. package/dist/utils/types.d.ts +0 -3
  33. package/dist/utils/types.d.ts.map +0 -1
  34. package/ginis.d.ts +0 -41
@@ -1,10 +0,0 @@
1
- /*!
2
- * The buffer module from node.js, for the browser.
3
- *
4
- * @author Feross Aboukhadijeh <https://feross.org>
5
- * @license MIT
6
- */
7
-
8
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
9
-
10
- /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
package/dist/ginis.d.ts DELETED
@@ -1,42 +0,0 @@
1
- import ssl from './api/json/ssl';
2
- import pod from './api/json/pod';
3
- export type GinisConfig = {
4
- username: string;
5
- password: string;
6
- urls: {
7
- ude?: string;
8
- ssl?: string;
9
- pod?: string;
10
- };
11
- debug?: boolean;
12
- };
13
- export declare const defaultConfig: {};
14
- type _Ssl = typeof ssl;
15
- /**
16
- * full SSL service docs: https://robot.gordic.cz/xrg/Default.html?c=OpenModuleDetail&moduleName=SSL&language=cs-CZ&version=390
17
- */
18
- export type Ssl = {
19
- [P in keyof _Ssl]: OmitThisParameter<_Ssl[P]>;
20
- };
21
- type _Pod = typeof pod;
22
- /**
23
- * full POD service docs: https://robot.gordic.cz/xrg/Default.html?c=OpenModuleDetail&moduleName=POD&language=cs-CZ&version=390
24
- */
25
- export type Pod = {
26
- [P in keyof _Pod]: OmitThisParameter<_Pod[P]>;
27
- };
28
- export declare class Ginis {
29
- config: GinisConfig;
30
- /**
31
- * Exports functions of the api's with config and url values bound.
32
- * See documentation of the api for request options.
33
- * Inputs are typed objects, outputs unformatted xml.
34
- */
35
- json: {
36
- ssl: Ssl;
37
- pod: Pod;
38
- };
39
- constructor(config: GinisConfig);
40
- }
41
- export {};
42
- //# sourceMappingURL=ginis.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ginis.d.ts","sourceRoot":"","sources":["../src/ginis.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,gBAAgB,CAAA;AAChC,OAAO,GAAG,MAAM,gBAAgB,CAAA;AAGhC,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE;QACJ,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,GAAG,CAAC,EAAE,MAAM,CAAA;KACb,CAAA;IACD,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAGD,eAAO,MAAM,aAAa,IAAK,CAAA;AAE/B,KAAK,IAAI,GAAG,OAAO,GAAG,CAAA;AACtB;;GAEG;AACH,MAAM,MAAM,GAAG,GAAG;KACf,CAAC,IAAI,MAAM,IAAI,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;CAC9C,CAAA;AAED,KAAK,IAAI,GAAG,OAAO,GAAG,CAAA;AACtB;;GAEG;AACH,MAAM,MAAM,GAAG,GAAG;KACf,CAAC,IAAI,MAAM,IAAI,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;CAC9C,CAAA;AAGD,qBAAa,KAAK;IAChB,MAAM,EAAE,WAAW,CAAA;IACnB;;;;OAIG;IACH,IAAI,EAAE;QACJ,GAAG,EAAE,GAAG,CAAA;QACR,GAAG,EAAE,GAAG,CAAA;KACT,CAAA;gBAEW,MAAM,EAAE,WAAW;CAUhC"}
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { AxiosError } from 'axios';
2
- import { Ginis, GinisConfig } from './ginis';
3
- import { GinisError } from './utils/errors';
4
- export { Ginis, GinisConfig, AxiosError, GinisError };
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAClC,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,CAAA"}
@@ -1,18 +0,0 @@
1
- import { AxiosRequestConfig } from 'axios';
2
- import type { GinisConfig } from '../ginis';
3
- export declare const makeAxiosRequest: <T>(axiosConfig: AxiosRequestConfig | undefined, url: string | undefined, body: string | object, debug?: boolean) => Promise<{
4
- data: T;
5
- status: number;
6
- statusText: string;
7
- }>;
8
- export type GRestHeader = {
9
- RequestName: string;
10
- RequestNamespace: string;
11
- User: string;
12
- Password: string;
13
- PasswordText: boolean;
14
- Nonce: string;
15
- Created: string;
16
- };
17
- export declare const getGRestHeader: (config: GinisConfig, requestNamespace: string) => GRestHeader;
18
- //# sourceMappingURL=api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/utils/api.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAEjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAQ3C,eAAO,MAAM,gBAAgB,mBACd,kBAAkB,GAAG,SAAS,OACtC,MAAM,GAAG,SAAS,QACjB,MAAM,GAAG,MAAM,UACb,OAAO;;;;EAyChB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,OAAO,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,cAAc,WAAY,WAAW,oBAAoB,MAAM,KAAG,WAU9E,CAAA"}
@@ -1,4 +0,0 @@
1
- export declare class GinisError extends Error {
2
- constructor(message: string);
3
- }
4
- //# sourceMappingURL=errors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/utils/errors.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAW,SAAQ,KAAK;gBACvB,OAAO,EAAE,MAAM;CAG5B"}
@@ -1,3 +0,0 @@
1
- export type OmitFirstArg<F> = F extends (x: any, ...args: infer P) => infer R ? (...args: P) => R : never;
2
- export type OmitFirstTwoArgs<F> = F extends (x: any, y: any, ...args: infer P) => infer R ? (...args: P) => R : never;
3
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/utils/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC,GACzE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,GACjB,KAAK,CAAA;AAET,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC,GACrF,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,GACjB,KAAK,CAAA"}
package/ginis.d.ts DELETED
@@ -1,41 +0,0 @@
1
- import ssl from './src/api/json/ssl'
2
- import pod from './src/api/json/pod'
3
- export type GinisConfig = {
4
- username: string
5
- password: string
6
- urls: {
7
- ude?: string
8
- ssl?: string
9
- pod?: string
10
- }
11
- debug?: boolean
12
- }
13
- export declare const defaultConfig: {}
14
- type _Ssl = typeof ssl
15
- /**
16
- * full SSL service docs: https://robot.gordic.cz/xrg/Default.html?c=OpenModuleDetail&moduleName=SSL&language=cs-CZ&version=390
17
- */
18
- export type Ssl = {
19
- [P in keyof _Ssl]: OmitThisParameter<_Ssl[P]>
20
- }
21
- type _Pod = typeof pod
22
- /**
23
- * full POD service docs: https://robot.gordic.cz/xrg/Default.html?c=OpenModuleDetail&moduleName=POD&language=cs-CZ&version=390
24
- */
25
- export type Pod = {
26
- [P in keyof _Pod]: OmitThisParameter<_Pod[P]>
27
- }
28
- export declare class Ginis {
29
- config: GinisConfig
30
- /**
31
- * Exports functions of the api's with config and url values bound.
32
- * See documentation of the api for request options.
33
- * Inputs are typed objects, outputs unformatted xml.
34
- */
35
- json: {
36
- ssl: Ssl
37
- pod: Pod
38
- }
39
- constructor(config: GinisConfig)
40
- }
41
- export {}