@scout9/admin 1.0.0-alpha.0.0.30 → 1.0.0-alpha.0.0.32
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/build/api.d.ts +256 -89
- package/build/api.js +406 -80
- package/package.json +1 -1
- package/src/api.ts +465 -113
- package/tsconfig.tsbuildinfo +1 -1
package/build/api.d.ts
CHANGED
|
@@ -2475,48 +2475,29 @@ export interface EntitiesBuildConfigInner {
|
|
|
2475
2475
|
/**
|
|
2476
2476
|
*
|
|
2477
2477
|
* @export
|
|
2478
|
-
* @interface
|
|
2478
|
+
* @interface Entity
|
|
2479
2479
|
*/
|
|
2480
|
-
export interface
|
|
2480
|
+
export interface Entity {
|
|
2481
2481
|
/**
|
|
2482
2482
|
*
|
|
2483
|
-
* @type {
|
|
2484
|
-
* @memberof
|
|
2485
|
-
*/
|
|
2486
|
-
'ms': number;
|
|
2487
|
-
/**
|
|
2488
|
-
*
|
|
2489
|
-
* @type {object}
|
|
2490
|
-
* @memberof EntityApiOutput
|
|
2483
|
+
* @type {string}
|
|
2484
|
+
* @memberof Entity
|
|
2491
2485
|
*/
|
|
2492
|
-
'
|
|
2493
|
-
}
|
|
2494
|
-
/**
|
|
2495
|
-
*
|
|
2496
|
-
* @export
|
|
2497
|
-
* @interface EntityApiRequest
|
|
2498
|
-
*/
|
|
2499
|
-
export interface EntityApiRequest {
|
|
2486
|
+
'type': string;
|
|
2500
2487
|
/**
|
|
2501
2488
|
*
|
|
2502
2489
|
* @type {string}
|
|
2503
|
-
* @memberof
|
|
2490
|
+
* @memberof Entity
|
|
2504
2491
|
*/
|
|
2505
|
-
'
|
|
2492
|
+
'id': string;
|
|
2506
2493
|
/**
|
|
2507
2494
|
*
|
|
2508
|
-
* @type {{ [key: string]:
|
|
2509
|
-
* @memberof
|
|
2495
|
+
* @type {{ [key: string]: any; }}
|
|
2496
|
+
* @memberof Entity
|
|
2510
2497
|
*/
|
|
2511
|
-
'
|
|
2512
|
-
[key: string]:
|
|
2498
|
+
'data': {
|
|
2499
|
+
[key: string]: any;
|
|
2513
2500
|
};
|
|
2514
|
-
/**
|
|
2515
|
-
*
|
|
2516
|
-
* @type {object}
|
|
2517
|
-
* @memberof EntityApiRequest
|
|
2518
|
-
*/
|
|
2519
|
-
'payload'?: object;
|
|
2520
2501
|
}
|
|
2521
2502
|
/**
|
|
2522
2503
|
*
|
|
@@ -2625,6 +2606,21 @@ export interface EntityBuildConfigTrainingInner {
|
|
|
2625
2606
|
*/
|
|
2626
2607
|
'intent'?: string;
|
|
2627
2608
|
}
|
|
2609
|
+
/**
|
|
2610
|
+
*
|
|
2611
|
+
* @export
|
|
2612
|
+
* @interface EntityData
|
|
2613
|
+
*/
|
|
2614
|
+
export interface EntityData {
|
|
2615
|
+
/**
|
|
2616
|
+
* Data of the entity
|
|
2617
|
+
* @type {{ [key: string]: any; }}
|
|
2618
|
+
* @memberof EntityData
|
|
2619
|
+
*/
|
|
2620
|
+
'data'?: {
|
|
2621
|
+
[key: string]: any;
|
|
2622
|
+
};
|
|
2623
|
+
}
|
|
2628
2624
|
/**
|
|
2629
2625
|
*
|
|
2630
2626
|
* @export
|
|
@@ -4673,11 +4669,11 @@ export interface ParseRequest {
|
|
|
4673
4669
|
*/
|
|
4674
4670
|
'language'?: string;
|
|
4675
4671
|
/**
|
|
4676
|
-
*
|
|
4677
|
-
* @type {Array<
|
|
4672
|
+
*
|
|
4673
|
+
* @type {Array<EntitiesBuildConfigInner>}
|
|
4678
4674
|
* @memberof ParseRequest
|
|
4679
4675
|
*/
|
|
4680
|
-
'entities'?: Array<
|
|
4676
|
+
'entities'?: Array<EntitiesBuildConfigInner>;
|
|
4681
4677
|
}
|
|
4682
4678
|
/**
|
|
4683
4679
|
* The parsed message
|
|
@@ -6921,69 +6917,20 @@ export declare class CustomContextApi extends BaseAPI {
|
|
|
6921
6917
|
contextTest(contextTestRequest: ContextTestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContextTestResponse, any>>;
|
|
6922
6918
|
}
|
|
6923
6919
|
/**
|
|
6924
|
-
*
|
|
6925
|
-
* @export
|
|
6926
|
-
*/
|
|
6927
|
-
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6928
|
-
/**
|
|
6929
|
-
*
|
|
6930
|
-
* @summary This is used for the generator to incldue PurposeEnum, because for whatever reason, query params are not included in the generator.
|
|
6931
|
-
* @param {PingRequest} pingRequest
|
|
6932
|
-
* @param {*} [options] Override http request option.
|
|
6933
|
-
* @throws {RequiredError}
|
|
6934
|
-
*/
|
|
6935
|
-
ping: (pingRequest: PingRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6936
|
-
};
|
|
6937
|
-
/**
|
|
6938
|
-
* DefaultApi - functional programming interface
|
|
6939
|
-
* @export
|
|
6940
|
-
*/
|
|
6941
|
-
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
6942
|
-
/**
|
|
6943
|
-
*
|
|
6944
|
-
* @summary This is used for the generator to incldue PurposeEnum, because for whatever reason, query params are not included in the generator.
|
|
6945
|
-
* @param {PingRequest} pingRequest
|
|
6946
|
-
* @param {*} [options] Override http request option.
|
|
6947
|
-
* @throws {RequiredError}
|
|
6948
|
-
*/
|
|
6949
|
-
ping(pingRequest: PingRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PingRequest>>;
|
|
6950
|
-
};
|
|
6951
|
-
/**
|
|
6952
|
-
* DefaultApi - factory interface
|
|
6953
|
-
* @export
|
|
6954
|
-
*/
|
|
6955
|
-
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6956
|
-
/**
|
|
6957
|
-
*
|
|
6958
|
-
* @summary This is used for the generator to incldue PurposeEnum, because for whatever reason, query params are not included in the generator.
|
|
6959
|
-
* @param {PingRequest} pingRequest
|
|
6960
|
-
* @param {*} [options] Override http request option.
|
|
6961
|
-
* @throws {RequiredError}
|
|
6962
|
-
*/
|
|
6963
|
-
ping(pingRequest: PingRequest, options?: any): AxiosPromise<PingRequest>;
|
|
6964
|
-
};
|
|
6965
|
-
/**
|
|
6966
|
-
* DefaultApi - object-oriented interface
|
|
6920
|
+
* Scout9Api - axios parameter creator
|
|
6967
6921
|
* @export
|
|
6968
|
-
* @class DefaultApi
|
|
6969
|
-
* @extends {BaseAPI}
|
|
6970
6922
|
*/
|
|
6971
|
-
export declare
|
|
6923
|
+
export declare const Scout9ApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6972
6924
|
/**
|
|
6973
6925
|
*
|
|
6974
|
-
* @summary
|
|
6975
|
-
* @param {
|
|
6926
|
+
* @summary Create a new entity
|
|
6927
|
+
* @param {string} type
|
|
6928
|
+
* @param {string} id The unique identifier of the entity
|
|
6929
|
+
* @param {EntityData} entityData
|
|
6976
6930
|
* @param {*} [options] Override http request option.
|
|
6977
6931
|
* @throws {RequiredError}
|
|
6978
|
-
* @memberof DefaultApi
|
|
6979
6932
|
*/
|
|
6980
|
-
|
|
6981
|
-
}
|
|
6982
|
-
/**
|
|
6983
|
-
* Scout9Api - axios parameter creator
|
|
6984
|
-
* @export
|
|
6985
|
-
*/
|
|
6986
|
-
export declare const Scout9ApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6933
|
+
addEntity: (type: string, id: string, entityData: EntityData, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6987
6934
|
/**
|
|
6988
6935
|
*
|
|
6989
6936
|
* @summary Gets a agent
|
|
@@ -7333,6 +7280,24 @@ export declare const Scout9ApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
7333
7280
|
* @throws {RequiredError}
|
|
7334
7281
|
*/
|
|
7335
7282
|
customersUpdate: (updateCustomersRequest: UpdateCustomersRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7283
|
+
/**
|
|
7284
|
+
* Deletes an entity with the specified type and ID.
|
|
7285
|
+
* @summary Delete an entity
|
|
7286
|
+
* @param {string} type
|
|
7287
|
+
* @param {string} id
|
|
7288
|
+
* @param {*} [options] Override http request option.
|
|
7289
|
+
* @throws {RequiredError}
|
|
7290
|
+
*/
|
|
7291
|
+
deleteEntity: (type: string, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7292
|
+
/**
|
|
7293
|
+
*
|
|
7294
|
+
* @summary Get an entity by type and ID
|
|
7295
|
+
* @param {string} type The type of the entity to fetch
|
|
7296
|
+
* @param {string} id The unique identifier of the entity
|
|
7297
|
+
* @param {*} [options] Override http request option.
|
|
7298
|
+
* @throws {RequiredError}
|
|
7299
|
+
*/
|
|
7300
|
+
entity: (type: string, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7336
7301
|
/**
|
|
7337
7302
|
*
|
|
7338
7303
|
* @summary Returns a file
|
|
@@ -7432,6 +7397,14 @@ export declare const Scout9ApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
7432
7397
|
* @throws {RequiredError}
|
|
7433
7398
|
*/
|
|
7434
7399
|
parse: (parseRequest: ParseRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7400
|
+
/**
|
|
7401
|
+
*
|
|
7402
|
+
* @summary This is used for the generator to include PurposeEnum, because for whatever reason, query params are not included in the generator.
|
|
7403
|
+
* @param {PingRequest} pingRequest
|
|
7404
|
+
* @param {*} [options] Override http request option.
|
|
7405
|
+
* @throws {RequiredError}
|
|
7406
|
+
*/
|
|
7407
|
+
ping: (pingRequest: PingRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7435
7408
|
/**
|
|
7436
7409
|
*
|
|
7437
7410
|
* @summary Purchase phone for a given agent.
|
|
@@ -7440,6 +7413,16 @@ export declare const Scout9ApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
7440
7413
|
* @throws {RequiredError}
|
|
7441
7414
|
*/
|
|
7442
7415
|
purchasePhone: (purchasePhoneRequest?: PurchasePhoneRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7416
|
+
/**
|
|
7417
|
+
* Replaces an existing entity with the specified type and ID with a new entity.
|
|
7418
|
+
* @summary Replace an existing entity
|
|
7419
|
+
* @param {string} type
|
|
7420
|
+
* @param {string} id
|
|
7421
|
+
* @param {EntityData} entityData
|
|
7422
|
+
* @param {*} [options] Override http request option.
|
|
7423
|
+
* @throws {RequiredError}
|
|
7424
|
+
*/
|
|
7425
|
+
replaceEntity: (type: string, id: string, entityData: EntityData, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7443
7426
|
/**
|
|
7444
7427
|
*
|
|
7445
7428
|
* @summary Runs your auto-reply app on the Scout9 platform.
|
|
@@ -7455,12 +7438,32 @@ export declare const Scout9ApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
7455
7438
|
* @throws {RequiredError}
|
|
7456
7439
|
*/
|
|
7457
7440
|
runPlatformConfig: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7441
|
+
/**
|
|
7442
|
+
* Updates an existing entity with the specified type and ID.
|
|
7443
|
+
* @summary Update an existing entity
|
|
7444
|
+
* @param {string} type
|
|
7445
|
+
* @param {string} id
|
|
7446
|
+
* @param {EntityData} entityData
|
|
7447
|
+
* @param {*} [options] Override http request option.
|
|
7448
|
+
* @throws {RequiredError}
|
|
7449
|
+
*/
|
|
7450
|
+
updateEntity: (type: string, id: string, entityData: EntityData, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7458
7451
|
};
|
|
7459
7452
|
/**
|
|
7460
7453
|
* Scout9Api - functional programming interface
|
|
7461
7454
|
* @export
|
|
7462
7455
|
*/
|
|
7463
7456
|
export declare const Scout9ApiFp: (configuration?: Configuration) => {
|
|
7457
|
+
/**
|
|
7458
|
+
*
|
|
7459
|
+
* @summary Create a new entity
|
|
7460
|
+
* @param {string} type
|
|
7461
|
+
* @param {string} id The unique identifier of the entity
|
|
7462
|
+
* @param {EntityData} entityData
|
|
7463
|
+
* @param {*} [options] Override http request option.
|
|
7464
|
+
* @throws {RequiredError}
|
|
7465
|
+
*/
|
|
7466
|
+
addEntity(type: string, id: string, entityData: EntityData, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Entity>>;
|
|
7464
7467
|
/**
|
|
7465
7468
|
*
|
|
7466
7469
|
* @summary Gets a agent
|
|
@@ -7810,6 +7813,24 @@ export declare const Scout9ApiFp: (configuration?: Configuration) => {
|
|
|
7810
7813
|
* @throws {RequiredError}
|
|
7811
7814
|
*/
|
|
7812
7815
|
customersUpdate(updateCustomersRequest: UpdateCustomersRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCustomersResponse>>;
|
|
7816
|
+
/**
|
|
7817
|
+
* Deletes an entity with the specified type and ID.
|
|
7818
|
+
* @summary Delete an entity
|
|
7819
|
+
* @param {string} type
|
|
7820
|
+
* @param {string} id
|
|
7821
|
+
* @param {*} [options] Override http request option.
|
|
7822
|
+
* @throws {RequiredError}
|
|
7823
|
+
*/
|
|
7824
|
+
deleteEntity(type: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
7825
|
+
/**
|
|
7826
|
+
*
|
|
7827
|
+
* @summary Get an entity by type and ID
|
|
7828
|
+
* @param {string} type The type of the entity to fetch
|
|
7829
|
+
* @param {string} id The unique identifier of the entity
|
|
7830
|
+
* @param {*} [options] Override http request option.
|
|
7831
|
+
* @throws {RequiredError}
|
|
7832
|
+
*/
|
|
7833
|
+
entity(type: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Entity>>;
|
|
7813
7834
|
/**
|
|
7814
7835
|
*
|
|
7815
7836
|
* @summary Returns a file
|
|
@@ -7909,6 +7930,14 @@ export declare const Scout9ApiFp: (configuration?: Configuration) => {
|
|
|
7909
7930
|
* @throws {RequiredError}
|
|
7910
7931
|
*/
|
|
7911
7932
|
parse(parseRequest: ParseRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ParseResponse>>;
|
|
7933
|
+
/**
|
|
7934
|
+
*
|
|
7935
|
+
* @summary This is used for the generator to include PurposeEnum, because for whatever reason, query params are not included in the generator.
|
|
7936
|
+
* @param {PingRequest} pingRequest
|
|
7937
|
+
* @param {*} [options] Override http request option.
|
|
7938
|
+
* @throws {RequiredError}
|
|
7939
|
+
*/
|
|
7940
|
+
ping(pingRequest: PingRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PingRequest>>;
|
|
7912
7941
|
/**
|
|
7913
7942
|
*
|
|
7914
7943
|
* @summary Purchase phone for a given agent.
|
|
@@ -7917,6 +7946,16 @@ export declare const Scout9ApiFp: (configuration?: Configuration) => {
|
|
|
7917
7946
|
* @throws {RequiredError}
|
|
7918
7947
|
*/
|
|
7919
7948
|
purchasePhone(purchasePhoneRequest?: PurchasePhoneRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PurchasePhoneResponse>>;
|
|
7949
|
+
/**
|
|
7950
|
+
* Replaces an existing entity with the specified type and ID with a new entity.
|
|
7951
|
+
* @summary Replace an existing entity
|
|
7952
|
+
* @param {string} type
|
|
7953
|
+
* @param {string} id
|
|
7954
|
+
* @param {EntityData} entityData
|
|
7955
|
+
* @param {*} [options] Override http request option.
|
|
7956
|
+
* @throws {RequiredError}
|
|
7957
|
+
*/
|
|
7958
|
+
replaceEntity(type: string, id: string, entityData: EntityData, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Entity>>;
|
|
7920
7959
|
/**
|
|
7921
7960
|
*
|
|
7922
7961
|
* @summary Runs your auto-reply app on the Scout9 platform.
|
|
@@ -7934,12 +7973,32 @@ export declare const Scout9ApiFp: (configuration?: Configuration) => {
|
|
|
7934
7973
|
runPlatformConfig(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
7935
7974
|
[key: string]: any;
|
|
7936
7975
|
}>>;
|
|
7976
|
+
/**
|
|
7977
|
+
* Updates an existing entity with the specified type and ID.
|
|
7978
|
+
* @summary Update an existing entity
|
|
7979
|
+
* @param {string} type
|
|
7980
|
+
* @param {string} id
|
|
7981
|
+
* @param {EntityData} entityData
|
|
7982
|
+
* @param {*} [options] Override http request option.
|
|
7983
|
+
* @throws {RequiredError}
|
|
7984
|
+
*/
|
|
7985
|
+
updateEntity(type: string, id: string, entityData: EntityData, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Entity>>;
|
|
7937
7986
|
};
|
|
7938
7987
|
/**
|
|
7939
7988
|
* Scout9Api - factory interface
|
|
7940
7989
|
* @export
|
|
7941
7990
|
*/
|
|
7942
7991
|
export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7992
|
+
/**
|
|
7993
|
+
*
|
|
7994
|
+
* @summary Create a new entity
|
|
7995
|
+
* @param {string} type
|
|
7996
|
+
* @param {string} id The unique identifier of the entity
|
|
7997
|
+
* @param {EntityData} entityData
|
|
7998
|
+
* @param {*} [options] Override http request option.
|
|
7999
|
+
* @throws {RequiredError}
|
|
8000
|
+
*/
|
|
8001
|
+
addEntity(type: string, id: string, entityData: EntityData, options?: any): AxiosPromise<Entity>;
|
|
7943
8002
|
/**
|
|
7944
8003
|
*
|
|
7945
8004
|
* @summary Gets a agent
|
|
@@ -8289,6 +8348,24 @@ export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?
|
|
|
8289
8348
|
* @throws {RequiredError}
|
|
8290
8349
|
*/
|
|
8291
8350
|
customersUpdate(updateCustomersRequest: UpdateCustomersRequest, options?: any): AxiosPromise<UpdateCustomersResponse>;
|
|
8351
|
+
/**
|
|
8352
|
+
* Deletes an entity with the specified type and ID.
|
|
8353
|
+
* @summary Delete an entity
|
|
8354
|
+
* @param {string} type
|
|
8355
|
+
* @param {string} id
|
|
8356
|
+
* @param {*} [options] Override http request option.
|
|
8357
|
+
* @throws {RequiredError}
|
|
8358
|
+
*/
|
|
8359
|
+
deleteEntity(type: string, id: string, options?: any): AxiosPromise<void>;
|
|
8360
|
+
/**
|
|
8361
|
+
*
|
|
8362
|
+
* @summary Get an entity by type and ID
|
|
8363
|
+
* @param {string} type The type of the entity to fetch
|
|
8364
|
+
* @param {string} id The unique identifier of the entity
|
|
8365
|
+
* @param {*} [options] Override http request option.
|
|
8366
|
+
* @throws {RequiredError}
|
|
8367
|
+
*/
|
|
8368
|
+
entity(type: string, id: string, options?: any): AxiosPromise<Entity>;
|
|
8292
8369
|
/**
|
|
8293
8370
|
*
|
|
8294
8371
|
* @summary Returns a file
|
|
@@ -8388,6 +8465,14 @@ export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?
|
|
|
8388
8465
|
* @throws {RequiredError}
|
|
8389
8466
|
*/
|
|
8390
8467
|
parse(parseRequest: ParseRequest, options?: any): AxiosPromise<ParseResponse>;
|
|
8468
|
+
/**
|
|
8469
|
+
*
|
|
8470
|
+
* @summary This is used for the generator to include PurposeEnum, because for whatever reason, query params are not included in the generator.
|
|
8471
|
+
* @param {PingRequest} pingRequest
|
|
8472
|
+
* @param {*} [options] Override http request option.
|
|
8473
|
+
* @throws {RequiredError}
|
|
8474
|
+
*/
|
|
8475
|
+
ping(pingRequest: PingRequest, options?: any): AxiosPromise<PingRequest>;
|
|
8391
8476
|
/**
|
|
8392
8477
|
*
|
|
8393
8478
|
* @summary Purchase phone for a given agent.
|
|
@@ -8396,6 +8481,16 @@ export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?
|
|
|
8396
8481
|
* @throws {RequiredError}
|
|
8397
8482
|
*/
|
|
8398
8483
|
purchasePhone(purchasePhoneRequest?: PurchasePhoneRequest, options?: any): AxiosPromise<PurchasePhoneResponse>;
|
|
8484
|
+
/**
|
|
8485
|
+
* Replaces an existing entity with the specified type and ID with a new entity.
|
|
8486
|
+
* @summary Replace an existing entity
|
|
8487
|
+
* @param {string} type
|
|
8488
|
+
* @param {string} id
|
|
8489
|
+
* @param {EntityData} entityData
|
|
8490
|
+
* @param {*} [options] Override http request option.
|
|
8491
|
+
* @throws {RequiredError}
|
|
8492
|
+
*/
|
|
8493
|
+
replaceEntity(type: string, id: string, entityData: EntityData, options?: any): AxiosPromise<Entity>;
|
|
8399
8494
|
/**
|
|
8400
8495
|
*
|
|
8401
8496
|
* @summary Runs your auto-reply app on the Scout9 platform.
|
|
@@ -8413,6 +8508,16 @@ export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?
|
|
|
8413
8508
|
runPlatformConfig(options?: any): AxiosPromise<{
|
|
8414
8509
|
[key: string]: any;
|
|
8415
8510
|
}>;
|
|
8511
|
+
/**
|
|
8512
|
+
* Updates an existing entity with the specified type and ID.
|
|
8513
|
+
* @summary Update an existing entity
|
|
8514
|
+
* @param {string} type
|
|
8515
|
+
* @param {string} id
|
|
8516
|
+
* @param {EntityData} entityData
|
|
8517
|
+
* @param {*} [options] Override http request option.
|
|
8518
|
+
* @throws {RequiredError}
|
|
8519
|
+
*/
|
|
8520
|
+
updateEntity(type: string, id: string, entityData: EntityData, options?: any): AxiosPromise<Entity>;
|
|
8416
8521
|
};
|
|
8417
8522
|
/**
|
|
8418
8523
|
* Scout9Api - object-oriented interface
|
|
@@ -8421,6 +8526,17 @@ export declare const Scout9ApiFactory: (configuration?: Configuration, basePath?
|
|
|
8421
8526
|
* @extends {BaseAPI}
|
|
8422
8527
|
*/
|
|
8423
8528
|
export declare class Scout9Api extends BaseAPI {
|
|
8529
|
+
/**
|
|
8530
|
+
*
|
|
8531
|
+
* @summary Create a new entity
|
|
8532
|
+
* @param {string} type
|
|
8533
|
+
* @param {string} id The unique identifier of the entity
|
|
8534
|
+
* @param {EntityData} entityData
|
|
8535
|
+
* @param {*} [options] Override http request option.
|
|
8536
|
+
* @throws {RequiredError}
|
|
8537
|
+
* @memberof Scout9Api
|
|
8538
|
+
*/
|
|
8539
|
+
addEntity(type: string, id: string, entityData: EntityData, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Entity, any>>;
|
|
8424
8540
|
/**
|
|
8425
8541
|
*
|
|
8426
8542
|
* @summary Gets a agent
|
|
@@ -8812,6 +8928,26 @@ export declare class Scout9Api extends BaseAPI {
|
|
|
8812
8928
|
* @memberof Scout9Api
|
|
8813
8929
|
*/
|
|
8814
8930
|
customersUpdate(updateCustomersRequest: UpdateCustomersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomersResponse, any>>;
|
|
8931
|
+
/**
|
|
8932
|
+
* Deletes an entity with the specified type and ID.
|
|
8933
|
+
* @summary Delete an entity
|
|
8934
|
+
* @param {string} type
|
|
8935
|
+
* @param {string} id
|
|
8936
|
+
* @param {*} [options] Override http request option.
|
|
8937
|
+
* @throws {RequiredError}
|
|
8938
|
+
* @memberof Scout9Api
|
|
8939
|
+
*/
|
|
8940
|
+
deleteEntity(type: string, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
8941
|
+
/**
|
|
8942
|
+
*
|
|
8943
|
+
* @summary Get an entity by type and ID
|
|
8944
|
+
* @param {string} type The type of the entity to fetch
|
|
8945
|
+
* @param {string} id The unique identifier of the entity
|
|
8946
|
+
* @param {*} [options] Override http request option.
|
|
8947
|
+
* @throws {RequiredError}
|
|
8948
|
+
* @memberof Scout9Api
|
|
8949
|
+
*/
|
|
8950
|
+
entity(type: string, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Entity, any>>;
|
|
8815
8951
|
/**
|
|
8816
8952
|
*
|
|
8817
8953
|
* @summary Returns a file
|
|
@@ -8922,6 +9058,15 @@ export declare class Scout9Api extends BaseAPI {
|
|
|
8922
9058
|
* @memberof Scout9Api
|
|
8923
9059
|
*/
|
|
8924
9060
|
parse(parseRequest: ParseRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ParseResponse, any>>;
|
|
9061
|
+
/**
|
|
9062
|
+
*
|
|
9063
|
+
* @summary This is used for the generator to include PurposeEnum, because for whatever reason, query params are not included in the generator.
|
|
9064
|
+
* @param {PingRequest} pingRequest
|
|
9065
|
+
* @param {*} [options] Override http request option.
|
|
9066
|
+
* @throws {RequiredError}
|
|
9067
|
+
* @memberof Scout9Api
|
|
9068
|
+
*/
|
|
9069
|
+
ping(pingRequest: PingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PingRequest, any>>;
|
|
8925
9070
|
/**
|
|
8926
9071
|
*
|
|
8927
9072
|
* @summary Purchase phone for a given agent.
|
|
@@ -8931,6 +9076,17 @@ export declare class Scout9Api extends BaseAPI {
|
|
|
8931
9076
|
* @memberof Scout9Api
|
|
8932
9077
|
*/
|
|
8933
9078
|
purchasePhone(purchasePhoneRequest?: PurchasePhoneRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PurchasePhoneResponse, any>>;
|
|
9079
|
+
/**
|
|
9080
|
+
* Replaces an existing entity with the specified type and ID with a new entity.
|
|
9081
|
+
* @summary Replace an existing entity
|
|
9082
|
+
* @param {string} type
|
|
9083
|
+
* @param {string} id
|
|
9084
|
+
* @param {EntityData} entityData
|
|
9085
|
+
* @param {*} [options] Override http request option.
|
|
9086
|
+
* @throws {RequiredError}
|
|
9087
|
+
* @memberof Scout9Api
|
|
9088
|
+
*/
|
|
9089
|
+
replaceEntity(type: string, id: string, entityData: EntityData, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Entity, any>>;
|
|
8934
9090
|
/**
|
|
8935
9091
|
*
|
|
8936
9092
|
* @summary Runs your auto-reply app on the Scout9 platform.
|
|
@@ -8950,4 +9106,15 @@ export declare class Scout9Api extends BaseAPI {
|
|
|
8950
9106
|
runPlatformConfig(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
8951
9107
|
[key: string]: any;
|
|
8952
9108
|
}, any>>;
|
|
9109
|
+
/**
|
|
9110
|
+
* Updates an existing entity with the specified type and ID.
|
|
9111
|
+
* @summary Update an existing entity
|
|
9112
|
+
* @param {string} type
|
|
9113
|
+
* @param {string} id
|
|
9114
|
+
* @param {EntityData} entityData
|
|
9115
|
+
* @param {*} [options] Override http request option.
|
|
9116
|
+
* @throws {RequiredError}
|
|
9117
|
+
* @memberof Scout9Api
|
|
9118
|
+
*/
|
|
9119
|
+
updateEntity(type: string, id: string, entityData: EntityData, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Entity, any>>;
|
|
8953
9120
|
}
|