@proxima-nexus/sdk-typescript 1.0.0 → 2.0.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +96 -0
  2. package/README.md +173 -159
  3. package/dist/api/event-api.d.ts +171 -65
  4. package/dist/api/event-api.js +273 -93
  5. package/dist/api/group-api.d.ts +147 -70
  6. package/dist/api/group-api.js +234 -101
  7. package/dist/api/user-api.d.ts +210 -125
  8. package/dist/api/user-api.js +297 -171
  9. package/dist/models/create-event-dto.d.ts +4 -4
  10. package/dist/models/create-group-dto.d.ts +6 -5
  11. package/dist/models/create-group-dto.js +7 -1
  12. package/dist/models/create-user-dto.d.ts +0 -4
  13. package/dist/models/entity-connection-dto.d.ts +17 -1
  14. package/dist/models/entity-connection-dto.js +14 -1
  15. package/dist/models/event-dto.d.ts +13 -4
  16. package/dist/models/event-entity-connection-dto.d.ts +17 -1
  17. package/dist/models/event-entity-connection-dto.js +14 -1
  18. package/dist/models/group-dto.d.ts +15 -5
  19. package/dist/models/group-dto.js +7 -1
  20. package/dist/models/group-entity-connection-dto.d.ts +17 -1
  21. package/dist/models/group-entity-connection-dto.js +14 -1
  22. package/dist/models/index.d.ts +3 -0
  23. package/dist/models/index.js +3 -0
  24. package/dist/models/mutate-event-entity-connection-dto.d.ts +22 -0
  25. package/dist/models/mutate-event-entity-connection-dto.js +22 -0
  26. package/dist/models/mutate-group-entity-connection-dto.d.ts +22 -0
  27. package/dist/models/mutate-group-entity-connection-dto.js +22 -0
  28. package/dist/models/mutate-user-connection-dto.d.ts +21 -0
  29. package/dist/models/mutate-user-connection-dto.js +21 -0
  30. package/dist/models/update-event-dto.d.ts +4 -4
  31. package/dist/models/update-group-dto.d.ts +6 -5
  32. package/dist/models/update-group-dto.js +7 -1
  33. package/dist/models/update-user-dto.d.ts +0 -4
  34. package/dist/models/user-dto.d.ts +5 -4
  35. package/dist/models/user-entity-connection-dto.d.ts +17 -1
  36. package/dist/models/user-entity-connection-dto.js +14 -1
  37. package/package.json +5 -4
@@ -15,10 +15,6 @@ export interface CreateEventDto {
15
15
  * Display name
16
16
  */
17
17
  'displayName': string;
18
- /**
19
- * User ID of the requester
20
- */
21
- 'requesterUserId': string;
22
18
  /**
23
19
  * Visibility of the entity
24
20
  */
@@ -55,6 +51,10 @@ export interface CreateEventDto {
55
51
  * Identifier of associated group which owns the event. Owners/admins of the group will be admins of the event.
56
52
  */
57
53
  'associatedGroupId'?: string;
54
+ /**
55
+ * Maximum number of attendees allowed (null = unlimited)
56
+ */
57
+ 'maxNumAttendees'?: number;
58
58
  }
59
59
  export declare enum CreateEventDtoVisibilityEnum {
60
60
  public = "public",
@@ -15,10 +15,6 @@ export interface CreateGroupDto {
15
15
  * Display name
16
16
  */
17
17
  'displayName': string;
18
- /**
19
- * User ID of the requester
20
- */
21
- 'requesterUserId': string;
22
18
  /**
23
19
  * Visibility of the entity
24
20
  */
@@ -42,10 +38,15 @@ export interface CreateGroupDto {
42
38
  /**
43
39
  * Group type
44
40
  */
45
- 'type': string;
41
+ 'type': CreateGroupDtoTypeEnum;
46
42
  }
47
43
  export declare enum CreateGroupDtoVisibilityEnum {
48
44
  public = "public",
49
45
  connections = "connections",
50
46
  hidden = "hidden"
51
47
  }
48
+ export declare enum CreateGroupDtoTypeEnum {
49
+ open = "open",
50
+ request = "request",
51
+ invite = "invite"
52
+ }
@@ -13,10 +13,16 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateGroupDtoVisibilityEnum = void 0;
16
+ exports.CreateGroupDtoTypeEnum = exports.CreateGroupDtoVisibilityEnum = void 0;
17
17
  var CreateGroupDtoVisibilityEnum;
18
18
  (function (CreateGroupDtoVisibilityEnum) {
19
19
  CreateGroupDtoVisibilityEnum["public"] = "public";
20
20
  CreateGroupDtoVisibilityEnum["connections"] = "connections";
21
21
  CreateGroupDtoVisibilityEnum["hidden"] = "hidden";
22
22
  })(CreateGroupDtoVisibilityEnum || (exports.CreateGroupDtoVisibilityEnum = CreateGroupDtoVisibilityEnum = {}));
23
+ var CreateGroupDtoTypeEnum;
24
+ (function (CreateGroupDtoTypeEnum) {
25
+ CreateGroupDtoTypeEnum["open"] = "open";
26
+ CreateGroupDtoTypeEnum["request"] = "request";
27
+ CreateGroupDtoTypeEnum["invite"] = "invite";
28
+ })(CreateGroupDtoTypeEnum || (exports.CreateGroupDtoTypeEnum = CreateGroupDtoTypeEnum = {}));
@@ -15,10 +15,6 @@ export interface CreateUserDto {
15
15
  * Display name
16
16
  */
17
17
  'displayName': string;
18
- /**
19
- * User ID of the requester
20
- */
21
- 'requesterUserId': string;
22
18
  /**
23
19
  * Visibility of the entity
24
20
  */
@@ -22,9 +22,25 @@ export interface EntityConnectionDto {
22
22
  * Connection state
23
23
  */
24
24
  'state': EntityConnectionDtoStateEnum;
25
+ /**
26
+ * Connection type
27
+ */
28
+ 'type': EntityConnectionDtoTypeEnum;
25
29
  }
26
30
  export declare enum EntityConnectionDtoStateEnum {
27
31
  requested = "requested",
28
32
  active = "active",
29
- rejected = "rejected"
33
+ rejected = "rejected",
34
+ blocked = "blocked"
35
+ }
36
+ export declare enum EntityConnectionDtoTypeEnum {
37
+ attendee = "attendee",
38
+ admin = "admin",
39
+ owner = "owner",
40
+ member = "member",
41
+ admin2 = "admin",
42
+ owner2 = "owner",
43
+ friend = "friend",
44
+ blocked = "blocked",
45
+ none = "none"
30
46
  }
@@ -13,10 +13,23 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.EntityConnectionDtoStateEnum = void 0;
16
+ exports.EntityConnectionDtoTypeEnum = exports.EntityConnectionDtoStateEnum = void 0;
17
17
  var EntityConnectionDtoStateEnum;
18
18
  (function (EntityConnectionDtoStateEnum) {
19
19
  EntityConnectionDtoStateEnum["requested"] = "requested";
20
20
  EntityConnectionDtoStateEnum["active"] = "active";
21
21
  EntityConnectionDtoStateEnum["rejected"] = "rejected";
22
+ EntityConnectionDtoStateEnum["blocked"] = "blocked";
22
23
  })(EntityConnectionDtoStateEnum || (exports.EntityConnectionDtoStateEnum = EntityConnectionDtoStateEnum = {}));
24
+ var EntityConnectionDtoTypeEnum;
25
+ (function (EntityConnectionDtoTypeEnum) {
26
+ EntityConnectionDtoTypeEnum["attendee"] = "attendee";
27
+ EntityConnectionDtoTypeEnum["admin"] = "admin";
28
+ EntityConnectionDtoTypeEnum["owner"] = "owner";
29
+ EntityConnectionDtoTypeEnum["member"] = "member";
30
+ EntityConnectionDtoTypeEnum["admin2"] = "admin";
31
+ EntityConnectionDtoTypeEnum["owner2"] = "owner";
32
+ EntityConnectionDtoTypeEnum["friend"] = "friend";
33
+ EntityConnectionDtoTypeEnum["blocked"] = "blocked";
34
+ EntityConnectionDtoTypeEnum["none"] = "none";
35
+ })(EntityConnectionDtoTypeEnum || (exports.EntityConnectionDtoTypeEnum = EntityConnectionDtoTypeEnum = {}));
@@ -9,16 +9,13 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { EntityConnectionDto } from './entity-connection-dto';
12
13
  import type { LocationDto } from './location-dto';
13
14
  export interface EventDto {
14
15
  /**
15
16
  * Unique identifier for the entity
16
17
  */
17
18
  'entityId'?: string;
18
- /**
19
- * Tenant identifier the entity belongs to
20
- */
21
- 'tenantId'?: string;
22
19
  /**
23
20
  * Display name of the entity
24
21
  */
@@ -47,6 +44,10 @@ export interface EventDto {
47
44
  * Required location information
48
45
  */
49
46
  'location'?: LocationDto;
47
+ /**
48
+ * Connection to the requester
49
+ */
50
+ 'requesterConnection'?: EntityConnectionDto;
50
51
  /**
51
52
  * Start time (ISO 8601)
52
53
  */
@@ -63,6 +64,14 @@ export interface EventDto {
63
64
  * Identifier of associated group which owns the event. Owners/admins of the group will be admins of the event.
64
65
  */
65
66
  'associatedGroupId'?: string;
67
+ /**
68
+ * Number of active attendees
69
+ */
70
+ 'numAttendees'?: number;
71
+ /**
72
+ * Maximum number of attendees allowed (null = unlimited)
73
+ */
74
+ 'maxNumAttendees'?: number;
66
75
  }
67
76
  export declare enum EventDtoVisibilityEnum {
68
77
  PUBLIC = "PUBLIC",
@@ -22,6 +22,10 @@ export interface EventEntityConnectionDto {
22
22
  * Connection state
23
23
  */
24
24
  'state': EventEntityConnectionDtoStateEnum;
25
+ /**
26
+ * Connection type
27
+ */
28
+ 'type': EventEntityConnectionDtoTypeEnum;
25
29
  /**
26
30
  * Event ID
27
31
  */
@@ -30,5 +34,17 @@ export interface EventEntityConnectionDto {
30
34
  export declare enum EventEntityConnectionDtoStateEnum {
31
35
  requested = "requested",
32
36
  active = "active",
33
- rejected = "rejected"
37
+ rejected = "rejected",
38
+ blocked = "blocked"
39
+ }
40
+ export declare enum EventEntityConnectionDtoTypeEnum {
41
+ attendee = "attendee",
42
+ admin = "admin",
43
+ owner = "owner",
44
+ member = "member",
45
+ admin2 = "admin",
46
+ owner2 = "owner",
47
+ friend = "friend",
48
+ blocked = "blocked",
49
+ none = "none"
34
50
  }
@@ -13,10 +13,23 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.EventEntityConnectionDtoStateEnum = void 0;
16
+ exports.EventEntityConnectionDtoTypeEnum = exports.EventEntityConnectionDtoStateEnum = void 0;
17
17
  var EventEntityConnectionDtoStateEnum;
18
18
  (function (EventEntityConnectionDtoStateEnum) {
19
19
  EventEntityConnectionDtoStateEnum["requested"] = "requested";
20
20
  EventEntityConnectionDtoStateEnum["active"] = "active";
21
21
  EventEntityConnectionDtoStateEnum["rejected"] = "rejected";
22
+ EventEntityConnectionDtoStateEnum["blocked"] = "blocked";
22
23
  })(EventEntityConnectionDtoStateEnum || (exports.EventEntityConnectionDtoStateEnum = EventEntityConnectionDtoStateEnum = {}));
24
+ var EventEntityConnectionDtoTypeEnum;
25
+ (function (EventEntityConnectionDtoTypeEnum) {
26
+ EventEntityConnectionDtoTypeEnum["attendee"] = "attendee";
27
+ EventEntityConnectionDtoTypeEnum["admin"] = "admin";
28
+ EventEntityConnectionDtoTypeEnum["owner"] = "owner";
29
+ EventEntityConnectionDtoTypeEnum["member"] = "member";
30
+ EventEntityConnectionDtoTypeEnum["admin2"] = "admin";
31
+ EventEntityConnectionDtoTypeEnum["owner2"] = "owner";
32
+ EventEntityConnectionDtoTypeEnum["friend"] = "friend";
33
+ EventEntityConnectionDtoTypeEnum["blocked"] = "blocked";
34
+ EventEntityConnectionDtoTypeEnum["none"] = "none";
35
+ })(EventEntityConnectionDtoTypeEnum || (exports.EventEntityConnectionDtoTypeEnum = EventEntityConnectionDtoTypeEnum = {}));
@@ -9,16 +9,13 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { EntityConnectionDto } from './entity-connection-dto';
12
13
  import type { LocationDto } from './location-dto';
13
14
  export interface GroupDto {
14
15
  /**
15
16
  * Unique identifier for the entity
16
17
  */
17
18
  'entityId'?: string;
18
- /**
19
- * Tenant identifier the entity belongs to
20
- */
21
- 'tenantId'?: string;
22
19
  /**
23
20
  * Display name of the entity
24
21
  */
@@ -47,12 +44,25 @@ export interface GroupDto {
47
44
  * Required location information
48
45
  */
49
46
  'location'?: LocationDto;
47
+ /**
48
+ * Connection to the requester
49
+ */
50
+ 'requesterConnection'?: EntityConnectionDto;
50
51
  /**
51
52
  * Group type
52
53
  */
53
- 'type': string;
54
+ 'type': GroupDtoTypeEnum;
55
+ /**
56
+ * Number of active members
57
+ */
58
+ 'numMembers'?: number;
54
59
  }
55
60
  export declare enum GroupDtoVisibilityEnum {
56
61
  PUBLIC = "PUBLIC",
57
62
  PRIVATE = "PRIVATE"
58
63
  }
64
+ export declare enum GroupDtoTypeEnum {
65
+ open = "open",
66
+ request = "request",
67
+ invite = "invite"
68
+ }
@@ -13,9 +13,15 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GroupDtoVisibilityEnum = void 0;
16
+ exports.GroupDtoTypeEnum = exports.GroupDtoVisibilityEnum = void 0;
17
17
  var GroupDtoVisibilityEnum;
18
18
  (function (GroupDtoVisibilityEnum) {
19
19
  GroupDtoVisibilityEnum["PUBLIC"] = "PUBLIC";
20
20
  GroupDtoVisibilityEnum["PRIVATE"] = "PRIVATE";
21
21
  })(GroupDtoVisibilityEnum || (exports.GroupDtoVisibilityEnum = GroupDtoVisibilityEnum = {}));
22
+ var GroupDtoTypeEnum;
23
+ (function (GroupDtoTypeEnum) {
24
+ GroupDtoTypeEnum["open"] = "open";
25
+ GroupDtoTypeEnum["request"] = "request";
26
+ GroupDtoTypeEnum["invite"] = "invite";
27
+ })(GroupDtoTypeEnum || (exports.GroupDtoTypeEnum = GroupDtoTypeEnum = {}));
@@ -22,6 +22,10 @@ export interface GroupEntityConnectionDto {
22
22
  * Connection state
23
23
  */
24
24
  'state': GroupEntityConnectionDtoStateEnum;
25
+ /**
26
+ * Connection type
27
+ */
28
+ 'type': GroupEntityConnectionDtoTypeEnum;
25
29
  /**
26
30
  * Group ID
27
31
  */
@@ -30,5 +34,17 @@ export interface GroupEntityConnectionDto {
30
34
  export declare enum GroupEntityConnectionDtoStateEnum {
31
35
  requested = "requested",
32
36
  active = "active",
33
- rejected = "rejected"
37
+ rejected = "rejected",
38
+ blocked = "blocked"
39
+ }
40
+ export declare enum GroupEntityConnectionDtoTypeEnum {
41
+ attendee = "attendee",
42
+ admin = "admin",
43
+ owner = "owner",
44
+ member = "member",
45
+ admin2 = "admin",
46
+ owner2 = "owner",
47
+ friend = "friend",
48
+ blocked = "blocked",
49
+ none = "none"
34
50
  }
@@ -13,10 +13,23 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GroupEntityConnectionDtoStateEnum = void 0;
16
+ exports.GroupEntityConnectionDtoTypeEnum = exports.GroupEntityConnectionDtoStateEnum = void 0;
17
17
  var GroupEntityConnectionDtoStateEnum;
18
18
  (function (GroupEntityConnectionDtoStateEnum) {
19
19
  GroupEntityConnectionDtoStateEnum["requested"] = "requested";
20
20
  GroupEntityConnectionDtoStateEnum["active"] = "active";
21
21
  GroupEntityConnectionDtoStateEnum["rejected"] = "rejected";
22
+ GroupEntityConnectionDtoStateEnum["blocked"] = "blocked";
22
23
  })(GroupEntityConnectionDtoStateEnum || (exports.GroupEntityConnectionDtoStateEnum = GroupEntityConnectionDtoStateEnum = {}));
24
+ var GroupEntityConnectionDtoTypeEnum;
25
+ (function (GroupEntityConnectionDtoTypeEnum) {
26
+ GroupEntityConnectionDtoTypeEnum["attendee"] = "attendee";
27
+ GroupEntityConnectionDtoTypeEnum["admin"] = "admin";
28
+ GroupEntityConnectionDtoTypeEnum["owner"] = "owner";
29
+ GroupEntityConnectionDtoTypeEnum["member"] = "member";
30
+ GroupEntityConnectionDtoTypeEnum["admin2"] = "admin";
31
+ GroupEntityConnectionDtoTypeEnum["owner2"] = "owner";
32
+ GroupEntityConnectionDtoTypeEnum["friend"] = "friend";
33
+ GroupEntityConnectionDtoTypeEnum["blocked"] = "blocked";
34
+ GroupEntityConnectionDtoTypeEnum["none"] = "none";
35
+ })(GroupEntityConnectionDtoTypeEnum || (exports.GroupEntityConnectionDtoTypeEnum = GroupEntityConnectionDtoTypeEnum = {}));
@@ -10,6 +10,9 @@ export * from './get-users-dto';
10
10
  export * from './group-dto';
11
11
  export * from './group-entity-connection-dto';
12
12
  export * from './location-dto';
13
+ export * from './mutate-event-entity-connection-dto';
14
+ export * from './mutate-group-entity-connection-dto';
15
+ export * from './mutate-user-connection-dto';
13
16
  export * from './mutate-user-response-dto';
14
17
  export * from './update-event-dto';
15
18
  export * from './update-group-dto';
@@ -26,6 +26,9 @@ __exportStar(require("./get-users-dto"), exports);
26
26
  __exportStar(require("./group-dto"), exports);
27
27
  __exportStar(require("./group-entity-connection-dto"), exports);
28
28
  __exportStar(require("./location-dto"), exports);
29
+ __exportStar(require("./mutate-event-entity-connection-dto"), exports);
30
+ __exportStar(require("./mutate-group-entity-connection-dto"), exports);
31
+ __exportStar(require("./mutate-user-connection-dto"), exports);
29
32
  __exportStar(require("./mutate-user-response-dto"), exports);
30
33
  __exportStar(require("./update-event-dto"), exports);
31
34
  __exportStar(require("./update-group-dto"), exports);
@@ -0,0 +1,22 @@
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 MutateEventEntityConnectionDto {
13
+ /**
14
+ * Connection type
15
+ */
16
+ 'type': MutateEventEntityConnectionDtoTypeEnum;
17
+ }
18
+ export declare enum MutateEventEntityConnectionDtoTypeEnum {
19
+ attendee = "attendee",
20
+ admin = "admin",
21
+ owner = "owner"
22
+ }
@@ -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.MutateEventEntityConnectionDtoTypeEnum = void 0;
17
+ var MutateEventEntityConnectionDtoTypeEnum;
18
+ (function (MutateEventEntityConnectionDtoTypeEnum) {
19
+ MutateEventEntityConnectionDtoTypeEnum["attendee"] = "attendee";
20
+ MutateEventEntityConnectionDtoTypeEnum["admin"] = "admin";
21
+ MutateEventEntityConnectionDtoTypeEnum["owner"] = "owner";
22
+ })(MutateEventEntityConnectionDtoTypeEnum || (exports.MutateEventEntityConnectionDtoTypeEnum = MutateEventEntityConnectionDtoTypeEnum = {}));
@@ -0,0 +1,22 @@
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 MutateGroupEntityConnectionDto {
13
+ /**
14
+ * Connection type
15
+ */
16
+ 'type': MutateGroupEntityConnectionDtoTypeEnum;
17
+ }
18
+ export declare enum MutateGroupEntityConnectionDtoTypeEnum {
19
+ member = "member",
20
+ admin = "admin",
21
+ owner = "owner"
22
+ }
@@ -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.MutateGroupEntityConnectionDtoTypeEnum = void 0;
17
+ var MutateGroupEntityConnectionDtoTypeEnum;
18
+ (function (MutateGroupEntityConnectionDtoTypeEnum) {
19
+ MutateGroupEntityConnectionDtoTypeEnum["member"] = "member";
20
+ MutateGroupEntityConnectionDtoTypeEnum["admin"] = "admin";
21
+ MutateGroupEntityConnectionDtoTypeEnum["owner"] = "owner";
22
+ })(MutateGroupEntityConnectionDtoTypeEnum || (exports.MutateGroupEntityConnectionDtoTypeEnum = MutateGroupEntityConnectionDtoTypeEnum = {}));
@@ -0,0 +1,21 @@
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 MutateUserConnectionDto {
13
+ /**
14
+ * Type of connection to create or modify
15
+ */
16
+ 'type': MutateUserConnectionDtoTypeEnum;
17
+ }
18
+ export declare enum MutateUserConnectionDtoTypeEnum {
19
+ friend = "friend",
20
+ blocked = "blocked"
21
+ }
@@ -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.MutateUserConnectionDtoTypeEnum = void 0;
17
+ var MutateUserConnectionDtoTypeEnum;
18
+ (function (MutateUserConnectionDtoTypeEnum) {
19
+ MutateUserConnectionDtoTypeEnum["friend"] = "friend";
20
+ MutateUserConnectionDtoTypeEnum["blocked"] = "blocked";
21
+ })(MutateUserConnectionDtoTypeEnum || (exports.MutateUserConnectionDtoTypeEnum = MutateUserConnectionDtoTypeEnum = {}));
@@ -11,10 +11,6 @@
11
11
  */
12
12
  import type { LocationDto } from './location-dto';
13
13
  export interface UpdateEventDto {
14
- /**
15
- * User ID of the requester
16
- */
17
- 'requesterUserId': string;
18
14
  /**
19
15
  * Visibility of the entity
20
16
  */
@@ -47,6 +43,10 @@ export interface UpdateEventDto {
47
43
  * Event type
48
44
  */
49
45
  'type': string;
46
+ /**
47
+ * Maximum number of attendees allowed (null = unlimited)
48
+ */
49
+ 'maxNumAttendees'?: number;
50
50
  }
51
51
  export declare enum UpdateEventDtoVisibilityEnum {
52
52
  public = "public",
@@ -11,10 +11,6 @@
11
11
  */
12
12
  import type { LocationDto } from './location-dto';
13
13
  export interface UpdateGroupDto {
14
- /**
15
- * User ID of the requester
16
- */
17
- 'requesterUserId': string;
18
14
  /**
19
15
  * Visibility of the entity
20
16
  */
@@ -38,10 +34,15 @@ export interface UpdateGroupDto {
38
34
  /**
39
35
  * Group type
40
36
  */
41
- 'type': string;
37
+ 'type': UpdateGroupDtoTypeEnum;
42
38
  }
43
39
  export declare enum UpdateGroupDtoVisibilityEnum {
44
40
  public = "public",
45
41
  connections = "connections",
46
42
  hidden = "hidden"
47
43
  }
44
+ export declare enum UpdateGroupDtoTypeEnum {
45
+ open = "open",
46
+ request = "request",
47
+ invite = "invite"
48
+ }
@@ -13,10 +13,16 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdateGroupDtoVisibilityEnum = void 0;
16
+ exports.UpdateGroupDtoTypeEnum = exports.UpdateGroupDtoVisibilityEnum = void 0;
17
17
  var UpdateGroupDtoVisibilityEnum;
18
18
  (function (UpdateGroupDtoVisibilityEnum) {
19
19
  UpdateGroupDtoVisibilityEnum["public"] = "public";
20
20
  UpdateGroupDtoVisibilityEnum["connections"] = "connections";
21
21
  UpdateGroupDtoVisibilityEnum["hidden"] = "hidden";
22
22
  })(UpdateGroupDtoVisibilityEnum || (exports.UpdateGroupDtoVisibilityEnum = UpdateGroupDtoVisibilityEnum = {}));
23
+ var UpdateGroupDtoTypeEnum;
24
+ (function (UpdateGroupDtoTypeEnum) {
25
+ UpdateGroupDtoTypeEnum["open"] = "open";
26
+ UpdateGroupDtoTypeEnum["request"] = "request";
27
+ UpdateGroupDtoTypeEnum["invite"] = "invite";
28
+ })(UpdateGroupDtoTypeEnum || (exports.UpdateGroupDtoTypeEnum = UpdateGroupDtoTypeEnum = {}));
@@ -11,10 +11,6 @@
11
11
  */
12
12
  import type { LocationDto } from './location-dto';
13
13
  export interface UpdateUserDto {
14
- /**
15
- * User ID of the requester
16
- */
17
- 'requesterUserId': string;
18
14
  /**
19
15
  * Visibility of the entity
20
16
  */
@@ -9,16 +9,13 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { EntityConnectionDto } from './entity-connection-dto';
12
13
  import type { LocationDto } from './location-dto';
13
14
  export interface UserDto {
14
15
  /**
15
16
  * Unique identifier for the entity
16
17
  */
17
18
  'entityId'?: string;
18
- /**
19
- * Tenant identifier the entity belongs to
20
- */
21
- 'tenantId'?: string;
22
19
  /**
23
20
  * Display name of the entity
24
21
  */
@@ -47,6 +44,10 @@ export interface UserDto {
47
44
  * Required location information
48
45
  */
49
46
  'location'?: LocationDto;
47
+ /**
48
+ * Connection to the requester
49
+ */
50
+ 'requesterConnection'?: EntityConnectionDto;
50
51
  /**
51
52
  * Gender
52
53
  */
@@ -22,6 +22,10 @@ export interface UserEntityConnectionDto {
22
22
  * Connection state
23
23
  */
24
24
  'state': UserEntityConnectionDtoStateEnum;
25
+ /**
26
+ * Connection type
27
+ */
28
+ 'type': UserEntityConnectionDtoTypeEnum;
25
29
  /**
26
30
  * User ID
27
31
  */
@@ -30,5 +34,17 @@ export interface UserEntityConnectionDto {
30
34
  export declare enum UserEntityConnectionDtoStateEnum {
31
35
  requested = "requested",
32
36
  active = "active",
33
- rejected = "rejected"
37
+ rejected = "rejected",
38
+ blocked = "blocked"
39
+ }
40
+ export declare enum UserEntityConnectionDtoTypeEnum {
41
+ attendee = "attendee",
42
+ admin = "admin",
43
+ owner = "owner",
44
+ member = "member",
45
+ admin2 = "admin",
46
+ owner2 = "owner",
47
+ friend = "friend",
48
+ blocked = "blocked",
49
+ none = "none"
34
50
  }