@proxima-nexus/sdk-typescript 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.
- package/LICENSE +15 -0
- package/README.md +349 -0
- package/dist/api/event-api.d.ts +420 -0
- package/dist/api/event-api.js +642 -0
- package/dist/api/group-api.d.ts +506 -0
- package/dist/api/group-api.js +775 -0
- package/dist/api/user-api.d.ts +543 -0
- package/dist/api/user-api.js +850 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +48 -0
- package/dist/common.d.ts +31 -0
- package/dist/common.js +98 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +48 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.js +44 -0
- package/dist/models/create-event-dto.d.ts +63 -0
- package/dist/models/create-event-dto.js +22 -0
- package/dist/models/create-group-dto.d.ts +51 -0
- package/dist/models/create-group-dto.js +22 -0
- package/dist/models/create-user-dto.d.ts +55 -0
- package/dist/models/create-user-dto.js +22 -0
- package/dist/models/entity-connection-dto.d.ts +30 -0
- package/dist/models/entity-connection-dto.js +22 -0
- package/dist/models/event-dto.d.ts +70 -0
- package/dist/models/event-dto.js +21 -0
- package/dist/models/event-entity-connection-dto.d.ts +34 -0
- package/dist/models/event-entity-connection-dto.js +22 -0
- package/dist/models/get-events-dto.d.ts +17 -0
- package/dist/models/get-events-dto.js +15 -0
- package/dist/models/get-groups-dto.d.ts +17 -0
- package/dist/models/get-groups-dto.js +15 -0
- package/dist/models/get-users-dto.d.ts +17 -0
- package/dist/models/get-users-dto.js +15 -0
- package/dist/models/group-dto.d.ts +58 -0
- package/dist/models/group-dto.js +21 -0
- package/dist/models/group-entity-connection-dto.d.ts +34 -0
- package/dist/models/group-entity-connection-dto.js +22 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +34 -0
- package/dist/models/location-dto.d.ts +25 -0
- package/dist/models/location-dto.js +15 -0
- package/dist/models/mutate-user-response-dto.d.ts +17 -0
- package/dist/models/mutate-user-response-dto.js +15 -0
- package/dist/models/update-event-dto.d.ts +55 -0
- package/dist/models/update-event-dto.js +22 -0
- package/dist/models/update-group-dto.d.ts +47 -0
- package/dist/models/update-group-dto.js +22 -0
- package/dist/models/update-user-dto.d.ts +51 -0
- package/dist/models/update-user-dto.js +22 -0
- package/dist/models/user-dto.d.ts +62 -0
- package/dist/models/user-dto.js +21 -0
- package/dist/models/user-entity-connection-dto.d.ts +34 -0
- package/dist/models/user-entity-connection-dto.js +22 -0
- package/package.json +56 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* proxima-nexus-data-plane-api
|
|
6
|
+
* Proxima Nexus Data Plane API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdateEventDtoVisibilityEnum = void 0;
|
|
17
|
+
var UpdateEventDtoVisibilityEnum;
|
|
18
|
+
(function (UpdateEventDtoVisibilityEnum) {
|
|
19
|
+
UpdateEventDtoVisibilityEnum["public"] = "public";
|
|
20
|
+
UpdateEventDtoVisibilityEnum["connections"] = "connections";
|
|
21
|
+
UpdateEventDtoVisibilityEnum["hidden"] = "hidden";
|
|
22
|
+
})(UpdateEventDtoVisibilityEnum || (exports.UpdateEventDtoVisibilityEnum = UpdateEventDtoVisibilityEnum = {}));
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* proxima-nexus-data-plane-api
|
|
3
|
+
* Proxima Nexus Data Plane API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { LocationDto } from './location-dto';
|
|
13
|
+
export interface UpdateGroupDto {
|
|
14
|
+
/**
|
|
15
|
+
* User ID of the requester
|
|
16
|
+
*/
|
|
17
|
+
'requesterUserId': string;
|
|
18
|
+
/**
|
|
19
|
+
* Visibility of the entity
|
|
20
|
+
*/
|
|
21
|
+
'visibility'?: UpdateGroupDtoVisibilityEnum;
|
|
22
|
+
/**
|
|
23
|
+
* Display name
|
|
24
|
+
*/
|
|
25
|
+
'displayName': string;
|
|
26
|
+
/**
|
|
27
|
+
* Optional location information
|
|
28
|
+
*/
|
|
29
|
+
'location'?: LocationDto;
|
|
30
|
+
/**
|
|
31
|
+
* Entity description
|
|
32
|
+
*/
|
|
33
|
+
'description'?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Entity tags
|
|
36
|
+
*/
|
|
37
|
+
'tags'?: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Group type
|
|
40
|
+
*/
|
|
41
|
+
'type': string;
|
|
42
|
+
}
|
|
43
|
+
export declare enum UpdateGroupDtoVisibilityEnum {
|
|
44
|
+
public = "public",
|
|
45
|
+
connections = "connections",
|
|
46
|
+
hidden = "hidden"
|
|
47
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* proxima-nexus-data-plane-api
|
|
6
|
+
* Proxima Nexus Data Plane API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdateGroupDtoVisibilityEnum = void 0;
|
|
17
|
+
var UpdateGroupDtoVisibilityEnum;
|
|
18
|
+
(function (UpdateGroupDtoVisibilityEnum) {
|
|
19
|
+
UpdateGroupDtoVisibilityEnum["public"] = "public";
|
|
20
|
+
UpdateGroupDtoVisibilityEnum["connections"] = "connections";
|
|
21
|
+
UpdateGroupDtoVisibilityEnum["hidden"] = "hidden";
|
|
22
|
+
})(UpdateGroupDtoVisibilityEnum || (exports.UpdateGroupDtoVisibilityEnum = UpdateGroupDtoVisibilityEnum = {}));
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* proxima-nexus-data-plane-api
|
|
3
|
+
* Proxima Nexus Data Plane API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { LocationDto } from './location-dto';
|
|
13
|
+
export interface UpdateUserDto {
|
|
14
|
+
/**
|
|
15
|
+
* User ID of the requester
|
|
16
|
+
*/
|
|
17
|
+
'requesterUserId': string;
|
|
18
|
+
/**
|
|
19
|
+
* Visibility of the entity
|
|
20
|
+
*/
|
|
21
|
+
'visibility'?: UpdateUserDtoVisibilityEnum;
|
|
22
|
+
/**
|
|
23
|
+
* Display name
|
|
24
|
+
*/
|
|
25
|
+
'displayName': string;
|
|
26
|
+
/**
|
|
27
|
+
* Optional location information
|
|
28
|
+
*/
|
|
29
|
+
'location'?: LocationDto;
|
|
30
|
+
/**
|
|
31
|
+
* Entity description
|
|
32
|
+
*/
|
|
33
|
+
'description'?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Entity tags
|
|
36
|
+
*/
|
|
37
|
+
'tags'?: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Gender
|
|
40
|
+
*/
|
|
41
|
+
'gender': string;
|
|
42
|
+
/**
|
|
43
|
+
* Birth date (ISO 8601)
|
|
44
|
+
*/
|
|
45
|
+
'birthDate': string;
|
|
46
|
+
}
|
|
47
|
+
export declare enum UpdateUserDtoVisibilityEnum {
|
|
48
|
+
public = "public",
|
|
49
|
+
connections = "connections",
|
|
50
|
+
hidden = "hidden"
|
|
51
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* proxima-nexus-data-plane-api
|
|
6
|
+
* Proxima Nexus Data Plane API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdateUserDtoVisibilityEnum = void 0;
|
|
17
|
+
var UpdateUserDtoVisibilityEnum;
|
|
18
|
+
(function (UpdateUserDtoVisibilityEnum) {
|
|
19
|
+
UpdateUserDtoVisibilityEnum["public"] = "public";
|
|
20
|
+
UpdateUserDtoVisibilityEnum["connections"] = "connections";
|
|
21
|
+
UpdateUserDtoVisibilityEnum["hidden"] = "hidden";
|
|
22
|
+
})(UpdateUserDtoVisibilityEnum || (exports.UpdateUserDtoVisibilityEnum = UpdateUserDtoVisibilityEnum = {}));
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* proxima-nexus-data-plane-api
|
|
3
|
+
* Proxima Nexus Data Plane API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { LocationDto } from './location-dto';
|
|
13
|
+
export interface UserDto {
|
|
14
|
+
/**
|
|
15
|
+
* Unique identifier for the entity
|
|
16
|
+
*/
|
|
17
|
+
'entityId'?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Tenant identifier the entity belongs to
|
|
20
|
+
*/
|
|
21
|
+
'tenantId'?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Display name of the entity
|
|
24
|
+
*/
|
|
25
|
+
'displayName'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Visibility of the entity
|
|
28
|
+
*/
|
|
29
|
+
'visibility'?: UserDtoVisibilityEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Description of the entity
|
|
32
|
+
*/
|
|
33
|
+
'description'?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Tags associated with the entity
|
|
36
|
+
*/
|
|
37
|
+
'tags'?: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Date/time the entity was created (ISO string)
|
|
40
|
+
*/
|
|
41
|
+
'createdAt'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Date/time the entity was last updated (ISO string)
|
|
44
|
+
*/
|
|
45
|
+
'updatedAt'?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Required location information
|
|
48
|
+
*/
|
|
49
|
+
'location'?: LocationDto;
|
|
50
|
+
/**
|
|
51
|
+
* Gender
|
|
52
|
+
*/
|
|
53
|
+
'gender': string;
|
|
54
|
+
/**
|
|
55
|
+
* Birth date (ISO 8601)
|
|
56
|
+
*/
|
|
57
|
+
'birthDate': string;
|
|
58
|
+
}
|
|
59
|
+
export declare enum UserDtoVisibilityEnum {
|
|
60
|
+
PUBLIC = "PUBLIC",
|
|
61
|
+
PRIVATE = "PRIVATE"
|
|
62
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* proxima-nexus-data-plane-api
|
|
6
|
+
* Proxima Nexus Data Plane API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserDtoVisibilityEnum = void 0;
|
|
17
|
+
var UserDtoVisibilityEnum;
|
|
18
|
+
(function (UserDtoVisibilityEnum) {
|
|
19
|
+
UserDtoVisibilityEnum["PUBLIC"] = "PUBLIC";
|
|
20
|
+
UserDtoVisibilityEnum["PRIVATE"] = "PRIVATE";
|
|
21
|
+
})(UserDtoVisibilityEnum || (exports.UserDtoVisibilityEnum = UserDtoVisibilityEnum = {}));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* proxima-nexus-data-plane-api
|
|
3
|
+
* Proxima Nexus Data Plane API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface UserEntityConnectionDto {
|
|
13
|
+
/**
|
|
14
|
+
* Date/time the connection was created (ISO string)
|
|
15
|
+
*/
|
|
16
|
+
'createdAt'?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Date/time the connection was last updated (ISO string)
|
|
19
|
+
*/
|
|
20
|
+
'updatedAt'?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Connection state
|
|
23
|
+
*/
|
|
24
|
+
'state': UserEntityConnectionDtoStateEnum;
|
|
25
|
+
/**
|
|
26
|
+
* User ID
|
|
27
|
+
*/
|
|
28
|
+
'userId': string;
|
|
29
|
+
}
|
|
30
|
+
export declare enum UserEntityConnectionDtoStateEnum {
|
|
31
|
+
requested = "requested",
|
|
32
|
+
active = "active",
|
|
33
|
+
rejected = "rejected"
|
|
34
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* proxima-nexus-data-plane-api
|
|
6
|
+
* Proxima Nexus Data Plane API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserEntityConnectionDtoStateEnum = void 0;
|
|
17
|
+
var UserEntityConnectionDtoStateEnum;
|
|
18
|
+
(function (UserEntityConnectionDtoStateEnum) {
|
|
19
|
+
UserEntityConnectionDtoStateEnum["requested"] = "requested";
|
|
20
|
+
UserEntityConnectionDtoStateEnum["active"] = "active";
|
|
21
|
+
UserEntityConnectionDtoStateEnum["rejected"] = "rejected";
|
|
22
|
+
})(UserEntityConnectionDtoStateEnum || (exports.UserEntityConnectionDtoStateEnum = UserEntityConnectionDtoStateEnum = {}));
|
package/package.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@proxima-nexus/sdk-typescript",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "TypeScript SDK for Proxima Nexus Data Plane API",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"README.md",
|
|
10
|
+
"LICENSE"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"generate": "ts-node scripts/generate-sdk.ts",
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"test": "jest",
|
|
16
|
+
"prepublishOnly": "npm run build"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"proxima-nexus",
|
|
20
|
+
"sdk",
|
|
21
|
+
"typescript",
|
|
22
|
+
"api-client",
|
|
23
|
+
"rest-api",
|
|
24
|
+
"openapi"
|
|
25
|
+
],
|
|
26
|
+
"author": "Proxima Nexus",
|
|
27
|
+
"license": "ISC",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://github.com/proxima-nexus/sdk-typescript.git"
|
|
31
|
+
},
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/proxima-nexus/sdk-typescript/issues"
|
|
34
|
+
},
|
|
35
|
+
"homepage": "https://github.com/proxima-nexus/sdk-typescript#readme",
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public",
|
|
38
|
+
"registry": "https://registry.npmjs.org/"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"axios": "^1.6.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@openapitools/openapi-generator-cli": "^2.7.0",
|
|
45
|
+
"@proxima-nexus/openapi": "^1.0.0",
|
|
46
|
+
"@types/node": "^20.10.0",
|
|
47
|
+
"typescript": "^5.3.3",
|
|
48
|
+
"ts-node": "^10.9.2"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"axios": "^1.0.0"
|
|
52
|
+
},
|
|
53
|
+
"engines": {
|
|
54
|
+
"node": ">=18.x"
|
|
55
|
+
}
|
|
56
|
+
}
|