yellowgrid-api-ts 3.2.103-dev.0 → 3.2.105-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.
- package/README.md +6 -6
- package/api.ts +6 -6
- package/dist/api.js +6 -6
- package/docs/AccountsApi.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,15 +56,15 @@ Class | Method | HTTP request | Description
|
|
|
56
56
|
*AccountsApi* | [**getGetAccount**](docs/AccountsApi.md#getgetaccount) | **GET** /accounts/me | Get Account
|
|
57
57
|
*AccountsApi* | [**getGetAccountContacts**](docs/AccountsApi.md#getgetaccountcontacts) | **GET** /accounts/me/contacts | Get Account Contacts
|
|
58
58
|
*AccountsApi* | [**getGetAccountDetailedSummary**](docs/AccountsApi.md#getgetaccountdetailedsummary) | **GET** /accounts/{id}/summary | Get Account Detailed Summary
|
|
59
|
-
*AccountsApi* | [**getGetAccountPageInfo**](docs/AccountsApi.md#getgetaccountpageinfo) | **GET** /{id} |
|
|
59
|
+
*AccountsApi* | [**getGetAccountPageInfo**](docs/AccountsApi.md#getgetaccountpageinfo) | **GET** /admin/accounts/{id} |
|
|
60
60
|
*AccountsApi* | [**getGetAccounts**](docs/AccountsApi.md#getgetaccounts) | **GET** /accounts | Get Accounts
|
|
61
61
|
*AccountsApi* | [**getGetClientCredentials**](docs/AccountsApi.md#getgetclientcredentials) | **GET** /accounts/me/contacts/credentials | Get user\'s client credentials
|
|
62
62
|
*AccountsApi* | [**getGetCustomerKeys**](docs/AccountsApi.md#getgetcustomerkeys) | **GET** /accounts/me/tcx/keys | Get 3CX Keys
|
|
63
63
|
*AccountsApi* | [**getVerifyEmailAddress**](docs/AccountsApi.md#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address
|
|
64
|
-
*AccountsApi* | [**patchSetPortalAccess**](docs/AccountsApi.md#patchsetportalaccess) | **PATCH** /{id}/portal/access/{state} |
|
|
65
|
-
*AccountsApi* | [**patchSetPrizePromo**](docs/AccountsApi.md#patchsetprizepromo) | **PATCH** /{id}/prizes/{state} |
|
|
64
|
+
*AccountsApi* | [**patchSetPortalAccess**](docs/AccountsApi.md#patchsetportalaccess) | **PATCH** /admin/accounts/{id}/portal/access/{state} |
|
|
65
|
+
*AccountsApi* | [**patchSetPrizePromo**](docs/AccountsApi.md#patchsetprizepromo) | **PATCH** /admin/accounts/{id}/prizes/{state} |
|
|
66
66
|
*AccountsApi* | [**patchSetTcxWizardCname**](docs/AccountsApi.md#patchsettcxwizardcname) | **PATCH** /accounts/me/cname |
|
|
67
|
-
*AccountsApi* | [**patchUpdateAccountCname**](docs/AccountsApi.md#patchupdateaccountcname) | **PATCH** /{id}/cname |
|
|
67
|
+
*AccountsApi* | [**patchUpdateAccountCname**](docs/AccountsApi.md#patchupdateaccountcname) | **PATCH** /admin/accounts/{id}/cname |
|
|
68
68
|
*AccountsApi* | [**patchUpdateAccountContactPassword**](docs/AccountsApi.md#patchupdateaccountcontactpassword) | **PATCH** /accounts/contacts/password | Update Account Password
|
|
69
69
|
*AccountsApi* | [**postGetAccountContacts**](docs/AccountsApi.md#postgetaccountcontacts) | **POST** /accounts/me/contacts | Add Account Contact
|
|
70
70
|
*AccountsApi* | [**postGetAccounts**](docs/AccountsApi.md#postgetaccounts) | **POST** /accounts | Create a new customer account
|
|
@@ -74,8 +74,8 @@ Class | Method | HTTP request | Description
|
|
|
74
74
|
*AccountsApi* | [**postSendPasswordReset**](docs/AccountsApi.md#postsendpasswordreset) | **POST** /accounts/contacts/password/reset | Send password reset email
|
|
75
75
|
*AccountsApi* | [**postSubmitResellerApplication**](docs/AccountsApi.md#postsubmitresellerapplication) | **POST** /accounts/reseller | Submit reseller application
|
|
76
76
|
*AccountsApi* | [**putUpdateAccountContact**](docs/AccountsApi.md#putupdateaccountcontact) | **PUT** /accounts/me/contacts/{email} | Update Account Contact
|
|
77
|
-
*AccountsApi* | [**putUpdateBillingAddress**](docs/AccountsApi.md#putupdatebillingaddress) | **PUT** /{id}/billing/address |
|
|
78
|
-
*AccountsApi* | [**putUpdateShippingAddress**](docs/AccountsApi.md#putupdateshippingaddress) | **PUT** /{id}/shipping/address |
|
|
77
|
+
*AccountsApi* | [**putUpdateBillingAddress**](docs/AccountsApi.md#putupdatebillingaddress) | **PUT** /admin/accounts/{id}/billing/address |
|
|
78
|
+
*AccountsApi* | [**putUpdateShippingAddress**](docs/AccountsApi.md#putupdateshippingaddress) | **PUT** /admin/accounts/{id}/shipping/address |
|
|
79
79
|
*CRMApi* | [**getSearchByPhone**](docs/CRMApi.md#getsearchbyphone) | **GET** /crm/contact/search |
|
|
80
80
|
*Class3CXApi* | [**getGetLicenceDetails**](docs/Class3CXApi.md#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details
|
|
81
81
|
*Class3CXApi* | [**postGetBulkLicenceDetails**](docs/Class3CXApi.md#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details
|
package/api.ts
CHANGED
|
@@ -8039,7 +8039,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8039
8039
|
getGetAccountPageInfo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8040
8040
|
// verify required parameter 'id' is not null or undefined
|
|
8041
8041
|
assertParamExists('getGetAccountPageInfo', 'id', id)
|
|
8042
|
-
const localVarPath = `/{id}`
|
|
8042
|
+
const localVarPath = `/admin/accounts/{id}`
|
|
8043
8043
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8044
8044
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8045
8045
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8221,7 +8221,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8221
8221
|
assertParamExists('patchSetPortalAccess', 'id', id)
|
|
8222
8222
|
// verify required parameter 'state' is not null or undefined
|
|
8223
8223
|
assertParamExists('patchSetPortalAccess', 'state', state)
|
|
8224
|
-
const localVarPath = `/{id}/portal/access/{state}`
|
|
8224
|
+
const localVarPath = `/admin/accounts/{id}/portal/access/{state}`
|
|
8225
8225
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
8226
8226
|
.replace(`{${"state"}}`, encodeURIComponent(String(state)));
|
|
8227
8227
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -8257,7 +8257,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8257
8257
|
assertParamExists('patchSetPrizePromo', 'id', id)
|
|
8258
8258
|
// verify required parameter 'state' is not null or undefined
|
|
8259
8259
|
assertParamExists('patchSetPrizePromo', 'state', state)
|
|
8260
|
-
const localVarPath = `/{id}/prizes/{state}`
|
|
8260
|
+
const localVarPath = `/admin/accounts/{id}/prizes/{state}`
|
|
8261
8261
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
8262
8262
|
.replace(`{${"state"}}`, encodeURIComponent(String(state)));
|
|
8263
8263
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -8322,7 +8322,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8322
8322
|
patchUpdateAccountCname: async (id: string, patchUpdateAccountCnameRequest?: PatchUpdateAccountCnameRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8323
8323
|
// verify required parameter 'id' is not null or undefined
|
|
8324
8324
|
assertParamExists('patchUpdateAccountCname', 'id', id)
|
|
8325
|
-
const localVarPath = `/{id}/cname`
|
|
8325
|
+
const localVarPath = `/admin/accounts/{id}/cname`
|
|
8326
8326
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8327
8327
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8328
8328
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8673,7 +8673,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8673
8673
|
putUpdateBillingAddress: async (id: string, addressModel?: AddressModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8674
8674
|
// verify required parameter 'id' is not null or undefined
|
|
8675
8675
|
assertParamExists('putUpdateBillingAddress', 'id', id)
|
|
8676
|
-
const localVarPath = `/{id}/billing/address`
|
|
8676
|
+
const localVarPath = `/admin/accounts/{id}/billing/address`
|
|
8677
8677
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8678
8678
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8679
8679
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8708,7 +8708,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8708
8708
|
putUpdateShippingAddress: async (id: string, addressModel?: AddressModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8709
8709
|
// verify required parameter 'id' is not null or undefined
|
|
8710
8710
|
assertParamExists('putUpdateShippingAddress', 'id', id)
|
|
8711
|
-
const localVarPath = `/{id}/shipping/address`
|
|
8711
|
+
const localVarPath = `/admin/accounts/{id}/shipping/address`
|
|
8712
8712
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8713
8713
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8714
8714
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
package/dist/api.js
CHANGED
|
@@ -620,7 +620,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
620
620
|
return __generator(this, function (_a) {
|
|
621
621
|
// verify required parameter 'id' is not null or undefined
|
|
622
622
|
(0, common_1.assertParamExists)('getGetAccountPageInfo', 'id', id);
|
|
623
|
-
localVarPath = "/{id}"
|
|
623
|
+
localVarPath = "/admin/accounts/{id}"
|
|
624
624
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
625
625
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
626
626
|
if (configuration) {
|
|
@@ -817,7 +817,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
817
817
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'id', id);
|
|
818
818
|
// verify required parameter 'state' is not null or undefined
|
|
819
819
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
820
|
-
localVarPath = "/{id}/portal/access/{state}"
|
|
820
|
+
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
821
821
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
822
822
|
.replace("{".concat("state", "}"), encodeURIComponent(String(state)));
|
|
823
823
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -857,7 +857,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
857
857
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'id', id);
|
|
858
858
|
// verify required parameter 'state' is not null or undefined
|
|
859
859
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
860
|
-
localVarPath = "/{id}/prizes/{state}"
|
|
860
|
+
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
861
861
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
862
862
|
.replace("{".concat("state", "}"), encodeURIComponent(String(state)));
|
|
863
863
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -930,7 +930,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
930
930
|
return __generator(this, function (_a) {
|
|
931
931
|
// verify required parameter 'id' is not null or undefined
|
|
932
932
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
933
|
-
localVarPath = "/{id}/cname"
|
|
933
|
+
localVarPath = "/admin/accounts/{id}/cname"
|
|
934
934
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
935
935
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
936
936
|
if (configuration) {
|
|
@@ -1316,7 +1316,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1316
1316
|
return __generator(this, function (_a) {
|
|
1317
1317
|
// verify required parameter 'id' is not null or undefined
|
|
1318
1318
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
1319
|
-
localVarPath = "/{id}/billing/address"
|
|
1319
|
+
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
1320
1320
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1321
1321
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1322
1322
|
if (configuration) {
|
|
@@ -1355,7 +1355,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1355
1355
|
return __generator(this, function (_a) {
|
|
1356
1356
|
// verify required parameter 'id' is not null or undefined
|
|
1357
1357
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
1358
|
-
localVarPath = "/{id}/shipping/address"
|
|
1358
|
+
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
1359
1359
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1360
1360
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1361
1361
|
if (configuration) {
|
package/docs/AccountsApi.md
CHANGED
|
@@ -9,15 +9,15 @@ All URIs are relative to *https://localhost*
|
|
|
9
9
|
|[**getGetAccount**](#getgetaccount) | **GET** /accounts/me | Get Account|
|
|
10
10
|
|[**getGetAccountContacts**](#getgetaccountcontacts) | **GET** /accounts/me/contacts | Get Account Contacts|
|
|
11
11
|
|[**getGetAccountDetailedSummary**](#getgetaccountdetailedsummary) | **GET** /accounts/{id}/summary | Get Account Detailed Summary|
|
|
12
|
-
|[**getGetAccountPageInfo**](#getgetaccountpageinfo) | **GET** /{id} | |
|
|
12
|
+
|[**getGetAccountPageInfo**](#getgetaccountpageinfo) | **GET** /admin/accounts/{id} | |
|
|
13
13
|
|[**getGetAccounts**](#getgetaccounts) | **GET** /accounts | Get Accounts|
|
|
14
14
|
|[**getGetClientCredentials**](#getgetclientcredentials) | **GET** /accounts/me/contacts/credentials | Get user\'s client credentials|
|
|
15
15
|
|[**getGetCustomerKeys**](#getgetcustomerkeys) | **GET** /accounts/me/tcx/keys | Get 3CX Keys|
|
|
16
16
|
|[**getVerifyEmailAddress**](#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address|
|
|
17
|
-
|[**patchSetPortalAccess**](#patchsetportalaccess) | **PATCH** /{id}/portal/access/{state} | |
|
|
18
|
-
|[**patchSetPrizePromo**](#patchsetprizepromo) | **PATCH** /{id}/prizes/{state} | |
|
|
17
|
+
|[**patchSetPortalAccess**](#patchsetportalaccess) | **PATCH** /admin/accounts/{id}/portal/access/{state} | |
|
|
18
|
+
|[**patchSetPrizePromo**](#patchsetprizepromo) | **PATCH** /admin/accounts/{id}/prizes/{state} | |
|
|
19
19
|
|[**patchSetTcxWizardCname**](#patchsettcxwizardcname) | **PATCH** /accounts/me/cname | |
|
|
20
|
-
|[**patchUpdateAccountCname**](#patchupdateaccountcname) | **PATCH** /{id}/cname | |
|
|
20
|
+
|[**patchUpdateAccountCname**](#patchupdateaccountcname) | **PATCH** /admin/accounts/{id}/cname | |
|
|
21
21
|
|[**patchUpdateAccountContactPassword**](#patchupdateaccountcontactpassword) | **PATCH** /accounts/contacts/password | Update Account Password|
|
|
22
22
|
|[**postGetAccountContacts**](#postgetaccountcontacts) | **POST** /accounts/me/contacts | Add Account Contact|
|
|
23
23
|
|[**postGetAccounts**](#postgetaccounts) | **POST** /accounts | Create a new customer account|
|
|
@@ -27,8 +27,8 @@ All URIs are relative to *https://localhost*
|
|
|
27
27
|
|[**postSendPasswordReset**](#postsendpasswordreset) | **POST** /accounts/contacts/password/reset | Send password reset email|
|
|
28
28
|
|[**postSubmitResellerApplication**](#postsubmitresellerapplication) | **POST** /accounts/reseller | Submit reseller application|
|
|
29
29
|
|[**putUpdateAccountContact**](#putupdateaccountcontact) | **PUT** /accounts/me/contacts/{email} | Update Account Contact|
|
|
30
|
-
|[**putUpdateBillingAddress**](#putupdatebillingaddress) | **PUT** /{id}/billing/address | |
|
|
31
|
-
|[**putUpdateShippingAddress**](#putupdateshippingaddress) | **PUT** /{id}/shipping/address | |
|
|
30
|
+
|[**putUpdateBillingAddress**](#putupdatebillingaddress) | **PUT** /admin/accounts/{id}/billing/address | |
|
|
31
|
+
|[**putUpdateShippingAddress**](#putupdateshippingaddress) | **PUT** /admin/accounts/{id}/shipping/address | |
|
|
32
32
|
|
|
33
33
|
# **deleteDeleteClientCredentials**
|
|
34
34
|
> deleteDeleteClientCredentials()
|