ch-admin-api-client-typescript 5.4.6 → 5.4.8
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/lib/api/deals-api.d.ts +0 -303
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +0 -424
- package/lib/api/vonage-accounts-api.d.ts +220 -129
- package/lib/api/vonage-accounts-api.d.ts.map +1 -1
- package/lib/api/vonage-accounts-api.js +309 -178
- package/lib/api/vonage-applications-api.d.ts +12 -4
- package/lib/api/vonage-applications-api.d.ts.map +1 -1
- package/lib/api/vonage-applications-api.js +12 -4
- package/lib/api/vonage-numbers-api.d.ts +8 -4
- package/lib/api/vonage-numbers-api.d.ts.map +1 -1
- package/lib/api/vonage-numbers-api.js +8 -4
- package/lib/api/vonage-users-api.d.ts +95 -5
- package/lib/api/vonage-users-api.d.ts.map +1 -1
- package/lib/api/vonage-users-api.js +120 -7
- package/lib/models/appointment-type.d.ts +0 -1
- package/lib/models/appointment-type.d.ts.map +1 -1
- package/lib/models/appointment-type.js +0 -1
- package/lib/models/create-deal-command.d.ts +0 -20
- package/lib/models/create-deal-command.d.ts.map +1 -1
- package/lib/models/create-doctor-affiliation-command.d.ts +0 -13
- package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/create-hospital-command.d.ts +3 -9
- package/lib/models/create-hospital-command.d.ts.map +1 -1
- package/lib/models/deal-item-model.d.ts +0 -13
- package/lib/models/deal-item-model.d.ts.map +1 -1
- package/lib/models/deal-model.d.ts +0 -13
- package/lib/models/deal-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-item-model.d.ts +6 -19
- package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-model.d.ts +6 -19
- package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
- package/lib/models/hospital-domain-input-model.d.ts +50 -0
- package/lib/models/hospital-domain-input-model.d.ts.map +1 -0
- package/lib/models/hospital-domain-model.d.ts +50 -0
- package/lib/models/hospital-domain-model.d.ts.map +1 -0
- package/lib/models/hospital-feature-detail-input-model.d.ts +49 -0
- package/lib/models/hospital-feature-detail-input-model.d.ts.map +1 -0
- package/lib/models/hospital-feature-detail-model.d.ts +56 -0
- package/lib/models/hospital-feature-detail-model.d.ts.map +1 -0
- package/lib/models/hospital-feature-input-model.d.ts +32 -0
- package/lib/models/hospital-feature-input-model.d.ts.map +1 -0
- package/lib/models/{feature-model.d.ts → hospital-feature-model.d.ts} +10 -15
- package/lib/models/hospital-feature-model.d.ts.map +1 -0
- package/lib/models/hospital-item-model.d.ts +28 -4
- package/lib/models/hospital-item-model.d.ts.map +1 -1
- package/lib/models/hospital-model.d.ts +28 -4
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +12 -8
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +12 -8
- package/lib/models/links.d.ts +19 -9
- package/lib/models/links.d.ts.map +1 -1
- package/lib/models/{get-users-result-embedded.d.ts → list-users-result-embedded.d.ts} +4 -4
- package/lib/models/list-users-result-embedded.d.ts.map +1 -0
- package/lib/models/{get-users-result.d.ts → list-users-result.d.ts} +10 -10
- package/lib/models/list-users-result.d.ts.map +1 -0
- package/lib/models/survey-form-simple-mapping-model.d.ts +39 -0
- package/lib/models/survey-form-simple-mapping-model.d.ts.map +1 -0
- package/lib/models/survey-form-simple-mapping-model.js +15 -0
- package/lib/models/transfer-number-command.d.ts +43 -0
- package/lib/models/transfer-number-command.d.ts.map +1 -0
- package/lib/models/transfer-number-command.js +15 -0
- package/lib/models/transfer-number-result.d.ts +49 -0
- package/lib/models/transfer-number-result.d.ts.map +1 -0
- package/lib/models/transfer-number-result.js +15 -0
- package/lib/models/translation-simple-model.d.ts +55 -0
- package/lib/models/translation-simple-model.d.ts.map +1 -0
- package/lib/models/translation-simple-model.js +15 -0
- package/lib/models/update-deal-command.d.ts +0 -20
- package/lib/models/update-deal-command.d.ts.map +1 -1
- package/lib/models/update-doctor-affiliation-command.d.ts +0 -13
- package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/update-hospital-command.d.ts +3 -9
- package/lib/models/update-hospital-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +12 -8
- package/src/api/deals-api.ts +0 -532
- package/src/api/vonage-accounts-api.ts +354 -227
- package/src/api/vonage-applications-api.ts +12 -4
- package/src/api/vonage-numbers-api.ts +8 -4
- package/src/api/vonage-users-api.ts +153 -8
- package/src/models/appointment-type.ts +0 -1
- package/src/models/create-deal-command.ts +0 -24
- package/src/models/create-doctor-affiliation-command.ts +0 -15
- package/src/models/create-hospital-command.ts +4 -10
- package/src/models/deal-item-model.ts +0 -15
- package/src/models/deal-model.ts +0 -15
- package/src/models/doctor-affiliation-item-model.ts +6 -21
- package/src/models/doctor-affiliation-model.ts +6 -21
- package/src/models/hospital-domain-input-model.ts +57 -0
- package/src/models/hospital-domain-model.ts +57 -0
- package/src/models/hospital-feature-detail-input-model.ts +54 -0
- package/src/models/hospital-feature-detail-model.ts +63 -0
- package/src/models/hospital-feature-input-model.ts +39 -0
- package/src/models/{save-deal-appointment-timetable-overrides-command.ts → hospital-feature-model.ts} +12 -6
- package/src/models/hospital-item-model.ts +30 -6
- package/src/models/hospital-model.ts +30 -6
- package/src/models/index.ts +12 -8
- package/src/models/links.ts +19 -13
- package/src/models/{get-users-result-embedded.ts → list-users-result-embedded.ts} +3 -3
- package/src/models/{get-users-result.ts → list-users-result.ts} +10 -10
- package/src/models/survey-form-simple-mapping-model.ts +48 -0
- package/src/models/{feature-model.ts → transfer-number-command.ts} +17 -11
- package/src/models/transfer-number-result.ts +54 -0
- package/src/models/translation-simple-model.ts +60 -0
- package/src/models/update-deal-command.ts +0 -24
- package/src/models/update-doctor-affiliation-command.ts +0 -15
- package/src/models/update-hospital-command.ts +4 -10
- package/lib/models/batch-deal-appointment-timetables-command.d.ts +0 -39
- package/lib/models/batch-deal-appointment-timetables-command.d.ts.map +0 -1
- package/lib/models/feature-model.d.ts.map +0 -1
- package/lib/models/first.d.ts +0 -25
- package/lib/models/first.d.ts.map +0 -1
- package/lib/models/get-users-result-embedded.d.ts.map +0 -1
- package/lib/models/get-users-result.d.ts.map +0 -1
- package/lib/models/last.d.ts +0 -25
- package/lib/models/last.d.ts.map +0 -1
- package/lib/models/save-deal-appointment-timetable-overrides-command.d.ts +0 -26
- package/lib/models/save-deal-appointment-timetable-overrides-command.d.ts.map +0 -1
- package/lib/models/self.d.ts +0 -25
- package/lib/models/self.d.ts.map +0 -1
- package/src/models/batch-deal-appointment-timetables-command.ts +0 -48
- package/src/models/first.ts +0 -30
- package/src/models/last.ts +0 -30
- package/src/models/self.ts +0 -30
- /package/lib/models/{batch-deal-appointment-timetables-command.js → hospital-domain-input-model.js} +0 -0
- /package/lib/models/{feature-model.js → hospital-domain-model.js} +0 -0
- /package/lib/models/{first.js → hospital-feature-detail-input-model.js} +0 -0
- /package/lib/models/{get-users-result-embedded.js → hospital-feature-detail-model.js} +0 -0
- /package/lib/models/{get-users-result.js → hospital-feature-input-model.js} +0 -0
- /package/lib/models/{last.js → hospital-feature-model.js} +0 -0
- /package/lib/models/{save-deal-appointment-timetable-overrides-command.js → list-users-result-embedded.js} +0 -0
- /package/lib/models/{self.js → list-users-result.js} +0 -0
|
@@ -23,6 +23,8 @@ import { SecretsRequestResult } from '../models';
|
|
|
23
23
|
import { SubAccount } from '../models';
|
|
24
24
|
import { TransferBalanceCommand } from '../models';
|
|
25
25
|
import { TransferBalanceResult } from '../models';
|
|
26
|
+
import { TransferNumberCommand } from '../models';
|
|
27
|
+
import { TransferNumberResult } from '../models';
|
|
26
28
|
import { UpdateAccountCommand } from '../models';
|
|
27
29
|
/**
|
|
28
30
|
* VonageAccountsApi - axios parameter creator
|
|
@@ -31,93 +33,113 @@ import { UpdateAccountCommand } from '../models';
|
|
|
31
33
|
export declare const VonageAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
32
34
|
/**
|
|
33
35
|
*
|
|
36
|
+
* @summary Retrieve the balance of the account.
|
|
34
37
|
* @param {*} [options] Override http request option.
|
|
35
38
|
* @throws {RequiredError}
|
|
36
39
|
*/
|
|
37
40
|
apiV1VonageaccountsBalanceGet: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
41
|
/**
|
|
39
42
|
*
|
|
40
|
-
* @
|
|
43
|
+
* @summary Retrieve the balanceTransfer history of the account.
|
|
44
|
+
* @param {string} [apiKey]
|
|
45
|
+
* @param {Date} [startDate]
|
|
46
|
+
* @param {Date} [endDate]
|
|
41
47
|
* @param {*} [options] Override http request option.
|
|
42
48
|
* @throws {RequiredError}
|
|
43
49
|
*/
|
|
44
|
-
|
|
50
|
+
apiV1VonageaccountsBalancetransfersGet: (apiKey?: string, startDate?: Date, endDate?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
51
|
/**
|
|
46
52
|
*
|
|
53
|
+
* @summary Retrieve all secrets for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
47
54
|
* @param {string} [apiKey]
|
|
48
|
-
* @param {Date} [startDate]
|
|
49
|
-
* @param {Date} [endDate]
|
|
50
55
|
* @param {*} [options] Override http request option.
|
|
51
56
|
* @throws {RequiredError}
|
|
52
57
|
*/
|
|
53
|
-
|
|
58
|
+
apiV1VonageaccountsSecretsGet: (apiKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
59
|
/**
|
|
55
60
|
*
|
|
61
|
+
* @summary Create a secret for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
62
|
+
* @param {CreateSecretCommand} [createSecretCommand]
|
|
56
63
|
* @param {*} [options] Override http request option.
|
|
57
64
|
* @throws {RequiredError}
|
|
58
65
|
*/
|
|
59
|
-
|
|
66
|
+
apiV1VonageaccountsSecretsPost: (createSecretCommand?: CreateSecretCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
67
|
/**
|
|
61
68
|
*
|
|
62
|
-
* @
|
|
69
|
+
* @summary Revoke a secret for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
70
|
+
* @param {string} secretId
|
|
71
|
+
* @param {string} [apiKey]
|
|
63
72
|
* @param {*} [options] Override http request option.
|
|
64
73
|
* @throws {RequiredError}
|
|
65
74
|
*/
|
|
66
|
-
|
|
75
|
+
apiV1VonageaccountsSecretsSecretIdDelete: (secretId: string, apiKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
76
|
/**
|
|
68
77
|
*
|
|
78
|
+
* @summary Retrieve a secret for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
79
|
+
* @param {string} secretId
|
|
69
80
|
* @param {string} [apiKey]
|
|
70
81
|
* @param {*} [options] Override http request option.
|
|
71
82
|
* @throws {RequiredError}
|
|
72
83
|
*/
|
|
73
|
-
|
|
84
|
+
apiV1VonageaccountsSecretsSecretIdGet: (secretId: string, apiKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
85
|
/**
|
|
75
86
|
*
|
|
76
|
-
* @
|
|
87
|
+
* @summary Only main account can retrieve sub accounts.
|
|
77
88
|
* @param {*} [options] Override http request option.
|
|
78
89
|
* @throws {RequiredError}
|
|
79
90
|
*/
|
|
80
|
-
|
|
91
|
+
apiV1VonageaccountsSubaccountsGet: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
81
92
|
/**
|
|
82
93
|
*
|
|
83
|
-
* @
|
|
84
|
-
* @param {
|
|
94
|
+
* @summary Create sub account. Only main account can create sub account.
|
|
95
|
+
* @param {CreateSubAccountCommand} [createSubAccountCommand]
|
|
85
96
|
* @param {*} [options] Override http request option.
|
|
86
97
|
* @throws {RequiredError}
|
|
87
98
|
*/
|
|
88
|
-
|
|
99
|
+
apiV1VonageaccountsSubaccountsPost: (createSubAccountCommand?: CreateSubAccountCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
89
100
|
/**
|
|
90
101
|
*
|
|
91
|
-
* @
|
|
92
|
-
* @param {string}
|
|
93
|
-
* @param {string} [apiKey]
|
|
102
|
+
* @summary Only main account can suspend sub account.
|
|
103
|
+
* @param {string} subAccountKey
|
|
94
104
|
* @param {*} [options] Override http request option.
|
|
95
105
|
* @throws {RequiredError}
|
|
96
106
|
*/
|
|
97
|
-
|
|
107
|
+
apiV1VonageaccountsSubaccountsSubAccountKeyDelete: (subAccountKey: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
98
108
|
/**
|
|
99
109
|
*
|
|
110
|
+
* @summary Only main account can retrieve sub account.
|
|
100
111
|
* @param {string} subAccountKey
|
|
101
112
|
* @param {*} [options] Override http request option.
|
|
102
113
|
* @throws {RequiredError}
|
|
103
114
|
*/
|
|
104
|
-
|
|
115
|
+
apiV1VonageaccountsSubaccountsSubAccountKeyGet: (subAccountKey: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
105
116
|
/**
|
|
106
117
|
*
|
|
118
|
+
* @summary Only main account can reactivate sub account.
|
|
107
119
|
* @param {string} subAccountKey
|
|
108
120
|
* @param {*} [options] Override http request option.
|
|
109
121
|
* @throws {RequiredError}
|
|
110
122
|
*/
|
|
111
|
-
|
|
123
|
+
apiV1VonageaccountsSubaccountsSubAccountKeyPut: (subAccountKey: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
112
124
|
/**
|
|
113
125
|
*
|
|
114
|
-
* @
|
|
126
|
+
* @summary Transfer balance between accounts.
|
|
127
|
+
* @param {TransferBalanceCommand} [transferBalanceCommand]
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
apiV1VonageaccountsTransferbalancePost: (transferBalanceCommand?: TransferBalanceCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @summary Transfer number from main account to subAccount.
|
|
135
|
+
* @param {TransferNumberCommand} [transferNumberCommand]
|
|
115
136
|
* @param {*} [options] Override http request option.
|
|
116
137
|
* @throws {RequiredError}
|
|
117
138
|
*/
|
|
118
|
-
|
|
139
|
+
apiV1VonageaccountsTrnasfernumberPost: (transferNumberCommand?: TransferNumberCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
119
140
|
/**
|
|
120
141
|
*
|
|
142
|
+
* @summary Update account settings
|
|
121
143
|
* @param {UpdateAccountCommand} [updateAccountCommand]
|
|
122
144
|
* @param {*} [options] Override http request option.
|
|
123
145
|
* @throws {RequiredError}
|
|
@@ -131,93 +153,113 @@ export declare const VonageAccountsApiAxiosParamCreator: (configuration?: Config
|
|
|
131
153
|
export declare const VonageAccountsApiFp: (configuration?: Configuration) => {
|
|
132
154
|
/**
|
|
133
155
|
*
|
|
156
|
+
* @summary Retrieve the balance of the account.
|
|
134
157
|
* @param {*} [options] Override http request option.
|
|
135
158
|
* @throws {RequiredError}
|
|
136
159
|
*/
|
|
137
160
|
apiV1VonageaccountsBalanceGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Balance>>;
|
|
138
161
|
/**
|
|
139
162
|
*
|
|
140
|
-
* @
|
|
163
|
+
* @summary Retrieve the balanceTransfer history of the account.
|
|
164
|
+
* @param {string} [apiKey]
|
|
165
|
+
* @param {Date} [startDate]
|
|
166
|
+
* @param {Date} [endDate]
|
|
141
167
|
* @param {*} [options] Override http request option.
|
|
142
168
|
* @throws {RequiredError}
|
|
143
169
|
*/
|
|
144
|
-
|
|
170
|
+
apiV1VonageaccountsBalancetransfersGet(apiKey?: string, startDate?: Date, endDate?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTransferBalanceResult>>;
|
|
145
171
|
/**
|
|
146
172
|
*
|
|
173
|
+
* @summary Retrieve all secrets for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
147
174
|
* @param {string} [apiKey]
|
|
148
|
-
* @param {Date} [startDate]
|
|
149
|
-
* @param {Date} [endDate]
|
|
150
175
|
* @param {*} [options] Override http request option.
|
|
151
176
|
* @throws {RequiredError}
|
|
152
177
|
*/
|
|
153
|
-
|
|
178
|
+
apiV1VonageaccountsSecretsGet(apiKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SecretsRequestResult>>;
|
|
154
179
|
/**
|
|
155
180
|
*
|
|
181
|
+
* @summary Create a secret for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
182
|
+
* @param {CreateSecretCommand} [createSecretCommand]
|
|
156
183
|
* @param {*} [options] Override http request option.
|
|
157
184
|
* @throws {RequiredError}
|
|
158
185
|
*/
|
|
159
|
-
|
|
186
|
+
apiV1VonageaccountsSecretsPost(createSecretCommand?: CreateSecretCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>>;
|
|
160
187
|
/**
|
|
161
188
|
*
|
|
162
|
-
* @
|
|
189
|
+
* @summary Revoke a secret for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
190
|
+
* @param {string} secretId
|
|
191
|
+
* @param {string} [apiKey]
|
|
163
192
|
* @param {*} [options] Override http request option.
|
|
164
193
|
* @throws {RequiredError}
|
|
165
194
|
*/
|
|
166
|
-
|
|
195
|
+
apiV1VonageaccountsSecretsSecretIdDelete(secretId: string, apiKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
167
196
|
/**
|
|
168
197
|
*
|
|
198
|
+
* @summary Retrieve a secret for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
199
|
+
* @param {string} secretId
|
|
169
200
|
* @param {string} [apiKey]
|
|
170
201
|
* @param {*} [options] Override http request option.
|
|
171
202
|
* @throws {RequiredError}
|
|
172
203
|
*/
|
|
173
|
-
|
|
204
|
+
apiV1VonageaccountsSecretsSecretIdGet(secretId: string, apiKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>>;
|
|
174
205
|
/**
|
|
175
206
|
*
|
|
176
|
-
* @
|
|
207
|
+
* @summary Only main account can retrieve sub accounts.
|
|
177
208
|
* @param {*} [options] Override http request option.
|
|
178
209
|
* @throws {RequiredError}
|
|
179
210
|
*/
|
|
180
|
-
|
|
211
|
+
apiV1VonageaccountsSubaccountsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetrieveSubAccountsResult>>;
|
|
181
212
|
/**
|
|
182
213
|
*
|
|
183
|
-
* @
|
|
184
|
-
* @param {
|
|
214
|
+
* @summary Create sub account. Only main account can create sub account.
|
|
215
|
+
* @param {CreateSubAccountCommand} [createSubAccountCommand]
|
|
185
216
|
* @param {*} [options] Override http request option.
|
|
186
217
|
* @throws {RequiredError}
|
|
187
218
|
*/
|
|
188
|
-
|
|
219
|
+
apiV1VonageaccountsSubaccountsPost(createSubAccountCommand?: CreateSubAccountCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubAccount>>;
|
|
189
220
|
/**
|
|
190
221
|
*
|
|
191
|
-
* @
|
|
192
|
-
* @param {string}
|
|
193
|
-
* @param {string} [apiKey]
|
|
222
|
+
* @summary Only main account can suspend sub account.
|
|
223
|
+
* @param {string} subAccountKey
|
|
194
224
|
* @param {*} [options] Override http request option.
|
|
195
225
|
* @throws {RequiredError}
|
|
196
226
|
*/
|
|
197
|
-
|
|
227
|
+
apiV1VonageaccountsSubaccountsSubAccountKeyDelete(subAccountKey: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubAccount>>;
|
|
198
228
|
/**
|
|
199
229
|
*
|
|
230
|
+
* @summary Only main account can retrieve sub account.
|
|
200
231
|
* @param {string} subAccountKey
|
|
201
232
|
* @param {*} [options] Override http request option.
|
|
202
233
|
* @throws {RequiredError}
|
|
203
234
|
*/
|
|
204
|
-
|
|
235
|
+
apiV1VonageaccountsSubaccountsSubAccountKeyGet(subAccountKey: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubAccount>>;
|
|
205
236
|
/**
|
|
206
237
|
*
|
|
238
|
+
* @summary Only main account can reactivate sub account.
|
|
207
239
|
* @param {string} subAccountKey
|
|
208
240
|
* @param {*} [options] Override http request option.
|
|
209
241
|
* @throws {RequiredError}
|
|
210
242
|
*/
|
|
211
|
-
|
|
243
|
+
apiV1VonageaccountsSubaccountsSubAccountKeyPut(subAccountKey: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubAccount>>;
|
|
212
244
|
/**
|
|
213
245
|
*
|
|
214
|
-
* @
|
|
246
|
+
* @summary Transfer balance between accounts.
|
|
247
|
+
* @param {TransferBalanceCommand} [transferBalanceCommand]
|
|
248
|
+
* @param {*} [options] Override http request option.
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
*/
|
|
251
|
+
apiV1VonageaccountsTransferbalancePost(transferBalanceCommand?: TransferBalanceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferBalanceResult>>;
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @summary Transfer number from main account to subAccount.
|
|
255
|
+
* @param {TransferNumberCommand} [transferNumberCommand]
|
|
215
256
|
* @param {*} [options] Override http request option.
|
|
216
257
|
* @throws {RequiredError}
|
|
217
258
|
*/
|
|
218
|
-
|
|
259
|
+
apiV1VonageaccountsTrnasfernumberPost(transferNumberCommand?: TransferNumberCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransferNumberResult>>;
|
|
219
260
|
/**
|
|
220
261
|
*
|
|
262
|
+
* @summary Update account settings
|
|
221
263
|
* @param {UpdateAccountCommand} [updateAccountCommand]
|
|
222
264
|
* @param {*} [options] Override http request option.
|
|
223
265
|
* @throws {RequiredError}
|
|
@@ -231,112 +273,119 @@ export declare const VonageAccountsApiFp: (configuration?: Configuration) => {
|
|
|
231
273
|
export declare const VonageAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
232
274
|
/**
|
|
233
275
|
*
|
|
276
|
+
* @summary Retrieve the balance of the account.
|
|
234
277
|
* @param {*} [options] Override http request option.
|
|
235
278
|
* @throws {RequiredError}
|
|
236
279
|
*/
|
|
237
280
|
apiV1VonageaccountsBalanceGet(options?: any): AxiosPromise<Balance>;
|
|
238
281
|
/**
|
|
239
282
|
*
|
|
240
|
-
* @
|
|
283
|
+
* @summary Retrieve the balanceTransfer history of the account.
|
|
284
|
+
* @param {string} [apiKey]
|
|
285
|
+
* @param {Date} [startDate]
|
|
286
|
+
* @param {Date} [endDate]
|
|
241
287
|
* @param {*} [options] Override http request option.
|
|
242
288
|
* @throws {RequiredError}
|
|
243
289
|
*/
|
|
244
|
-
|
|
290
|
+
apiV1VonageaccountsBalancetransfersGet(apiKey?: string, startDate?: Date, endDate?: Date, options?: any): AxiosPromise<GetTransferBalanceResult>;
|
|
245
291
|
/**
|
|
246
292
|
*
|
|
293
|
+
* @summary Retrieve all secrets for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
247
294
|
* @param {string} [apiKey]
|
|
248
|
-
* @param {Date} [startDate]
|
|
249
|
-
* @param {Date} [endDate]
|
|
250
295
|
* @param {*} [options] Override http request option.
|
|
251
296
|
* @throws {RequiredError}
|
|
252
297
|
*/
|
|
253
|
-
|
|
298
|
+
apiV1VonageaccountsSecretsGet(apiKey?: string, options?: any): AxiosPromise<SecretsRequestResult>;
|
|
254
299
|
/**
|
|
255
300
|
*
|
|
301
|
+
* @summary Create a secret for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
302
|
+
* @param {CreateSecretCommand} [createSecretCommand]
|
|
256
303
|
* @param {*} [options] Override http request option.
|
|
257
304
|
* @throws {RequiredError}
|
|
258
305
|
*/
|
|
259
|
-
|
|
306
|
+
apiV1VonageaccountsSecretsPost(createSecretCommand?: CreateSecretCommand, options?: any): AxiosPromise<Secret>;
|
|
260
307
|
/**
|
|
261
308
|
*
|
|
262
|
-
* @
|
|
309
|
+
* @summary Revoke a secret for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
310
|
+
* @param {string} secretId
|
|
311
|
+
* @param {string} [apiKey]
|
|
263
312
|
* @param {*} [options] Override http request option.
|
|
264
313
|
* @throws {RequiredError}
|
|
265
314
|
*/
|
|
266
|
-
|
|
315
|
+
apiV1VonageaccountsSecretsSecretIdDelete(secretId: string, apiKey?: string, options?: any): AxiosPromise<boolean>;
|
|
267
316
|
/**
|
|
268
317
|
*
|
|
318
|
+
* @summary Retrieve a secret for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
319
|
+
* @param {string} secretId
|
|
269
320
|
* @param {string} [apiKey]
|
|
270
321
|
* @param {*} [options] Override http request option.
|
|
271
322
|
* @throws {RequiredError}
|
|
272
323
|
*/
|
|
273
|
-
|
|
324
|
+
apiV1VonageaccountsSecretsSecretIdGet(secretId: string, apiKey?: string, options?: any): AxiosPromise<Secret>;
|
|
274
325
|
/**
|
|
275
326
|
*
|
|
276
|
-
* @
|
|
327
|
+
* @summary Only main account can retrieve sub accounts.
|
|
277
328
|
* @param {*} [options] Override http request option.
|
|
278
329
|
* @throws {RequiredError}
|
|
279
330
|
*/
|
|
280
|
-
|
|
331
|
+
apiV1VonageaccountsSubaccountsGet(options?: any): AxiosPromise<RetrieveSubAccountsResult>;
|
|
281
332
|
/**
|
|
282
333
|
*
|
|
283
|
-
* @
|
|
284
|
-
* @param {
|
|
334
|
+
* @summary Create sub account. Only main account can create sub account.
|
|
335
|
+
* @param {CreateSubAccountCommand} [createSubAccountCommand]
|
|
285
336
|
* @param {*} [options] Override http request option.
|
|
286
337
|
* @throws {RequiredError}
|
|
287
338
|
*/
|
|
288
|
-
|
|
339
|
+
apiV1VonageaccountsSubaccountsPost(createSubAccountCommand?: CreateSubAccountCommand, options?: any): AxiosPromise<SubAccount>;
|
|
289
340
|
/**
|
|
290
341
|
*
|
|
291
|
-
* @
|
|
292
|
-
* @param {string}
|
|
293
|
-
* @param {string} [apiKey]
|
|
342
|
+
* @summary Only main account can suspend sub account.
|
|
343
|
+
* @param {string} subAccountKey
|
|
294
344
|
* @param {*} [options] Override http request option.
|
|
295
345
|
* @throws {RequiredError}
|
|
296
346
|
*/
|
|
297
|
-
|
|
347
|
+
apiV1VonageaccountsSubaccountsSubAccountKeyDelete(subAccountKey: string, options?: any): AxiosPromise<SubAccount>;
|
|
298
348
|
/**
|
|
299
349
|
*
|
|
350
|
+
* @summary Only main account can retrieve sub account.
|
|
300
351
|
* @param {string} subAccountKey
|
|
301
352
|
* @param {*} [options] Override http request option.
|
|
302
353
|
* @throws {RequiredError}
|
|
303
354
|
*/
|
|
304
|
-
|
|
355
|
+
apiV1VonageaccountsSubaccountsSubAccountKeyGet(subAccountKey: string, options?: any): AxiosPromise<SubAccount>;
|
|
305
356
|
/**
|
|
306
357
|
*
|
|
358
|
+
* @summary Only main account can reactivate sub account.
|
|
307
359
|
* @param {string} subAccountKey
|
|
308
360
|
* @param {*} [options] Override http request option.
|
|
309
361
|
* @throws {RequiredError}
|
|
310
362
|
*/
|
|
311
|
-
|
|
363
|
+
apiV1VonageaccountsSubaccountsSubAccountKeyPut(subAccountKey: string, options?: any): AxiosPromise<SubAccount>;
|
|
312
364
|
/**
|
|
313
365
|
*
|
|
314
|
-
* @
|
|
366
|
+
* @summary Transfer balance between accounts.
|
|
367
|
+
* @param {TransferBalanceCommand} [transferBalanceCommand]
|
|
315
368
|
* @param {*} [options] Override http request option.
|
|
316
369
|
* @throws {RequiredError}
|
|
317
370
|
*/
|
|
318
|
-
|
|
371
|
+
apiV1VonageaccountsTransferbalancePost(transferBalanceCommand?: TransferBalanceCommand, options?: any): AxiosPromise<TransferBalanceResult>;
|
|
319
372
|
/**
|
|
320
373
|
*
|
|
321
|
-
* @
|
|
374
|
+
* @summary Transfer number from main account to subAccount.
|
|
375
|
+
* @param {TransferNumberCommand} [transferNumberCommand]
|
|
322
376
|
* @param {*} [options] Override http request option.
|
|
323
377
|
* @throws {RequiredError}
|
|
324
378
|
*/
|
|
325
|
-
|
|
326
|
-
};
|
|
327
|
-
/**
|
|
328
|
-
* Request parameters for apiV1VonageaccountsBalanceTransferPost operation in VonageAccountsApi.
|
|
329
|
-
* @export
|
|
330
|
-
* @interface VonageAccountsApiApiV1VonageaccountsBalanceTransferPostRequest
|
|
331
|
-
*/
|
|
332
|
-
export interface VonageAccountsApiApiV1VonageaccountsBalanceTransferPostRequest {
|
|
379
|
+
apiV1VonageaccountsTrnasfernumberPost(transferNumberCommand?: TransferNumberCommand, options?: any): AxiosPromise<TransferNumberResult>;
|
|
333
380
|
/**
|
|
334
381
|
*
|
|
335
|
-
* @
|
|
336
|
-
* @
|
|
382
|
+
* @summary Update account settings
|
|
383
|
+
* @param {UpdateAccountCommand} [updateAccountCommand]
|
|
384
|
+
* @param {*} [options] Override http request option.
|
|
385
|
+
* @throws {RequiredError}
|
|
337
386
|
*/
|
|
338
|
-
|
|
339
|
-
}
|
|
387
|
+
apiV1VonageaccountsUpdatePut(updateAccountCommand?: UpdateAccountCommand, options?: any): AxiosPromise<AccountSettingsResult>;
|
|
388
|
+
};
|
|
340
389
|
/**
|
|
341
390
|
* Request parameters for apiV1VonageaccountsBalancetransfersGet operation in VonageAccountsApi.
|
|
342
391
|
* @export
|
|
@@ -362,19 +411,6 @@ export interface VonageAccountsApiApiV1VonageaccountsBalancetransfersGetRequest
|
|
|
362
411
|
*/
|
|
363
412
|
readonly endDate?: Date;
|
|
364
413
|
}
|
|
365
|
-
/**
|
|
366
|
-
* Request parameters for apiV1VonageaccountsPost operation in VonageAccountsApi.
|
|
367
|
-
* @export
|
|
368
|
-
* @interface VonageAccountsApiApiV1VonageaccountsPostRequest
|
|
369
|
-
*/
|
|
370
|
-
export interface VonageAccountsApiApiV1VonageaccountsPostRequest {
|
|
371
|
-
/**
|
|
372
|
-
*
|
|
373
|
-
* @type {CreateSubAccountCommand}
|
|
374
|
-
* @memberof VonageAccountsApiApiV1VonageaccountsPost
|
|
375
|
-
*/
|
|
376
|
-
readonly createSubAccountCommand?: CreateSubAccountCommand;
|
|
377
|
-
}
|
|
378
414
|
/**
|
|
379
415
|
* Request parameters for apiV1VonageaccountsSecretsGet operation in VonageAccountsApi.
|
|
380
416
|
* @export
|
|
@@ -437,53 +473,86 @@ export interface VonageAccountsApiApiV1VonageaccountsSecretsSecretIdGetRequest {
|
|
|
437
473
|
* @type {string}
|
|
438
474
|
* @memberof VonageAccountsApiApiV1VonageaccountsSecretsSecretIdGet
|
|
439
475
|
*/
|
|
440
|
-
readonly
|
|
476
|
+
readonly apiKey?: string;
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* Request parameters for apiV1VonageaccountsSubaccountsPost operation in VonageAccountsApi.
|
|
480
|
+
* @export
|
|
481
|
+
* @interface VonageAccountsApiApiV1VonageaccountsSubaccountsPostRequest
|
|
482
|
+
*/
|
|
483
|
+
export interface VonageAccountsApiApiV1VonageaccountsSubaccountsPostRequest {
|
|
441
484
|
/**
|
|
442
485
|
*
|
|
443
|
-
* @type {
|
|
444
|
-
* @memberof
|
|
486
|
+
* @type {CreateSubAccountCommand}
|
|
487
|
+
* @memberof VonageAccountsApiApiV1VonageaccountsSubaccountsPost
|
|
445
488
|
*/
|
|
446
|
-
readonly
|
|
489
|
+
readonly createSubAccountCommand?: CreateSubAccountCommand;
|
|
447
490
|
}
|
|
448
491
|
/**
|
|
449
|
-
* Request parameters for
|
|
492
|
+
* Request parameters for apiV1VonageaccountsSubaccountsSubAccountKeyDelete operation in VonageAccountsApi.
|
|
450
493
|
* @export
|
|
451
|
-
* @interface
|
|
494
|
+
* @interface VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyDeleteRequest
|
|
452
495
|
*/
|
|
453
|
-
export interface
|
|
496
|
+
export interface VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyDeleteRequest {
|
|
454
497
|
/**
|
|
455
498
|
*
|
|
456
499
|
* @type {string}
|
|
457
|
-
* @memberof
|
|
500
|
+
* @memberof VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyDelete
|
|
458
501
|
*/
|
|
459
502
|
readonly subAccountKey: string;
|
|
460
503
|
}
|
|
461
504
|
/**
|
|
462
|
-
* Request parameters for
|
|
505
|
+
* Request parameters for apiV1VonageaccountsSubaccountsSubAccountKeyGet operation in VonageAccountsApi.
|
|
463
506
|
* @export
|
|
464
|
-
* @interface
|
|
507
|
+
* @interface VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyGetRequest
|
|
465
508
|
*/
|
|
466
|
-
export interface
|
|
509
|
+
export interface VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyGetRequest {
|
|
467
510
|
/**
|
|
468
511
|
*
|
|
469
512
|
* @type {string}
|
|
470
|
-
* @memberof
|
|
513
|
+
* @memberof VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyGet
|
|
471
514
|
*/
|
|
472
515
|
readonly subAccountKey: string;
|
|
473
516
|
}
|
|
474
517
|
/**
|
|
475
|
-
* Request parameters for
|
|
518
|
+
* Request parameters for apiV1VonageaccountsSubaccountsSubAccountKeyPut operation in VonageAccountsApi.
|
|
476
519
|
* @export
|
|
477
|
-
* @interface
|
|
520
|
+
* @interface VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyPutRequest
|
|
478
521
|
*/
|
|
479
|
-
export interface
|
|
522
|
+
export interface VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyPutRequest {
|
|
480
523
|
/**
|
|
481
524
|
*
|
|
482
525
|
* @type {string}
|
|
483
|
-
* @memberof
|
|
526
|
+
* @memberof VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyPut
|
|
484
527
|
*/
|
|
485
528
|
readonly subAccountKey: string;
|
|
486
529
|
}
|
|
530
|
+
/**
|
|
531
|
+
* Request parameters for apiV1VonageaccountsTransferbalancePost operation in VonageAccountsApi.
|
|
532
|
+
* @export
|
|
533
|
+
* @interface VonageAccountsApiApiV1VonageaccountsTransferbalancePostRequest
|
|
534
|
+
*/
|
|
535
|
+
export interface VonageAccountsApiApiV1VonageaccountsTransferbalancePostRequest {
|
|
536
|
+
/**
|
|
537
|
+
*
|
|
538
|
+
* @type {TransferBalanceCommand}
|
|
539
|
+
* @memberof VonageAccountsApiApiV1VonageaccountsTransferbalancePost
|
|
540
|
+
*/
|
|
541
|
+
readonly transferBalanceCommand?: TransferBalanceCommand;
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Request parameters for apiV1VonageaccountsTrnasfernumberPost operation in VonageAccountsApi.
|
|
545
|
+
* @export
|
|
546
|
+
* @interface VonageAccountsApiApiV1VonageaccountsTrnasfernumberPostRequest
|
|
547
|
+
*/
|
|
548
|
+
export interface VonageAccountsApiApiV1VonageaccountsTrnasfernumberPostRequest {
|
|
549
|
+
/**
|
|
550
|
+
*
|
|
551
|
+
* @type {TransferNumberCommand}
|
|
552
|
+
* @memberof VonageAccountsApiApiV1VonageaccountsTrnasfernumberPost
|
|
553
|
+
*/
|
|
554
|
+
readonly transferNumberCommand?: TransferNumberCommand;
|
|
555
|
+
}
|
|
487
556
|
/**
|
|
488
557
|
* Request parameters for apiV1VonageaccountsUpdatePut operation in VonageAccountsApi.
|
|
489
558
|
* @export
|
|
@@ -506,6 +575,7 @@ export interface VonageAccountsApiApiV1VonageaccountsUpdatePutRequest {
|
|
|
506
575
|
export declare class VonageAccountsApi extends BaseAPI {
|
|
507
576
|
/**
|
|
508
577
|
*
|
|
578
|
+
* @summary Retrieve the balance of the account.
|
|
509
579
|
* @param {*} [options] Override http request option.
|
|
510
580
|
* @throws {RequiredError}
|
|
511
581
|
* @memberof VonageAccountsApi
|
|
@@ -513,93 +583,114 @@ export declare class VonageAccountsApi extends BaseAPI {
|
|
|
513
583
|
apiV1VonageaccountsBalanceGet(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Balance, any>>;
|
|
514
584
|
/**
|
|
515
585
|
*
|
|
516
|
-
* @
|
|
586
|
+
* @summary Retrieve the balanceTransfer history of the account.
|
|
587
|
+
* @param {VonageAccountsApiApiV1VonageaccountsBalancetransfersGetRequest} requestParameters Request parameters.
|
|
517
588
|
* @param {*} [options] Override http request option.
|
|
518
589
|
* @throws {RequiredError}
|
|
519
590
|
* @memberof VonageAccountsApi
|
|
520
591
|
*/
|
|
521
|
-
|
|
592
|
+
apiV1VonageaccountsBalancetransfersGet(requestParameters?: VonageAccountsApiApiV1VonageaccountsBalancetransfersGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTransferBalanceResult, any>>;
|
|
522
593
|
/**
|
|
523
594
|
*
|
|
524
|
-
* @
|
|
595
|
+
* @summary Retrieve all secrets for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
596
|
+
* @param {VonageAccountsApiApiV1VonageaccountsSecretsGetRequest} requestParameters Request parameters.
|
|
525
597
|
* @param {*} [options] Override http request option.
|
|
526
598
|
* @throws {RequiredError}
|
|
527
599
|
* @memberof VonageAccountsApi
|
|
528
600
|
*/
|
|
529
|
-
|
|
601
|
+
apiV1VonageaccountsSecretsGet(requestParameters?: VonageAccountsApiApiV1VonageaccountsSecretsGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SecretsRequestResult, any>>;
|
|
530
602
|
/**
|
|
531
603
|
*
|
|
604
|
+
* @summary Create a secret for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
605
|
+
* @param {VonageAccountsApiApiV1VonageaccountsSecretsPostRequest} requestParameters Request parameters.
|
|
532
606
|
* @param {*} [options] Override http request option.
|
|
533
607
|
* @throws {RequiredError}
|
|
534
608
|
* @memberof VonageAccountsApi
|
|
535
609
|
*/
|
|
536
|
-
|
|
610
|
+
apiV1VonageaccountsSecretsPost(requestParameters?: VonageAccountsApiApiV1VonageaccountsSecretsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Secret, any>>;
|
|
537
611
|
/**
|
|
538
612
|
*
|
|
539
|
-
* @
|
|
613
|
+
* @summary Revoke a secret for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
614
|
+
* @param {VonageAccountsApiApiV1VonageaccountsSecretsSecretIdDeleteRequest} requestParameters Request parameters.
|
|
540
615
|
* @param {*} [options] Override http request option.
|
|
541
616
|
* @throws {RequiredError}
|
|
542
617
|
* @memberof VonageAccountsApi
|
|
543
618
|
*/
|
|
544
|
-
|
|
619
|
+
apiV1VonageaccountsSecretsSecretIdDelete(requestParameters: VonageAccountsApiApiV1VonageaccountsSecretsSecretIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
545
620
|
/**
|
|
546
621
|
*
|
|
547
|
-
* @
|
|
622
|
+
* @summary Retrieve a secret for account. ApiKey is optional, if not provided, the default ApiKey will be used.
|
|
623
|
+
* @param {VonageAccountsApiApiV1VonageaccountsSecretsSecretIdGetRequest} requestParameters Request parameters.
|
|
548
624
|
* @param {*} [options] Override http request option.
|
|
549
625
|
* @throws {RequiredError}
|
|
550
626
|
* @memberof VonageAccountsApi
|
|
551
627
|
*/
|
|
552
|
-
|
|
628
|
+
apiV1VonageaccountsSecretsSecretIdGet(requestParameters: VonageAccountsApiApiV1VonageaccountsSecretsSecretIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Secret, any>>;
|
|
553
629
|
/**
|
|
554
630
|
*
|
|
555
|
-
* @
|
|
631
|
+
* @summary Only main account can retrieve sub accounts.
|
|
556
632
|
* @param {*} [options] Override http request option.
|
|
557
633
|
* @throws {RequiredError}
|
|
558
634
|
* @memberof VonageAccountsApi
|
|
559
635
|
*/
|
|
560
|
-
|
|
636
|
+
apiV1VonageaccountsSubaccountsGet(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveSubAccountsResult, any>>;
|
|
561
637
|
/**
|
|
562
638
|
*
|
|
563
|
-
* @
|
|
639
|
+
* @summary Create sub account. Only main account can create sub account.
|
|
640
|
+
* @param {VonageAccountsApiApiV1VonageaccountsSubaccountsPostRequest} requestParameters Request parameters.
|
|
564
641
|
* @param {*} [options] Override http request option.
|
|
565
642
|
* @throws {RequiredError}
|
|
566
643
|
* @memberof VonageAccountsApi
|
|
567
644
|
*/
|
|
568
|
-
|
|
645
|
+
apiV1VonageaccountsSubaccountsPost(requestParameters?: VonageAccountsApiApiV1VonageaccountsSubaccountsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubAccount, any>>;
|
|
569
646
|
/**
|
|
570
647
|
*
|
|
571
|
-
* @
|
|
648
|
+
* @summary Only main account can suspend sub account.
|
|
649
|
+
* @param {VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyDeleteRequest} requestParameters Request parameters.
|
|
572
650
|
* @param {*} [options] Override http request option.
|
|
573
651
|
* @throws {RequiredError}
|
|
574
652
|
* @memberof VonageAccountsApi
|
|
575
653
|
*/
|
|
576
|
-
|
|
654
|
+
apiV1VonageaccountsSubaccountsSubAccountKeyDelete(requestParameters: VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubAccount, any>>;
|
|
655
|
+
/**
|
|
656
|
+
*
|
|
657
|
+
* @summary Only main account can retrieve sub account.
|
|
658
|
+
* @param {VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyGetRequest} requestParameters Request parameters.
|
|
659
|
+
* @param {*} [options] Override http request option.
|
|
660
|
+
* @throws {RequiredError}
|
|
661
|
+
* @memberof VonageAccountsApi
|
|
662
|
+
*/
|
|
663
|
+
apiV1VonageaccountsSubaccountsSubAccountKeyGet(requestParameters: VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubAccount, any>>;
|
|
577
664
|
/**
|
|
578
665
|
*
|
|
579
|
-
* @
|
|
666
|
+
* @summary Only main account can reactivate sub account.
|
|
667
|
+
* @param {VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyPutRequest} requestParameters Request parameters.
|
|
580
668
|
* @param {*} [options] Override http request option.
|
|
581
669
|
* @throws {RequiredError}
|
|
582
670
|
* @memberof VonageAccountsApi
|
|
583
671
|
*/
|
|
584
|
-
|
|
672
|
+
apiV1VonageaccountsSubaccountsSubAccountKeyPut(requestParameters: VonageAccountsApiApiV1VonageaccountsSubaccountsSubAccountKeyPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubAccount, any>>;
|
|
585
673
|
/**
|
|
586
674
|
*
|
|
587
|
-
* @
|
|
675
|
+
* @summary Transfer balance between accounts.
|
|
676
|
+
* @param {VonageAccountsApiApiV1VonageaccountsTransferbalancePostRequest} requestParameters Request parameters.
|
|
588
677
|
* @param {*} [options] Override http request option.
|
|
589
678
|
* @throws {RequiredError}
|
|
590
679
|
* @memberof VonageAccountsApi
|
|
591
680
|
*/
|
|
592
|
-
|
|
681
|
+
apiV1VonageaccountsTransferbalancePost(requestParameters?: VonageAccountsApiApiV1VonageaccountsTransferbalancePostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransferBalanceResult, any>>;
|
|
593
682
|
/**
|
|
594
683
|
*
|
|
595
|
-
* @
|
|
684
|
+
* @summary Transfer number from main account to subAccount.
|
|
685
|
+
* @param {VonageAccountsApiApiV1VonageaccountsTrnasfernumberPostRequest} requestParameters Request parameters.
|
|
596
686
|
* @param {*} [options] Override http request option.
|
|
597
687
|
* @throws {RequiredError}
|
|
598
688
|
* @memberof VonageAccountsApi
|
|
599
689
|
*/
|
|
600
|
-
|
|
690
|
+
apiV1VonageaccountsTrnasfernumberPost(requestParameters?: VonageAccountsApiApiV1VonageaccountsTrnasfernumberPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransferNumberResult, any>>;
|
|
601
691
|
/**
|
|
602
692
|
*
|
|
693
|
+
* @summary Update account settings
|
|
603
694
|
* @param {VonageAccountsApiApiV1VonageaccountsUpdatePutRequest} requestParameters Request parameters.
|
|
604
695
|
* @param {*} [options] Override http request option.
|
|
605
696
|
* @throws {RequiredError}
|