@fenixalliance/abs-api-client 1.0.13 → 1.0.15
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/clients/accountingService/core/OpenAPI.js +1 -1
- package/clients/accountingService/core/OpenAPI.ts +1 -1
- package/clients/authService/core/ApiError.js +20 -0
- package/clients/authService/core/ApiError.ts +25 -0
- package/clients/authService/core/ApiRequestOptions.js +2 -0
- package/clients/authService/core/ApiRequestOptions.ts +17 -0
- package/clients/authService/core/ApiResult.js +2 -0
- package/clients/authService/core/ApiResult.ts +11 -0
- package/clients/authService/core/CancelablePromise.js +104 -0
- package/clients/authService/core/CancelablePromise.ts +131 -0
- package/clients/authService/core/OpenAPI.js +14 -0
- package/clients/authService/core/OpenAPI.ts +32 -0
- package/clients/authService/core/request.js +294 -0
- package/clients/authService/core/request.ts +322 -0
- package/clients/authService/index.js +28 -0
- package/clients/authService/index.ts +48 -0
- package/clients/authService/models/AccessTokenResponse.js +2 -0
- package/clients/authService/models/AccessTokenResponse.ts +11 -0
- package/clients/authService/models/AccountHolderCreateDto.js +12 -0
- package/clients/authService/models/AccountHolderCreateDto.ts +41 -0
- package/clients/authService/models/AccountHolderCreateDtoEnvelope.js +2 -0
- package/clients/authService/models/AccountHolderCreateDtoEnvelope.ts +14 -0
- package/clients/authService/models/ApiAuthorizationResult.js +2 -0
- package/clients/authService/models/ApiAuthorizationResult.ts +17 -0
- package/clients/authService/models/ApiAuthorizationResultEnvelope.js +2 -0
- package/clients/authService/models/ApiAuthorizationResultEnvelope.ts +14 -0
- package/clients/authService/models/EnrollmentId.js +2 -0
- package/clients/authService/models/EnrollmentId.ts +5 -0
- package/clients/authService/models/ErrorEnvelope.js +2 -0
- package/clients/authService/models/ErrorEnvelope.ts +12 -0
- package/clients/authService/models/ForgotPasswordRequest.js +2 -0
- package/clients/authService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/authService/models/HttpValidationProblemDetails.js +2 -0
- package/clients/authService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/authService/models/InfoRequest.js +2 -0
- package/clients/authService/models/InfoRequest.ts +10 -0
- package/clients/authService/models/InfoResponse.js +2 -0
- package/clients/authService/models/InfoResponse.ts +9 -0
- package/clients/authService/models/JsonWebKey.js +2 -0
- package/clients/authService/models/JsonWebKey.ts +13 -0
- package/clients/authService/models/JsonWebKeySet.js +2 -0
- package/clients/authService/models/JsonWebKeySet.ts +9 -0
- package/clients/authService/models/JsonWebKeySetEnvelope.js +2 -0
- package/clients/authService/models/JsonWebKeySetEnvelope.ts +14 -0
- package/clients/authService/models/JsonWebToken.js +2 -0
- package/clients/authService/models/JsonWebToken.ts +15 -0
- package/clients/authService/models/JsonWebTokenEnvelope.js +2 -0
- package/clients/authService/models/JsonWebTokenEnvelope.ts +14 -0
- package/clients/authService/models/JsonWebTokenHeader.js +2 -0
- package/clients/authService/models/JsonWebTokenHeader.ts +11 -0
- package/clients/authService/models/JsonWebTokenPayload.js +2 -0
- package/clients/authService/models/JsonWebTokenPayload.ts +17 -0
- package/clients/authService/models/LoginRequest.js +2 -0
- package/clients/authService/models/LoginRequest.ts +11 -0
- package/clients/authService/models/OAuthTokenRequest.js +2 -0
- package/clients/authService/models/OAuthTokenRequest.ts +12 -0
- package/clients/authService/models/OpenIdConfiguration.js +2 -0
- package/clients/authService/models/OpenIdConfiguration.ts +19 -0
- package/clients/authService/models/OpenIdConfigurationEnvelope.js +2 -0
- package/clients/authService/models/OpenIdConfigurationEnvelope.ts +14 -0
- package/clients/authService/models/RefreshRequest.js +2 -0
- package/clients/authService/models/RefreshRequest.ts +8 -0
- package/clients/authService/models/RegisterRequest.js +2 -0
- package/clients/authService/models/RegisterRequest.ts +9 -0
- package/clients/authService/models/ResendConfirmationEmailRequest.js +2 -0
- package/clients/authService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/authService/models/ResetPasswordRequest.js +2 -0
- package/clients/authService/models/ResetPasswordRequest.ts +10 -0
- package/clients/authService/models/SigninModel.js +2 -0
- package/clients/authService/models/SigninModel.ts +9 -0
- package/clients/authService/models/StringListEnvelope.js +2 -0
- package/clients/authService/models/StringListEnvelope.ts +13 -0
- package/clients/authService/models/TenantId.js +2 -0
- package/clients/authService/models/TenantId.ts +5 -0
- package/clients/authService/models/TwoFactorRequest.js +2 -0
- package/clients/authService/models/TwoFactorRequest.ts +12 -0
- package/clients/authService/models/TwoFactorResponse.js +2 -0
- package/clients/authService/models/TwoFactorResponse.ts +12 -0
- package/clients/authService/models/UserId.js +2 -0
- package/clients/authService/models/UserId.ts +5 -0
- package/clients/authService/services/ApplicationsService.js +112 -0
- package/clients/authService/services/ApplicationsService.ts +132 -0
- package/clients/authService/services/AuthService.js +246 -0
- package/clients/authService/services/AuthService.ts +293 -0
- package/clients/authService/services/CheckerService.js +22 -0
- package/clients/authService/services/CheckerService.ts +25 -0
- package/clients/authService/services/OAuthService.js +152 -0
- package/clients/authService/services/OAuthService.ts +183 -0
- package/clients/authService/services/ResourceService.js +22 -0
- package/clients/authService/services/ResourceService.ts +25 -0
- package/clients/authService/services/UserInfoService.js +36 -0
- package/clients/authService/services/UserInfoService.ts +41 -0
- package/clients/cartService/core/OpenAPI.js +1 -1
- package/clients/cartService/core/OpenAPI.ts +1 -1
- package/clients/catalogService/core/OpenAPI.js +1 -1
- package/clients/catalogService/core/OpenAPI.ts +1 -1
- package/clients/contentService/core/OpenAPI.js +1 -1
- package/clients/contentService/core/OpenAPI.ts +1 -1
- package/clients/contentService/services/PortalsService.js +26 -14
- package/clients/contentService/services/PortalsService.ts +26 -14
- package/clients/crmService/core/OpenAPI.js +1 -1
- package/clients/crmService/core/OpenAPI.ts +1 -1
- package/clients/dealsService/core/OpenAPI.js +1 -1
- package/clients/dealsService/core/OpenAPI.ts +1 -1
- package/clients/forexService/core/OpenAPI.js +1 -1
- package/clients/forexService/core/OpenAPI.ts +1 -1
- package/clients/globeService/core/OpenAPI.js +1 -1
- package/clients/globeService/core/OpenAPI.ts +1 -1
- package/clients/globeService/index.js +5 -1
- package/clients/globeService/index.ts +4 -0
- package/clients/globeService/models/Error.js +2 -0
- package/clients/globeService/models/Error.ts +10 -0
- package/clients/globeService/models/PaymentResponse.js +21 -0
- package/clients/globeService/models/PaymentResponse.ts +34 -0
- package/clients/globeService/models/ResponseStatus.js +2 -0
- package/clients/globeService/models/ResponseStatus.ts +12 -0
- package/clients/globeService/services/MigrationsService.js +26 -0
- package/clients/globeService/services/MigrationsService.ts +30 -0
- package/clients/holderService/core/OpenAPI.js +1 -1
- package/clients/holderService/core/OpenAPI.ts +1 -1
- package/clients/hrmsService/core/OpenAPI.js +1 -1
- package/clients/hrmsService/core/OpenAPI.ts +1 -1
- package/clients/identityService/core/OpenAPI.js +1 -1
- package/clients/identityService/core/OpenAPI.ts +1 -1
- package/clients/inventoryService/core/OpenAPI.js +1 -1
- package/clients/inventoryService/core/OpenAPI.ts +1 -1
- package/clients/invoicingService/core/OpenAPI.js +1 -1
- package/clients/invoicingService/core/OpenAPI.ts +1 -1
- package/clients/learningService/core/OpenAPI.js +1 -1
- package/clients/learningService/core/OpenAPI.ts +1 -1
- package/clients/marketingService/core/OpenAPI.js +1 -1
- package/clients/marketingService/core/OpenAPI.ts +1 -1
- package/clients/ordersService/core/OpenAPI.js +1 -1
- package/clients/ordersService/core/OpenAPI.ts +1 -1
- package/clients/paymentsService/core/OpenAPI.js +1 -1
- package/clients/paymentsService/core/OpenAPI.ts +1 -1
- package/clients/pricingService/core/OpenAPI.js +1 -1
- package/clients/pricingService/core/OpenAPI.ts +1 -1
- package/clients/projectsService/core/OpenAPI.js +1 -1
- package/clients/projectsService/core/OpenAPI.ts +1 -1
- package/clients/quotesService/core/OpenAPI.js +1 -1
- package/clients/quotesService/core/OpenAPI.ts +1 -1
- package/clients/salesService/core/OpenAPI.js +1 -1
- package/clients/salesService/core/OpenAPI.ts +1 -1
- package/clients/securityService/core/OpenAPI.js +1 -1
- package/clients/securityService/core/OpenAPI.ts +1 -1
- package/clients/shipmentsService/core/OpenAPI.js +1 -1
- package/clients/shipmentsService/core/OpenAPI.ts +1 -1
- package/clients/socialService/core/OpenAPI.js +1 -1
- package/clients/socialService/core/OpenAPI.ts +1 -1
- package/clients/socialService/services/SocialProfilesService.js +72 -24
- package/clients/socialService/services/SocialProfilesService.ts +72 -24
- package/clients/storageService/core/OpenAPI.js +1 -1
- package/clients/storageService/core/OpenAPI.ts +1 -1
- package/clients/supportService/core/OpenAPI.js +1 -1
- package/clients/supportService/core/OpenAPI.ts +1 -1
- package/clients/systemService/core/OpenAPI.js +1 -1
- package/clients/systemService/core/OpenAPI.ts +1 -1
- package/clients/systemService/index.js +5 -1
- package/clients/systemService/index.ts +10 -0
- package/clients/systemService/models/AdditionalAttribute.js +2 -0
- package/clients/systemService/models/AdditionalAttribute.ts +9 -0
- package/clients/systemService/models/LicenseAttributes.js +2 -0
- package/clients/systemService/models/LicenseAttributes.ts +5 -0
- package/clients/systemService/models/LicenseAttributesListEnvelope.js +2 -0
- package/clients/systemService/models/LicenseAttributesListEnvelope.ts +14 -0
- package/clients/systemService/models/LicenseFeature.js +2 -0
- package/clients/systemService/models/LicenseFeature.ts +9 -0
- package/clients/systemService/models/LicenseKey.js +2 -0
- package/clients/systemService/models/LicenseKey.ts +8 -0
- package/clients/systemService/models/LicenseKeyRequest.js +12 -0
- package/clients/systemService/models/LicenseKeyRequest.ts +28 -0
- package/clients/systemService/models/LicenseValidationError.js +2 -0
- package/clients/systemService/models/LicenseValidationError.ts +9 -0
- package/clients/systemService/models/LicenseValidationErrorListEnvelope.js +2 -0
- package/clients/systemService/models/LicenseValidationErrorListEnvelope.ts +14 -0
- package/clients/systemService/models/StringEnvelope.js +2 -0
- package/clients/systemService/models/StringEnvelope.ts +13 -0
- package/clients/systemService/services/LicensesService.js +108 -0
- package/clients/systemService/services/LicensesService.ts +131 -0
- package/clients/tenantService/core/OpenAPI.js +1 -1
- package/clients/tenantService/core/OpenAPI.ts +1 -1
- package/clients/timeTrackerService/core/OpenAPI.js +1 -1
- package/clients/timeTrackerService/core/OpenAPI.ts +1 -1
- package/clients/walletsService/core/OpenAPI.js +1 -1
- package/clients/walletsService/core/OpenAPI.ts +1 -1
- package/clients/walletsService/services/WalletsService.js +65 -21
- package/clients/walletsService/services/WalletsService.ts +65 -21
- package/package.json +1 -1
- package/schemas/authService/schema.s.js +6 -0
- package/schemas/authService/schema.s.ts +894 -0
- package/schemas/contentService/schema.s.ts +120 -48
- package/schemas/globeService/schema.s.ts +64 -0
- package/schemas/socialService/schema.s.ts +1046 -990
- package/schemas/systemService/schema.s.ts +238 -0
- package/schemas/walletsService/schema.s.ts +971 -774
|
@@ -5,11 +5,13 @@ const OpenAPI_1 = require("../core/OpenAPI");
|
|
|
5
5
|
const request_1 = require("../core/request");
|
|
6
6
|
class SocialProfilesService {
|
|
7
7
|
/**
|
|
8
|
+
* Get Social Profiles
|
|
9
|
+
* Get a list of social profiles.
|
|
8
10
|
* @param xApiVersion
|
|
9
11
|
* @returns SocialProfileDtoListEnvelope OK
|
|
10
12
|
* @throws ApiError
|
|
11
13
|
*/
|
|
12
|
-
static
|
|
14
|
+
static getSocialProfilesAsync(xApiVersion) {
|
|
13
15
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
14
16
|
method: 'GET',
|
|
15
17
|
url: '/api/v2/SocialService/SocialProfiles',
|
|
@@ -23,11 +25,13 @@ class SocialProfilesService {
|
|
|
23
25
|
});
|
|
24
26
|
}
|
|
25
27
|
/**
|
|
28
|
+
* Count Social Profiles
|
|
29
|
+
* Count social profiles.
|
|
26
30
|
* @param xApiVersion
|
|
27
31
|
* @returns Int32Envelope OK
|
|
28
32
|
* @throws ApiError
|
|
29
33
|
*/
|
|
30
|
-
static
|
|
34
|
+
static countSocialProfilesAsync(xApiVersion) {
|
|
31
35
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
32
36
|
method: 'GET',
|
|
33
37
|
url: '/api/v2/SocialService/SocialProfiles/Count',
|
|
@@ -41,12 +45,14 @@ class SocialProfilesService {
|
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
/**
|
|
48
|
+
* Get Social Profile
|
|
49
|
+
* Get a social profile by ID.
|
|
44
50
|
* @param socialProfileId
|
|
45
51
|
* @param xApiVersion
|
|
46
52
|
* @returns SocialProfileDtoEnvelope OK
|
|
47
53
|
* @throws ApiError
|
|
48
54
|
*/
|
|
49
|
-
static
|
|
55
|
+
static getSocialProfileAsync(socialProfileId, xApiVersion) {
|
|
50
56
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
51
57
|
method: 'GET',
|
|
52
58
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}',
|
|
@@ -63,12 +69,14 @@ class SocialProfilesService {
|
|
|
63
69
|
});
|
|
64
70
|
}
|
|
65
71
|
/**
|
|
72
|
+
* Get Followers
|
|
73
|
+
* Get a list of followers for a social profile.
|
|
66
74
|
* @param socialProfileId
|
|
67
75
|
* @param xApiVersion
|
|
68
76
|
* @returns FollowRecordDtoListEnvelope OK
|
|
69
77
|
* @throws ApiError
|
|
70
78
|
*/
|
|
71
|
-
static
|
|
79
|
+
static getFollowersAsync(socialProfileId, xApiVersion) {
|
|
72
80
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
73
81
|
method: 'GET',
|
|
74
82
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Followers',
|
|
@@ -85,12 +93,14 @@ class SocialProfilesService {
|
|
|
85
93
|
});
|
|
86
94
|
}
|
|
87
95
|
/**
|
|
96
|
+
* Count Followers
|
|
97
|
+
* Count followers for a social profile.
|
|
88
98
|
* @param socialProfileId
|
|
89
99
|
* @param xApiVersion
|
|
90
100
|
* @returns Int32Envelope OK
|
|
91
101
|
* @throws ApiError
|
|
92
102
|
*/
|
|
93
|
-
static
|
|
103
|
+
static countFollowersAsync(socialProfileId, xApiVersion) {
|
|
94
104
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
95
105
|
method: 'GET',
|
|
96
106
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Followers/Count',
|
|
@@ -107,12 +117,14 @@ class SocialProfilesService {
|
|
|
107
117
|
});
|
|
108
118
|
}
|
|
109
119
|
/**
|
|
120
|
+
* Get Followers
|
|
121
|
+
* Get a list of followers for a social profile.
|
|
110
122
|
* @param socialProfileId
|
|
111
123
|
* @param xApiVersion
|
|
112
124
|
* @returns SocialProfileDtoListEnvelope OK
|
|
113
125
|
* @throws ApiError
|
|
114
126
|
*/
|
|
115
|
-
static
|
|
127
|
+
static getFollowersAsync1(socialProfileId, xApiVersion) {
|
|
116
128
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
117
129
|
method: 'GET',
|
|
118
130
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Followers/Profiles',
|
|
@@ -129,12 +141,14 @@ class SocialProfilesService {
|
|
|
129
141
|
});
|
|
130
142
|
}
|
|
131
143
|
/**
|
|
144
|
+
* Count Followers
|
|
145
|
+
* Count followers for a social profile.
|
|
132
146
|
* @param socialProfileId
|
|
133
147
|
* @param xApiVersion
|
|
134
148
|
* @returns Int32Envelope OK
|
|
135
149
|
* @throws ApiError
|
|
136
150
|
*/
|
|
137
|
-
static
|
|
151
|
+
static countFollowersAsync1(socialProfileId, xApiVersion) {
|
|
138
152
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
139
153
|
method: 'GET',
|
|
140
154
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Followers/Profiles/Count',
|
|
@@ -151,12 +165,14 @@ class SocialProfilesService {
|
|
|
151
165
|
});
|
|
152
166
|
}
|
|
153
167
|
/**
|
|
168
|
+
* Get Follows
|
|
169
|
+
* Get a list of follows for a social profile.
|
|
154
170
|
* @param socialProfileId
|
|
155
171
|
* @param xApiVersion
|
|
156
172
|
* @returns FollowRecordDtoListEnvelope OK
|
|
157
173
|
* @throws ApiError
|
|
158
174
|
*/
|
|
159
|
-
static
|
|
175
|
+
static getFollowsAsync(socialProfileId, xApiVersion) {
|
|
160
176
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
161
177
|
method: 'GET',
|
|
162
178
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Follows',
|
|
@@ -173,12 +189,14 @@ class SocialProfilesService {
|
|
|
173
189
|
});
|
|
174
190
|
}
|
|
175
191
|
/**
|
|
192
|
+
* Count Follows
|
|
193
|
+
* Count follows for a social profile.
|
|
176
194
|
* @param socialProfileId
|
|
177
195
|
* @param xApiVersion
|
|
178
196
|
* @returns Int32Envelope OK
|
|
179
197
|
* @throws ApiError
|
|
180
198
|
*/
|
|
181
|
-
static
|
|
199
|
+
static countFollowsAsync(socialProfileId, xApiVersion) {
|
|
182
200
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
183
201
|
method: 'GET',
|
|
184
202
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Follows/Count',
|
|
@@ -195,12 +213,14 @@ class SocialProfilesService {
|
|
|
195
213
|
});
|
|
196
214
|
}
|
|
197
215
|
/**
|
|
216
|
+
* Get Follows
|
|
217
|
+
* Get a list of follows for a social profile.
|
|
198
218
|
* @param socialProfileId
|
|
199
219
|
* @param xApiVersion
|
|
200
220
|
* @returns SocialProfileDtoListEnvelope OK
|
|
201
221
|
* @throws ApiError
|
|
202
222
|
*/
|
|
203
|
-
static
|
|
223
|
+
static getFollowsAsync1(socialProfileId, xApiVersion) {
|
|
204
224
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
205
225
|
method: 'GET',
|
|
206
226
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Follows/Profiles',
|
|
@@ -217,12 +237,14 @@ class SocialProfilesService {
|
|
|
217
237
|
});
|
|
218
238
|
}
|
|
219
239
|
/**
|
|
240
|
+
* Count Follows
|
|
241
|
+
* Count follows for a social profile.
|
|
220
242
|
* @param socialProfileId
|
|
221
243
|
* @param xApiVersion
|
|
222
244
|
* @returns Int32Envelope OK
|
|
223
245
|
* @throws ApiError
|
|
224
246
|
*/
|
|
225
|
-
static
|
|
247
|
+
static countFollowsAsync1(socialProfileId, xApiVersion) {
|
|
226
248
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
227
249
|
method: 'GET',
|
|
228
250
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Follows/Profiles/Count',
|
|
@@ -239,13 +261,15 @@ class SocialProfilesService {
|
|
|
239
261
|
});
|
|
240
262
|
}
|
|
241
263
|
/**
|
|
264
|
+
* Check if Follow Exists
|
|
265
|
+
* Check if a follow record exists between two social profiles.
|
|
242
266
|
* @param socialProfileId
|
|
243
267
|
* @param followedSocialProfileId
|
|
244
268
|
* @param xApiVersion
|
|
245
269
|
* @returns BooleanEnvelope OK
|
|
246
270
|
* @throws ApiError
|
|
247
271
|
*/
|
|
248
|
-
static
|
|
272
|
+
static followExistsAsync(socialProfileId, followedSocialProfileId, xApiVersion) {
|
|
249
273
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
250
274
|
method: 'GET',
|
|
251
275
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Follows/{followedSocialProfileId}',
|
|
@@ -263,13 +287,15 @@ class SocialProfilesService {
|
|
|
263
287
|
});
|
|
264
288
|
}
|
|
265
289
|
/**
|
|
290
|
+
* Follow
|
|
291
|
+
* Follow a social profile.
|
|
266
292
|
* @param socialProfileId
|
|
267
293
|
* @param followedSocialProfileId
|
|
268
294
|
* @param xApiVersion
|
|
269
295
|
* @returns EmptyEnvelope OK
|
|
270
296
|
* @throws ApiError
|
|
271
297
|
*/
|
|
272
|
-
static
|
|
298
|
+
static followAsync(socialProfileId, followedSocialProfileId, xApiVersion) {
|
|
273
299
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
274
300
|
method: 'POST',
|
|
275
301
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Follows/{followedSocialProfileId}',
|
|
@@ -287,13 +313,15 @@ class SocialProfilesService {
|
|
|
287
313
|
});
|
|
288
314
|
}
|
|
289
315
|
/**
|
|
316
|
+
* Unfollow
|
|
317
|
+
* Unfollow a social profile.
|
|
290
318
|
* @param socialProfileId
|
|
291
319
|
* @param followedSocialProfileId
|
|
292
320
|
* @param xApiVersion
|
|
293
321
|
* @returns EmptyEnvelope OK
|
|
294
322
|
* @throws ApiError
|
|
295
323
|
*/
|
|
296
|
-
static
|
|
324
|
+
static unfollowAsync(socialProfileId, followedSocialProfileId, xApiVersion) {
|
|
297
325
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
298
326
|
method: 'DELETE',
|
|
299
327
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Follows/{followedSocialProfileId}',
|
|
@@ -311,12 +339,14 @@ class SocialProfilesService {
|
|
|
311
339
|
});
|
|
312
340
|
}
|
|
313
341
|
/**
|
|
342
|
+
* Get Notifications
|
|
343
|
+
* Get a list of notifications for a social profile.
|
|
314
344
|
* @param socialProfileId
|
|
315
345
|
* @param xApiVersion
|
|
316
346
|
* @returns NotificationDtoListEnvelope OK
|
|
317
347
|
* @throws ApiError
|
|
318
348
|
*/
|
|
319
|
-
static
|
|
349
|
+
static getNotificationsAsync(socialProfileId, xApiVersion) {
|
|
320
350
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
321
351
|
method: 'GET',
|
|
322
352
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Notifications',
|
|
@@ -333,12 +363,14 @@ class SocialProfilesService {
|
|
|
333
363
|
});
|
|
334
364
|
}
|
|
335
365
|
/**
|
|
366
|
+
* Count Notifications
|
|
367
|
+
* Count notifications for a social profile.
|
|
336
368
|
* @param socialProfileId
|
|
337
369
|
* @param xApiVersion
|
|
338
370
|
* @returns Int32Envelope OK
|
|
339
371
|
* @throws ApiError
|
|
340
372
|
*/
|
|
341
|
-
static
|
|
373
|
+
static countNotificationsAsync(socialProfileId, xApiVersion) {
|
|
342
374
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
343
375
|
method: 'GET',
|
|
344
376
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Notifications/Count',
|
|
@@ -355,12 +387,14 @@ class SocialProfilesService {
|
|
|
355
387
|
});
|
|
356
388
|
}
|
|
357
389
|
/**
|
|
390
|
+
* Get Conversations
|
|
391
|
+
* Get a list of conversations for a social profile.
|
|
358
392
|
* @param socialProfileId
|
|
359
393
|
* @param xApiVersion
|
|
360
394
|
* @returns ConversationDtoListEnvelope OK
|
|
361
395
|
* @throws ApiError
|
|
362
396
|
*/
|
|
363
|
-
static
|
|
397
|
+
static getConversationsAsync(socialProfileId, xApiVersion) {
|
|
364
398
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
365
399
|
method: 'GET',
|
|
366
400
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Conversations',
|
|
@@ -377,13 +411,15 @@ class SocialProfilesService {
|
|
|
377
411
|
});
|
|
378
412
|
}
|
|
379
413
|
/**
|
|
414
|
+
* Create Conversation
|
|
415
|
+
* Create a new conversation.
|
|
380
416
|
* @param socialProfileId
|
|
381
417
|
* @param xApiVersion
|
|
382
418
|
* @param requestBody
|
|
383
419
|
* @returns EmptyEnvelope OK
|
|
384
420
|
* @throws ApiError
|
|
385
421
|
*/
|
|
386
|
-
static
|
|
422
|
+
static createConversationAsync(socialProfileId, xApiVersion, requestBody) {
|
|
387
423
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
388
424
|
method: 'POST',
|
|
389
425
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Conversations',
|
|
@@ -402,12 +438,14 @@ class SocialProfilesService {
|
|
|
402
438
|
});
|
|
403
439
|
}
|
|
404
440
|
/**
|
|
441
|
+
* Count Conversations
|
|
442
|
+
* Count conversations for a social profile.
|
|
405
443
|
* @param socialProfileId
|
|
406
444
|
* @param xApiVersion
|
|
407
445
|
* @returns Int32Envelope OK
|
|
408
446
|
* @throws ApiError
|
|
409
447
|
*/
|
|
410
|
-
static
|
|
448
|
+
static countConversationsAsync(socialProfileId, xApiVersion) {
|
|
411
449
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
412
450
|
method: 'GET',
|
|
413
451
|
url: '/api/v2/SocialService/SocialProfiles/{socialProfileId}/Conversations/Count',
|
|
@@ -424,12 +462,14 @@ class SocialProfilesService {
|
|
|
424
462
|
});
|
|
425
463
|
}
|
|
426
464
|
/**
|
|
465
|
+
* Get Messages
|
|
466
|
+
* Get a list of messages for a conversation.
|
|
427
467
|
* @param conversationId
|
|
428
468
|
* @param xApiVersion
|
|
429
469
|
* @returns PrivateMessageDtoListEnvelope OK
|
|
430
470
|
* @throws ApiError
|
|
431
471
|
*/
|
|
432
|
-
static
|
|
472
|
+
static getMessagesAsync(conversationId, xApiVersion) {
|
|
433
473
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
434
474
|
method: 'GET',
|
|
435
475
|
url: '/api/v2/SocialService/SocialProfiles/{conversationId}/Messages',
|
|
@@ -446,6 +486,8 @@ class SocialProfilesService {
|
|
|
446
486
|
});
|
|
447
487
|
}
|
|
448
488
|
/**
|
|
489
|
+
* Create Message
|
|
490
|
+
* Create a new message.
|
|
449
491
|
* @param socialProfileId
|
|
450
492
|
* @param conversationId
|
|
451
493
|
* @param xApiVersion
|
|
@@ -453,7 +495,7 @@ class SocialProfilesService {
|
|
|
453
495
|
* @returns EmptyEnvelope OK
|
|
454
496
|
* @throws ApiError
|
|
455
497
|
*/
|
|
456
|
-
static
|
|
498
|
+
static createMessageAsync(socialProfileId, conversationId, xApiVersion, requestBody) {
|
|
457
499
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
458
500
|
method: 'POST',
|
|
459
501
|
url: '/api/v2/SocialService/SocialProfiles/{conversationId}/Messages',
|
|
@@ -475,12 +517,14 @@ class SocialProfilesService {
|
|
|
475
517
|
});
|
|
476
518
|
}
|
|
477
519
|
/**
|
|
520
|
+
* Count Messages
|
|
521
|
+
* Count messages for a conversation.
|
|
478
522
|
* @param conversationId
|
|
479
523
|
* @param xApiVersion
|
|
480
524
|
* @returns Int32Envelope OK
|
|
481
525
|
* @throws ApiError
|
|
482
526
|
*/
|
|
483
|
-
static
|
|
527
|
+
static countMessagesAsync(conversationId, xApiVersion) {
|
|
484
528
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
485
529
|
method: 'GET',
|
|
486
530
|
url: '/api/v2/SocialService/SocialProfiles/{conversationId}/Messages/Count',
|
|
@@ -497,6 +541,8 @@ class SocialProfilesService {
|
|
|
497
541
|
});
|
|
498
542
|
}
|
|
499
543
|
/**
|
|
544
|
+
* Update Message
|
|
545
|
+
* Update a message.
|
|
500
546
|
* @param socialProfileId
|
|
501
547
|
* @param conversationId
|
|
502
548
|
* @param messageId
|
|
@@ -505,7 +551,7 @@ class SocialProfilesService {
|
|
|
505
551
|
* @returns EmptyEnvelope OK
|
|
506
552
|
* @throws ApiError
|
|
507
553
|
*/
|
|
508
|
-
static
|
|
554
|
+
static updateMessageAsync(socialProfileId, conversationId, messageId, xApiVersion, requestBody) {
|
|
509
555
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
510
556
|
method: 'PUT',
|
|
511
557
|
url: '/api/v2/SocialService/SocialProfiles/{conversationId}/Messages/{messageId}',
|
|
@@ -528,6 +574,8 @@ class SocialProfilesService {
|
|
|
528
574
|
});
|
|
529
575
|
}
|
|
530
576
|
/**
|
|
577
|
+
* Delete Message
|
|
578
|
+
* Delete a message.
|
|
531
579
|
* @param socialProfileId
|
|
532
580
|
* @param conversationId
|
|
533
581
|
* @param messageId
|
|
@@ -535,7 +583,7 @@ class SocialProfilesService {
|
|
|
535
583
|
* @returns EmptyEnvelope OK
|
|
536
584
|
* @throws ApiError
|
|
537
585
|
*/
|
|
538
|
-
static
|
|
586
|
+
static deleteMessageAsync(socialProfileId, conversationId, messageId, xApiVersion) {
|
|
539
587
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
540
588
|
method: 'DELETE',
|
|
541
589
|
url: '/api/v2/SocialService/SocialProfiles/{conversationId}/Messages/{messageId}',
|