@connectedxm/admin-sdk 15.3.2 → 15.4.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.
@@ -4,13 +4,73 @@ All URIs are relative to *https://admin-api.connected.dev*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**addEventSponsorshipLevelSurvey**](#addeventsponsorshiplevelsurvey) | **POST** /events/{eventId}/sponsorshipLevels/{levelId}/surveys/{surveyId} | Add a survey to a sponsorship level|
7
8
  |[**createEventSponsorshipLevel**](#createeventsponsorshiplevel) | **POST** /events/{eventId}/sponsorshipLevels | Create an event sponsorship level|
8
9
  |[**deleteEventSponsorshipLevel**](#deleteeventsponsorshiplevel) | **DELETE** /events/{eventId}/sponsorshipLevels/{levelId} | Delete an event sponsorship level|
9
10
  |[**getEventSponsorshipLevel**](#geteventsponsorshiplevel) | **GET** /events/{eventId}/sponsorshipLevels/{levelId} | Get an event sponsorship level|
11
+ |[**getEventSponsorshipLevelSurveys**](#geteventsponsorshiplevelsurveys) | **GET** /events/{eventId}/sponsorshipLevels/{levelId}/surveys | List surveys on a sponsorship level|
10
12
  |[**getEventSponsorshipLevels**](#geteventsponsorshiplevels) | **GET** /events/{eventId}/sponsorshipLevels | List an event\'s sponsorship levels|
13
+ |[**removeEventSponsorshipLevelSurvey**](#removeeventsponsorshiplevelsurvey) | **DELETE** /events/{eventId}/sponsorshipLevels/{levelId}/surveys/{surveyId} | Remove a survey from a sponsorship level|
11
14
  |[**reorderEventSponsorshipLevels**](#reordereventsponsorshiplevels) | **PUT** /events/{eventId}/sponsorshipLevels/reorder | Reorder an event\'s sponsorship levels|
12
15
  |[**updateEventSponsorshipLevel**](#updateeventsponsorshiplevel) | **PUT** /events/{eventId}/sponsorshipLevels/{levelId} | Update an event sponsorship level|
13
16
 
17
+ # **addEventSponsorshipLevelSurvey**
18
+ > CreateEventSponsorshipLevel200Response addEventSponsorshipLevelSurvey()
19
+
20
+ Links a survey to an event sponsorship level and returns the level; requires read and update permission on events and surveys.
21
+
22
+ ### Example
23
+
24
+ ```typescript
25
+ import {
26
+ EventsSponsorshiplevelsApi,
27
+ Configuration
28
+ } from '@connectedxm/admin-sdk';
29
+
30
+ const configuration = new Configuration();
31
+ const apiInstance = new EventsSponsorshiplevelsApi(configuration);
32
+
33
+ let eventId: string; //The event identifier (default to undefined)
34
+ let levelId: string; //The level identifier (default to undefined)
35
+ let surveyId: string; //The survey identifier (default to undefined)
36
+
37
+ const { status, data } = await apiInstance.addEventSponsorshipLevelSurvey(
38
+ eventId,
39
+ levelId,
40
+ surveyId
41
+ );
42
+ ```
43
+
44
+ ### Parameters
45
+
46
+ |Name | Type | Description | Notes|
47
+ |------------- | ------------- | ------------- | -------------|
48
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
49
+ | **levelId** | [**string**] | The level identifier | defaults to undefined|
50
+ | **surveyId** | [**string**] | The survey identifier | defaults to undefined|
51
+
52
+
53
+ ### Return type
54
+
55
+ **CreateEventSponsorshipLevel200Response**
56
+
57
+ ### Authorization
58
+
59
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
60
+
61
+ ### HTTP request headers
62
+
63
+ - **Content-Type**: Not defined
64
+ - **Accept**: application/json
65
+
66
+
67
+ ### HTTP response details
68
+ | Status code | Description | Response headers |
69
+ |-------------|-------------|------------------|
70
+ |**200** | Successful response | - |
71
+
72
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
73
+
14
74
  # **createEventSponsorshipLevel**
15
75
  > CreateEventSponsorshipLevel200Response createEventSponsorshipLevel(eventSponsorshipLevelCreateInputs)
16
76
 
@@ -167,6 +227,72 @@ const { status, data } = await apiInstance.getEventSponsorshipLevel(
167
227
  - **Accept**: application/json
168
228
 
169
229
 
230
+ ### HTTP response details
231
+ | Status code | Description | Response headers |
232
+ |-------------|-------------|------------------|
233
+ |**200** | Successful response | - |
234
+
235
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
236
+
237
+ # **getEventSponsorshipLevelSurveys**
238
+ > GetEventSponsorshipLevelSurveys200Response getEventSponsorshipLevelSurveys()
239
+
240
+ Returns a paginated list of surveys linked to the given event sponsorship level, supporting search and ordering; requires read permission on events and surveys.
241
+
242
+ ### Example
243
+
244
+ ```typescript
245
+ import {
246
+ EventsSponsorshiplevelsApi,
247
+ Configuration
248
+ } from '@connectedxm/admin-sdk';
249
+
250
+ const configuration = new Configuration();
251
+ const apiInstance = new EventsSponsorshiplevelsApi(configuration);
252
+
253
+ let eventId: string; //The event identifier (default to undefined)
254
+ let levelId: string; //The level identifier (default to undefined)
255
+ let page: number; //Page number (optional) (default to 1)
256
+ let pageSize: number; //Number of items per page (optional) (default to 25)
257
+ let orderBy: string; //Field to order by (optional) (default to undefined)
258
+ let search: string; //Search query (optional) (default to undefined)
259
+
260
+ const { status, data } = await apiInstance.getEventSponsorshipLevelSurveys(
261
+ eventId,
262
+ levelId,
263
+ page,
264
+ pageSize,
265
+ orderBy,
266
+ search
267
+ );
268
+ ```
269
+
270
+ ### Parameters
271
+
272
+ |Name | Type | Description | Notes|
273
+ |------------- | ------------- | ------------- | -------------|
274
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
275
+ | **levelId** | [**string**] | The level identifier | defaults to undefined|
276
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
277
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
278
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
279
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
280
+
281
+
282
+ ### Return type
283
+
284
+ **GetEventSponsorshipLevelSurveys200Response**
285
+
286
+ ### Authorization
287
+
288
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
289
+
290
+ ### HTTP request headers
291
+
292
+ - **Content-Type**: Not defined
293
+ - **Accept**: application/json
294
+
295
+
170
296
  ### HTTP response details
171
297
  | Status code | Description | Response headers |
172
298
  |-------------|-------------|------------------|
@@ -230,6 +356,63 @@ const { status, data } = await apiInstance.getEventSponsorshipLevels(
230
356
  - **Accept**: application/json
231
357
 
232
358
 
359
+ ### HTTP response details
360
+ | Status code | Description | Response headers |
361
+ |-------------|-------------|------------------|
362
+ |**200** | Successful response | - |
363
+
364
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
365
+
366
+ # **removeEventSponsorshipLevelSurvey**
367
+ > CreateEventSponsorshipLevel200Response removeEventSponsorshipLevelSurvey()
368
+
369
+ Unlinks a survey from an event sponsorship level and returns the level; requires read and update permission on events and surveys.
370
+
371
+ ### Example
372
+
373
+ ```typescript
374
+ import {
375
+ EventsSponsorshiplevelsApi,
376
+ Configuration
377
+ } from '@connectedxm/admin-sdk';
378
+
379
+ const configuration = new Configuration();
380
+ const apiInstance = new EventsSponsorshiplevelsApi(configuration);
381
+
382
+ let eventId: string; //The event identifier (default to undefined)
383
+ let levelId: string; //The level identifier (default to undefined)
384
+ let surveyId: string; //The survey identifier (default to undefined)
385
+
386
+ const { status, data } = await apiInstance.removeEventSponsorshipLevelSurvey(
387
+ eventId,
388
+ levelId,
389
+ surveyId
390
+ );
391
+ ```
392
+
393
+ ### Parameters
394
+
395
+ |Name | Type | Description | Notes|
396
+ |------------- | ------------- | ------------- | -------------|
397
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
398
+ | **levelId** | [**string**] | The level identifier | defaults to undefined|
399
+ | **surveyId** | [**string**] | The survey identifier | defaults to undefined|
400
+
401
+
402
+ ### Return type
403
+
404
+ **CreateEventSponsorshipLevel200Response**
405
+
406
+ ### Authorization
407
+
408
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
409
+
410
+ ### HTTP request headers
411
+
412
+ - **Content-Type**: Not defined
413
+ - **Accept**: application/json
414
+
415
+
233
416
  ### HTTP response details
234
417
  | Status code | Description | Response headers |
235
418
  |-------------|-------------|------------------|
@@ -0,0 +1,26 @@
1
+ # GetEventSponsorshipLevelSurveys200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **status** | **string** | | [default to undefined]
9
+ **message** | **string** | | [default to undefined]
10
+ **data** | [**Array<EventSponsorshipLevelSurvey>**](EventSponsorshipLevelSurvey.md) | | [default to undefined]
11
+ **count** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GetEventSponsorshipLevelSurveys200Response } from '@connectedxm/admin-sdk';
17
+
18
+ const instance: GetEventSponsorshipLevelSurveys200Response = {
19
+ status,
20
+ message,
21
+ data,
22
+ count,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
9
9
  **complete** | **boolean** | | [default to undefined]
10
10
  **created** | **number** | | [default to undefined]
11
11
  **allowance** | **number** | | [default to undefined]
12
- **unavailable** | **boolean** | | [default to undefined]
13
12
 
14
13
  ## Example
15
14
 
@@ -21,7 +20,6 @@ const instance: SponsorshipAdvertisementProgress = {
21
20
  complete,
22
21
  created,
23
22
  allowance,
24
- unavailable,
25
23
  };
26
24
  ```
27
25
 
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
9
9
  **complete** | **boolean** | | [default to undefined]
10
10
  **created** | **number** | | [default to undefined]
11
11
  **allowance** | **number** | | [default to undefined]
12
- **unavailable** | **boolean** | | [default to undefined]
13
12
 
14
13
  ## Example
15
14
 
@@ -21,7 +20,6 @@ const instance: SponsorshipBenefitProgress = {
21
20
  complete,
22
21
  created,
23
22
  allowance,
24
- unavailable,
25
23
  };
26
24
  ```
27
25
 
@@ -10,7 +10,8 @@ Name | Type | Description | Notes
10
10
  **missing** | [**Array<SponsorshipBrandingField>**](SponsorshipBrandingField.md) | | [default to undefined]
11
11
  **created** | **number** | | [default to undefined]
12
12
  **allowance** | **number** | | [default to undefined]
13
- **unavailable** | **boolean** | | [default to undefined]
13
+ **submitted** | **number** | | [default to undefined]
14
+ **required** | **number** | | [default to undefined]
14
15
 
15
16
  ## Example
16
17
 
@@ -23,7 +24,8 @@ const instance: SponsorshipProgressCheck = {
23
24
  missing,
24
25
  created,
25
26
  allowance,
26
- unavailable,
27
+ submitted,
28
+ required,
27
29
  };
28
30
  ```
29
31
 
@@ -1,4 +1,4 @@
1
- # UnavailableSponsorshipBenefitProgress
1
+ # SponsorshipSurveyProgress
2
2
 
3
3
 
4
4
  ## Properties
@@ -7,19 +7,19 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **type** | **string** | | [default to undefined]
9
9
  **complete** | **boolean** | | [default to undefined]
10
- **unavailable** | **boolean** | | [default to undefined]
11
- **allowance** | **number** | | [default to undefined]
10
+ **submitted** | **number** | | [default to undefined]
11
+ **required** | **number** | | [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { UnavailableSponsorshipBenefitProgress } from '@connectedxm/admin-sdk';
16
+ import { SponsorshipSurveyProgress } from '@connectedxm/admin-sdk';
17
17
 
18
- const instance: UnavailableSponsorshipBenefitProgress = {
18
+ const instance: SponsorshipSurveyProgress = {
19
19
  type,
20
20
  complete,
21
- unavailable,
22
- allowance,
21
+ submitted,
22
+ required,
23
23
  };
24
24
  ```
25
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "15.3.2",
3
+ "version": "15.4.0",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,26 +0,0 @@
1
- # UnavailableSponsorshipAdvertisementProgress
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **type** | **string** | | [default to undefined]
9
- **complete** | **boolean** | | [default to undefined]
10
- **unavailable** | **boolean** | | [default to undefined]
11
- **allowance** | **number** | | [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { UnavailableSponsorshipAdvertisementProgress } from '@connectedxm/admin-sdk';
17
-
18
- const instance: UnavailableSponsorshipAdvertisementProgress = {
19
- type,
20
- complete,
21
- unavailable,
22
- allowance,
23
- };
24
- ```
25
-
26
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)