@connectedxm/admin-sdk 10.9.0 → 10.11.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.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/AdminApi.ts +3 -0
  3. package/README.md +2 -2
  4. package/api.ts +1260 -14
  5. package/base.ts +1 -1
  6. package/common.ts +1 -1
  7. package/configuration.ts +1 -1
  8. package/dist/AdminApi.d.ts +2 -1
  9. package/dist/AdminApi.js +1 -0
  10. package/dist/api.d.ts +682 -5
  11. package/dist/api.js +922 -29
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +1 -1
  14. package/dist/common.d.ts +1 -1
  15. package/dist/common.js +1 -1
  16. package/dist/configuration.d.ts +1 -1
  17. package/dist/configuration.js +1 -1
  18. package/dist/esm/AdminApi.d.ts +2 -1
  19. package/dist/esm/AdminApi.js +2 -1
  20. package/dist/esm/api.d.ts +682 -5
  21. package/dist/esm/api.js +890 -1
  22. package/dist/esm/base.d.ts +1 -1
  23. package/dist/esm/base.js +1 -1
  24. package/dist/esm/common.d.ts +1 -1
  25. package/dist/esm/common.js +1 -1
  26. package/dist/esm/configuration.d.ts +1 -1
  27. package/dist/esm/configuration.js +1 -1
  28. package/docs/BadgeColorRuleType.md +12 -0
  29. package/docs/BaseEventOnSiteBadgeColorRule.md +36 -0
  30. package/docs/BaseOrganizationEntity.md +30 -0
  31. package/docs/CreateEventBadgeColorRule200Response.md +24 -0
  32. package/docs/CreateOrganizationEntity200Response.md +24 -0
  33. package/docs/EventBadgeColorRuleCreateInputs.md +34 -0
  34. package/docs/EventBadgeColorRuleUpdateInputs.md +34 -0
  35. package/docs/EventOnSiteBadgeColorRule.md +46 -0
  36. package/docs/EventPassCreateInputs.md +0 -2
  37. package/docs/EventPassUpdateInputs.md +0 -2
  38. package/docs/EventsOnSiteApi.md +289 -0
  39. package/docs/GetEventBadgeColorRules200Response.md +26 -0
  40. package/docs/GetOrganizationEntities200Response.md +26 -0
  41. package/docs/OrganizationEntitiesApi.md +333 -0
  42. package/docs/OrganizationEntity.md +54 -0
  43. package/docs/OrganizationEntityCreateInputs.md +44 -0
  44. package/docs/OrganizationEntityUpdateInputs.md +44 -0
  45. package/docs/PassTypeCreateInputs.md +0 -2
  46. package/docs/PassTypeUpdateInputs.md +0 -2
  47. package/package.json +1 -1
@@ -0,0 +1,26 @@
1
+ # GetOrganizationEntities200Response
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<OrganizationEntity>**](OrganizationEntity.md) | | [default to undefined]
11
+ **count** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GetOrganizationEntities200Response } from '@connectedxm/admin-sdk';
17
+
18
+ const instance: GetOrganizationEntities200Response = {
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)
@@ -0,0 +1,333 @@
1
+ # OrganizationEntitiesApi
2
+
3
+ All URIs are relative to *https://admin-api.connected.dev*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createOrganizationEntity**](#createorganizationentity) | **POST** /organization/entities | Create an organization legal entity|
8
+ |[**deleteOrganizationEntity**](#deleteorganizationentity) | **DELETE** /organization/entities/{entityId} | Delete an organization legal entity|
9
+ |[**getOrganizationEntities**](#getorganizationentities) | **GET** /organization/entities | List an organization\'s legal entities|
10
+ |[**getOrganizationEntity**](#getorganizationentity) | **GET** /organization/entities/{entityId} | Get an organization legal entity|
11
+ |[**setPrimaryOrganizationEntity**](#setprimaryorganizationentity) | **POST** /organization/entities/{entityId}/primary | Set an organization legal entity as primary|
12
+ |[**updateOrganizationEntity**](#updateorganizationentity) | **PUT** /organization/entities/{entityId} | Update an organization legal entity|
13
+
14
+ # **createOrganizationEntity**
15
+ > CreateOrganizationEntity200Response createOrganizationEntity(organizationEntityCreateInputs)
16
+
17
+ Creates a legal entity that can sell on behalf of the organization, carrying its own registered address, VAT registration and invoicing configuration. The entity is not made primary on creation - use the set-primary route for that.
18
+
19
+ ### Example
20
+
21
+ ```typescript
22
+ import {
23
+ OrganizationEntitiesApi,
24
+ Configuration,
25
+ OrganizationEntityCreateInputs
26
+ } from '@connectedxm/admin-sdk';
27
+
28
+ const configuration = new Configuration();
29
+ const apiInstance = new OrganizationEntitiesApi(configuration);
30
+
31
+ let organizationEntityCreateInputs: OrganizationEntityCreateInputs; //
32
+
33
+ const { status, data } = await apiInstance.createOrganizationEntity(
34
+ organizationEntityCreateInputs
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **organizationEntityCreateInputs** | **OrganizationEntityCreateInputs**| | |
43
+
44
+
45
+ ### Return type
46
+
47
+ **CreateOrganizationEntity200Response**
48
+
49
+ ### Authorization
50
+
51
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
52
+
53
+ ### HTTP request headers
54
+
55
+ - **Content-Type**: application/json
56
+ - **Accept**: application/json
57
+
58
+
59
+ ### HTTP response details
60
+ | Status code | Description | Response headers |
61
+ |-------------|-------------|------------------|
62
+ |**200** | Successful response | - |
63
+
64
+ [[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)
65
+
66
+ # **deleteOrganizationEntity**
67
+ > CreateAccountInvitations200Response deleteOrganizationEntity()
68
+
69
+ Permanently deletes a legal entity. The organization\'s primary entity can never be deleted - set another entity as primary first, which is also why an organization always retains at least one entity.
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ OrganizationEntitiesApi,
76
+ Configuration
77
+ } from '@connectedxm/admin-sdk';
78
+
79
+ const configuration = new Configuration();
80
+ const apiInstance = new OrganizationEntitiesApi(configuration);
81
+
82
+ let entityId: string; //The entity identifier (default to undefined)
83
+
84
+ const { status, data } = await apiInstance.deleteOrganizationEntity(
85
+ entityId
86
+ );
87
+ ```
88
+
89
+ ### Parameters
90
+
91
+ |Name | Type | Description | Notes|
92
+ |------------- | ------------- | ------------- | -------------|
93
+ | **entityId** | [**string**] | The entity identifier | defaults to undefined|
94
+
95
+
96
+ ### Return type
97
+
98
+ **CreateAccountInvitations200Response**
99
+
100
+ ### Authorization
101
+
102
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
103
+
104
+ ### HTTP request headers
105
+
106
+ - **Content-Type**: Not defined
107
+ - **Accept**: application/json
108
+
109
+
110
+ ### HTTP response details
111
+ | Status code | Description | Response headers |
112
+ |-------------|-------------|------------------|
113
+ |**200** | Successful response | - |
114
+
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
+
117
+ # **getOrganizationEntities**
118
+ > GetOrganizationEntities200Response getOrganizationEntities()
119
+
120
+ Returns a paginated, searchable list of the legal entities that sell on behalf of the organization, each carrying its registered address, VAT registration and invoicing configuration.
121
+
122
+ ### Example
123
+
124
+ ```typescript
125
+ import {
126
+ OrganizationEntitiesApi,
127
+ Configuration
128
+ } from '@connectedxm/admin-sdk';
129
+
130
+ const configuration = new Configuration();
131
+ const apiInstance = new OrganizationEntitiesApi(configuration);
132
+
133
+ let page: number; //Page number (optional) (default to 1)
134
+ let pageSize: number; //Number of items per page (optional) (default to 25)
135
+ let orderBy: string; //Field to order by (optional) (default to undefined)
136
+ let search: string; //Search query (optional) (default to undefined)
137
+
138
+ const { status, data } = await apiInstance.getOrganizationEntities(
139
+ page,
140
+ pageSize,
141
+ orderBy,
142
+ search
143
+ );
144
+ ```
145
+
146
+ ### Parameters
147
+
148
+ |Name | Type | Description | Notes|
149
+ |------------- | ------------- | ------------- | -------------|
150
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
151
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
152
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
153
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
154
+
155
+
156
+ ### Return type
157
+
158
+ **GetOrganizationEntities200Response**
159
+
160
+ ### Authorization
161
+
162
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
163
+
164
+ ### HTTP request headers
165
+
166
+ - **Content-Type**: Not defined
167
+ - **Accept**: application/json
168
+
169
+
170
+ ### HTTP response details
171
+ | Status code | Description | Response headers |
172
+ |-------------|-------------|------------------|
173
+ |**200** | Successful response | - |
174
+
175
+ [[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)
176
+
177
+ # **getOrganizationEntity**
178
+ > CreateOrganizationEntity200Response getOrganizationEntity()
179
+
180
+ Retrieves a single legal entity by ID, including its registered address, VAT registration details and invoice numbering configuration.
181
+
182
+ ### Example
183
+
184
+ ```typescript
185
+ import {
186
+ OrganizationEntitiesApi,
187
+ Configuration
188
+ } from '@connectedxm/admin-sdk';
189
+
190
+ const configuration = new Configuration();
191
+ const apiInstance = new OrganizationEntitiesApi(configuration);
192
+
193
+ let entityId: string; //The entity identifier (default to undefined)
194
+
195
+ const { status, data } = await apiInstance.getOrganizationEntity(
196
+ entityId
197
+ );
198
+ ```
199
+
200
+ ### Parameters
201
+
202
+ |Name | Type | Description | Notes|
203
+ |------------- | ------------- | ------------- | -------------|
204
+ | **entityId** | [**string**] | The entity identifier | defaults to undefined|
205
+
206
+
207
+ ### Return type
208
+
209
+ **CreateOrganizationEntity200Response**
210
+
211
+ ### Authorization
212
+
213
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
214
+
215
+ ### HTTP request headers
216
+
217
+ - **Content-Type**: Not defined
218
+ - **Accept**: application/json
219
+
220
+
221
+ ### HTTP response details
222
+ | Status code | Description | Response headers |
223
+ |-------------|-------------|------------------|
224
+ |**200** | Successful response | - |
225
+
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
+
228
+ # **setPrimaryOrganizationEntity**
229
+ > CreateOrganizationEntity200Response setPrimaryOrganizationEntity()
230
+
231
+ Marks the specified entity as the organization\'s primary selling entity, clearing primary status from whichever entity held it before. This is the fallback entity used when an event has no entity of its own.
232
+
233
+ ### Example
234
+
235
+ ```typescript
236
+ import {
237
+ OrganizationEntitiesApi,
238
+ Configuration
239
+ } from '@connectedxm/admin-sdk';
240
+
241
+ const configuration = new Configuration();
242
+ const apiInstance = new OrganizationEntitiesApi(configuration);
243
+
244
+ let entityId: string; //The entity identifier (default to undefined)
245
+
246
+ const { status, data } = await apiInstance.setPrimaryOrganizationEntity(
247
+ entityId
248
+ );
249
+ ```
250
+
251
+ ### Parameters
252
+
253
+ |Name | Type | Description | Notes|
254
+ |------------- | ------------- | ------------- | -------------|
255
+ | **entityId** | [**string**] | The entity identifier | defaults to undefined|
256
+
257
+
258
+ ### Return type
259
+
260
+ **CreateOrganizationEntity200Response**
261
+
262
+ ### Authorization
263
+
264
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
265
+
266
+ ### HTTP request headers
267
+
268
+ - **Content-Type**: Not defined
269
+ - **Accept**: application/json
270
+
271
+
272
+ ### HTTP response details
273
+ | Status code | Description | Response headers |
274
+ |-------------|-------------|------------------|
275
+ |**200** | Successful response | - |
276
+
277
+ [[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)
278
+
279
+ # **updateOrganizationEntity**
280
+ > CreateOrganizationEntity200Response updateOrganizationEntity(organizationEntityUpdateInputs)
281
+
282
+ Updates the identity, registered address, VAT registration or invoicing configuration of a legal entity. Primary status cannot be changed here - use the set-primary route.
283
+
284
+ ### Example
285
+
286
+ ```typescript
287
+ import {
288
+ OrganizationEntitiesApi,
289
+ Configuration,
290
+ OrganizationEntityUpdateInputs
291
+ } from '@connectedxm/admin-sdk';
292
+
293
+ const configuration = new Configuration();
294
+ const apiInstance = new OrganizationEntitiesApi(configuration);
295
+
296
+ let entityId: string; //The entity identifier (default to undefined)
297
+ let organizationEntityUpdateInputs: OrganizationEntityUpdateInputs; //
298
+
299
+ const { status, data } = await apiInstance.updateOrganizationEntity(
300
+ entityId,
301
+ organizationEntityUpdateInputs
302
+ );
303
+ ```
304
+
305
+ ### Parameters
306
+
307
+ |Name | Type | Description | Notes|
308
+ |------------- | ------------- | ------------- | -------------|
309
+ | **organizationEntityUpdateInputs** | **OrganizationEntityUpdateInputs**| | |
310
+ | **entityId** | [**string**] | The entity identifier | defaults to undefined|
311
+
312
+
313
+ ### Return type
314
+
315
+ **CreateOrganizationEntity200Response**
316
+
317
+ ### Authorization
318
+
319
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
320
+
321
+ ### HTTP request headers
322
+
323
+ - **Content-Type**: application/json
324
+ - **Accept**: application/json
325
+
326
+
327
+ ### HTTP response details
328
+ | Status code | Description | Response headers |
329
+ |-------------|-------------|------------------|
330
+ |**200** | Successful response | - |
331
+
332
+ [[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)
333
+
@@ -0,0 +1,54 @@
1
+ # OrganizationEntity
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **legalName** | **string** | | [default to undefined]
10
+ **tradingName** | **string** | | [default to undefined]
11
+ **primary** | **boolean** | | [default to undefined]
12
+ **vatNumber** | **string** | | [default to undefined]
13
+ **vatCountry** | **string** | | [default to undefined]
14
+ **companyNumber** | **string** | | [default to undefined]
15
+ **address1** | **string** | | [default to undefined]
16
+ **address2** | **string** | | [default to undefined]
17
+ **city** | **string** | | [default to undefined]
18
+ **state** | **string** | | [default to undefined]
19
+ **country** | **string** | | [default to undefined]
20
+ **zip** | **string** | | [default to undefined]
21
+ **companyCode** | **string** | | [default to undefined]
22
+ **invoicePrefix** | **string** | | [default to undefined]
23
+ **invoiceSequence** | **number** | | [default to undefined]
24
+ **createdAt** | **string** | | [default to undefined]
25
+ **updatedAt** | **string** | | [default to undefined]
26
+
27
+ ## Example
28
+
29
+ ```typescript
30
+ import { OrganizationEntity } from '@connectedxm/admin-sdk';
31
+
32
+ const instance: OrganizationEntity = {
33
+ id,
34
+ legalName,
35
+ tradingName,
36
+ primary,
37
+ vatNumber,
38
+ vatCountry,
39
+ companyNumber,
40
+ address1,
41
+ address2,
42
+ city,
43
+ state,
44
+ country,
45
+ zip,
46
+ companyCode,
47
+ invoicePrefix,
48
+ invoiceSequence,
49
+ createdAt,
50
+ updatedAt,
51
+ };
52
+ ```
53
+
54
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,44 @@
1
+ # OrganizationEntityCreateInputs
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **legalName** | **string** | | [default to undefined]
9
+ **tradingName** | **string** | | [optional] [default to undefined]
10
+ **companyNumber** | **string** | | [optional] [default to undefined]
11
+ **address1** | **string** | | [default to undefined]
12
+ **address2** | **string** | | [optional] [default to undefined]
13
+ **city** | **string** | | [default to undefined]
14
+ **state** | **string** | | [optional] [default to undefined]
15
+ **country** | **string** | | [default to undefined]
16
+ **zip** | **string** | | [default to undefined]
17
+ **vatNumber** | **string** | | [optional] [default to undefined]
18
+ **vatCountry** | **string** | | [optional] [default to undefined]
19
+ **companyCode** | **string** | | [optional] [default to undefined]
20
+ **invoicePrefix** | **string** | | [optional] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { OrganizationEntityCreateInputs } from '@connectedxm/admin-sdk';
26
+
27
+ const instance: OrganizationEntityCreateInputs = {
28
+ legalName,
29
+ tradingName,
30
+ companyNumber,
31
+ address1,
32
+ address2,
33
+ city,
34
+ state,
35
+ country,
36
+ zip,
37
+ vatNumber,
38
+ vatCountry,
39
+ companyCode,
40
+ invoicePrefix,
41
+ };
42
+ ```
43
+
44
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,44 @@
1
+ # OrganizationEntityUpdateInputs
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **legalName** | **string** | | [optional] [default to undefined]
9
+ **tradingName** | **string** | | [optional] [default to undefined]
10
+ **companyNumber** | **string** | | [optional] [default to undefined]
11
+ **address1** | **string** | | [optional] [default to undefined]
12
+ **address2** | **string** | | [optional] [default to undefined]
13
+ **city** | **string** | | [optional] [default to undefined]
14
+ **state** | **string** | | [optional] [default to undefined]
15
+ **country** | **string** | | [optional] [default to undefined]
16
+ **zip** | **string** | | [optional] [default to undefined]
17
+ **vatNumber** | **string** | | [optional] [default to undefined]
18
+ **vatCountry** | **string** | | [optional] [default to undefined]
19
+ **companyCode** | **string** | | [optional] [default to undefined]
20
+ **invoicePrefix** | **string** | | [optional] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { OrganizationEntityUpdateInputs } from '@connectedxm/admin-sdk';
26
+
27
+ const instance: OrganizationEntityUpdateInputs = {
28
+ legalName,
29
+ tradingName,
30
+ companyNumber,
31
+ address1,
32
+ address2,
33
+ city,
34
+ state,
35
+ country,
36
+ zip,
37
+ vatNumber,
38
+ vatCountry,
39
+ companyCode,
40
+ invoicePrefix,
41
+ };
42
+ ```
43
+
44
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -32,7 +32,6 @@ Name | Type | Description | Notes
32
32
  **taxIncluded** | **boolean** | | [optional] [default to undefined]
33
33
  **taxLocation** | [**TaxLocationType**](TaxLocationType.md) | | [optional] [default to undefined]
34
34
  **printable** | **boolean** | | [optional] [default to undefined]
35
- **badgeColor** | **string** | | [optional] [default to undefined]
36
35
  **requiresApproval** | **boolean** | | [optional] [default to undefined]
37
36
 
38
37
  ## Example
@@ -68,7 +67,6 @@ const instance: PassTypeCreateInputs = {
68
67
  taxIncluded,
69
68
  taxLocation,
70
69
  printable,
71
- badgeColor,
72
70
  requiresApproval,
73
71
  };
74
72
  ```
@@ -34,7 +34,6 @@ Name | Type | Description | Notes
34
34
  **taxIncluded** | **boolean** | | [optional] [default to undefined]
35
35
  **taxLocation** | [**TaxLocationType**](TaxLocationType.md) | | [optional] [default to undefined]
36
36
  **printable** | **boolean** | | [optional] [default to undefined]
37
- **badgeColor** | **string** | | [optional] [default to undefined]
38
37
  **requiresApproval** | **boolean** | | [optional] [default to undefined]
39
38
 
40
39
  ## Example
@@ -72,7 +71,6 @@ const instance: PassTypeUpdateInputs = {
72
71
  taxIncluded,
73
72
  taxLocation,
74
73
  printable,
75
- badgeColor,
76
74
  requiresApproval,
77
75
  };
78
76
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "10.9.0",
3
+ "version": "10.11.0",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {