@connectedxm/admin-sdk 11.0.2 → 11.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.
@@ -0,0 +1,181 @@
1
+ # EventsPasschangewebhooksApi
2
+
3
+ All URIs are relative to *https://admin-api.connected.dev*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**addEventPassChangeWebhook**](#addeventpasschangewebhook) | **POST** /events/{eventId}/passChangeWebhooks/{webhookId} | Connect a webhook to an event\'s pass change log|
8
+ |[**getEventPassChangeWebhooks**](#geteventpasschangewebhooks) | **GET** /events/{eventId}/passChangeWebhooks | List an event\'s pass change log webhooks|
9
+ |[**removeEventPassChangeWebhook**](#removeeventpasschangewebhook) | **DELETE** /events/{eventId}/passChangeWebhooks/{webhookId} | Disconnect a webhook from an event\'s pass change log|
10
+
11
+ # **addEventPassChangeWebhook**
12
+ > AddEventPassChangeWebhook200Response addEventPassChangeWebhook()
13
+
14
+ Connects the specified webhook so it receives the event\'s pass change log rows, and requires update permission on events; the webhook must be verified.
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ EventsPasschangewebhooksApi,
21
+ Configuration
22
+ } from '@connectedxm/admin-sdk';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new EventsPasschangewebhooksApi(configuration);
26
+
27
+ let eventId: string; //The event identifier (default to undefined)
28
+ let webhookId: string; //The webhook identifier (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.addEventPassChangeWebhook(
31
+ eventId,
32
+ webhookId
33
+ );
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ |Name | Type | Description | Notes|
39
+ |------------- | ------------- | ------------- | -------------|
40
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
41
+ | **webhookId** | [**string**] | The webhook identifier | defaults to undefined|
42
+
43
+
44
+ ### Return type
45
+
46
+ **AddEventPassChangeWebhook200Response**
47
+
48
+ ### Authorization
49
+
50
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
51
+
52
+ ### HTTP request headers
53
+
54
+ - **Content-Type**: Not defined
55
+ - **Accept**: application/json
56
+
57
+
58
+ ### HTTP response details
59
+ | Status code | Description | Response headers |
60
+ |-------------|-------------|------------------|
61
+ |**200** | Successful response | - |
62
+
63
+ [[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)
64
+
65
+ # **getEventPassChangeWebhooks**
66
+ > GetEventPassChangeWebhooks200Response getEventPassChangeWebhooks()
67
+
68
+ Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
69
+
70
+ ### Example
71
+
72
+ ```typescript
73
+ import {
74
+ EventsPasschangewebhooksApi,
75
+ Configuration
76
+ } from '@connectedxm/admin-sdk';
77
+
78
+ const configuration = new Configuration();
79
+ const apiInstance = new EventsPasschangewebhooksApi(configuration);
80
+
81
+ let eventId: string; //The event identifier (default to undefined)
82
+ let page: number; //Page number (optional) (default to 1)
83
+ let pageSize: number; //Number of items per page (optional) (default to 25)
84
+ let orderBy: string; //Field to order by (optional) (default to undefined)
85
+ let search: string; //Search query (optional) (default to undefined)
86
+
87
+ const { status, data } = await apiInstance.getEventPassChangeWebhooks(
88
+ eventId,
89
+ page,
90
+ pageSize,
91
+ orderBy,
92
+ search
93
+ );
94
+ ```
95
+
96
+ ### Parameters
97
+
98
+ |Name | Type | Description | Notes|
99
+ |------------- | ------------- | ------------- | -------------|
100
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
101
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
102
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
103
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
104
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
105
+
106
+
107
+ ### Return type
108
+
109
+ **GetEventPassChangeWebhooks200Response**
110
+
111
+ ### Authorization
112
+
113
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
114
+
115
+ ### HTTP request headers
116
+
117
+ - **Content-Type**: Not defined
118
+ - **Accept**: application/json
119
+
120
+
121
+ ### HTTP response details
122
+ | Status code | Description | Response headers |
123
+ |-------------|-------------|------------------|
124
+ |**200** | Successful response | - |
125
+
126
+ [[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)
127
+
128
+ # **removeEventPassChangeWebhook**
129
+ > CreateAccountInvitations200Response removeEventPassChangeWebhook()
130
+
131
+ Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
132
+
133
+ ### Example
134
+
135
+ ```typescript
136
+ import {
137
+ EventsPasschangewebhooksApi,
138
+ Configuration
139
+ } from '@connectedxm/admin-sdk';
140
+
141
+ const configuration = new Configuration();
142
+ const apiInstance = new EventsPasschangewebhooksApi(configuration);
143
+
144
+ let eventId: string; //The event identifier (default to undefined)
145
+ let webhookId: string; //The webhook identifier (default to undefined)
146
+
147
+ const { status, data } = await apiInstance.removeEventPassChangeWebhook(
148
+ eventId,
149
+ webhookId
150
+ );
151
+ ```
152
+
153
+ ### Parameters
154
+
155
+ |Name | Type | Description | Notes|
156
+ |------------- | ------------- | ------------- | -------------|
157
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
158
+ | **webhookId** | [**string**] | The webhook identifier | defaults to undefined|
159
+
160
+
161
+ ### Return type
162
+
163
+ **CreateAccountInvitations200Response**
164
+
165
+ ### Authorization
166
+
167
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
168
+
169
+ ### HTTP request headers
170
+
171
+ - **Content-Type**: Not defined
172
+ - **Accept**: application/json
173
+
174
+
175
+ ### HTTP response details
176
+ | Status code | Description | Response headers |
177
+ |-------------|-------------|------------------|
178
+ |**200** | Successful response | - |
179
+
180
+ [[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)
181
+
@@ -1,4 +1,4 @@
1
- # GetOrganizationWebhooks200Response
1
+ # GetEventPassChangeWebhooks200Response
2
2
 
3
3
 
4
4
  ## Properties
@@ -13,9 +13,9 @@ Name | Type | Description | Notes
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { GetOrganizationWebhooks200Response } from '@connectedxm/admin-sdk';
16
+ import { GetEventPassChangeWebhooks200Response } from '@connectedxm/admin-sdk';
17
17
 
18
- const instance: GetOrganizationWebhooks200Response = {
18
+ const instance: GetEventPassChangeWebhooks200Response = {
19
19
  status,
20
20
  message,
21
21
  data,
@@ -12,7 +12,7 @@ All URIs are relative to *https://admin-api.connected.dev*
12
12
  |[**verifyOrganizationWebhook**](#verifyorganizationwebhook) | **POST** /organization/webhooks/{webhookId}/verify | Verify an organization webhook endpoint|
13
13
 
14
14
  # **createOrganizationWebhook**
15
- > CreateOrganizationWebhook200Response createOrganizationWebhook(webhookCreateInputs)
15
+ > AddEventPassChangeWebhook200Response createOrganizationWebhook(webhookCreateInputs)
16
16
 
17
17
  Registers a new outbound webhook endpoint for the organization with a name, URL, and secret, requires organization read and update permissions; the new webhook starts unverified until the verify endpoint is called.
18
18
 
@@ -44,7 +44,7 @@ const { status, data } = await apiInstance.createOrganizationWebhook(
44
44
 
45
45
  ### Return type
46
46
 
47
- **CreateOrganizationWebhook200Response**
47
+ **AddEventPassChangeWebhook200Response**
48
48
 
49
49
  ### Authorization
50
50
 
@@ -115,7 +115,7 @@ const { status, data } = await apiInstance.deleteOrganizationWebhook(
115
115
  [[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)
116
116
 
117
117
  # **getOrganizationWebhook**
118
- > CreateOrganizationWebhook200Response getOrganizationWebhook()
118
+ > AddEventPassChangeWebhook200Response getOrganizationWebhook()
119
119
 
120
120
  Retrieves a single outbound webhook configuration by ID for the current organization, including its URL, subscribed events, and status; requires read permission on the org resource.
121
121
 
@@ -146,7 +146,7 @@ const { status, data } = await apiInstance.getOrganizationWebhook(
146
146
 
147
147
  ### Return type
148
148
 
149
- **CreateOrganizationWebhook200Response**
149
+ **AddEventPassChangeWebhook200Response**
150
150
 
151
151
  ### Authorization
152
152
 
@@ -166,7 +166,7 @@ const { status, data } = await apiInstance.getOrganizationWebhook(
166
166
  [[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)
167
167
 
168
168
  # **getOrganizationWebhooks**
169
- > GetOrganizationWebhooks200Response getOrganizationWebhooks()
169
+ > GetEventPassChangeWebhooks200Response getOrganizationWebhooks()
170
170
 
171
171
  Returns a paginated, searchable list of outbound webhook configurations registered for the current organization, matching on name, URL, or ID and supporting sorting via orderBy; requires read permission on the org resource.
172
172
 
@@ -206,7 +206,7 @@ const { status, data } = await apiInstance.getOrganizationWebhooks(
206
206
 
207
207
  ### Return type
208
208
 
209
- **GetOrganizationWebhooks200Response**
209
+ **GetEventPassChangeWebhooks200Response**
210
210
 
211
211
  ### Authorization
212
212
 
@@ -226,7 +226,7 @@ const { status, data } = await apiInstance.getOrganizationWebhooks(
226
226
  [[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)
227
227
 
228
228
  # **updateOrganizationWebhook**
229
- > CreateOrganizationWebhook200Response updateOrganizationWebhook(webhookUpdateInputs)
229
+ > AddEventPassChangeWebhook200Response updateOrganizationWebhook(webhookUpdateInputs)
230
230
 
231
231
  Modifies an existing webhook\'s name, URL, secret, or other settings for the organization, requires organization read and update permissions.
232
232
 
@@ -261,7 +261,7 @@ const { status, data } = await apiInstance.updateOrganizationWebhook(
261
261
 
262
262
  ### Return type
263
263
 
264
- **CreateOrganizationWebhook200Response**
264
+ **AddEventPassChangeWebhook200Response**
265
265
 
266
266
  ### Authorization
267
267
 
@@ -281,7 +281,7 @@ const { status, data } = await apiInstance.updateOrganizationWebhook(
281
281
  [[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)
282
282
 
283
283
  # **verifyOrganizationWebhook**
284
- > CreateOrganizationWebhook200Response verifyOrganizationWebhook()
284
+ > AddEventPassChangeWebhook200Response verifyOrganizationWebhook()
285
285
 
286
286
  Sends a signed test payload to the webhook\'s URL and, if delivery succeeds, marks the webhook as verified so it can start receiving real event deliveries, requires organization read and update permissions.
287
287
 
@@ -312,7 +312,7 @@ const { status, data } = await apiInstance.verifyOrganizationWebhook(
312
312
 
313
313
  ### Return type
314
314
 
315
- **CreateOrganizationWebhook200Response**
315
+ **AddEventPassChangeWebhook200Response**
316
316
 
317
317
  ### Authorization
318
318
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "11.0.2",
3
+ "version": "11.2.0",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {