yellowgrid-api-ts 3.2.128-dev.0 → 3.2.129-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/.openapi-generator/FILES +2 -1
- package/README.md +2 -1
- package/api.ts +38 -32
- package/dist/api.d.ts +28 -22
- package/dist/api.js +28 -28
- package/docs/CRMApi.md +4 -4
- package/docs/CreateCrmNoteBody.md +20 -0
- package/docs/NumberPortAdminNoteBody.md +20 -0
- package/docs/NumberPortingApi.md +5 -5
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -46,6 +46,7 @@ docs/CompanyContractModel.md
|
|
|
46
46
|
docs/ContactInfoModel.md
|
|
47
47
|
docs/ConversationModel.md
|
|
48
48
|
docs/CourierPriceEntity.md
|
|
49
|
+
docs/CreateCrmNoteBody.md
|
|
49
50
|
docs/CreditAccountEntity.md
|
|
50
51
|
docs/CreditNoteDTO.md
|
|
51
52
|
docs/CreditNoteEntity.md
|
|
@@ -108,6 +109,7 @@ docs/MonthlyUsageModel.md
|
|
|
108
109
|
docs/MultiTenantChangeResponseModel.md
|
|
109
110
|
docs/MyPBXToolsApi.md
|
|
110
111
|
docs/NavigationModel.md
|
|
112
|
+
docs/NumberPortAdminNoteBody.md
|
|
111
113
|
docs/NumberPortDTO.md
|
|
112
114
|
docs/NumberPortNoteDTO.md
|
|
113
115
|
docs/NumberPortRangeDTO.md
|
|
@@ -135,7 +137,6 @@ docs/PortalAccountModel.md
|
|
|
135
137
|
docs/PortalLoginModel.md
|
|
136
138
|
docs/PostAddOrderNoteRequest.md
|
|
137
139
|
docs/PostAddWebhook200Response.md
|
|
138
|
-
docs/PostCreateCrmNoteRequest.md
|
|
139
140
|
docs/PostGetClientCredentialsRequest.md
|
|
140
141
|
docs/PostGetProductForCustomerRequest.md
|
|
141
142
|
docs/PostGetProductRequest.md
|
package/README.md
CHANGED
|
@@ -324,6 +324,7 @@ Class | Method | HTTP request | Description
|
|
|
324
324
|
- [ContactInfoModel](docs/ContactInfoModel.md)
|
|
325
325
|
- [ConversationModel](docs/ConversationModel.md)
|
|
326
326
|
- [CourierPriceEntity](docs/CourierPriceEntity.md)
|
|
327
|
+
- [CreateCrmNoteBody](docs/CreateCrmNoteBody.md)
|
|
327
328
|
- [CreditAccountEntity](docs/CreditAccountEntity.md)
|
|
328
329
|
- [CreditNoteDTO](docs/CreditNoteDTO.md)
|
|
329
330
|
- [CreditNoteEntity](docs/CreditNoteEntity.md)
|
|
@@ -385,6 +386,7 @@ Class | Method | HTTP request | Description
|
|
|
385
386
|
- [MonthlyUsageModel](docs/MonthlyUsageModel.md)
|
|
386
387
|
- [MultiTenantChangeResponseModel](docs/MultiTenantChangeResponseModel.md)
|
|
387
388
|
- [NavigationModel](docs/NavigationModel.md)
|
|
389
|
+
- [NumberPortAdminNoteBody](docs/NumberPortAdminNoteBody.md)
|
|
388
390
|
- [NumberPortDTO](docs/NumberPortDTO.md)
|
|
389
391
|
- [NumberPortNoteDTO](docs/NumberPortNoteDTO.md)
|
|
390
392
|
- [NumberPortRangeDTO](docs/NumberPortRangeDTO.md)
|
|
@@ -409,7 +411,6 @@ Class | Method | HTTP request | Description
|
|
|
409
411
|
- [PortalLoginModel](docs/PortalLoginModel.md)
|
|
410
412
|
- [PostAddOrderNoteRequest](docs/PostAddOrderNoteRequest.md)
|
|
411
413
|
- [PostAddWebhook200Response](docs/PostAddWebhook200Response.md)
|
|
412
|
-
- [PostCreateCrmNoteRequest](docs/PostCreateCrmNoteRequest.md)
|
|
413
414
|
- [PostGetClientCredentialsRequest](docs/PostGetClientCredentialsRequest.md)
|
|
414
415
|
- [PostGetProductForCustomerRequest](docs/PostGetProductForCustomerRequest.md)
|
|
415
416
|
- [PostGetProductRequest](docs/PostGetProductRequest.md)
|
package/api.ts
CHANGED
|
@@ -1383,6 +1383,12 @@ export interface CourierPriceEntity {
|
|
|
1383
1383
|
*/
|
|
1384
1384
|
'maxKg'?: number;
|
|
1385
1385
|
}
|
|
1386
|
+
export interface CreateCrmNoteBody {
|
|
1387
|
+
/**
|
|
1388
|
+
* Note
|
|
1389
|
+
*/
|
|
1390
|
+
'note'?: string;
|
|
1391
|
+
}
|
|
1386
1392
|
/**
|
|
1387
1393
|
* Credit Account
|
|
1388
1394
|
*/
|
|
@@ -3181,6 +3187,12 @@ export interface NavigationModel {
|
|
|
3181
3187
|
*/
|
|
3182
3188
|
'openNewPage'?: boolean;
|
|
3183
3189
|
}
|
|
3190
|
+
export interface NumberPortAdminNoteBody {
|
|
3191
|
+
/**
|
|
3192
|
+
* Note
|
|
3193
|
+
*/
|
|
3194
|
+
'note'?: string;
|
|
3195
|
+
}
|
|
3184
3196
|
/**
|
|
3185
3197
|
* Number Port Response
|
|
3186
3198
|
*/
|
|
@@ -4303,12 +4315,6 @@ export interface PostAddOrderNoteRequest {
|
|
|
4303
4315
|
export interface PostAddWebhook200Response {
|
|
4304
4316
|
'url'?: string;
|
|
4305
4317
|
}
|
|
4306
|
-
export interface PostCreateCrmNoteRequest {
|
|
4307
|
-
/**
|
|
4308
|
-
* Note
|
|
4309
|
-
*/
|
|
4310
|
-
'note'?: string;
|
|
4311
|
-
}
|
|
4312
4318
|
export interface PostGetClientCredentialsRequest {
|
|
4313
4319
|
/**
|
|
4314
4320
|
* OAuth 2.0 scopes
|
|
@@ -10226,11 +10232,11 @@ export const CRMApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
10226
10232
|
/**
|
|
10227
10233
|
* Create CRM Note
|
|
10228
10234
|
* @param {number} id Account ID
|
|
10229
|
-
* @param {
|
|
10235
|
+
* @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
|
|
10230
10236
|
* @param {*} [options] Override http request option.
|
|
10231
10237
|
* @throws {RequiredError}
|
|
10232
10238
|
*/
|
|
10233
|
-
postCreateCrmNote: async (id: number,
|
|
10239
|
+
postCreateCrmNote: async (id: number, createCrmNoteBody?: CreateCrmNoteBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10234
10240
|
// verify required parameter 'id' is not null or undefined
|
|
10235
10241
|
assertParamExists('postCreateCrmNote', 'id', id)
|
|
10236
10242
|
const localVarPath = `/admin/crm/{id}/activities/note`
|
|
@@ -10252,7 +10258,7 @@ export const CRMApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
10252
10258
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10253
10259
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10254
10260
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10255
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
10261
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createCrmNoteBody, localVarRequestOptions, configuration)
|
|
10256
10262
|
|
|
10257
10263
|
return {
|
|
10258
10264
|
url: toPathString(localVarUrlObj),
|
|
@@ -10296,12 +10302,12 @@ export const CRMApiFp = function(configuration?: Configuration) {
|
|
|
10296
10302
|
/**
|
|
10297
10303
|
* Create CRM Note
|
|
10298
10304
|
* @param {number} id Account ID
|
|
10299
|
-
* @param {
|
|
10305
|
+
* @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
|
|
10300
10306
|
* @param {*} [options] Override http request option.
|
|
10301
10307
|
* @throws {RequiredError}
|
|
10302
10308
|
*/
|
|
10303
|
-
async postCreateCrmNote(id: number,
|
|
10304
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateCrmNote(id,
|
|
10309
|
+
async postCreateCrmNote(id: number, createCrmNoteBody?: CreateCrmNoteBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CrmActivityDTO>> {
|
|
10310
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateCrmNote(id, createCrmNoteBody, options);
|
|
10305
10311
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10306
10312
|
const localVarOperationServerBasePath = operationServerMap['CRMApi.postCreateCrmNote']?.[localVarOperationServerIndex]?.url;
|
|
10307
10313
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -10337,12 +10343,12 @@ export const CRMApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
10337
10343
|
/**
|
|
10338
10344
|
* Create CRM Note
|
|
10339
10345
|
* @param {number} id Account ID
|
|
10340
|
-
* @param {
|
|
10346
|
+
* @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
|
|
10341
10347
|
* @param {*} [options] Override http request option.
|
|
10342
10348
|
* @throws {RequiredError}
|
|
10343
10349
|
*/
|
|
10344
|
-
postCreateCrmNote(id: number,
|
|
10345
|
-
return localVarFp.postCreateCrmNote(id,
|
|
10350
|
+
postCreateCrmNote(id: number, createCrmNoteBody?: CreateCrmNoteBody, options?: RawAxiosRequestConfig): AxiosPromise<CrmActivityDTO> {
|
|
10351
|
+
return localVarFp.postCreateCrmNote(id, createCrmNoteBody, options).then((request) => request(axios, basePath));
|
|
10346
10352
|
},
|
|
10347
10353
|
};
|
|
10348
10354
|
};
|
|
@@ -10375,12 +10381,12 @@ export class CRMApi extends BaseAPI {
|
|
|
10375
10381
|
/**
|
|
10376
10382
|
* Create CRM Note
|
|
10377
10383
|
* @param {number} id Account ID
|
|
10378
|
-
* @param {
|
|
10384
|
+
* @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
|
|
10379
10385
|
* @param {*} [options] Override http request option.
|
|
10380
10386
|
* @throws {RequiredError}
|
|
10381
10387
|
*/
|
|
10382
|
-
public postCreateCrmNote(id: number,
|
|
10383
|
-
return CRMApiFp(this.configuration).postCreateCrmNote(id,
|
|
10388
|
+
public postCreateCrmNote(id: number, createCrmNoteBody?: CreateCrmNoteBody, options?: RawAxiosRequestConfig) {
|
|
10389
|
+
return CRMApiFp(this.configuration).postCreateCrmNote(id, createCrmNoteBody, options).then((request) => request(this.axios, this.basePath));
|
|
10384
10390
|
}
|
|
10385
10391
|
}
|
|
10386
10392
|
|
|
@@ -15931,15 +15937,15 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
15931
15937
|
/**
|
|
15932
15938
|
*
|
|
15933
15939
|
* @param {number} id Number Port ID
|
|
15934
|
-
* @param {
|
|
15940
|
+
* @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
|
|
15935
15941
|
* @param {*} [options] Override http request option.
|
|
15936
15942
|
* @throws {RequiredError}
|
|
15937
15943
|
*/
|
|
15938
|
-
postAddAdminNote: async (id: number,
|
|
15944
|
+
postAddAdminNote: async (id: number, numberPortAdminNoteBody: NumberPortAdminNoteBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15939
15945
|
// verify required parameter 'id' is not null or undefined
|
|
15940
15946
|
assertParamExists('postAddAdminNote', 'id', id)
|
|
15941
|
-
// verify required parameter '
|
|
15942
|
-
assertParamExists('postAddAdminNote', '
|
|
15947
|
+
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
15948
|
+
assertParamExists('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody)
|
|
15943
15949
|
const localVarPath = `/admin/sip/numbers/ports/{id}/notes`
|
|
15944
15950
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15945
15951
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -15959,7 +15965,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
15959
15965
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15960
15966
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15961
15967
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15962
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
15968
|
+
localVarRequestOptions.data = serializeDataIfNeeded(numberPortAdminNoteBody, localVarRequestOptions, configuration)
|
|
15963
15969
|
|
|
15964
15970
|
return {
|
|
15965
15971
|
url: toPathString(localVarUrlObj),
|
|
@@ -16388,12 +16394,12 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
16388
16394
|
/**
|
|
16389
16395
|
*
|
|
16390
16396
|
* @param {number} id Number Port ID
|
|
16391
|
-
* @param {
|
|
16397
|
+
* @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
|
|
16392
16398
|
* @param {*} [options] Override http request option.
|
|
16393
16399
|
* @throws {RequiredError}
|
|
16394
16400
|
*/
|
|
16395
|
-
async postAddAdminNote(id: number,
|
|
16396
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postAddAdminNote(id,
|
|
16401
|
+
async postAddAdminNote(id: number, numberPortAdminNoteBody: NumberPortAdminNoteBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminNumberPortDTO>> {
|
|
16402
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postAddAdminNote(id, numberPortAdminNoteBody, options);
|
|
16397
16403
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16398
16404
|
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.postAddAdminNote']?.[localVarOperationServerIndex]?.url;
|
|
16399
16405
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -16561,12 +16567,12 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
16561
16567
|
/**
|
|
16562
16568
|
*
|
|
16563
16569
|
* @param {number} id Number Port ID
|
|
16564
|
-
* @param {
|
|
16570
|
+
* @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
|
|
16565
16571
|
* @param {*} [options] Override http request option.
|
|
16566
16572
|
* @throws {RequiredError}
|
|
16567
16573
|
*/
|
|
16568
|
-
postAddAdminNote(id: number,
|
|
16569
|
-
return localVarFp.postAddAdminNote(id,
|
|
16574
|
+
postAddAdminNote(id: number, numberPortAdminNoteBody: NumberPortAdminNoteBody, options?: RawAxiosRequestConfig): AxiosPromise<AdminNumberPortDTO> {
|
|
16575
|
+
return localVarFp.postAddAdminNote(id, numberPortAdminNoteBody, options).then((request) => request(axios, basePath));
|
|
16570
16576
|
},
|
|
16571
16577
|
/**
|
|
16572
16578
|
*
|
|
@@ -16724,12 +16730,12 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
16724
16730
|
/**
|
|
16725
16731
|
*
|
|
16726
16732
|
* @param {number} id Number Port ID
|
|
16727
|
-
* @param {
|
|
16733
|
+
* @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
|
|
16728
16734
|
* @param {*} [options] Override http request option.
|
|
16729
16735
|
* @throws {RequiredError}
|
|
16730
16736
|
*/
|
|
16731
|
-
public postAddAdminNote(id: number,
|
|
16732
|
-
return NumberPortingApiFp(this.configuration).postAddAdminNote(id,
|
|
16737
|
+
public postAddAdminNote(id: number, numberPortAdminNoteBody: NumberPortAdminNoteBody, options?: RawAxiosRequestConfig) {
|
|
16738
|
+
return NumberPortingApiFp(this.configuration).postAddAdminNote(id, numberPortAdminNoteBody, options).then((request) => request(this.axios, this.basePath));
|
|
16733
16739
|
}
|
|
16734
16740
|
|
|
16735
16741
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -1366,6 +1366,12 @@ export interface CourierPriceEntity {
|
|
|
1366
1366
|
*/
|
|
1367
1367
|
'maxKg'?: number;
|
|
1368
1368
|
}
|
|
1369
|
+
export interface CreateCrmNoteBody {
|
|
1370
|
+
/**
|
|
1371
|
+
* Note
|
|
1372
|
+
*/
|
|
1373
|
+
'note'?: string;
|
|
1374
|
+
}
|
|
1369
1375
|
/**
|
|
1370
1376
|
* Credit Account
|
|
1371
1377
|
*/
|
|
@@ -3146,6 +3152,12 @@ export interface NavigationModel {
|
|
|
3146
3152
|
*/
|
|
3147
3153
|
'openNewPage'?: boolean;
|
|
3148
3154
|
}
|
|
3155
|
+
export interface NumberPortAdminNoteBody {
|
|
3156
|
+
/**
|
|
3157
|
+
* Note
|
|
3158
|
+
*/
|
|
3159
|
+
'note'?: string;
|
|
3160
|
+
}
|
|
3149
3161
|
/**
|
|
3150
3162
|
* Number Port Response
|
|
3151
3163
|
*/
|
|
@@ -4261,12 +4273,6 @@ export interface PostAddOrderNoteRequest {
|
|
|
4261
4273
|
export interface PostAddWebhook200Response {
|
|
4262
4274
|
'url'?: string;
|
|
4263
4275
|
}
|
|
4264
|
-
export interface PostCreateCrmNoteRequest {
|
|
4265
|
-
/**
|
|
4266
|
-
* Note
|
|
4267
|
-
*/
|
|
4268
|
-
'note'?: string;
|
|
4269
|
-
}
|
|
4270
4276
|
export interface PostGetClientCredentialsRequest {
|
|
4271
4277
|
/**
|
|
4272
4278
|
* OAuth 2.0 scopes
|
|
@@ -8989,11 +8995,11 @@ export declare const CRMApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
8989
8995
|
/**
|
|
8990
8996
|
* Create CRM Note
|
|
8991
8997
|
* @param {number} id Account ID
|
|
8992
|
-
* @param {
|
|
8998
|
+
* @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
|
|
8993
8999
|
* @param {*} [options] Override http request option.
|
|
8994
9000
|
* @throws {RequiredError}
|
|
8995
9001
|
*/
|
|
8996
|
-
postCreateCrmNote: (id: number,
|
|
9002
|
+
postCreateCrmNote: (id: number, createCrmNoteBody?: CreateCrmNoteBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8997
9003
|
};
|
|
8998
9004
|
/**
|
|
8999
9005
|
* CRMApi - functional programming interface
|
|
@@ -9017,11 +9023,11 @@ export declare const CRMApiFp: (configuration?: Configuration) => {
|
|
|
9017
9023
|
/**
|
|
9018
9024
|
* Create CRM Note
|
|
9019
9025
|
* @param {number} id Account ID
|
|
9020
|
-
* @param {
|
|
9026
|
+
* @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
|
|
9021
9027
|
* @param {*} [options] Override http request option.
|
|
9022
9028
|
* @throws {RequiredError}
|
|
9023
9029
|
*/
|
|
9024
|
-
postCreateCrmNote(id: number,
|
|
9030
|
+
postCreateCrmNote(id: number, createCrmNoteBody?: CreateCrmNoteBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CrmActivityDTO>>;
|
|
9025
9031
|
};
|
|
9026
9032
|
/**
|
|
9027
9033
|
* CRMApi - factory interface
|
|
@@ -9045,11 +9051,11 @@ export declare const CRMApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
9045
9051
|
/**
|
|
9046
9052
|
* Create CRM Note
|
|
9047
9053
|
* @param {number} id Account ID
|
|
9048
|
-
* @param {
|
|
9054
|
+
* @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
|
|
9049
9055
|
* @param {*} [options] Override http request option.
|
|
9050
9056
|
* @throws {RequiredError}
|
|
9051
9057
|
*/
|
|
9052
|
-
postCreateCrmNote(id: number,
|
|
9058
|
+
postCreateCrmNote(id: number, createCrmNoteBody?: CreateCrmNoteBody, options?: RawAxiosRequestConfig): AxiosPromise<CrmActivityDTO>;
|
|
9053
9059
|
};
|
|
9054
9060
|
/**
|
|
9055
9061
|
* CRMApi - object-oriented interface
|
|
@@ -9073,11 +9079,11 @@ export declare class CRMApi extends BaseAPI {
|
|
|
9073
9079
|
/**
|
|
9074
9080
|
* Create CRM Note
|
|
9075
9081
|
* @param {number} id Account ID
|
|
9076
|
-
* @param {
|
|
9082
|
+
* @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
|
|
9077
9083
|
* @param {*} [options] Override http request option.
|
|
9078
9084
|
* @throws {RequiredError}
|
|
9079
9085
|
*/
|
|
9080
|
-
postCreateCrmNote(id: number,
|
|
9086
|
+
postCreateCrmNote(id: number, createCrmNoteBody?: CreateCrmNoteBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CrmActivityDTO, any, {}>>;
|
|
9081
9087
|
}
|
|
9082
9088
|
export declare const GetGetCrmActivitiesTypeEnum: {
|
|
9083
9089
|
readonly Alert: "alert";
|
|
@@ -11667,11 +11673,11 @@ export declare const NumberPortingApiAxiosParamCreator: (configuration?: Configu
|
|
|
11667
11673
|
/**
|
|
11668
11674
|
*
|
|
11669
11675
|
* @param {number} id Number Port ID
|
|
11670
|
-
* @param {
|
|
11676
|
+
* @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
|
|
11671
11677
|
* @param {*} [options] Override http request option.
|
|
11672
11678
|
* @throws {RequiredError}
|
|
11673
11679
|
*/
|
|
11674
|
-
postAddAdminNote: (id: number,
|
|
11680
|
+
postAddAdminNote: (id: number, numberPortAdminNoteBody: NumberPortAdminNoteBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11675
11681
|
/**
|
|
11676
11682
|
*
|
|
11677
11683
|
* @param {string | null} [companyName] Company Name
|
|
@@ -11797,11 +11803,11 @@ export declare const NumberPortingApiFp: (configuration?: Configuration) => {
|
|
|
11797
11803
|
/**
|
|
11798
11804
|
*
|
|
11799
11805
|
* @param {number} id Number Port ID
|
|
11800
|
-
* @param {
|
|
11806
|
+
* @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
|
|
11801
11807
|
* @param {*} [options] Override http request option.
|
|
11802
11808
|
* @throws {RequiredError}
|
|
11803
11809
|
*/
|
|
11804
|
-
postAddAdminNote(id: number,
|
|
11810
|
+
postAddAdminNote(id: number, numberPortAdminNoteBody: NumberPortAdminNoteBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminNumberPortDTO>>;
|
|
11805
11811
|
/**
|
|
11806
11812
|
*
|
|
11807
11813
|
* @param {string | null} [companyName] Company Name
|
|
@@ -11927,11 +11933,11 @@ export declare const NumberPortingApiFactory: (configuration?: Configuration, ba
|
|
|
11927
11933
|
/**
|
|
11928
11934
|
*
|
|
11929
11935
|
* @param {number} id Number Port ID
|
|
11930
|
-
* @param {
|
|
11936
|
+
* @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
|
|
11931
11937
|
* @param {*} [options] Override http request option.
|
|
11932
11938
|
* @throws {RequiredError}
|
|
11933
11939
|
*/
|
|
11934
|
-
postAddAdminNote(id: number,
|
|
11940
|
+
postAddAdminNote(id: number, numberPortAdminNoteBody: NumberPortAdminNoteBody, options?: RawAxiosRequestConfig): AxiosPromise<AdminNumberPortDTO>;
|
|
11935
11941
|
/**
|
|
11936
11942
|
*
|
|
11937
11943
|
* @param {string | null} [companyName] Company Name
|
|
@@ -12057,11 +12063,11 @@ export declare class NumberPortingApi extends BaseAPI {
|
|
|
12057
12063
|
/**
|
|
12058
12064
|
*
|
|
12059
12065
|
* @param {number} id Number Port ID
|
|
12060
|
-
* @param {
|
|
12066
|
+
* @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
|
|
12061
12067
|
* @param {*} [options] Override http request option.
|
|
12062
12068
|
* @throws {RequiredError}
|
|
12063
12069
|
*/
|
|
12064
|
-
postAddAdminNote(id: number,
|
|
12070
|
+
postAddAdminNote(id: number, numberPortAdminNoteBody: NumberPortAdminNoteBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminNumberPortDTO, any, {}>>;
|
|
12065
12071
|
/**
|
|
12066
12072
|
*
|
|
12067
12073
|
* @param {string | null} [companyName] Company Name
|
package/dist/api.js
CHANGED
|
@@ -2939,16 +2939,16 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
2939
2939
|
/**
|
|
2940
2940
|
* Create CRM Note
|
|
2941
2941
|
* @param {number} id Account ID
|
|
2942
|
-
* @param {
|
|
2942
|
+
* @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
|
|
2943
2943
|
* @param {*} [options] Override http request option.
|
|
2944
2944
|
* @throws {RequiredError}
|
|
2945
2945
|
*/
|
|
2946
|
-
postCreateCrmNote: function (id_1,
|
|
2946
|
+
postCreateCrmNote: function (id_1, createCrmNoteBody_1) {
|
|
2947
2947
|
var args_1 = [];
|
|
2948
2948
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
2949
2949
|
args_1[_i - 2] = arguments[_i];
|
|
2950
2950
|
}
|
|
2951
|
-
return __awaiter(_this, __spreadArray([id_1,
|
|
2951
|
+
return __awaiter(_this, __spreadArray([id_1, createCrmNoteBody_1], args_1, true), void 0, function (id, createCrmNoteBody, options) {
|
|
2952
2952
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2953
2953
|
if (options === void 0) { options = {}; }
|
|
2954
2954
|
return __generator(this, function (_a) {
|
|
@@ -2968,7 +2968,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
2968
2968
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2969
2969
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2970
2970
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2971
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
2971
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createCrmNoteBody, localVarRequestOptions, configuration);
|
|
2972
2972
|
return [2 /*return*/, {
|
|
2973
2973
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2974
2974
|
options: localVarRequestOptions,
|
|
@@ -3033,17 +3033,17 @@ var CRMApiFp = function (configuration) {
|
|
|
3033
3033
|
/**
|
|
3034
3034
|
* Create CRM Note
|
|
3035
3035
|
* @param {number} id Account ID
|
|
3036
|
-
* @param {
|
|
3036
|
+
* @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
|
|
3037
3037
|
* @param {*} [options] Override http request option.
|
|
3038
3038
|
* @throws {RequiredError}
|
|
3039
3039
|
*/
|
|
3040
|
-
postCreateCrmNote: function (id,
|
|
3040
|
+
postCreateCrmNote: function (id, createCrmNoteBody, options) {
|
|
3041
3041
|
return __awaiter(this, void 0, void 0, function () {
|
|
3042
3042
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
3043
3043
|
var _a, _b, _c;
|
|
3044
3044
|
return __generator(this, function (_d) {
|
|
3045
3045
|
switch (_d.label) {
|
|
3046
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateCrmNote(id,
|
|
3046
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateCrmNote(id, createCrmNoteBody, options)];
|
|
3047
3047
|
case 1:
|
|
3048
3048
|
localVarAxiosArgs = _d.sent();
|
|
3049
3049
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -3084,12 +3084,12 @@ var CRMApiFactory = function (configuration, basePath, axios) {
|
|
|
3084
3084
|
/**
|
|
3085
3085
|
* Create CRM Note
|
|
3086
3086
|
* @param {number} id Account ID
|
|
3087
|
-
* @param {
|
|
3087
|
+
* @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
|
|
3088
3088
|
* @param {*} [options] Override http request option.
|
|
3089
3089
|
* @throws {RequiredError}
|
|
3090
3090
|
*/
|
|
3091
|
-
postCreateCrmNote: function (id,
|
|
3092
|
-
return localVarFp.postCreateCrmNote(id,
|
|
3091
|
+
postCreateCrmNote: function (id, createCrmNoteBody, options) {
|
|
3092
|
+
return localVarFp.postCreateCrmNote(id, createCrmNoteBody, options).then(function (request) { return request(axios, basePath); });
|
|
3093
3093
|
},
|
|
3094
3094
|
};
|
|
3095
3095
|
};
|
|
@@ -3126,13 +3126,13 @@ var CRMApi = /** @class */ (function (_super) {
|
|
|
3126
3126
|
/**
|
|
3127
3127
|
* Create CRM Note
|
|
3128
3128
|
* @param {number} id Account ID
|
|
3129
|
-
* @param {
|
|
3129
|
+
* @param {CreateCrmNoteBody} [createCrmNoteBody] CRM Note Request
|
|
3130
3130
|
* @param {*} [options] Override http request option.
|
|
3131
3131
|
* @throws {RequiredError}
|
|
3132
3132
|
*/
|
|
3133
|
-
CRMApi.prototype.postCreateCrmNote = function (id,
|
|
3133
|
+
CRMApi.prototype.postCreateCrmNote = function (id, createCrmNoteBody, options) {
|
|
3134
3134
|
var _this = this;
|
|
3135
|
-
return (0, exports.CRMApiFp)(this.configuration).postCreateCrmNote(id,
|
|
3135
|
+
return (0, exports.CRMApiFp)(this.configuration).postCreateCrmNote(id, createCrmNoteBody, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3136
3136
|
};
|
|
3137
3137
|
return CRMApi;
|
|
3138
3138
|
}(base_1.BaseAPI));
|
|
@@ -9654,23 +9654,23 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9654
9654
|
/**
|
|
9655
9655
|
*
|
|
9656
9656
|
* @param {number} id Number Port ID
|
|
9657
|
-
* @param {
|
|
9657
|
+
* @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
|
|
9658
9658
|
* @param {*} [options] Override http request option.
|
|
9659
9659
|
* @throws {RequiredError}
|
|
9660
9660
|
*/
|
|
9661
|
-
postAddAdminNote: function (id_1,
|
|
9661
|
+
postAddAdminNote: function (id_1, numberPortAdminNoteBody_1) {
|
|
9662
9662
|
var args_1 = [];
|
|
9663
9663
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
9664
9664
|
args_1[_i - 2] = arguments[_i];
|
|
9665
9665
|
}
|
|
9666
|
-
return __awaiter(_this, __spreadArray([id_1,
|
|
9666
|
+
return __awaiter(_this, __spreadArray([id_1, numberPortAdminNoteBody_1], args_1, true), void 0, function (id, numberPortAdminNoteBody, options) {
|
|
9667
9667
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
9668
9668
|
if (options === void 0) { options = {}; }
|
|
9669
9669
|
return __generator(this, function (_a) {
|
|
9670
9670
|
// verify required parameter 'id' is not null or undefined
|
|
9671
9671
|
(0, common_1.assertParamExists)('postAddAdminNote', 'id', id);
|
|
9672
|
-
// verify required parameter '
|
|
9673
|
-
(0, common_1.assertParamExists)('postAddAdminNote', '
|
|
9672
|
+
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
9673
|
+
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
9674
9674
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
9675
9675
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
9676
9676
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -9685,7 +9685,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
9685
9685
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9686
9686
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9687
9687
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9688
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
9688
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(numberPortAdminNoteBody, localVarRequestOptions, configuration);
|
|
9689
9689
|
return [2 /*return*/, {
|
|
9690
9690
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9691
9691
|
options: localVarRequestOptions,
|
|
@@ -10165,17 +10165,17 @@ var NumberPortingApiFp = function (configuration) {
|
|
|
10165
10165
|
/**
|
|
10166
10166
|
*
|
|
10167
10167
|
* @param {number} id Number Port ID
|
|
10168
|
-
* @param {
|
|
10168
|
+
* @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
|
|
10169
10169
|
* @param {*} [options] Override http request option.
|
|
10170
10170
|
* @throws {RequiredError}
|
|
10171
10171
|
*/
|
|
10172
|
-
postAddAdminNote: function (id,
|
|
10172
|
+
postAddAdminNote: function (id, numberPortAdminNoteBody, options) {
|
|
10173
10173
|
return __awaiter(this, void 0, void 0, function () {
|
|
10174
10174
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
10175
10175
|
var _a, _b, _c;
|
|
10176
10176
|
return __generator(this, function (_d) {
|
|
10177
10177
|
switch (_d.label) {
|
|
10178
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postAddAdminNote(id,
|
|
10178
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postAddAdminNote(id, numberPortAdminNoteBody, options)];
|
|
10179
10179
|
case 1:
|
|
10180
10180
|
localVarAxiosArgs = _d.sent();
|
|
10181
10181
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -10388,12 +10388,12 @@ var NumberPortingApiFactory = function (configuration, basePath, axios) {
|
|
|
10388
10388
|
/**
|
|
10389
10389
|
*
|
|
10390
10390
|
* @param {number} id Number Port ID
|
|
10391
|
-
* @param {
|
|
10391
|
+
* @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
|
|
10392
10392
|
* @param {*} [options] Override http request option.
|
|
10393
10393
|
* @throws {RequiredError}
|
|
10394
10394
|
*/
|
|
10395
|
-
postAddAdminNote: function (id,
|
|
10396
|
-
return localVarFp.postAddAdminNote(id,
|
|
10395
|
+
postAddAdminNote: function (id, numberPortAdminNoteBody, options) {
|
|
10396
|
+
return localVarFp.postAddAdminNote(id, numberPortAdminNoteBody, options).then(function (request) { return request(axios, basePath); });
|
|
10397
10397
|
},
|
|
10398
10398
|
/**
|
|
10399
10399
|
*
|
|
@@ -10555,13 +10555,13 @@ var NumberPortingApi = /** @class */ (function (_super) {
|
|
|
10555
10555
|
/**
|
|
10556
10556
|
*
|
|
10557
10557
|
* @param {number} id Number Port ID
|
|
10558
|
-
* @param {
|
|
10558
|
+
* @param {NumberPortAdminNoteBody} numberPortAdminNoteBody Number Port Note Request
|
|
10559
10559
|
* @param {*} [options] Override http request option.
|
|
10560
10560
|
* @throws {RequiredError}
|
|
10561
10561
|
*/
|
|
10562
|
-
NumberPortingApi.prototype.postAddAdminNote = function (id,
|
|
10562
|
+
NumberPortingApi.prototype.postAddAdminNote = function (id, numberPortAdminNoteBody, options) {
|
|
10563
10563
|
var _this = this;
|
|
10564
|
-
return (0, exports.NumberPortingApiFp)(this.configuration).postAddAdminNote(id,
|
|
10564
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).postAddAdminNote(id, numberPortAdminNoteBody, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10565
10565
|
};
|
|
10566
10566
|
/**
|
|
10567
10567
|
*
|
package/docs/CRMApi.md
CHANGED
|
@@ -126,18 +126,18 @@ Create CRM Note
|
|
|
126
126
|
import {
|
|
127
127
|
CRMApi,
|
|
128
128
|
Configuration,
|
|
129
|
-
|
|
129
|
+
CreateCrmNoteBody
|
|
130
130
|
} from 'yellowgrid-api-ts';
|
|
131
131
|
|
|
132
132
|
const configuration = new Configuration();
|
|
133
133
|
const apiInstance = new CRMApi(configuration);
|
|
134
134
|
|
|
135
135
|
let id: number; //Account ID (default to undefined)
|
|
136
|
-
let
|
|
136
|
+
let createCrmNoteBody: CreateCrmNoteBody; //CRM Note Request (optional)
|
|
137
137
|
|
|
138
138
|
const { status, data } = await apiInstance.postCreateCrmNote(
|
|
139
139
|
id,
|
|
140
|
-
|
|
140
|
+
createCrmNoteBody
|
|
141
141
|
);
|
|
142
142
|
```
|
|
143
143
|
|
|
@@ -145,7 +145,7 @@ const { status, data } = await apiInstance.postCreateCrmNote(
|
|
|
145
145
|
|
|
146
146
|
|Name | Type | Description | Notes|
|
|
147
147
|
|------------- | ------------- | ------------- | -------------|
|
|
148
|
-
| **
|
|
148
|
+
| **createCrmNoteBody** | **CreateCrmNoteBody**| CRM Note Request | |
|
|
149
149
|
| **id** | [**number**] | Account ID | defaults to undefined|
|
|
150
150
|
|
|
151
151
|
|
|
@@ -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)
|
|
@@ -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)
|
package/docs/NumberPortingApi.md
CHANGED
|
@@ -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(
|
|
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
|
-
|
|
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
|
|
420
|
+
let numberPortAdminNoteBody: NumberPortAdminNoteBody; //Number Port Note Request
|
|
421
421
|
|
|
422
422
|
const { status, data } = await apiInstance.postAddAdminNote(
|
|
423
423
|
id,
|
|
424
|
-
|
|
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
|
-
| **
|
|
432
|
+
| **numberPortAdminNoteBody** | **NumberPortAdminNoteBody**| Number Port Note Request | |
|
|
433
433
|
| **id** | [**number**] | Number Port ID | defaults to undefined|
|
|
434
434
|
|
|
435
435
|
|