trm-registry-types 1.0.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.
Files changed (75) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/dist/AuthOAuth2.d.ts +4 -0
  4. package/dist/AuthOAuth2.js +3 -0
  5. package/dist/AuthOAuth2.js.map +1 -0
  6. package/dist/AuthenticationType.d.ts +5 -0
  7. package/dist/AuthenticationType.js +10 -0
  8. package/dist/AuthenticationType.js.map +1 -0
  9. package/dist/MessageType.d.ts +5 -0
  10. package/dist/MessageType.js +10 -0
  11. package/dist/MessageType.js.map +1 -0
  12. package/dist/OAuth2Data.d.ts +6 -0
  13. package/dist/OAuth2Data.js +3 -0
  14. package/dist/OAuth2Data.js.map +1 -0
  15. package/dist/Ping.d.ts +8 -0
  16. package/dist/Ping.js +3 -0
  17. package/dist/Ping.js.map +1 -0
  18. package/dist/Release.d.ts +5 -0
  19. package/dist/Release.js +3 -0
  20. package/dist/Release.js.map +1 -0
  21. package/dist/ResponseMessage.d.ts +5 -0
  22. package/dist/ResponseMessage.js +3 -0
  23. package/dist/ResponseMessage.js.map +1 -0
  24. package/dist/UserAuthorization.d.ts +3 -0
  25. package/dist/UserAuthorization.js +3 -0
  26. package/dist/UserAuthorization.js.map +1 -0
  27. package/dist/View.d.ts +12 -0
  28. package/dist/View.js +3 -0
  29. package/dist/View.js.map +1 -0
  30. package/dist/WhoAmI.d.ts +5 -0
  31. package/dist/WhoAmI.js +3 -0
  32. package/dist/WhoAmI.js.map +1 -0
  33. package/dist/index.d.ts +2 -0
  34. package/dist/index.js +19 -0
  35. package/dist/index.js.map +1 -0
  36. package/dist/request/OAuth2Body.d.ts +6 -0
  37. package/dist/request/OAuth2Body.js +3 -0
  38. package/dist/request/OAuth2Body.js.map +1 -0
  39. package/dist/request/index.d.ts +1 -0
  40. package/dist/request/index.js +18 -0
  41. package/dist/request/index.js.map +1 -0
  42. package/dist/response/AuthOAuth2.d.ts +4 -0
  43. package/dist/response/AuthOAuth2.js +3 -0
  44. package/dist/response/AuthOAuth2.js.map +1 -0
  45. package/dist/response/AuthenticationType.d.ts +5 -0
  46. package/dist/response/AuthenticationType.js +10 -0
  47. package/dist/response/AuthenticationType.js.map +1 -0
  48. package/dist/response/MessageType.d.ts +5 -0
  49. package/dist/response/MessageType.js +10 -0
  50. package/dist/response/MessageType.js.map +1 -0
  51. package/dist/response/OAuth2Data.d.ts +6 -0
  52. package/dist/response/OAuth2Data.js +3 -0
  53. package/dist/response/OAuth2Data.js.map +1 -0
  54. package/dist/response/Ping.d.ts +8 -0
  55. package/dist/response/Ping.js +3 -0
  56. package/dist/response/Ping.js.map +1 -0
  57. package/dist/response/Release.d.ts +5 -0
  58. package/dist/response/Release.js +3 -0
  59. package/dist/response/Release.js.map +1 -0
  60. package/dist/response/ResponseMessage.d.ts +5 -0
  61. package/dist/response/ResponseMessage.js +3 -0
  62. package/dist/response/ResponseMessage.js.map +1 -0
  63. package/dist/response/UserAuthorization.d.ts +3 -0
  64. package/dist/response/UserAuthorization.js +3 -0
  65. package/dist/response/UserAuthorization.js.map +1 -0
  66. package/dist/response/View.d.ts +12 -0
  67. package/dist/response/View.js +3 -0
  68. package/dist/response/View.js.map +1 -0
  69. package/dist/response/WhoAmI.d.ts +7 -0
  70. package/dist/response/WhoAmI.js +3 -0
  71. package/dist/response/WhoAmI.js.map +1 -0
  72. package/dist/response/index.d.ts +10 -0
  73. package/dist/response/index.js +27 -0
  74. package/dist/response/index.js.map +1 -0
  75. package/package.json +26 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) [2023] [RegestaItalia]
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # TRM Registry Types
2
+
3
+ [trm-registry-types](https://www.npmjs.com/package/trm-registry-types) is a Node package that contains the type declaration of all TRM Registry REST APIs requests and responses.
4
+
5
+ The documentation of TRM Registry Types is only related to the request and response objects.
6
+
7
+ The API documentation (and object usage) can be found [here](https://docs.trmregistry.com).
8
+
9
+ <!-- START TABLE_OF_CONTENTS.md -->
10
+ - [Request types](docs/requests.md)
11
+ - [Response types](docs/responses.md)<!-- END TABLE_OF_CONTENTS.md -->
@@ -0,0 +1,4 @@
1
+ export type AuthOAuth2 = {
2
+ access_token: string;
3
+ refresh_token?: string;
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AuthOAuth2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthOAuth2.js","sourceRoot":"","sources":["../src/AuthOAuth2.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export declare enum AuthenticationType {
2
+ NO_AUTH = "NO_AUTH",
3
+ BASIC = "BASIC",
4
+ OAUTH2 = "OAUTH2"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthenticationType = void 0;
4
+ var AuthenticationType;
5
+ (function (AuthenticationType) {
6
+ AuthenticationType["NO_AUTH"] = "NO_AUTH";
7
+ AuthenticationType["BASIC"] = "BASIC";
8
+ AuthenticationType["OAUTH2"] = "OAUTH2";
9
+ })(AuthenticationType || (exports.AuthenticationType = AuthenticationType = {}));
10
+ //# sourceMappingURL=AuthenticationType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthenticationType.js","sourceRoot":"","sources":["../src/AuthenticationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,yCAAmB,CAAA;IACnB,qCAAe,CAAA;IACf,uCAAiB,CAAA;AACrB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B"}
@@ -0,0 +1,5 @@
1
+ export declare enum MessageType {
2
+ WARNING = "WARNING",
3
+ ERROR = "ERROR",
4
+ INFO = "INFO"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageType = void 0;
4
+ var MessageType;
5
+ (function (MessageType) {
6
+ MessageType["WARNING"] = "WARNING";
7
+ MessageType["ERROR"] = "ERROR";
8
+ MessageType["INFO"] = "INFO";
9
+ })(MessageType || (exports.MessageType = MessageType = {}));
10
+ //# sourceMappingURL=MessageType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageType.js","sourceRoot":"","sources":["../src/MessageType.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IACf,4BAAa,CAAA;AACjB,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB"}
@@ -0,0 +1,6 @@
1
+ export type OAuth2Data = {
2
+ authorizationUrl: string;
3
+ clientId: string;
4
+ responseType: 'code';
5
+ scope?: string;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=OAuth2Data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OAuth2Data.js","sourceRoot":"","sources":["../src/OAuth2Data.ts"],"names":[],"mappings":""}
package/dist/Ping.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import { AuthenticationType } from "./AuthenticationType";
2
+ import { OAuth2Data } from "./OAuth2Data";
3
+ import { ResponseMessage } from "./ResponseMessage";
4
+ export type Ping = {
5
+ authenticationType: AuthenticationType;
6
+ authenticationData?: OAuth2Data;
7
+ wallMessage?: ResponseMessage;
8
+ };
package/dist/Ping.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Ping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Ping.js","sourceRoot":"","sources":["../src/Ping.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export type Release = {
2
+ version: string;
3
+ deprecated?: boolean;
4
+ latest: boolean;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Release.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Release.js","sourceRoot":"","sources":["../src/Release.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { MessageType } from "./MessageType";
2
+ export type ResponseMessage = {
3
+ type: MessageType;
4
+ text: string;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ResponseMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResponseMessage.js","sourceRoot":"","sources":["../src/ResponseMessage.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type UserAuthorization = {
2
+ canCreateReleases: boolean;
3
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UserAuthorization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserAuthorization.js","sourceRoot":"","sources":["../src/UserAuthorization.ts"],"names":[],"mappings":""}
package/dist/View.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ import { Release } from "./Release";
2
+ import { UserAuthorization } from "./UserAuthorization";
3
+ export type View = {
4
+ name?: string;
5
+ private?: boolean;
6
+ shortDescription?: string;
7
+ website?: string;
8
+ git?: string;
9
+ license?: string;
10
+ userAuthorizations: UserAuthorization;
11
+ release?: Release;
12
+ };
package/dist/View.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=View.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"View.js","sourceRoot":"","sources":["../src/View.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { ResponseMessage } from "./ResponseMessage";
2
+ export type WhoAmI = {
3
+ logonMessage?: ResponseMessage;
4
+ username: string;
5
+ };
package/dist/WhoAmI.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WhoAmI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WhoAmI.js","sourceRoot":"","sources":["../src/WhoAmI.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./request";
2
+ export * from "./response";
package/dist/index.js ADDED
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./request"), exports);
18
+ __exportStar(require("./response"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B"}
@@ -0,0 +1,6 @@
1
+ export type OAuth2Body = {
2
+ grant_type: 'refresh_token' | 'authorization_code';
3
+ code?: string;
4
+ refresh_token?: string;
5
+ redirect_uri?: string;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=OAuth2Body.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OAuth2Body.js","sourceRoot":"","sources":["../../src/request/OAuth2Body.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from "./OAuth2Body";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./OAuth2Body"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/request/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
@@ -0,0 +1,4 @@
1
+ export type AuthOAuth2 = {
2
+ access_token: string;
3
+ refresh_token?: string;
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AuthOAuth2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthOAuth2.js","sourceRoot":"","sources":["../../src/response/AuthOAuth2.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export declare enum AuthenticationType {
2
+ NO_AUTH = "NO_AUTH",
3
+ BASIC = "BASIC",
4
+ OAUTH2 = "OAUTH2"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthenticationType = void 0;
4
+ var AuthenticationType;
5
+ (function (AuthenticationType) {
6
+ AuthenticationType["NO_AUTH"] = "NO_AUTH";
7
+ AuthenticationType["BASIC"] = "BASIC";
8
+ AuthenticationType["OAUTH2"] = "OAUTH2";
9
+ })(AuthenticationType || (exports.AuthenticationType = AuthenticationType = {}));
10
+ //# sourceMappingURL=AuthenticationType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthenticationType.js","sourceRoot":"","sources":["../../src/response/AuthenticationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,yCAAmB,CAAA;IACnB,qCAAe,CAAA;IACf,uCAAiB,CAAA;AACrB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B"}
@@ -0,0 +1,5 @@
1
+ export declare enum MessageType {
2
+ WARNING = "WARNING",
3
+ ERROR = "ERROR",
4
+ INFO = "INFO"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageType = void 0;
4
+ var MessageType;
5
+ (function (MessageType) {
6
+ MessageType["WARNING"] = "WARNING";
7
+ MessageType["ERROR"] = "ERROR";
8
+ MessageType["INFO"] = "INFO";
9
+ })(MessageType || (exports.MessageType = MessageType = {}));
10
+ //# sourceMappingURL=MessageType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageType.js","sourceRoot":"","sources":["../../src/response/MessageType.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IACf,4BAAa,CAAA;AACjB,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB"}
@@ -0,0 +1,6 @@
1
+ export type OAuth2Data = {
2
+ authorizationUrl: string;
3
+ clientId: string;
4
+ responseType: 'code';
5
+ scope?: string;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=OAuth2Data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OAuth2Data.js","sourceRoot":"","sources":["../../src/response/OAuth2Data.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { AuthenticationType } from "./AuthenticationType";
2
+ import { OAuth2Data } from "./OAuth2Data";
3
+ import { ResponseMessage } from "./ResponseMessage";
4
+ export type Ping = {
5
+ authenticationType: AuthenticationType;
6
+ authenticationData?: OAuth2Data;
7
+ wallMessage?: ResponseMessage;
8
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Ping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Ping.js","sourceRoot":"","sources":["../../src/response/Ping.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export type Release = {
2
+ version: string;
3
+ deprecated?: boolean;
4
+ latest: boolean;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Release.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Release.js","sourceRoot":"","sources":["../../src/response/Release.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { MessageType } from "./MessageType";
2
+ export type ResponseMessage = {
3
+ type: MessageType;
4
+ text: string;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ResponseMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResponseMessage.js","sourceRoot":"","sources":["../../src/response/ResponseMessage.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type UserAuthorization = {
2
+ canCreateReleases: boolean;
3
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UserAuthorization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserAuthorization.js","sourceRoot":"","sources":["../../src/response/UserAuthorization.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { Release } from "./Release";
2
+ import { UserAuthorization } from "./UserAuthorization";
3
+ export type View = {
4
+ name?: string;
5
+ private?: boolean;
6
+ shortDescription?: string;
7
+ website?: string;
8
+ git?: string;
9
+ license?: string;
10
+ userAuthorizations: UserAuthorization;
11
+ release?: Release;
12
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=View.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"View.js","sourceRoot":"","sources":["../../src/response/View.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { ResponseMessage } from "./ResponseMessage";
2
+ export type WhoAmI = {
3
+ logonMessage?: ResponseMessage;
4
+ username: string;
5
+ subscription?: string;
6
+ subscriptionEnd?: Date;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WhoAmI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WhoAmI.js","sourceRoot":"","sources":["../../src/response/WhoAmI.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ export * from "./Ping";
2
+ export * from "./UserAuthorization";
3
+ export * from "./View";
4
+ export * from "./Release";
5
+ export * from "./WhoAmI";
6
+ export * from "./AuthenticationType";
7
+ export * from "./MessageType";
8
+ export * from "./ResponseMessage";
9
+ export * from "./OAuth2Data";
10
+ export * from "./AuthOAuth2";
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Ping"), exports);
18
+ __exportStar(require("./UserAuthorization"), exports);
19
+ __exportStar(require("./View"), exports);
20
+ __exportStar(require("./Release"), exports);
21
+ __exportStar(require("./WhoAmI"), exports);
22
+ __exportStar(require("./AuthenticationType"), exports);
23
+ __exportStar(require("./MessageType"), exports);
24
+ __exportStar(require("./ResponseMessage"), exports);
25
+ __exportStar(require("./OAuth2Data"), exports);
26
+ __exportStar(require("./AuthOAuth2"), exports);
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/response/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,sDAAoC;AACpC,yCAAuB;AACvB,4CAA0B;AAC1B,2CAAyB;AACzB,uDAAqC;AACrC,gDAA8B;AAC9B,oDAAkC;AAClC,+CAA6B;AAC7B,+CAA6B"}
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "trm-registry-types",
3
+ "version": "1.0.0",
4
+ "description": "TRM Registry Types",
5
+ "types": "dist/index.d.ts",
6
+ "files": [
7
+ "/dist"
8
+ ],
9
+ "scripts": {
10
+ "build": "tsc"
11
+ },
12
+ "keywords": [
13
+ "trm",
14
+ "abap"
15
+ ],
16
+ "homepage": "https://www.trmregistry.com",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/RegestaItalia/trm-registry-types.git"
20
+ },
21
+ "author": {
22
+ "name": "Simone Gaffurini",
23
+ "email": "simone.gaffurini@regestaitalia.it"
24
+ },
25
+ "license": "MIT"
26
+ }