yellowgrid-api-ts 3.2.169-dev.0 → 3.2.171-dev.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 (44) hide show
  1. package/.openapi-generator/FILES +25 -3
  2. package/README.md +54 -3
  3. package/api.ts +3303 -464
  4. package/dist/api.d.ts +1951 -213
  5. package/dist/api.js +2693 -273
  6. package/docs/AbstractItemDiscountModel.md +21 -0
  7. package/docs/AccountAddressesDTO.md +25 -0
  8. package/docs/AccountFinanceDTO.md +37 -0
  9. package/docs/AccountsApi.md +1427 -53
  10. package/docs/AddressDTO.md +31 -0
  11. package/docs/AdminUserModel.md +2 -0
  12. package/docs/CRMApi.md +120 -0
  13. package/docs/Class3CXApi.md +48 -0
  14. package/docs/Class3CXInstallationsApi.md +55 -0
  15. package/docs/CreateCrmNoteBody.md +20 -0
  16. package/docs/CreditAccountEntity.md +4 -0
  17. package/docs/CrmActivitiesResponseDTO.md +23 -0
  18. package/docs/CrmActivityDTO.md +33 -0
  19. package/docs/CrmDateActivitiesDTO.md +23 -0
  20. package/docs/CrmNoteEntity.md +39 -0
  21. package/docs/CrmNoteModel.md +39 -0
  22. package/docs/CustomerListAccountDTO.md +45 -0
  23. package/docs/NumberPortAdminNoteBody.md +20 -0
  24. package/docs/NumberPortingApi.md +5 -5
  25. package/docs/OAuth20Api.md +48 -0
  26. package/docs/PartnerDTO.md +39 -0
  27. package/docs/PatchUpdateAccountCnameRequest.md +20 -0
  28. package/docs/PatchUpdateAccountCompanyNumberRequest.md +20 -0
  29. package/docs/PatchUpdateAccountPhoneRequest.md +20 -0
  30. package/docs/PatchUpdateAccountVatNumberRequest.md +20 -0
  31. package/docs/PatchUpdateCreditLimitRequest.md +20 -0
  32. package/docs/PatchUpdatePriceListRequest.md +20 -0
  33. package/docs/PatchUpdateSipChannelCostRequest.md +20 -0
  34. package/docs/PatchUpdateTcxHostingPriceListRequest.md +20 -0
  35. package/docs/PatchUpdateTcxPartnerIdRequest.md +20 -0
  36. package/docs/PortalAccountModel.md +4 -2
  37. package/docs/PostSendWelcomeEmailRequest.md +20 -0
  38. package/docs/ProductSearchDTO.md +37 -0
  39. package/docs/ProductSummaryDTO.md +2 -0
  40. package/docs/ProductsApi.md +10 -10
  41. package/docs/ProspectDTO.md +2 -0
  42. package/docs/RecordingBackupAzureModel.md +2 -0
  43. package/docs/TableHistoryEntity.md +35 -0
  44. package/package.json +1 -1
@@ -0,0 +1,31 @@
1
+ # AddressDTO
2
+
3
+ Address
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
10
+ **addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
11
+ **city** | **string** | City | [optional] [default to undefined]
12
+ **region** | **string** | Region | [optional] [default to undefined]
13
+ **postalCode** | **string** | Postal Code | [optional] [default to undefined]
14
+ **iso** | **string** | Country | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { AddressDTO } from 'yellowgrid-api-ts';
20
+
21
+ const instance: AddressDTO = {
22
+ addressLine1,
23
+ addressLine2,
24
+ city,
25
+ region,
26
+ postalCode,
27
+ iso,
28
+ };
29
+ ```
30
+
31
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -6,6 +6,7 @@ Admin User
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | ID | [optional] [default to undefined]
9
10
  **firstName** | **string** | First Name | [optional] [default to undefined]
10
11
  **lastName** | **string** | Last Name | [optional] [default to undefined]
11
12
  **avatar** | **string** | Avatar | [optional] [default to undefined]
@@ -22,6 +23,7 @@ Name | Type | Description | Notes
22
23
  import { AdminUserModel } from 'yellowgrid-api-ts';
23
24
 
24
25
  const instance: AdminUserModel = {
26
+ id,
25
27
  firstName,
26
28
  lastName,
27
29
  avatar,
package/docs/CRMApi.md CHANGED
@@ -4,7 +4,69 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**getGetCrmActivities**](#getgetcrmactivities) | **GET** /admin/crm/{id}/activities | |
7
8
  |[**getSearchByPhone**](#getsearchbyphone) | **GET** /crm/contact/search | |
9
+ |[**postCreateCrmNote**](#postcreatecrmnote) | **POST** /admin/crm/{id}/activities/note | |
10
+
11
+ # **getGetCrmActivities**
12
+ > CrmActivitiesResponseDTO getGetCrmActivities()
13
+
14
+ Get Customer CRM Activities
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ CRMApi,
21
+ Configuration
22
+ } from 'yellowgrid-api-ts';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new CRMApi(configuration);
26
+
27
+ let id: number; //Account ID (default to undefined)
28
+ let type: 'alert' | 'call' | 'email' | 'note' | 'order' | 'quote' | 'tcx_order'; //Activity Type (optional) (default to undefined)
29
+ let userId: number; //Activity Created By (optional) (default to undefined)
30
+
31
+ const { status, data } = await apiInstance.getGetCrmActivities(
32
+ id,
33
+ type,
34
+ userId
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **id** | [**number**] | Account ID | defaults to undefined|
43
+ | **type** | [**&#39;alert&#39; | &#39;call&#39; | &#39;email&#39; | &#39;note&#39; | &#39;order&#39; | &#39;quote&#39; | &#39;tcx_order&#39;**]**Array<&#39;alert&#39; &#124; &#39;call&#39; &#124; &#39;email&#39; &#124; &#39;note&#39; &#124; &#39;order&#39; &#124; &#39;quote&#39; &#124; &#39;tcx_order&#39;>** | Activity Type | (optional) defaults to undefined|
44
+ | **userId** | [**number**] | Activity Created By | (optional) defaults to undefined|
45
+
46
+
47
+ ### Return type
48
+
49
+ **CrmActivitiesResponseDTO**
50
+
51
+ ### Authorization
52
+
53
+ No authorization required
54
+
55
+ ### HTTP request headers
56
+
57
+ - **Content-Type**: Not defined
58
+ - **Accept**: application/json
59
+
60
+
61
+ ### HTTP response details
62
+ | Status code | Description | Response headers |
63
+ |-------------|-------------|------------------|
64
+ |**200** | CRM Activities | - |
65
+ |**400** | Bad Request | - |
66
+ |**401** | Unauthorised | - |
67
+ |**403** | Access Denied | - |
68
+
69
+ [[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)
8
70
 
9
71
  # **getSearchByPhone**
10
72
  > CrmContactDTO getSearchByPhone()
@@ -53,3 +115,61 @@ No authorization required
53
115
 
54
116
  [[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)
55
117
 
118
+ # **postCreateCrmNote**
119
+ > CrmActivityDTO postCreateCrmNote()
120
+
121
+ Create CRM Note
122
+
123
+ ### Example
124
+
125
+ ```typescript
126
+ import {
127
+ CRMApi,
128
+ Configuration,
129
+ CreateCrmNoteBody
130
+ } from 'yellowgrid-api-ts';
131
+
132
+ const configuration = new Configuration();
133
+ const apiInstance = new CRMApi(configuration);
134
+
135
+ let id: number; //Account ID (default to undefined)
136
+ let createCrmNoteBody: CreateCrmNoteBody; //CRM Note Request (optional)
137
+
138
+ const { status, data } = await apiInstance.postCreateCrmNote(
139
+ id,
140
+ createCrmNoteBody
141
+ );
142
+ ```
143
+
144
+ ### Parameters
145
+
146
+ |Name | Type | Description | Notes|
147
+ |------------- | ------------- | ------------- | -------------|
148
+ | **createCrmNoteBody** | **CreateCrmNoteBody**| CRM Note Request | |
149
+ | **id** | [**number**] | Account ID | defaults to undefined|
150
+
151
+
152
+ ### Return type
153
+
154
+ **CrmActivityDTO**
155
+
156
+ ### Authorization
157
+
158
+ No authorization required
159
+
160
+ ### HTTP request headers
161
+
162
+ - **Content-Type**: application/json
163
+ - **Accept**: application/json
164
+
165
+
166
+ ### HTTP response details
167
+ | Status code | Description | Response headers |
168
+ |-------------|-------------|------------------|
169
+ |**200** | CRM Activity | - |
170
+ |**400** | Bad Request | - |
171
+ |**401** | Unauthorised | - |
172
+ |**403** | Access Denied | - |
173
+
174
+ [[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)
175
+
@@ -5,6 +5,7 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getGetLicenceDetails**](#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details|
8
+ |[**getGetTcxExpiringKeys**](#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys|
8
9
  |[**postGetBulkLicenceDetails**](#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details|
9
10
 
10
11
  # **getGetLicenceDetails**
@@ -61,6 +62,53 @@ No authorization required
61
62
 
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)
63
64
 
65
+ # **getGetTcxExpiringKeys**
66
+ > string getGetTcxExpiringKeys()
67
+
68
+ Get 3CX Expiring Keys
69
+
70
+ ### Example
71
+
72
+ ```typescript
73
+ import {
74
+ Class3CXApi,
75
+ Configuration
76
+ } from 'yellowgrid-api-ts';
77
+
78
+ const configuration = new Configuration();
79
+ const apiInstance = new Class3CXApi(configuration);
80
+
81
+ const { status, data } = await apiInstance.getGetTcxExpiringKeys();
82
+ ```
83
+
84
+ ### Parameters
85
+ This endpoint does not have any parameters.
86
+
87
+
88
+ ### Return type
89
+
90
+ **string**
91
+
92
+ ### Authorization
93
+
94
+ No authorization required
95
+
96
+ ### HTTP request headers
97
+
98
+ - **Content-Type**: Not defined
99
+ - **Accept**: text/csv
100
+
101
+
102
+ ### HTTP response details
103
+ | Status code | Description | Response headers |
104
+ |-------------|-------------|------------------|
105
+ |**200** | 3CX Expiring Key CSV | - |
106
+ |**400** | Bad Request | - |
107
+ |**401** | Unauthorised | - |
108
+ |**403** | Access Denied | - |
109
+
110
+ [[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)
111
+
64
112
  # **postGetBulkLicenceDetails**
65
113
  > TcxBulkLicenceDetailsModel postGetBulkLicenceDetails()
66
114
 
@@ -6,6 +6,7 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getGetDetails**](#getgetdetails) | **GET** /tcx/installations/{wizard_id}/details | Get 3CX Installation Details|
8
8
  |[**getGetInstallations**](#getgetinstallations) | **GET** /tcx/installations | Get 3CX Installations|
9
+ |[**getGetRecordingBackupStorage**](#getgetrecordingbackupstorage) | **GET** /tcx/installations/{instance_id}/recordings/backup | Get Recording Backup Storage|
9
10
  |[**patchChangeInstanceOwner**](#patchchangeinstanceowner) | **PATCH** /tcx/installations/{instance_id}/owner | Change instance owner|
10
11
  |[**patchUpdateAutoFailover**](#patchupdateautofailover) | **PATCH** /tcx/installations/{instance_id}/failover/auto | Update 3CX Instance Auto Failover|
11
12
  |[**postAddDisk**](#postadddisk) | **POST** /tcx/installations/{instance_id}/disk | Add additional disk on 3CX Instance|
@@ -150,6 +151,60 @@ No authorization required
150
151
 
151
152
  [[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)
152
153
 
154
+ # **getGetRecordingBackupStorage**
155
+ > RecordingBackupAzureModel getGetRecordingBackupStorage()
156
+
157
+ Get Recording Backup Storage
158
+
159
+ ### Example
160
+
161
+ ```typescript
162
+ import {
163
+ Class3CXInstallationsApi,
164
+ Configuration
165
+ } from 'yellowgrid-api-ts';
166
+
167
+ const configuration = new Configuration();
168
+ const apiInstance = new Class3CXInstallationsApi(configuration);
169
+
170
+ let instanceId: string; //Instance ID (default to undefined)
171
+
172
+ const { status, data } = await apiInstance.getGetRecordingBackupStorage(
173
+ instanceId
174
+ );
175
+ ```
176
+
177
+ ### Parameters
178
+
179
+ |Name | Type | Description | Notes|
180
+ |------------- | ------------- | ------------- | -------------|
181
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
182
+
183
+
184
+ ### Return type
185
+
186
+ **RecordingBackupAzureModel**
187
+
188
+ ### Authorization
189
+
190
+ No authorization required
191
+
192
+ ### HTTP request headers
193
+
194
+ - **Content-Type**: Not defined
195
+ - **Accept**: application/json
196
+
197
+
198
+ ### HTTP response details
199
+ | Status code | Description | Response headers |
200
+ |-------------|-------------|------------------|
201
+ |**200** | Recordings Backup Storage | - |
202
+ |**400** | Bad Request | - |
203
+ |**401** | Unauthorised | - |
204
+ |**403** | Access Denied | - |
205
+
206
+ [[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)
207
+
153
208
  # **patchChangeInstanceOwner**
154
209
  > patchChangeInstanceOwner()
155
210
 
@@ -0,0 +1,20 @@
1
+ # CreateCrmNoteBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **note** | **string** | Note | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { CreateCrmNoteBody } from 'yellowgrid-api-ts';
14
+
15
+ const instance: CreateCrmNoteBody = {
16
+ note,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -27,6 +27,8 @@ Name | Type | Description | Notes
27
27
  **resellerId** | **string** | 3CX Reseller ID | [optional] [default to undefined]
28
28
  **creationDate** | **string** | Creation Date | [optional] [default to undefined]
29
29
  **prizePromo** | **boolean** | Prize Promo Enabled | [optional] [default to undefined]
30
+ **portalAccess** | **boolean** | Portal Access | [optional] [default to undefined]
31
+ **cname** | **string** | CNAME | [optional] [default to undefined]
30
32
 
31
33
  ## Example
32
34
 
@@ -55,6 +57,8 @@ const instance: CreditAccountEntity = {
55
57
  resellerId,
56
58
  creationDate,
57
59
  prizePromo,
60
+ portalAccess,
61
+ cname,
58
62
  };
59
63
  ```
60
64
 
@@ -0,0 +1,23 @@
1
+ # CrmActivitiesResponseDTO
2
+
3
+ CRM Activities Response
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **dates** | [**Array&lt;CrmDateActivitiesDTO&gt;**](CrmDateActivitiesDTO.md) | Dates | [optional] [default to undefined]
10
+ **agents** | [**Array&lt;AdminUserModel&gt;**](AdminUserModel.md) | Agents | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CrmActivitiesResponseDTO } from 'yellowgrid-api-ts';
16
+
17
+ const instance: CrmActivitiesResponseDTO = {
18
+ dates,
19
+ agents,
20
+ };
21
+ ```
22
+
23
+ [[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,33 @@
1
+ # CrmActivityDTO
2
+
3
+ CRM Activity
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **type** | **string** | Activity Type | [optional] [default to undefined]
10
+ **timestamp** | **string** | Date Time | [optional] [default to undefined]
11
+ **title** | **string** | Activity Title | [optional] [default to undefined]
12
+ **description** | **string** | Activity Description | [optional] [default to undefined]
13
+ **url** | **string** | Activity URL | [optional] [default to undefined]
14
+ **user** | **string** | Activity User Name | [optional] [default to undefined]
15
+ **contact** | **string** | Activity Contact Name | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { CrmActivityDTO } from 'yellowgrid-api-ts';
21
+
22
+ const instance: CrmActivityDTO = {
23
+ type,
24
+ timestamp,
25
+ title,
26
+ description,
27
+ url,
28
+ user,
29
+ contact,
30
+ };
31
+ ```
32
+
33
+ [[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,23 @@
1
+ # CrmDateActivitiesDTO
2
+
3
+ CRM Date Activities
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **date** | **string** | Date Time | [optional] [default to undefined]
10
+ **activities** | [**Array&lt;CrmActivityDTO&gt;**](CrmActivityDTO.md) | Activities | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CrmDateActivitiesDTO } from 'yellowgrid-api-ts';
16
+
17
+ const instance: CrmDateActivitiesDTO = {
18
+ date,
19
+ activities,
20
+ };
21
+ ```
22
+
23
+ [[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,39 @@
1
+ # CrmNoteEntity
2
+
3
+ CrmNotesEntity
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | id | [optional] [default to undefined]
10
+ **customerId** | **string** | customerId | [optional] [default to undefined]
11
+ **userId** | **number** | userId | [optional] [default to undefined]
12
+ **type** | **string** | type | [optional] [default to undefined]
13
+ **note** | **string** | note | [optional] [default to undefined]
14
+ **timestamp** | **string** | timestamp | [optional] [default to undefined]
15
+ **journalTime** | **string** | journalTime | [optional] [default to undefined]
16
+ **duration** | **string** | duration | [optional] [default to undefined]
17
+ **callType** | **string** | callType | [optional] [default to undefined]
18
+ **callId** | **number** | callId | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { CrmNoteEntity } from 'yellowgrid-api-ts';
24
+
25
+ const instance: CrmNoteEntity = {
26
+ id,
27
+ customerId,
28
+ userId,
29
+ type,
30
+ note,
31
+ timestamp,
32
+ journalTime,
33
+ duration,
34
+ callType,
35
+ callId,
36
+ };
37
+ ```
38
+
39
+ [[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,39 @@
1
+ # CrmNoteModel
2
+
3
+ CrmNotesEntity
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | id | [optional] [default to undefined]
10
+ **customerId** | **string** | customerId | [optional] [default to undefined]
11
+ **userId** | **number** | userId | [optional] [default to undefined]
12
+ **type** | **string** | type | [optional] [default to undefined]
13
+ **note** | **string** | note | [optional] [default to undefined]
14
+ **timestamp** | **string** | timestamp | [optional] [default to undefined]
15
+ **journalTime** | **string** | journalTime | [optional] [default to undefined]
16
+ **duration** | **string** | duration | [optional] [default to undefined]
17
+ **callType** | **string** | callType | [optional] [default to undefined]
18
+ **callId** | **number** | callId | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { CrmNoteModel } from 'yellowgrid-api-ts';
24
+
25
+ const instance: CrmNoteModel = {
26
+ id,
27
+ customerId,
28
+ userId,
29
+ type,
30
+ note,
31
+ timestamp,
32
+ journalTime,
33
+ duration,
34
+ callType,
35
+ callId,
36
+ };
37
+ ```
38
+
39
+ [[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,45 @@
1
+ # CustomerListAccountDTO
2
+
3
+ Customer List Account
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | ID | [optional] [default to undefined]
10
+ **xeroId** | **string** | Xero ID | [optional] [default to undefined]
11
+ **accountNumber** | **string** | Account Number | [optional] [default to undefined]
12
+ **company** | **string** | Company Name | [optional] [default to undefined]
13
+ **domains** | **Array&lt;string&gt;** | Associated Email Domains | [optional] [default to undefined]
14
+ **telephone** | **string** | Telephone | [optional] [default to undefined]
15
+ **vatNumber** | **string** | VAT Number | [optional] [default to undefined]
16
+ **companyNumber** | **string** | Company Number | [optional] [default to undefined]
17
+ **cname** | **string** | Wizard CNAME | [optional] [default to undefined]
18
+ **partnerId** | **string** | 3CX Reseller ID | [optional] [default to undefined]
19
+ **status** | **boolean** | Account Status | [optional] [default to undefined]
20
+ **portalAccess** | **boolean** | Portal Access | [optional] [default to undefined]
21
+ **prizePromo** | **boolean** | Prize Promo | [optional] [default to undefined]
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import { CustomerListAccountDTO } from 'yellowgrid-api-ts';
27
+
28
+ const instance: CustomerListAccountDTO = {
29
+ id,
30
+ xeroId,
31
+ accountNumber,
32
+ company,
33
+ domains,
34
+ telephone,
35
+ vatNumber,
36
+ companyNumber,
37
+ cname,
38
+ partnerId,
39
+ status,
40
+ portalAccess,
41
+ prizePromo,
42
+ };
43
+ ```
44
+
45
+ [[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,20 @@
1
+ # NumberPortAdminNoteBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **note** | **string** | Note | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { NumberPortAdminNoteBody } from 'yellowgrid-api-ts';
14
+
15
+ const instance: NumberPortAdminNoteBody = {
16
+ note,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -401,7 +401,7 @@ No authorization required
401
401
  [[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)
402
402
 
403
403
  # **postAddAdminNote**
404
- > AdminNumberPortDTO postAddAdminNote(postAddAdminNoteRequest)
404
+ > AdminNumberPortDTO postAddAdminNote(numberPortAdminNoteBody)
405
405
 
406
406
 
407
407
  ### Example
@@ -410,18 +410,18 @@ No authorization required
410
410
  import {
411
411
  NumberPortingApi,
412
412
  Configuration,
413
- PostAddAdminNoteRequest
413
+ NumberPortAdminNoteBody
414
414
  } from 'yellowgrid-api-ts';
415
415
 
416
416
  const configuration = new Configuration();
417
417
  const apiInstance = new NumberPortingApi(configuration);
418
418
 
419
419
  let id: number; //Number Port ID (default to undefined)
420
- let postAddAdminNoteRequest: PostAddAdminNoteRequest; //
420
+ let numberPortAdminNoteBody: NumberPortAdminNoteBody; //Number Port Note Request
421
421
 
422
422
  const { status, data } = await apiInstance.postAddAdminNote(
423
423
  id,
424
- postAddAdminNoteRequest
424
+ numberPortAdminNoteBody
425
425
  );
426
426
  ```
427
427
 
@@ -429,7 +429,7 @@ const { status, data } = await apiInstance.postAddAdminNote(
429
429
 
430
430
  |Name | Type | Description | Notes|
431
431
  |------------- | ------------- | ------------- | -------------|
432
- | **postAddAdminNoteRequest** | **PostAddAdminNoteRequest**| | |
432
+ | **numberPortAdminNoteBody** | **NumberPortAdminNoteBody**| Number Port Note Request | |
433
433
  | **id** | [**number**] | Number Port ID | defaults to undefined|
434
434
 
435
435
 
@@ -9,6 +9,7 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
9
9
  |[**postAccessToken**](#postaccesstoken) | **POST** /oauth2/access_token | Validates client credentials and returns access token|
10
10
  |[**postAuthorise**](#postauthorise) | **POST** /oauth2/authorise | Get OAuth2.0 Auth Code|
11
11
  |[**postGetIdentity**](#postgetidentity) | **POST** /oauth2/me | Get Token Identity|
12
+ |[**postLogout**](#postlogout) | **POST** /oauth2/logout | |
12
13
  |[**postPortalLogin**](#postportallogin) | **POST** /oauth2/portal/login | Portal Login|
13
14
 
14
15
  # **getGetMfaQrCode**
@@ -311,6 +312,53 @@ No authorization required
311
312
 
312
313
  [[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)
313
314
 
315
+ # **postLogout**
316
+ > postLogout()
317
+
318
+ Remove Oauth 2.0 Cookies
319
+
320
+ ### Example
321
+
322
+ ```typescript
323
+ import {
324
+ OAuth20Api,
325
+ Configuration
326
+ } from 'yellowgrid-api-ts';
327
+
328
+ const configuration = new Configuration();
329
+ const apiInstance = new OAuth20Api(configuration);
330
+
331
+ const { status, data } = await apiInstance.postLogout();
332
+ ```
333
+
334
+ ### Parameters
335
+ This endpoint does not have any parameters.
336
+
337
+
338
+ ### Return type
339
+
340
+ void (empty response body)
341
+
342
+ ### Authorization
343
+
344
+ No authorization required
345
+
346
+ ### HTTP request headers
347
+
348
+ - **Content-Type**: Not defined
349
+ - **Accept**: Not defined
350
+
351
+
352
+ ### HTTP response details
353
+ | Status code | Description | Response headers |
354
+ |-------------|-------------|------------------|
355
+ |**200** | No Response | - |
356
+ |**400** | Bad Request | - |
357
+ |**401** | Unauthorised | - |
358
+ |**403** | Access Denied | - |
359
+
360
+ [[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)
361
+
314
362
  # **postPortalLogin**
315
363
  > AuthCodeResponseModel postPortalLogin()
316
364