@proxima-nexus/sdk-typescript 2.1.0 → 2.2.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/CHANGELOG.md +25 -0
- package/README.md +0 -2
- package/dist/api/event-api.d.ts +5 -5
- package/dist/api/event-api.js +4 -4
- package/dist/api/event-series-api.d.ts +263 -0
- package/dist/api/event-series-api.js +417 -0
- package/dist/api/group-api.d.ts +1 -2
- package/dist/api/group-api.js +1 -2
- package/dist/api/user-api.d.ts +3 -4
- package/dist/api/user-api.js +2 -3
- package/dist/enhanced/enhanced-event-series-api.d.ts +11 -0
- package/dist/enhanced/enhanced-event-series-api.js +25 -0
- package/dist/enhanced/enhanced-group-api.js +5 -1
- package/dist/enhanced/enhanced-user-api.js +5 -2
- package/dist/enhanced/index.d.ts +3 -0
- package/dist/enhanced/index.js +6 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +5 -1
- package/dist/models/create-event-series-dto.d.ts +75 -0
- package/dist/models/create-event-series-dto.js +22 -0
- package/dist/models/entity-connection-dto.d.ts +11 -12
- package/dist/models/entity-connection-dto.js +9 -10
- package/dist/models/event-dto.d.ts +4 -0
- package/dist/models/event-entity-connection-dto.d.ts +11 -12
- package/dist/models/event-entity-connection-dto.js +9 -10
- package/dist/models/event-series-dto.d.ts +87 -0
- package/dist/models/event-series-dto.js +21 -0
- package/dist/models/group-entity-connection-dto.d.ts +11 -12
- package/dist/models/group-entity-connection-dto.js +9 -10
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/update-event-dto.d.ts +4 -4
- package/dist/models/update-event-series-dto.d.ts +47 -0
- package/dist/models/update-event-series-dto.js +22 -0
- package/dist/models/update-group-dto.d.ts +1 -1
- package/dist/models/update-user-dto.d.ts +1 -1
- package/dist/models/user-entity-connection-dto.d.ts +11 -12
- package/dist/models/user-entity-connection-dto.js +9 -10
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -14,13 +14,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.unwrap = exports.transformAxiosError = exports.EnhancedClientError = exports.ValidationError = exports.UnauthorizedError = exports.NotFoundError = exports.EnhancedGroupApi = exports.EnhancedEventApi = exports.EnhancedUserApi = exports.EnhancedProximaNexusClient = exports.ProximaNexusClient = exports.Configuration = exports.GroupApi = exports.EventApi = exports.UserApi = void 0;
|
|
17
|
+
exports.unwrap = exports.transformAxiosError = exports.EnhancedClientError = exports.ValidationError = exports.UnauthorizedError = exports.NotFoundError = exports.EnhancedGroupApi = exports.EnhancedEventSeriesApi = exports.EnhancedEventApi = exports.EnhancedUserApi = exports.EnhancedProximaNexusClient = exports.ProximaNexusClient = exports.Configuration = exports.GroupApi = exports.EventSeriesApi = exports.EventApi = exports.UserApi = void 0;
|
|
18
18
|
const configuration_1 = require("./configuration");
|
|
19
19
|
Object.defineProperty(exports, "Configuration", { enumerable: true, get: function () { return configuration_1.Configuration; } });
|
|
20
20
|
const user_api_1 = require("./api/user-api");
|
|
21
21
|
Object.defineProperty(exports, "UserApi", { enumerable: true, get: function () { return user_api_1.UserApi; } });
|
|
22
22
|
const event_api_1 = require("./api/event-api");
|
|
23
23
|
Object.defineProperty(exports, "EventApi", { enumerable: true, get: function () { return event_api_1.EventApi; } });
|
|
24
|
+
const event_series_api_1 = require("./api/event-series-api");
|
|
25
|
+
Object.defineProperty(exports, "EventSeriesApi", { enumerable: true, get: function () { return event_series_api_1.EventSeriesApi; } });
|
|
24
26
|
const group_api_1 = require("./api/group-api");
|
|
25
27
|
Object.defineProperty(exports, "GroupApi", { enumerable: true, get: function () { return group_api_1.GroupApi; } });
|
|
26
28
|
// Export all types
|
|
@@ -37,6 +39,7 @@ class ProximaNexusClient {
|
|
|
37
39
|
});
|
|
38
40
|
this.users = new user_api_1.UserApi(configuration);
|
|
39
41
|
this.events = new event_api_1.EventApi(configuration);
|
|
42
|
+
this.eventSeries = new event_series_api_1.EventSeriesApi(configuration);
|
|
40
43
|
this.groups = new group_api_1.GroupApi(configuration);
|
|
41
44
|
}
|
|
42
45
|
}
|
|
@@ -47,6 +50,7 @@ var enhanced_1 = require("./enhanced");
|
|
|
47
50
|
Object.defineProperty(exports, "EnhancedProximaNexusClient", { enumerable: true, get: function () { return enhanced_1.EnhancedProximaNexusClient; } });
|
|
48
51
|
Object.defineProperty(exports, "EnhancedUserApi", { enumerable: true, get: function () { return enhanced_1.EnhancedUserApi; } });
|
|
49
52
|
Object.defineProperty(exports, "EnhancedEventApi", { enumerable: true, get: function () { return enhanced_1.EnhancedEventApi; } });
|
|
53
|
+
Object.defineProperty(exports, "EnhancedEventSeriesApi", { enumerable: true, get: function () { return enhanced_1.EnhancedEventSeriesApi; } });
|
|
50
54
|
Object.defineProperty(exports, "EnhancedGroupApi", { enumerable: true, get: function () { return enhanced_1.EnhancedGroupApi; } });
|
|
51
55
|
Object.defineProperty(exports, "NotFoundError", { enumerable: true, get: function () { return enhanced_1.NotFoundError; } });
|
|
52
56
|
Object.defineProperty(exports, "UnauthorizedError", { enumerable: true, get: function () { return enhanced_1.UnauthorizedError; } });
|
|
@@ -0,0 +1,75 @@
|
|
|
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 CreateEventSeriesDto {
|
|
14
|
+
/**
|
|
15
|
+
* Display name
|
|
16
|
+
*/
|
|
17
|
+
'displayName': string;
|
|
18
|
+
/**
|
|
19
|
+
* Visibility of the entity
|
|
20
|
+
*/
|
|
21
|
+
'visibility': CreateEventSeriesDtoVisibilityEnum;
|
|
22
|
+
/**
|
|
23
|
+
* Optional location information
|
|
24
|
+
*/
|
|
25
|
+
'location'?: LocationDto;
|
|
26
|
+
/**
|
|
27
|
+
* Entity description
|
|
28
|
+
*/
|
|
29
|
+
'description'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Entity tags
|
|
32
|
+
*/
|
|
33
|
+
'tags'?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Unique series identifier
|
|
36
|
+
*/
|
|
37
|
+
'seriesId': string;
|
|
38
|
+
/**
|
|
39
|
+
* Event type
|
|
40
|
+
*/
|
|
41
|
+
'type': string;
|
|
42
|
+
/**
|
|
43
|
+
* iCal RRULE string (without DTSTART). Defines the recurrence pattern.
|
|
44
|
+
*/
|
|
45
|
+
'rrule': string;
|
|
46
|
+
/**
|
|
47
|
+
* Date of the first occurrence in YYYY-MM-DD format (local date in the given timezone)
|
|
48
|
+
*/
|
|
49
|
+
'startDate': string;
|
|
50
|
+
/**
|
|
51
|
+
* Start time of each instance in HH:MM format (local time in the given timezone)
|
|
52
|
+
*/
|
|
53
|
+
'instanceStartTime': string;
|
|
54
|
+
/**
|
|
55
|
+
* End time of each instance in HH:MM format (local time in the given timezone)
|
|
56
|
+
*/
|
|
57
|
+
'instanceEndTime': string;
|
|
58
|
+
/**
|
|
59
|
+
* IANA timezone for interpreting times and generating instances
|
|
60
|
+
*/
|
|
61
|
+
'timezone': string;
|
|
62
|
+
/**
|
|
63
|
+
* Identifier of the associated group. Owners/admins of the group will be admins of the series.
|
|
64
|
+
*/
|
|
65
|
+
'associatedGroupId'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Maximum number of attendees per event instance (null = unlimited)
|
|
68
|
+
*/
|
|
69
|
+
'maxNumAttendees'?: number;
|
|
70
|
+
}
|
|
71
|
+
export declare enum CreateEventSeriesDtoVisibilityEnum {
|
|
72
|
+
public = "public",
|
|
73
|
+
connections = "connections",
|
|
74
|
+
hidden = "hidden"
|
|
75
|
+
}
|
|
@@ -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.CreateEventSeriesDtoVisibilityEnum = void 0;
|
|
17
|
+
var CreateEventSeriesDtoVisibilityEnum;
|
|
18
|
+
(function (CreateEventSeriesDtoVisibilityEnum) {
|
|
19
|
+
CreateEventSeriesDtoVisibilityEnum["public"] = "public";
|
|
20
|
+
CreateEventSeriesDtoVisibilityEnum["connections"] = "connections";
|
|
21
|
+
CreateEventSeriesDtoVisibilityEnum["hidden"] = "hidden";
|
|
22
|
+
})(CreateEventSeriesDtoVisibilityEnum || (exports.CreateEventSeriesDtoVisibilityEnum = CreateEventSeriesDtoVisibilityEnum = {}));
|
|
@@ -18,29 +18,28 @@ export interface EntityConnectionDto {
|
|
|
18
18
|
* Date/time the connection was last updated (ISO string)
|
|
19
19
|
*/
|
|
20
20
|
'updatedAt'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Connection state
|
|
23
|
-
*/
|
|
24
|
-
'state': EntityConnectionDtoStateEnum;
|
|
25
21
|
/**
|
|
26
22
|
* Connection type
|
|
27
23
|
*/
|
|
28
24
|
'type': EntityConnectionDtoTypeEnum;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
rejected = "rejected",
|
|
34
|
-
blocked = "blocked"
|
|
25
|
+
/**
|
|
26
|
+
* Connection state
|
|
27
|
+
*/
|
|
28
|
+
'state'?: EntityConnectionDtoStateEnum;
|
|
35
29
|
}
|
|
36
30
|
export declare enum EntityConnectionDtoTypeEnum {
|
|
37
31
|
attendee = "attendee",
|
|
38
32
|
admin = "admin",
|
|
39
33
|
owner = "owner",
|
|
40
34
|
member = "member",
|
|
41
|
-
admin2 = "admin",
|
|
42
|
-
owner2 = "owner",
|
|
43
35
|
friend = "friend",
|
|
44
36
|
blocked = "blocked",
|
|
45
37
|
none = "none"
|
|
46
38
|
}
|
|
39
|
+
export declare enum EntityConnectionDtoStateEnum {
|
|
40
|
+
incoming_request = "incoming_request",
|
|
41
|
+
outgoing_request = "outgoing_request",
|
|
42
|
+
active = "active",
|
|
43
|
+
requested = "requested",
|
|
44
|
+
invited = "invited"
|
|
45
|
+
}
|
|
@@ -13,23 +13,22 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
var EntityConnectionDtoStateEnum;
|
|
18
|
-
(function (EntityConnectionDtoStateEnum) {
|
|
19
|
-
EntityConnectionDtoStateEnum["requested"] = "requested";
|
|
20
|
-
EntityConnectionDtoStateEnum["active"] = "active";
|
|
21
|
-
EntityConnectionDtoStateEnum["rejected"] = "rejected";
|
|
22
|
-
EntityConnectionDtoStateEnum["blocked"] = "blocked";
|
|
23
|
-
})(EntityConnectionDtoStateEnum || (exports.EntityConnectionDtoStateEnum = EntityConnectionDtoStateEnum = {}));
|
|
16
|
+
exports.EntityConnectionDtoStateEnum = exports.EntityConnectionDtoTypeEnum = void 0;
|
|
24
17
|
var EntityConnectionDtoTypeEnum;
|
|
25
18
|
(function (EntityConnectionDtoTypeEnum) {
|
|
26
19
|
EntityConnectionDtoTypeEnum["attendee"] = "attendee";
|
|
27
20
|
EntityConnectionDtoTypeEnum["admin"] = "admin";
|
|
28
21
|
EntityConnectionDtoTypeEnum["owner"] = "owner";
|
|
29
22
|
EntityConnectionDtoTypeEnum["member"] = "member";
|
|
30
|
-
EntityConnectionDtoTypeEnum["admin2"] = "admin";
|
|
31
|
-
EntityConnectionDtoTypeEnum["owner2"] = "owner";
|
|
32
23
|
EntityConnectionDtoTypeEnum["friend"] = "friend";
|
|
33
24
|
EntityConnectionDtoTypeEnum["blocked"] = "blocked";
|
|
34
25
|
EntityConnectionDtoTypeEnum["none"] = "none";
|
|
35
26
|
})(EntityConnectionDtoTypeEnum || (exports.EntityConnectionDtoTypeEnum = EntityConnectionDtoTypeEnum = {}));
|
|
27
|
+
var EntityConnectionDtoStateEnum;
|
|
28
|
+
(function (EntityConnectionDtoStateEnum) {
|
|
29
|
+
EntityConnectionDtoStateEnum["incoming_request"] = "incoming_request";
|
|
30
|
+
EntityConnectionDtoStateEnum["outgoing_request"] = "outgoing_request";
|
|
31
|
+
EntityConnectionDtoStateEnum["active"] = "active";
|
|
32
|
+
EntityConnectionDtoStateEnum["requested"] = "requested";
|
|
33
|
+
EntityConnectionDtoStateEnum["invited"] = "invited";
|
|
34
|
+
})(EntityConnectionDtoStateEnum || (exports.EntityConnectionDtoStateEnum = EntityConnectionDtoStateEnum = {}));
|
|
@@ -72,6 +72,10 @@ export interface EventDto {
|
|
|
72
72
|
* Maximum number of attendees allowed (null = unlimited)
|
|
73
73
|
*/
|
|
74
74
|
'maxNumAttendees'?: number;
|
|
75
|
+
/**
|
|
76
|
+
* ID of the event series this instance belongs to, if any
|
|
77
|
+
*/
|
|
78
|
+
'seriesId'?: string;
|
|
75
79
|
}
|
|
76
80
|
export declare enum EventDtoVisibilityEnum {
|
|
77
81
|
PUBLIC = "PUBLIC",
|
|
@@ -18,33 +18,32 @@ export interface EventEntityConnectionDto {
|
|
|
18
18
|
* Date/time the connection was last updated (ISO string)
|
|
19
19
|
*/
|
|
20
20
|
'updatedAt'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Connection state
|
|
23
|
-
*/
|
|
24
|
-
'state': EventEntityConnectionDtoStateEnum;
|
|
25
21
|
/**
|
|
26
22
|
* Connection type
|
|
27
23
|
*/
|
|
28
24
|
'type': EventEntityConnectionDtoTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Connection state
|
|
27
|
+
*/
|
|
28
|
+
'state'?: EventEntityConnectionDtoStateEnum;
|
|
29
29
|
/**
|
|
30
30
|
* Event ID
|
|
31
31
|
*/
|
|
32
32
|
'eventId': string;
|
|
33
33
|
}
|
|
34
|
-
export declare enum EventEntityConnectionDtoStateEnum {
|
|
35
|
-
requested = "requested",
|
|
36
|
-
active = "active",
|
|
37
|
-
rejected = "rejected",
|
|
38
|
-
blocked = "blocked"
|
|
39
|
-
}
|
|
40
34
|
export declare enum EventEntityConnectionDtoTypeEnum {
|
|
41
35
|
attendee = "attendee",
|
|
42
36
|
admin = "admin",
|
|
43
37
|
owner = "owner",
|
|
44
38
|
member = "member",
|
|
45
|
-
admin2 = "admin",
|
|
46
|
-
owner2 = "owner",
|
|
47
39
|
friend = "friend",
|
|
48
40
|
blocked = "blocked",
|
|
49
41
|
none = "none"
|
|
50
42
|
}
|
|
43
|
+
export declare enum EventEntityConnectionDtoStateEnum {
|
|
44
|
+
incoming_request = "incoming_request",
|
|
45
|
+
outgoing_request = "outgoing_request",
|
|
46
|
+
active = "active",
|
|
47
|
+
requested = "requested",
|
|
48
|
+
invited = "invited"
|
|
49
|
+
}
|
|
@@ -13,23 +13,22 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
var EventEntityConnectionDtoStateEnum;
|
|
18
|
-
(function (EventEntityConnectionDtoStateEnum) {
|
|
19
|
-
EventEntityConnectionDtoStateEnum["requested"] = "requested";
|
|
20
|
-
EventEntityConnectionDtoStateEnum["active"] = "active";
|
|
21
|
-
EventEntityConnectionDtoStateEnum["rejected"] = "rejected";
|
|
22
|
-
EventEntityConnectionDtoStateEnum["blocked"] = "blocked";
|
|
23
|
-
})(EventEntityConnectionDtoStateEnum || (exports.EventEntityConnectionDtoStateEnum = EventEntityConnectionDtoStateEnum = {}));
|
|
16
|
+
exports.EventEntityConnectionDtoStateEnum = exports.EventEntityConnectionDtoTypeEnum = void 0;
|
|
24
17
|
var EventEntityConnectionDtoTypeEnum;
|
|
25
18
|
(function (EventEntityConnectionDtoTypeEnum) {
|
|
26
19
|
EventEntityConnectionDtoTypeEnum["attendee"] = "attendee";
|
|
27
20
|
EventEntityConnectionDtoTypeEnum["admin"] = "admin";
|
|
28
21
|
EventEntityConnectionDtoTypeEnum["owner"] = "owner";
|
|
29
22
|
EventEntityConnectionDtoTypeEnum["member"] = "member";
|
|
30
|
-
EventEntityConnectionDtoTypeEnum["admin2"] = "admin";
|
|
31
|
-
EventEntityConnectionDtoTypeEnum["owner2"] = "owner";
|
|
32
23
|
EventEntityConnectionDtoTypeEnum["friend"] = "friend";
|
|
33
24
|
EventEntityConnectionDtoTypeEnum["blocked"] = "blocked";
|
|
34
25
|
EventEntityConnectionDtoTypeEnum["none"] = "none";
|
|
35
26
|
})(EventEntityConnectionDtoTypeEnum || (exports.EventEntityConnectionDtoTypeEnum = EventEntityConnectionDtoTypeEnum = {}));
|
|
27
|
+
var EventEntityConnectionDtoStateEnum;
|
|
28
|
+
(function (EventEntityConnectionDtoStateEnum) {
|
|
29
|
+
EventEntityConnectionDtoStateEnum["incoming_request"] = "incoming_request";
|
|
30
|
+
EventEntityConnectionDtoStateEnum["outgoing_request"] = "outgoing_request";
|
|
31
|
+
EventEntityConnectionDtoStateEnum["active"] = "active";
|
|
32
|
+
EventEntityConnectionDtoStateEnum["requested"] = "requested";
|
|
33
|
+
EventEntityConnectionDtoStateEnum["invited"] = "invited";
|
|
34
|
+
})(EventEntityConnectionDtoStateEnum || (exports.EventEntityConnectionDtoStateEnum = EventEntityConnectionDtoStateEnum = {}));
|
|
@@ -0,0 +1,87 @@
|
|
|
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 { EntityConnectionDto } from './entity-connection-dto';
|
|
13
|
+
import type { LocationDto } from './location-dto';
|
|
14
|
+
export interface EventSeriesDto {
|
|
15
|
+
/**
|
|
16
|
+
* Unique identifier for the entity
|
|
17
|
+
*/
|
|
18
|
+
'entityId'?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Display name of the entity
|
|
21
|
+
*/
|
|
22
|
+
'displayName'?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Visibility of the entity
|
|
25
|
+
*/
|
|
26
|
+
'visibility'?: EventSeriesDtoVisibilityEnum;
|
|
27
|
+
/**
|
|
28
|
+
* Description of the entity
|
|
29
|
+
*/
|
|
30
|
+
'description'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Tags associated with the entity
|
|
33
|
+
*/
|
|
34
|
+
'tags'?: Array<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Date/time the entity was created (ISO string)
|
|
37
|
+
*/
|
|
38
|
+
'createdAt'?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Date/time the entity was last updated (ISO string)
|
|
41
|
+
*/
|
|
42
|
+
'updatedAt'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Required location information
|
|
45
|
+
*/
|
|
46
|
+
'location'?: LocationDto;
|
|
47
|
+
/**
|
|
48
|
+
* Connection to the requester
|
|
49
|
+
*/
|
|
50
|
+
'requesterConnection'?: EntityConnectionDto;
|
|
51
|
+
/**
|
|
52
|
+
* Event type
|
|
53
|
+
*/
|
|
54
|
+
'type': string;
|
|
55
|
+
/**
|
|
56
|
+
* iCal RRULE string defining the recurrence pattern
|
|
57
|
+
*/
|
|
58
|
+
'rrule': string;
|
|
59
|
+
/**
|
|
60
|
+
* Date of the first occurrence (YYYY-MM-DD, local in timezone)
|
|
61
|
+
*/
|
|
62
|
+
'startDate': string;
|
|
63
|
+
/**
|
|
64
|
+
* Start time of each instance in HH:MM format
|
|
65
|
+
*/
|
|
66
|
+
'instanceStartTime': string;
|
|
67
|
+
/**
|
|
68
|
+
* End time of each instance in HH:MM format
|
|
69
|
+
*/
|
|
70
|
+
'instanceEndTime': string;
|
|
71
|
+
/**
|
|
72
|
+
* IANA timezone for all instances
|
|
73
|
+
*/
|
|
74
|
+
'timezone': string;
|
|
75
|
+
/**
|
|
76
|
+
* Identifier of the associated group
|
|
77
|
+
*/
|
|
78
|
+
'associatedGroupId'?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Maximum number of attendees per event instance
|
|
81
|
+
*/
|
|
82
|
+
'maxNumAttendees'?: number;
|
|
83
|
+
}
|
|
84
|
+
export declare enum EventSeriesDtoVisibilityEnum {
|
|
85
|
+
PUBLIC = "PUBLIC",
|
|
86
|
+
PRIVATE = "PRIVATE"
|
|
87
|
+
}
|
|
@@ -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.EventSeriesDtoVisibilityEnum = void 0;
|
|
17
|
+
var EventSeriesDtoVisibilityEnum;
|
|
18
|
+
(function (EventSeriesDtoVisibilityEnum) {
|
|
19
|
+
EventSeriesDtoVisibilityEnum["PUBLIC"] = "PUBLIC";
|
|
20
|
+
EventSeriesDtoVisibilityEnum["PRIVATE"] = "PRIVATE";
|
|
21
|
+
})(EventSeriesDtoVisibilityEnum || (exports.EventSeriesDtoVisibilityEnum = EventSeriesDtoVisibilityEnum = {}));
|
|
@@ -18,33 +18,32 @@ export interface GroupEntityConnectionDto {
|
|
|
18
18
|
* Date/time the connection was last updated (ISO string)
|
|
19
19
|
*/
|
|
20
20
|
'updatedAt'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Connection state
|
|
23
|
-
*/
|
|
24
|
-
'state': GroupEntityConnectionDtoStateEnum;
|
|
25
21
|
/**
|
|
26
22
|
* Connection type
|
|
27
23
|
*/
|
|
28
24
|
'type': GroupEntityConnectionDtoTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Connection state
|
|
27
|
+
*/
|
|
28
|
+
'state'?: GroupEntityConnectionDtoStateEnum;
|
|
29
29
|
/**
|
|
30
30
|
* Group ID
|
|
31
31
|
*/
|
|
32
32
|
'groupId': string;
|
|
33
33
|
}
|
|
34
|
-
export declare enum GroupEntityConnectionDtoStateEnum {
|
|
35
|
-
requested = "requested",
|
|
36
|
-
active = "active",
|
|
37
|
-
rejected = "rejected",
|
|
38
|
-
blocked = "blocked"
|
|
39
|
-
}
|
|
40
34
|
export declare enum GroupEntityConnectionDtoTypeEnum {
|
|
41
35
|
attendee = "attendee",
|
|
42
36
|
admin = "admin",
|
|
43
37
|
owner = "owner",
|
|
44
38
|
member = "member",
|
|
45
|
-
admin2 = "admin",
|
|
46
|
-
owner2 = "owner",
|
|
47
39
|
friend = "friend",
|
|
48
40
|
blocked = "blocked",
|
|
49
41
|
none = "none"
|
|
50
42
|
}
|
|
43
|
+
export declare enum GroupEntityConnectionDtoStateEnum {
|
|
44
|
+
incoming_request = "incoming_request",
|
|
45
|
+
outgoing_request = "outgoing_request",
|
|
46
|
+
active = "active",
|
|
47
|
+
requested = "requested",
|
|
48
|
+
invited = "invited"
|
|
49
|
+
}
|
|
@@ -13,23 +13,22 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
var GroupEntityConnectionDtoStateEnum;
|
|
18
|
-
(function (GroupEntityConnectionDtoStateEnum) {
|
|
19
|
-
GroupEntityConnectionDtoStateEnum["requested"] = "requested";
|
|
20
|
-
GroupEntityConnectionDtoStateEnum["active"] = "active";
|
|
21
|
-
GroupEntityConnectionDtoStateEnum["rejected"] = "rejected";
|
|
22
|
-
GroupEntityConnectionDtoStateEnum["blocked"] = "blocked";
|
|
23
|
-
})(GroupEntityConnectionDtoStateEnum || (exports.GroupEntityConnectionDtoStateEnum = GroupEntityConnectionDtoStateEnum = {}));
|
|
16
|
+
exports.GroupEntityConnectionDtoStateEnum = exports.GroupEntityConnectionDtoTypeEnum = void 0;
|
|
24
17
|
var GroupEntityConnectionDtoTypeEnum;
|
|
25
18
|
(function (GroupEntityConnectionDtoTypeEnum) {
|
|
26
19
|
GroupEntityConnectionDtoTypeEnum["attendee"] = "attendee";
|
|
27
20
|
GroupEntityConnectionDtoTypeEnum["admin"] = "admin";
|
|
28
21
|
GroupEntityConnectionDtoTypeEnum["owner"] = "owner";
|
|
29
22
|
GroupEntityConnectionDtoTypeEnum["member"] = "member";
|
|
30
|
-
GroupEntityConnectionDtoTypeEnum["admin2"] = "admin";
|
|
31
|
-
GroupEntityConnectionDtoTypeEnum["owner2"] = "owner";
|
|
32
23
|
GroupEntityConnectionDtoTypeEnum["friend"] = "friend";
|
|
33
24
|
GroupEntityConnectionDtoTypeEnum["blocked"] = "blocked";
|
|
34
25
|
GroupEntityConnectionDtoTypeEnum["none"] = "none";
|
|
35
26
|
})(GroupEntityConnectionDtoTypeEnum || (exports.GroupEntityConnectionDtoTypeEnum = GroupEntityConnectionDtoTypeEnum = {}));
|
|
27
|
+
var GroupEntityConnectionDtoStateEnum;
|
|
28
|
+
(function (GroupEntityConnectionDtoStateEnum) {
|
|
29
|
+
GroupEntityConnectionDtoStateEnum["incoming_request"] = "incoming_request";
|
|
30
|
+
GroupEntityConnectionDtoStateEnum["outgoing_request"] = "outgoing_request";
|
|
31
|
+
GroupEntityConnectionDtoStateEnum["active"] = "active";
|
|
32
|
+
GroupEntityConnectionDtoStateEnum["requested"] = "requested";
|
|
33
|
+
GroupEntityConnectionDtoStateEnum["invited"] = "invited";
|
|
34
|
+
})(GroupEntityConnectionDtoStateEnum || (exports.GroupEntityConnectionDtoStateEnum = GroupEntityConnectionDtoStateEnum = {}));
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export * from './create-event-dto';
|
|
2
|
+
export * from './create-event-series-dto';
|
|
2
3
|
export * from './create-group-dto';
|
|
3
4
|
export * from './create-user-dto';
|
|
4
5
|
export * from './entity-connection-dto';
|
|
5
6
|
export * from './event-dto';
|
|
6
7
|
export * from './event-entity-connection-dto';
|
|
8
|
+
export * from './event-series-dto';
|
|
7
9
|
export * from './get-events-dto';
|
|
8
10
|
export * from './get-groups-dto';
|
|
9
11
|
export * from './get-users-dto';
|
|
@@ -15,6 +17,7 @@ export * from './mutate-group-entity-connection-dto';
|
|
|
15
17
|
export * from './mutate-user-connection-dto';
|
|
16
18
|
export * from './mutate-user-response-dto';
|
|
17
19
|
export * from './update-event-dto';
|
|
20
|
+
export * from './update-event-series-dto';
|
|
18
21
|
export * from './update-group-dto';
|
|
19
22
|
export * from './update-user-dto';
|
|
20
23
|
export * from './user-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -15,11 +15,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./create-event-dto"), exports);
|
|
18
|
+
__exportStar(require("./create-event-series-dto"), exports);
|
|
18
19
|
__exportStar(require("./create-group-dto"), exports);
|
|
19
20
|
__exportStar(require("./create-user-dto"), exports);
|
|
20
21
|
__exportStar(require("./entity-connection-dto"), exports);
|
|
21
22
|
__exportStar(require("./event-dto"), exports);
|
|
22
23
|
__exportStar(require("./event-entity-connection-dto"), exports);
|
|
24
|
+
__exportStar(require("./event-series-dto"), exports);
|
|
23
25
|
__exportStar(require("./get-events-dto"), exports);
|
|
24
26
|
__exportStar(require("./get-groups-dto"), exports);
|
|
25
27
|
__exportStar(require("./get-users-dto"), exports);
|
|
@@ -31,6 +33,7 @@ __exportStar(require("./mutate-group-entity-connection-dto"), exports);
|
|
|
31
33
|
__exportStar(require("./mutate-user-connection-dto"), exports);
|
|
32
34
|
__exportStar(require("./mutate-user-response-dto"), exports);
|
|
33
35
|
__exportStar(require("./update-event-dto"), exports);
|
|
36
|
+
__exportStar(require("./update-event-series-dto"), exports);
|
|
34
37
|
__exportStar(require("./update-group-dto"), exports);
|
|
35
38
|
__exportStar(require("./update-user-dto"), exports);
|
|
36
39
|
__exportStar(require("./user-dto"), exports);
|
|
@@ -18,7 +18,7 @@ export interface UpdateEventDto {
|
|
|
18
18
|
/**
|
|
19
19
|
* Display name
|
|
20
20
|
*/
|
|
21
|
-
'displayName'
|
|
21
|
+
'displayName'?: string;
|
|
22
22
|
/**
|
|
23
23
|
* Optional location information
|
|
24
24
|
*/
|
|
@@ -34,15 +34,15 @@ export interface UpdateEventDto {
|
|
|
34
34
|
/**
|
|
35
35
|
* Start time (ISO 8601)
|
|
36
36
|
*/
|
|
37
|
-
'startTime'
|
|
37
|
+
'startTime'?: string;
|
|
38
38
|
/**
|
|
39
39
|
* End time (ISO 8601)
|
|
40
40
|
*/
|
|
41
|
-
'endTime'
|
|
41
|
+
'endTime'?: string;
|
|
42
42
|
/**
|
|
43
43
|
* Event type
|
|
44
44
|
*/
|
|
45
|
-
'type'
|
|
45
|
+
'type'?: string;
|
|
46
46
|
/**
|
|
47
47
|
* Maximum number of attendees allowed (null = unlimited)
|
|
48
48
|
*/
|
|
@@ -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 UpdateEventSeriesDto {
|
|
14
|
+
/**
|
|
15
|
+
* Visibility of the entity
|
|
16
|
+
*/
|
|
17
|
+
'visibility'?: UpdateEventSeriesDtoVisibilityEnum;
|
|
18
|
+
/**
|
|
19
|
+
* Display name
|
|
20
|
+
*/
|
|
21
|
+
'displayName'?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Optional location information
|
|
24
|
+
*/
|
|
25
|
+
'location'?: LocationDto;
|
|
26
|
+
/**
|
|
27
|
+
* Entity description
|
|
28
|
+
*/
|
|
29
|
+
'description'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Entity tags
|
|
32
|
+
*/
|
|
33
|
+
'tags'?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Event type
|
|
36
|
+
*/
|
|
37
|
+
'type'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Maximum number of attendees per event instance (null = unlimited)
|
|
40
|
+
*/
|
|
41
|
+
'maxNumAttendees'?: number;
|
|
42
|
+
}
|
|
43
|
+
export declare enum UpdateEventSeriesDtoVisibilityEnum {
|
|
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.UpdateEventSeriesDtoVisibilityEnum = void 0;
|
|
17
|
+
var UpdateEventSeriesDtoVisibilityEnum;
|
|
18
|
+
(function (UpdateEventSeriesDtoVisibilityEnum) {
|
|
19
|
+
UpdateEventSeriesDtoVisibilityEnum["public"] = "public";
|
|
20
|
+
UpdateEventSeriesDtoVisibilityEnum["connections"] = "connections";
|
|
21
|
+
UpdateEventSeriesDtoVisibilityEnum["hidden"] = "hidden";
|
|
22
|
+
})(UpdateEventSeriesDtoVisibilityEnum || (exports.UpdateEventSeriesDtoVisibilityEnum = UpdateEventSeriesDtoVisibilityEnum = {}));
|