@proxima-nexus/sdk-typescript 2.4.3 → 2.4.5
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/dist/enhanced/enhanced-group-api.js +2 -1
- package/dist/models/create-event-dto.d.ts +8 -0
- package/dist/models/create-event-series-dto.d.ts +8 -0
- package/dist/models/event-dto.d.ts +8 -0
- package/dist/models/event-series-dto.d.ts +8 -0
- package/dist/models/update-event-dto.d.ts +8 -0
- package/dist/models/update-event-series-dto.d.ts +8 -0
- package/package.json +2 -2
|
@@ -36,7 +36,8 @@ class EnhancedGroupApi {
|
|
|
36
36
|
return (0, errors_1.unwrap)(this.api.addConnection(groupId, userId, userId, { type: mutate_group_entity_connection_dto_1.MutateGroupEntityConnectionDtoTypeEnum.member }));
|
|
37
37
|
}
|
|
38
38
|
async leaveGroup(groupId, userId) {
|
|
39
|
-
|
|
39
|
+
await (0, errors_1.unwrap)(this.api.removeConnection(groupId, userId, userId, { type: mutate_group_entity_connection_dto_1.MutateGroupEntityConnectionDtoTypeEnum.member }));
|
|
40
|
+
await (0, errors_1.unwrap)(this.api.removeConnection(groupId, userId, userId, { type: mutate_group_entity_connection_dto_1.MutateGroupEntityConnectionDtoTypeEnum.admin }));
|
|
40
41
|
}
|
|
41
42
|
async approveMember(groupId, userId, requesterUserId) {
|
|
42
43
|
return (0, errors_1.unwrap)(this.api.addConnection(groupId, userId, requesterUserId, { type: mutate_group_entity_connection_dto_1.MutateGroupEntityConnectionDtoTypeEnum.member }));
|
|
@@ -55,6 +55,14 @@ export interface CreateEventDto {
|
|
|
55
55
|
* Maximum number of attendees allowed (null = unlimited)
|
|
56
56
|
*/
|
|
57
57
|
'maxNumAttendees'?: number;
|
|
58
|
+
/**
|
|
59
|
+
* Registration fee amount in minor units (e.g. cents). Must be set together with registrationFeeCurrency.
|
|
60
|
+
*/
|
|
61
|
+
'registrationFeeAmount'?: number;
|
|
62
|
+
/**
|
|
63
|
+
* ISO 4217 currency code, lowercase (e.g. eur). Must be set together with registrationFeeAmount.
|
|
64
|
+
*/
|
|
65
|
+
'registrationFeeCurrency'?: string;
|
|
58
66
|
}
|
|
59
67
|
export declare enum CreateEventDtoVisibilityEnum {
|
|
60
68
|
public = "public",
|
|
@@ -67,6 +67,14 @@ export interface CreateEventSeriesDto {
|
|
|
67
67
|
* Maximum number of attendees per event instance (null = unlimited)
|
|
68
68
|
*/
|
|
69
69
|
'maxNumAttendees'?: number;
|
|
70
|
+
/**
|
|
71
|
+
* Registration fee amount in minor units (e.g. cents). Must be set together with registrationFeeCurrency.
|
|
72
|
+
*/
|
|
73
|
+
'registrationFeeAmount'?: number;
|
|
74
|
+
/**
|
|
75
|
+
* ISO 4217 currency code, lowercase (e.g. eur). Must be set together with registrationFeeAmount.
|
|
76
|
+
*/
|
|
77
|
+
'registrationFeeCurrency'?: string;
|
|
70
78
|
}
|
|
71
79
|
export declare enum CreateEventSeriesDtoVisibilityEnum {
|
|
72
80
|
public = "public",
|
|
@@ -76,6 +76,14 @@ export interface EventDto {
|
|
|
76
76
|
* ID of the event series this instance belongs to, if any
|
|
77
77
|
*/
|
|
78
78
|
'seriesId'?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Registration fee amount in minor units (e.g. cents)
|
|
81
|
+
*/
|
|
82
|
+
'registrationFeeAmount'?: number;
|
|
83
|
+
/**
|
|
84
|
+
* ISO 4217 currency code, lowercase (e.g. eur)
|
|
85
|
+
*/
|
|
86
|
+
'registrationFeeCurrency'?: string;
|
|
79
87
|
}
|
|
80
88
|
export declare enum EventDtoVisibilityEnum {
|
|
81
89
|
PUBLIC = "PUBLIC",
|
|
@@ -80,6 +80,14 @@ export interface EventSeriesDto {
|
|
|
80
80
|
* Maximum number of attendees per event instance
|
|
81
81
|
*/
|
|
82
82
|
'maxNumAttendees'?: number;
|
|
83
|
+
/**
|
|
84
|
+
* Registration fee amount in minor units (e.g. cents)
|
|
85
|
+
*/
|
|
86
|
+
'registrationFeeAmount'?: number;
|
|
87
|
+
/**
|
|
88
|
+
* ISO 4217 currency code, lowercase (e.g. eur)
|
|
89
|
+
*/
|
|
90
|
+
'registrationFeeCurrency'?: string;
|
|
83
91
|
}
|
|
84
92
|
export declare enum EventSeriesDtoVisibilityEnum {
|
|
85
93
|
PUBLIC = "PUBLIC",
|
|
@@ -47,6 +47,14 @@ export interface UpdateEventDto {
|
|
|
47
47
|
* Maximum number of attendees allowed (null = unlimited)
|
|
48
48
|
*/
|
|
49
49
|
'maxNumAttendees'?: number;
|
|
50
|
+
/**
|
|
51
|
+
* Registration fee amount in minor units (e.g. cents). Set to null to remove the fee.
|
|
52
|
+
*/
|
|
53
|
+
'registrationFeeAmount'?: object;
|
|
54
|
+
/**
|
|
55
|
+
* ISO 4217 currency code, lowercase (e.g. eur). Set to null to remove the fee.
|
|
56
|
+
*/
|
|
57
|
+
'registrationFeeCurrency'?: object;
|
|
50
58
|
}
|
|
51
59
|
export declare enum UpdateEventDtoVisibilityEnum {
|
|
52
60
|
public = "public",
|
|
@@ -39,6 +39,14 @@ export interface UpdateEventSeriesDto {
|
|
|
39
39
|
* Maximum number of attendees per event instance (null = unlimited)
|
|
40
40
|
*/
|
|
41
41
|
'maxNumAttendees'?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Registration fee amount in minor units (e.g. cents). Set to null to remove the fee.
|
|
44
|
+
*/
|
|
45
|
+
'registrationFeeAmount'?: object;
|
|
46
|
+
/**
|
|
47
|
+
* ISO 4217 currency code, lowercase (e.g. eur). Set to null to remove the fee.
|
|
48
|
+
*/
|
|
49
|
+
'registrationFeeCurrency'?: object;
|
|
42
50
|
}
|
|
43
51
|
export declare enum UpdateEventSeriesDtoVisibilityEnum {
|
|
44
52
|
public = "public",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proxima-nexus/sdk-typescript",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.5",
|
|
4
4
|
"description": "TypeScript SDK for Proxima Nexus Data Plane API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@openapitools/openapi-generator-cli": "^2.7.0",
|
|
46
|
-
"@proxima-nexus/openapi": "^2.
|
|
46
|
+
"@proxima-nexus/openapi": "^2.3.3",
|
|
47
47
|
"@types/node": "^20.10.0",
|
|
48
48
|
"typescript": "^5.3.3",
|
|
49
49
|
"ts-node": "^10.9.2"
|