ultracart_rest_api_v2_typescript 3.11.8 → 3.11.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/api.ts +219 -8
- package/dist/api.d.ts +125 -5
- package/dist/api.js +143 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@3.11.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@3.11.10
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@3.11.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@3.11.10 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.11.10 | 05/06/2025 | conversation - ConversationAgentProfile.user_id added for agent profiles call |
|
|
58
|
+
| 3.11.9 | 05/05/2025 | conversations - method to fetch all agent profiles for admin screens |
|
|
57
59
|
| 3.11.8 | 04/22/2025 | order property fields for created_by and created_dts |
|
|
58
60
|
| 3.11.7 | 04/21/2025 | conversation agent additional fields |
|
|
59
61
|
| 3.11.6 | 04/16/2025 | added channel partner order item properties |
|
package/api.ts
CHANGED
|
@@ -7369,6 +7369,12 @@ export interface ConversationAgentProfile {
|
|
|
7369
7369
|
* @memberof ConversationAgentProfile
|
|
7370
7370
|
*/
|
|
7371
7371
|
profile_image_url?: string;
|
|
7372
|
+
/**
|
|
7373
|
+
* User ID associated with the agent. Populated by getAgentProfiles call only.
|
|
7374
|
+
* @type {number}
|
|
7375
|
+
* @memberof ConversationAgentProfile
|
|
7376
|
+
*/
|
|
7377
|
+
user_id?: number;
|
|
7372
7378
|
}
|
|
7373
7379
|
|
|
7374
7380
|
/**
|
|
@@ -7425,6 +7431,44 @@ export interface ConversationAgentProfileResponse {
|
|
|
7425
7431
|
warning?: Warning;
|
|
7426
7432
|
}
|
|
7427
7433
|
|
|
7434
|
+
/**
|
|
7435
|
+
*
|
|
7436
|
+
* @export
|
|
7437
|
+
* @interface ConversationAgentProfilesResponse
|
|
7438
|
+
*/
|
|
7439
|
+
export interface ConversationAgentProfilesResponse {
|
|
7440
|
+
/**
|
|
7441
|
+
*
|
|
7442
|
+
* @type {Array<ConversationAgentProfile>}
|
|
7443
|
+
* @memberof ConversationAgentProfilesResponse
|
|
7444
|
+
*/
|
|
7445
|
+
agent_profiles?: Array<ConversationAgentProfile>;
|
|
7446
|
+
/**
|
|
7447
|
+
*
|
|
7448
|
+
* @type {ModelError}
|
|
7449
|
+
* @memberof ConversationAgentProfilesResponse
|
|
7450
|
+
*/
|
|
7451
|
+
error?: ModelError;
|
|
7452
|
+
/**
|
|
7453
|
+
*
|
|
7454
|
+
* @type {ResponseMetadata}
|
|
7455
|
+
* @memberof ConversationAgentProfilesResponse
|
|
7456
|
+
*/
|
|
7457
|
+
metadata?: ResponseMetadata;
|
|
7458
|
+
/**
|
|
7459
|
+
* Indicates if API call was successful
|
|
7460
|
+
* @type {boolean}
|
|
7461
|
+
* @memberof ConversationAgentProfilesResponse
|
|
7462
|
+
*/
|
|
7463
|
+
success?: boolean;
|
|
7464
|
+
/**
|
|
7465
|
+
*
|
|
7466
|
+
* @type {Warning}
|
|
7467
|
+
* @memberof ConversationAgentProfilesResponse
|
|
7468
|
+
*/
|
|
7469
|
+
warning?: Warning;
|
|
7470
|
+
}
|
|
7471
|
+
|
|
7428
7472
|
/**
|
|
7429
7473
|
*
|
|
7430
7474
|
* @export
|
|
@@ -52741,6 +52785,52 @@ export const ConversationApiFetchParamCreator = function (configuration?: Config
|
|
|
52741
52785
|
|
|
52742
52786
|
|
|
52743
52787
|
|
|
52788
|
+
// authentication ultraCartOauth required
|
|
52789
|
+
// oauth required
|
|
52790
|
+
if (configuration && configuration.accessToken) {
|
|
52791
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
52792
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_read"])
|
|
52793
|
+
: configuration.accessToken;
|
|
52794
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
52795
|
+
}
|
|
52796
|
+
|
|
52797
|
+
// authentication ultraCartSimpleApiKey required
|
|
52798
|
+
if (configuration && configuration.apiKey) {
|
|
52799
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
52800
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
52801
|
+
: configuration.apiKey;
|
|
52802
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
52803
|
+
}
|
|
52804
|
+
|
|
52805
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
52806
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
52807
|
+
delete localVarUrlObj.search;
|
|
52808
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
52809
|
+
|
|
52810
|
+
return {
|
|
52811
|
+
url: url.format(localVarUrlObj),
|
|
52812
|
+
options: localVarRequestOptions,
|
|
52813
|
+
};
|
|
52814
|
+
},
|
|
52815
|
+
/**
|
|
52816
|
+
* Retrieve the agents profile
|
|
52817
|
+
* @summary Get agent profiles
|
|
52818
|
+
* @param {*} [options] Override http request option.
|
|
52819
|
+
* @throws {RequiredError}
|
|
52820
|
+
*/
|
|
52821
|
+
getAgentProfiles(options: any = {}): FetchArgs {
|
|
52822
|
+
const localVarPath = `/conversation/agent/profiles`;
|
|
52823
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
52824
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
52825
|
+
const localVarHeaderParameter = {} as any;
|
|
52826
|
+
const localVarQueryParameter = {} as any;
|
|
52827
|
+
|
|
52828
|
+
if(configuration && configuration.apiVersion) {
|
|
52829
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
52830
|
+
}
|
|
52831
|
+
|
|
52832
|
+
|
|
52833
|
+
|
|
52744
52834
|
// authentication ultraCartOauth required
|
|
52745
52835
|
// oauth required
|
|
52746
52836
|
if (configuration && configuration.accessToken) {
|
|
@@ -56787,6 +56877,26 @@ export const ConversationApiFp = function(configuration?: Configuration) {
|
|
|
56787
56877
|
});
|
|
56788
56878
|
};
|
|
56789
56879
|
},
|
|
56880
|
+
/**
|
|
56881
|
+
* Retrieve the agents profile
|
|
56882
|
+
* @summary Get agent profiles
|
|
56883
|
+
* @param {*} [options] Override http request option.
|
|
56884
|
+
* @throws {RequiredError}
|
|
56885
|
+
*/
|
|
56886
|
+
getAgentProfiles(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationAgentProfilesResponse> {
|
|
56887
|
+
const localVarFetchArgs = ConversationApiFetchParamCreator(configuration).getAgentProfiles(options);
|
|
56888
|
+
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
56889
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
56890
|
+
|
|
56891
|
+
if (response.status >= 200 && response.status < 300) {
|
|
56892
|
+
return response.json();
|
|
56893
|
+
|
|
56894
|
+
} else {
|
|
56895
|
+
throw response;
|
|
56896
|
+
}
|
|
56897
|
+
});
|
|
56898
|
+
};
|
|
56899
|
+
},
|
|
56790
56900
|
/**
|
|
56791
56901
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
56792
56902
|
* @summary Get agent websocket authorization
|
|
@@ -58399,6 +58509,15 @@ export const ConversationApiFactory = function (configuration?: Configuration, f
|
|
|
58399
58509
|
getAgentProfile(options?: any) {
|
|
58400
58510
|
return ConversationApiFp(configuration).getAgentProfile(options)(fetch, basePath);
|
|
58401
58511
|
},
|
|
58512
|
+
/**
|
|
58513
|
+
* Retrieve the agents profile
|
|
58514
|
+
* @summary Get agent profiles
|
|
58515
|
+
* @param {*} [options] Override http request option.
|
|
58516
|
+
* @throws {RequiredError}
|
|
58517
|
+
*/
|
|
58518
|
+
getAgentProfiles(options?: any) {
|
|
58519
|
+
return ConversationApiFp(configuration).getAgentProfiles(options)(fetch, basePath);
|
|
58520
|
+
},
|
|
58402
58521
|
/**
|
|
58403
58522
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
58404
58523
|
* @summary Get agent websocket authorization
|
|
@@ -59241,6 +59360,15 @@ export interface ConversationApiInterface {
|
|
|
59241
59360
|
*/
|
|
59242
59361
|
getAgentProfile(options?: any): Promise<ConversationAgentProfileResponse>;
|
|
59243
59362
|
|
|
59363
|
+
/**
|
|
59364
|
+
* Retrieve the agents profile
|
|
59365
|
+
* @summary Get agent profiles
|
|
59366
|
+
* @param {*} [options] Override http request option.
|
|
59367
|
+
* @throws {RequiredError}
|
|
59368
|
+
* @memberof ConversationApiInterface
|
|
59369
|
+
*/
|
|
59370
|
+
getAgentProfiles(options?: any): Promise<ConversationAgentProfilesResponse>;
|
|
59371
|
+
|
|
59244
59372
|
/**
|
|
59245
59373
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
59246
59374
|
* @summary Get agent websocket authorization
|
|
@@ -60109,6 +60237,17 @@ export class ConversationApi extends BaseAPI implements ConversationApiInterface
|
|
|
60109
60237
|
return ConversationApiFp(this.configuration).getAgentProfile(options)(this.fetch, this.basePath);
|
|
60110
60238
|
}
|
|
60111
60239
|
|
|
60240
|
+
/**
|
|
60241
|
+
* Retrieve the agents profile
|
|
60242
|
+
* @summary Get agent profiles
|
|
60243
|
+
* @param {*} [options] Override http request option.
|
|
60244
|
+
* @throws {RequiredError}
|
|
60245
|
+
* @memberof ConversationApi
|
|
60246
|
+
*/
|
|
60247
|
+
public getAgentProfiles(options?: any) {
|
|
60248
|
+
return ConversationApiFp(this.configuration).getAgentProfiles(options)(this.fetch, this.basePath);
|
|
60249
|
+
}
|
|
60250
|
+
|
|
60112
60251
|
/**
|
|
60113
60252
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
60114
60253
|
* @summary Get agent websocket authorization
|
|
@@ -103679,13 +103818,21 @@ export const WebhookApiFetchParamCreator = function (configuration?: Configurati
|
|
|
103679
103818
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
103680
103819
|
* @summary Retrieve the log summaries
|
|
103681
103820
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
103821
|
+
* @param {string} [requestId]
|
|
103822
|
+
* @param {string} [beginDate]
|
|
103823
|
+
* @param {string} [endDate]
|
|
103824
|
+
* @param {string} [status]
|
|
103825
|
+
* @param {string} [event]
|
|
103826
|
+
* @param {string} [orderId]
|
|
103827
|
+
* @param {string} [request]
|
|
103828
|
+
* @param {number} [duration]
|
|
103682
103829
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
103683
103830
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
103684
103831
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
103685
103832
|
* @param {*} [options] Override http request option.
|
|
103686
103833
|
* @throws {RequiredError}
|
|
103687
103834
|
*/
|
|
103688
|
-
getWebhookLogSummaries(webhookOid: number, _limit?: number, _offset?: number, _since?: string, options: any = {}): FetchArgs {
|
|
103835
|
+
getWebhookLogSummaries(webhookOid: number, requestId?: string, beginDate?: string, endDate?: string, status?: string, event?: string, orderId?: string, request?: string, duration?: number, _limit?: number, _offset?: number, _since?: string, options: any = {}): FetchArgs {
|
|
103689
103836
|
// verify required parameter 'webhookOid' is not null or undefined
|
|
103690
103837
|
if (webhookOid === null || webhookOid === undefined) {
|
|
103691
103838
|
throw new RequiredError('webhookOid','Required parameter webhookOid was null or undefined when calling getWebhookLogSummaries.');
|
|
@@ -103720,6 +103867,38 @@ export const WebhookApiFetchParamCreator = function (configuration?: Configurati
|
|
|
103720
103867
|
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
103721
103868
|
}
|
|
103722
103869
|
|
|
103870
|
+
if (requestId !== undefined) {
|
|
103871
|
+
localVarQueryParameter['requestId'] = requestId;
|
|
103872
|
+
}
|
|
103873
|
+
|
|
103874
|
+
if (beginDate !== undefined) {
|
|
103875
|
+
localVarQueryParameter['beginDate'] = beginDate;
|
|
103876
|
+
}
|
|
103877
|
+
|
|
103878
|
+
if (endDate !== undefined) {
|
|
103879
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
103880
|
+
}
|
|
103881
|
+
|
|
103882
|
+
if (status !== undefined) {
|
|
103883
|
+
localVarQueryParameter['status'] = status;
|
|
103884
|
+
}
|
|
103885
|
+
|
|
103886
|
+
if (event !== undefined) {
|
|
103887
|
+
localVarQueryParameter['event'] = event;
|
|
103888
|
+
}
|
|
103889
|
+
|
|
103890
|
+
if (orderId !== undefined) {
|
|
103891
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
103892
|
+
}
|
|
103893
|
+
|
|
103894
|
+
if (request !== undefined) {
|
|
103895
|
+
localVarQueryParameter['request'] = request;
|
|
103896
|
+
}
|
|
103897
|
+
|
|
103898
|
+
if (duration !== undefined) {
|
|
103899
|
+
localVarQueryParameter['duration'] = duration;
|
|
103900
|
+
}
|
|
103901
|
+
|
|
103723
103902
|
if (_limit !== undefined) {
|
|
103724
103903
|
localVarQueryParameter['_limit'] = _limit;
|
|
103725
103904
|
}
|
|
@@ -104069,14 +104248,22 @@ export const WebhookApiFp = function(configuration?: Configuration) {
|
|
|
104069
104248
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
104070
104249
|
* @summary Retrieve the log summaries
|
|
104071
104250
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
104251
|
+
* @param {string} [requestId]
|
|
104252
|
+
* @param {string} [beginDate]
|
|
104253
|
+
* @param {string} [endDate]
|
|
104254
|
+
* @param {string} [status]
|
|
104255
|
+
* @param {string} [event]
|
|
104256
|
+
* @param {string} [orderId]
|
|
104257
|
+
* @param {string} [request]
|
|
104258
|
+
* @param {number} [duration]
|
|
104072
104259
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
104073
104260
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
104074
104261
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
104075
104262
|
* @param {*} [options] Override http request option.
|
|
104076
104263
|
* @throws {RequiredError}
|
|
104077
104264
|
*/
|
|
104078
|
-
getWebhookLogSummaries(webhookOid: number, _limit?: number, _offset?: number, _since?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<WebhookLogSummariesResponse> {
|
|
104079
|
-
const localVarFetchArgs = WebhookApiFetchParamCreator(configuration).getWebhookLogSummaries(webhookOid, _limit, _offset, _since, options);
|
|
104265
|
+
getWebhookLogSummaries(webhookOid: number, requestId?: string, beginDate?: string, endDate?: string, status?: string, event?: string, orderId?: string, request?: string, duration?: number, _limit?: number, _offset?: number, _since?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<WebhookLogSummariesResponse> {
|
|
104266
|
+
const localVarFetchArgs = WebhookApiFetchParamCreator(configuration).getWebhookLogSummaries(webhookOid, requestId, beginDate, endDate, status, event, orderId, request, duration, _limit, _offset, _since, options);
|
|
104080
104267
|
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
104081
104268
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
104082
104269
|
|
|
@@ -104224,14 +104411,22 @@ export const WebhookApiFactory = function (configuration?: Configuration, fetch?
|
|
|
104224
104411
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
104225
104412
|
* @summary Retrieve the log summaries
|
|
104226
104413
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
104414
|
+
* @param {string} [requestId]
|
|
104415
|
+
* @param {string} [beginDate]
|
|
104416
|
+
* @param {string} [endDate]
|
|
104417
|
+
* @param {string} [status]
|
|
104418
|
+
* @param {string} [event]
|
|
104419
|
+
* @param {string} [orderId]
|
|
104420
|
+
* @param {string} [request]
|
|
104421
|
+
* @param {number} [duration]
|
|
104227
104422
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
104228
104423
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
104229
104424
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
104230
104425
|
* @param {*} [options] Override http request option.
|
|
104231
104426
|
* @throws {RequiredError}
|
|
104232
104427
|
*/
|
|
104233
|
-
getWebhookLogSummaries(webhookOid: number, _limit?: number, _offset?: number, _since?: string, options?: any) {
|
|
104234
|
-
return WebhookApiFp(configuration).getWebhookLogSummaries(webhookOid, _limit, _offset, _since, options)(fetch, basePath);
|
|
104428
|
+
getWebhookLogSummaries(webhookOid: number, requestId?: string, beginDate?: string, endDate?: string, status?: string, event?: string, orderId?: string, request?: string, duration?: number, _limit?: number, _offset?: number, _since?: string, options?: any) {
|
|
104429
|
+
return WebhookApiFp(configuration).getWebhookLogSummaries(webhookOid, requestId, beginDate, endDate, status, event, orderId, request, duration, _limit, _offset, _since, options)(fetch, basePath);
|
|
104235
104430
|
},
|
|
104236
104431
|
/**
|
|
104237
104432
|
* Retrieves the webhooks associated with this application.
|
|
@@ -104324,6 +104519,14 @@ export interface WebhookApiInterface {
|
|
|
104324
104519
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
104325
104520
|
* @summary Retrieve the log summaries
|
|
104326
104521
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
104522
|
+
* @param {string} [requestId]
|
|
104523
|
+
* @param {string} [beginDate]
|
|
104524
|
+
* @param {string} [endDate]
|
|
104525
|
+
* @param {string} [status]
|
|
104526
|
+
* @param {string} [event]
|
|
104527
|
+
* @param {string} [orderId]
|
|
104528
|
+
* @param {string} [request]
|
|
104529
|
+
* @param {number} [duration]
|
|
104327
104530
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
104328
104531
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
104329
104532
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
@@ -104331,7 +104534,7 @@ export interface WebhookApiInterface {
|
|
|
104331
104534
|
* @throws {RequiredError}
|
|
104332
104535
|
* @memberof WebhookApiInterface
|
|
104333
104536
|
*/
|
|
104334
|
-
getWebhookLogSummaries(webhookOid: number, _limit?: number, _offset?: number, _since?: string, options?: any): Promise<WebhookLogSummariesResponse>;
|
|
104537
|
+
getWebhookLogSummaries(webhookOid: number, requestId?: string, beginDate?: string, endDate?: string, status?: string, event?: string, orderId?: string, request?: string, duration?: number, _limit?: number, _offset?: number, _since?: string, options?: any): Promise<WebhookLogSummariesResponse>;
|
|
104335
104538
|
|
|
104336
104539
|
/**
|
|
104337
104540
|
* Retrieves the webhooks associated with this application.
|
|
@@ -104430,6 +104633,14 @@ export class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
104430
104633
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
104431
104634
|
* @summary Retrieve the log summaries
|
|
104432
104635
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
104636
|
+
* @param {string} [requestId]
|
|
104637
|
+
* @param {string} [beginDate]
|
|
104638
|
+
* @param {string} [endDate]
|
|
104639
|
+
* @param {string} [status]
|
|
104640
|
+
* @param {string} [event]
|
|
104641
|
+
* @param {string} [orderId]
|
|
104642
|
+
* @param {string} [request]
|
|
104643
|
+
* @param {number} [duration]
|
|
104433
104644
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
104434
104645
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
104435
104646
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
@@ -104437,8 +104648,8 @@ export class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
104437
104648
|
* @throws {RequiredError}
|
|
104438
104649
|
* @memberof WebhookApi
|
|
104439
104650
|
*/
|
|
104440
|
-
public getWebhookLogSummaries(webhookOid: number, _limit?: number, _offset?: number, _since?: string, options?: any) {
|
|
104441
|
-
return WebhookApiFp(this.configuration).getWebhookLogSummaries(webhookOid, _limit, _offset, _since, options)(this.fetch, this.basePath);
|
|
104651
|
+
public getWebhookLogSummaries(webhookOid: number, requestId?: string, beginDate?: string, endDate?: string, status?: string, event?: string, orderId?: string, request?: string, duration?: number, _limit?: number, _offset?: number, _since?: string, options?: any) {
|
|
104652
|
+
return WebhookApiFp(this.configuration).getWebhookLogSummaries(webhookOid, requestId, beginDate, endDate, status, event, orderId, request, duration, _limit, _offset, _since, options)(this.fetch, this.basePath);
|
|
104442
104653
|
}
|
|
104443
104654
|
|
|
104444
104655
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -7205,6 +7205,12 @@ export interface ConversationAgentProfile {
|
|
|
7205
7205
|
* @memberof ConversationAgentProfile
|
|
7206
7206
|
*/
|
|
7207
7207
|
profile_image_url?: string;
|
|
7208
|
+
/**
|
|
7209
|
+
* User ID associated with the agent. Populated by getAgentProfiles call only.
|
|
7210
|
+
* @type {number}
|
|
7211
|
+
* @memberof ConversationAgentProfile
|
|
7212
|
+
*/
|
|
7213
|
+
user_id?: number;
|
|
7208
7214
|
}
|
|
7209
7215
|
/**
|
|
7210
7216
|
* @export
|
|
@@ -7258,6 +7264,43 @@ export interface ConversationAgentProfileResponse {
|
|
|
7258
7264
|
*/
|
|
7259
7265
|
warning?: Warning;
|
|
7260
7266
|
}
|
|
7267
|
+
/**
|
|
7268
|
+
*
|
|
7269
|
+
* @export
|
|
7270
|
+
* @interface ConversationAgentProfilesResponse
|
|
7271
|
+
*/
|
|
7272
|
+
export interface ConversationAgentProfilesResponse {
|
|
7273
|
+
/**
|
|
7274
|
+
*
|
|
7275
|
+
* @type {Array<ConversationAgentProfile>}
|
|
7276
|
+
* @memberof ConversationAgentProfilesResponse
|
|
7277
|
+
*/
|
|
7278
|
+
agent_profiles?: Array<ConversationAgentProfile>;
|
|
7279
|
+
/**
|
|
7280
|
+
*
|
|
7281
|
+
* @type {ModelError}
|
|
7282
|
+
* @memberof ConversationAgentProfilesResponse
|
|
7283
|
+
*/
|
|
7284
|
+
error?: ModelError;
|
|
7285
|
+
/**
|
|
7286
|
+
*
|
|
7287
|
+
* @type {ResponseMetadata}
|
|
7288
|
+
* @memberof ConversationAgentProfilesResponse
|
|
7289
|
+
*/
|
|
7290
|
+
metadata?: ResponseMetadata;
|
|
7291
|
+
/**
|
|
7292
|
+
* Indicates if API call was successful
|
|
7293
|
+
* @type {boolean}
|
|
7294
|
+
* @memberof ConversationAgentProfilesResponse
|
|
7295
|
+
*/
|
|
7296
|
+
success?: boolean;
|
|
7297
|
+
/**
|
|
7298
|
+
*
|
|
7299
|
+
* @type {Warning}
|
|
7300
|
+
* @memberof ConversationAgentProfilesResponse
|
|
7301
|
+
*/
|
|
7302
|
+
warning?: Warning;
|
|
7303
|
+
}
|
|
7261
7304
|
/**
|
|
7262
7305
|
*
|
|
7263
7306
|
* @export
|
|
@@ -47331,6 +47374,13 @@ export declare const ConversationApiFetchParamCreator: (configuration?: Configur
|
|
|
47331
47374
|
* @throws {RequiredError}
|
|
47332
47375
|
*/
|
|
47333
47376
|
getAgentProfile(options?: any): FetchArgs;
|
|
47377
|
+
/**
|
|
47378
|
+
* Retrieve the agents profile
|
|
47379
|
+
* @summary Get agent profiles
|
|
47380
|
+
* @param {*} [options] Override http request option.
|
|
47381
|
+
* @throws {RequiredError}
|
|
47382
|
+
*/
|
|
47383
|
+
getAgentProfiles(options?: any): FetchArgs;
|
|
47334
47384
|
/**
|
|
47335
47385
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
47336
47386
|
* @summary Get agent websocket authorization
|
|
@@ -48004,6 +48054,13 @@ export declare const ConversationApiFp: (configuration?: Configuration) => {
|
|
|
48004
48054
|
* @throws {RequiredError}
|
|
48005
48055
|
*/
|
|
48006
48056
|
getAgentProfile(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationAgentProfileResponse>;
|
|
48057
|
+
/**
|
|
48058
|
+
* Retrieve the agents profile
|
|
48059
|
+
* @summary Get agent profiles
|
|
48060
|
+
* @param {*} [options] Override http request option.
|
|
48061
|
+
* @throws {RequiredError}
|
|
48062
|
+
*/
|
|
48063
|
+
getAgentProfiles(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ConversationAgentProfilesResponse>;
|
|
48007
48064
|
/**
|
|
48008
48065
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
48009
48066
|
* @summary Get agent websocket authorization
|
|
@@ -48677,6 +48734,13 @@ export declare const ConversationApiFactory: (configuration?: Configuration, fet
|
|
|
48677
48734
|
* @throws {RequiredError}
|
|
48678
48735
|
*/
|
|
48679
48736
|
getAgentProfile(options?: any): Promise<ConversationAgentProfileResponse>;
|
|
48737
|
+
/**
|
|
48738
|
+
* Retrieve the agents profile
|
|
48739
|
+
* @summary Get agent profiles
|
|
48740
|
+
* @param {*} [options] Override http request option.
|
|
48741
|
+
* @throws {RequiredError}
|
|
48742
|
+
*/
|
|
48743
|
+
getAgentProfiles(options?: any): Promise<ConversationAgentProfilesResponse>;
|
|
48680
48744
|
/**
|
|
48681
48745
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
48682
48746
|
* @summary Get agent websocket authorization
|
|
@@ -49364,6 +49428,14 @@ export interface ConversationApiInterface {
|
|
|
49364
49428
|
* @memberof ConversationApiInterface
|
|
49365
49429
|
*/
|
|
49366
49430
|
getAgentProfile(options?: any): Promise<ConversationAgentProfileResponse>;
|
|
49431
|
+
/**
|
|
49432
|
+
* Retrieve the agents profile
|
|
49433
|
+
* @summary Get agent profiles
|
|
49434
|
+
* @param {*} [options] Override http request option.
|
|
49435
|
+
* @throws {RequiredError}
|
|
49436
|
+
* @memberof ConversationApiInterface
|
|
49437
|
+
*/
|
|
49438
|
+
getAgentProfiles(options?: any): Promise<ConversationAgentProfilesResponse>;
|
|
49367
49439
|
/**
|
|
49368
49440
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
49369
49441
|
* @summary Get agent websocket authorization
|
|
@@ -50122,6 +50194,14 @@ export declare class ConversationApi extends BaseAPI implements ConversationApiI
|
|
|
50122
50194
|
* @memberof ConversationApi
|
|
50123
50195
|
*/
|
|
50124
50196
|
getAgentProfile(options?: any): Promise<ConversationAgentProfileResponse>;
|
|
50197
|
+
/**
|
|
50198
|
+
* Retrieve the agents profile
|
|
50199
|
+
* @summary Get agent profiles
|
|
50200
|
+
* @param {*} [options] Override http request option.
|
|
50201
|
+
* @throws {RequiredError}
|
|
50202
|
+
* @memberof ConversationApi
|
|
50203
|
+
*/
|
|
50204
|
+
getAgentProfiles(options?: any): Promise<ConversationAgentProfilesResponse>;
|
|
50125
50205
|
/**
|
|
50126
50206
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
50127
50207
|
* @summary Get agent websocket authorization
|
|
@@ -67807,13 +67887,21 @@ export declare const WebhookApiFetchParamCreator: (configuration?: Configuration
|
|
|
67807
67887
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
67808
67888
|
* @summary Retrieve the log summaries
|
|
67809
67889
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
67890
|
+
* @param {string} [requestId]
|
|
67891
|
+
* @param {string} [beginDate]
|
|
67892
|
+
* @param {string} [endDate]
|
|
67893
|
+
* @param {string} [status]
|
|
67894
|
+
* @param {string} [event]
|
|
67895
|
+
* @param {string} [orderId]
|
|
67896
|
+
* @param {string} [request]
|
|
67897
|
+
* @param {number} [duration]
|
|
67810
67898
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
67811
67899
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
67812
67900
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
67813
67901
|
* @param {*} [options] Override http request option.
|
|
67814
67902
|
* @throws {RequiredError}
|
|
67815
67903
|
*/
|
|
67816
|
-
getWebhookLogSummaries(webhookOid: number, _limit?: number, _offset?: number, _since?: string, options?: any): FetchArgs;
|
|
67904
|
+
getWebhookLogSummaries(webhookOid: number, requestId?: string, beginDate?: string, endDate?: string, status?: string, event?: string, orderId?: string, request?: string, duration?: number, _limit?: number, _offset?: number, _since?: string, options?: any): FetchArgs;
|
|
67817
67905
|
/**
|
|
67818
67906
|
* Retrieves the webhooks associated with this application.
|
|
67819
67907
|
* @summary Retrieve webhooks
|
|
@@ -67888,13 +67976,21 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
|
|
|
67888
67976
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
67889
67977
|
* @summary Retrieve the log summaries
|
|
67890
67978
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
67979
|
+
* @param {string} [requestId]
|
|
67980
|
+
* @param {string} [beginDate]
|
|
67981
|
+
* @param {string} [endDate]
|
|
67982
|
+
* @param {string} [status]
|
|
67983
|
+
* @param {string} [event]
|
|
67984
|
+
* @param {string} [orderId]
|
|
67985
|
+
* @param {string} [request]
|
|
67986
|
+
* @param {number} [duration]
|
|
67891
67987
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
67892
67988
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
67893
67989
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
67894
67990
|
* @param {*} [options] Override http request option.
|
|
67895
67991
|
* @throws {RequiredError}
|
|
67896
67992
|
*/
|
|
67897
|
-
getWebhookLogSummaries(webhookOid: number, _limit?: number, _offset?: number, _since?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<WebhookLogSummariesResponse>;
|
|
67993
|
+
getWebhookLogSummaries(webhookOid: number, requestId?: string, beginDate?: string, endDate?: string, status?: string, event?: string, orderId?: string, request?: string, duration?: number, _limit?: number, _offset?: number, _since?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<WebhookLogSummariesResponse>;
|
|
67898
67994
|
/**
|
|
67899
67995
|
* Retrieves the webhooks associated with this application.
|
|
67900
67996
|
* @summary Retrieve webhooks
|
|
@@ -67969,13 +68065,21 @@ export declare const WebhookApiFactory: (configuration?: Configuration, fetch?:
|
|
|
67969
68065
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
67970
68066
|
* @summary Retrieve the log summaries
|
|
67971
68067
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
68068
|
+
* @param {string} [requestId]
|
|
68069
|
+
* @param {string} [beginDate]
|
|
68070
|
+
* @param {string} [endDate]
|
|
68071
|
+
* @param {string} [status]
|
|
68072
|
+
* @param {string} [event]
|
|
68073
|
+
* @param {string} [orderId]
|
|
68074
|
+
* @param {string} [request]
|
|
68075
|
+
* @param {number} [duration]
|
|
67972
68076
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
67973
68077
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
67974
68078
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
67975
68079
|
* @param {*} [options] Override http request option.
|
|
67976
68080
|
* @throws {RequiredError}
|
|
67977
68081
|
*/
|
|
67978
|
-
getWebhookLogSummaries(webhookOid: number, _limit?: number, _offset?: number, _since?: string, options?: any): Promise<WebhookLogSummariesResponse>;
|
|
68082
|
+
getWebhookLogSummaries(webhookOid: number, requestId?: string, beginDate?: string, endDate?: string, status?: string, event?: string, orderId?: string, request?: string, duration?: number, _limit?: number, _offset?: number, _since?: string, options?: any): Promise<WebhookLogSummariesResponse>;
|
|
67979
68083
|
/**
|
|
67980
68084
|
* Retrieves the webhooks associated with this application.
|
|
67981
68085
|
* @summary Retrieve webhooks
|
|
@@ -68054,6 +68158,14 @@ export interface WebhookApiInterface {
|
|
|
68054
68158
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
68055
68159
|
* @summary Retrieve the log summaries
|
|
68056
68160
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
68161
|
+
* @param {string} [requestId]
|
|
68162
|
+
* @param {string} [beginDate]
|
|
68163
|
+
* @param {string} [endDate]
|
|
68164
|
+
* @param {string} [status]
|
|
68165
|
+
* @param {string} [event]
|
|
68166
|
+
* @param {string} [orderId]
|
|
68167
|
+
* @param {string} [request]
|
|
68168
|
+
* @param {number} [duration]
|
|
68057
68169
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
68058
68170
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
68059
68171
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
@@ -68061,7 +68173,7 @@ export interface WebhookApiInterface {
|
|
|
68061
68173
|
* @throws {RequiredError}
|
|
68062
68174
|
* @memberof WebhookApiInterface
|
|
68063
68175
|
*/
|
|
68064
|
-
getWebhookLogSummaries(webhookOid: number, _limit?: number, _offset?: number, _since?: string, options?: any): Promise<WebhookLogSummariesResponse>;
|
|
68176
|
+
getWebhookLogSummaries(webhookOid: number, requestId?: string, beginDate?: string, endDate?: string, status?: string, event?: string, orderId?: string, request?: string, duration?: number, _limit?: number, _offset?: number, _since?: string, options?: any): Promise<WebhookLogSummariesResponse>;
|
|
68065
68177
|
/**
|
|
68066
68178
|
* Retrieves the webhooks associated with this application.
|
|
68067
68179
|
* @summary Retrieve webhooks
|
|
@@ -68145,6 +68257,14 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
68145
68257
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
68146
68258
|
* @summary Retrieve the log summaries
|
|
68147
68259
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
68260
|
+
* @param {string} [requestId]
|
|
68261
|
+
* @param {string} [beginDate]
|
|
68262
|
+
* @param {string} [endDate]
|
|
68263
|
+
* @param {string} [status]
|
|
68264
|
+
* @param {string} [event]
|
|
68265
|
+
* @param {string} [orderId]
|
|
68266
|
+
* @param {string} [request]
|
|
68267
|
+
* @param {number} [duration]
|
|
68148
68268
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
68149
68269
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
68150
68270
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
@@ -68152,7 +68272,7 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
|
|
|
68152
68272
|
* @throws {RequiredError}
|
|
68153
68273
|
* @memberof WebhookApi
|
|
68154
68274
|
*/
|
|
68155
|
-
getWebhookLogSummaries(webhookOid: number, _limit?: number, _offset?: number, _since?: string, options?: any): Promise<WebhookLogSummariesResponse>;
|
|
68275
|
+
getWebhookLogSummaries(webhookOid: number, requestId?: string, beginDate?: string, endDate?: string, status?: string, event?: string, orderId?: string, request?: string, duration?: number, _limit?: number, _offset?: number, _since?: string, options?: any): Promise<WebhookLogSummariesResponse>;
|
|
68156
68276
|
/**
|
|
68157
68277
|
* Retrieves the webhooks associated with this application.
|
|
68158
68278
|
* @summary Retrieve webhooks
|
package/dist/api.js
CHANGED
|
@@ -8151,6 +8151,46 @@ var ConversationApiFetchParamCreator = function (configuration) {
|
|
|
8151
8151
|
options: localVarRequestOptions,
|
|
8152
8152
|
};
|
|
8153
8153
|
},
|
|
8154
|
+
/**
|
|
8155
|
+
* Retrieve the agents profile
|
|
8156
|
+
* @summary Get agent profiles
|
|
8157
|
+
* @param {*} [options] Override http request option.
|
|
8158
|
+
* @throws {RequiredError}
|
|
8159
|
+
*/
|
|
8160
|
+
getAgentProfiles: function (options) {
|
|
8161
|
+
if (options === void 0) { options = {}; }
|
|
8162
|
+
var localVarPath = "/conversation/agent/profiles";
|
|
8163
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
8164
|
+
var localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
8165
|
+
var localVarHeaderParameter = {};
|
|
8166
|
+
var localVarQueryParameter = {};
|
|
8167
|
+
if (configuration && configuration.apiVersion) {
|
|
8168
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
8169
|
+
}
|
|
8170
|
+
// authentication ultraCartOauth required
|
|
8171
|
+
// oauth required
|
|
8172
|
+
if (configuration && configuration.accessToken) {
|
|
8173
|
+
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
8174
|
+
? configuration.accessToken("ultraCartOauth", ["conversation_read"])
|
|
8175
|
+
: configuration.accessToken;
|
|
8176
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
8177
|
+
}
|
|
8178
|
+
// authentication ultraCartSimpleApiKey required
|
|
8179
|
+
if (configuration && configuration.apiKey) {
|
|
8180
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
8181
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
8182
|
+
: configuration.apiKey;
|
|
8183
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
8184
|
+
}
|
|
8185
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
8186
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
8187
|
+
delete localVarUrlObj.search;
|
|
8188
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
8189
|
+
return {
|
|
8190
|
+
url: url.format(localVarUrlObj),
|
|
8191
|
+
options: localVarRequestOptions,
|
|
8192
|
+
};
|
|
8193
|
+
},
|
|
8154
8194
|
/**
|
|
8155
8195
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
8156
8196
|
* @summary Get agent websocket authorization
|
|
@@ -11729,6 +11769,27 @@ var ConversationApiFp = function (configuration) {
|
|
|
11729
11769
|
});
|
|
11730
11770
|
};
|
|
11731
11771
|
},
|
|
11772
|
+
/**
|
|
11773
|
+
* Retrieve the agents profile
|
|
11774
|
+
* @summary Get agent profiles
|
|
11775
|
+
* @param {*} [options] Override http request option.
|
|
11776
|
+
* @throws {RequiredError}
|
|
11777
|
+
*/
|
|
11778
|
+
getAgentProfiles: function (options) {
|
|
11779
|
+
var localVarFetchArgs = (0, exports.ConversationApiFetchParamCreator)(configuration).getAgentProfiles(options);
|
|
11780
|
+
return function (fetch, basePath) {
|
|
11781
|
+
if (fetch === void 0) { fetch = portableFetch; }
|
|
11782
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
11783
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
11784
|
+
if (response.status >= 200 && response.status < 300) {
|
|
11785
|
+
return response.json();
|
|
11786
|
+
}
|
|
11787
|
+
else {
|
|
11788
|
+
throw response;
|
|
11789
|
+
}
|
|
11790
|
+
});
|
|
11791
|
+
};
|
|
11792
|
+
},
|
|
11732
11793
|
/**
|
|
11733
11794
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
11734
11795
|
* @summary Get agent websocket authorization
|
|
@@ -13411,6 +13472,15 @@ var ConversationApiFactory = function (configuration, fetch, basePath) {
|
|
|
13411
13472
|
getAgentProfile: function (options) {
|
|
13412
13473
|
return (0, exports.ConversationApiFp)(configuration).getAgentProfile(options)(fetch, basePath);
|
|
13413
13474
|
},
|
|
13475
|
+
/**
|
|
13476
|
+
* Retrieve the agents profile
|
|
13477
|
+
* @summary Get agent profiles
|
|
13478
|
+
* @param {*} [options] Override http request option.
|
|
13479
|
+
* @throws {RequiredError}
|
|
13480
|
+
*/
|
|
13481
|
+
getAgentProfiles: function (options) {
|
|
13482
|
+
return (0, exports.ConversationApiFp)(configuration).getAgentProfiles(options)(fetch, basePath);
|
|
13483
|
+
},
|
|
13414
13484
|
/**
|
|
13415
13485
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
13416
13486
|
* @summary Get agent websocket authorization
|
|
@@ -14271,6 +14341,16 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
14271
14341
|
ConversationApi.prototype.getAgentProfile = function (options) {
|
|
14272
14342
|
return (0, exports.ConversationApiFp)(this.configuration).getAgentProfile(options)(this.fetch, this.basePath);
|
|
14273
14343
|
};
|
|
14344
|
+
/**
|
|
14345
|
+
* Retrieve the agents profile
|
|
14346
|
+
* @summary Get agent profiles
|
|
14347
|
+
* @param {*} [options] Override http request option.
|
|
14348
|
+
* @throws {RequiredError}
|
|
14349
|
+
* @memberof ConversationApi
|
|
14350
|
+
*/
|
|
14351
|
+
ConversationApi.prototype.getAgentProfiles = function (options) {
|
|
14352
|
+
return (0, exports.ConversationApiFp)(this.configuration).getAgentProfiles(options)(this.fetch, this.basePath);
|
|
14353
|
+
};
|
|
14274
14354
|
/**
|
|
14275
14355
|
* Retrieve a JWT to authorize an agent to make a websocket connection.
|
|
14276
14356
|
* @summary Get agent websocket authorization
|
|
@@ -51214,13 +51294,21 @@ var WebhookApiFetchParamCreator = function (configuration) {
|
|
|
51214
51294
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
51215
51295
|
* @summary Retrieve the log summaries
|
|
51216
51296
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
51297
|
+
* @param {string} [requestId]
|
|
51298
|
+
* @param {string} [beginDate]
|
|
51299
|
+
* @param {string} [endDate]
|
|
51300
|
+
* @param {string} [status]
|
|
51301
|
+
* @param {string} [event]
|
|
51302
|
+
* @param {string} [orderId]
|
|
51303
|
+
* @param {string} [request]
|
|
51304
|
+
* @param {number} [duration]
|
|
51217
51305
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
51218
51306
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
51219
51307
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
51220
51308
|
* @param {*} [options] Override http request option.
|
|
51221
51309
|
* @throws {RequiredError}
|
|
51222
51310
|
*/
|
|
51223
|
-
getWebhookLogSummaries: function (webhookOid, _limit, _offset, _since, options) {
|
|
51311
|
+
getWebhookLogSummaries: function (webhookOid, requestId, beginDate, endDate, status, event, orderId, request, duration, _limit, _offset, _since, options) {
|
|
51224
51312
|
if (options === void 0) { options = {}; }
|
|
51225
51313
|
// verify required parameter 'webhookOid' is not null or undefined
|
|
51226
51314
|
if (webhookOid === null || webhookOid === undefined) {
|
|
@@ -51250,6 +51338,30 @@ var WebhookApiFetchParamCreator = function (configuration) {
|
|
|
51250
51338
|
: configuration.apiKey;
|
|
51251
51339
|
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
51252
51340
|
}
|
|
51341
|
+
if (requestId !== undefined) {
|
|
51342
|
+
localVarQueryParameter['requestId'] = requestId;
|
|
51343
|
+
}
|
|
51344
|
+
if (beginDate !== undefined) {
|
|
51345
|
+
localVarQueryParameter['beginDate'] = beginDate;
|
|
51346
|
+
}
|
|
51347
|
+
if (endDate !== undefined) {
|
|
51348
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
51349
|
+
}
|
|
51350
|
+
if (status !== undefined) {
|
|
51351
|
+
localVarQueryParameter['status'] = status;
|
|
51352
|
+
}
|
|
51353
|
+
if (event !== undefined) {
|
|
51354
|
+
localVarQueryParameter['event'] = event;
|
|
51355
|
+
}
|
|
51356
|
+
if (orderId !== undefined) {
|
|
51357
|
+
localVarQueryParameter['orderId'] = orderId;
|
|
51358
|
+
}
|
|
51359
|
+
if (request !== undefined) {
|
|
51360
|
+
localVarQueryParameter['request'] = request;
|
|
51361
|
+
}
|
|
51362
|
+
if (duration !== undefined) {
|
|
51363
|
+
localVarQueryParameter['duration'] = duration;
|
|
51364
|
+
}
|
|
51253
51365
|
if (_limit !== undefined) {
|
|
51254
51366
|
localVarQueryParameter['_limit'] = _limit;
|
|
51255
51367
|
}
|
|
@@ -51566,14 +51678,22 @@ var WebhookApiFp = function (configuration) {
|
|
|
51566
51678
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
51567
51679
|
* @summary Retrieve the log summaries
|
|
51568
51680
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
51681
|
+
* @param {string} [requestId]
|
|
51682
|
+
* @param {string} [beginDate]
|
|
51683
|
+
* @param {string} [endDate]
|
|
51684
|
+
* @param {string} [status]
|
|
51685
|
+
* @param {string} [event]
|
|
51686
|
+
* @param {string} [orderId]
|
|
51687
|
+
* @param {string} [request]
|
|
51688
|
+
* @param {number} [duration]
|
|
51569
51689
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
51570
51690
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
51571
51691
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
51572
51692
|
* @param {*} [options] Override http request option.
|
|
51573
51693
|
* @throws {RequiredError}
|
|
51574
51694
|
*/
|
|
51575
|
-
getWebhookLogSummaries: function (webhookOid, _limit, _offset, _since, options) {
|
|
51576
|
-
var localVarFetchArgs = (0, exports.WebhookApiFetchParamCreator)(configuration).getWebhookLogSummaries(webhookOid, _limit, _offset, _since, options);
|
|
51695
|
+
getWebhookLogSummaries: function (webhookOid, requestId, beginDate, endDate, status, event, orderId, request, duration, _limit, _offset, _since, options) {
|
|
51696
|
+
var localVarFetchArgs = (0, exports.WebhookApiFetchParamCreator)(configuration).getWebhookLogSummaries(webhookOid, requestId, beginDate, endDate, status, event, orderId, request, duration, _limit, _offset, _since, options);
|
|
51577
51697
|
return function (fetch, basePath) {
|
|
51578
51698
|
if (fetch === void 0) { fetch = portableFetch; }
|
|
51579
51699
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
@@ -51726,14 +51846,22 @@ var WebhookApiFactory = function (configuration, fetch, basePath) {
|
|
|
51726
51846
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
51727
51847
|
* @summary Retrieve the log summaries
|
|
51728
51848
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
51849
|
+
* @param {string} [requestId]
|
|
51850
|
+
* @param {string} [beginDate]
|
|
51851
|
+
* @param {string} [endDate]
|
|
51852
|
+
* @param {string} [status]
|
|
51853
|
+
* @param {string} [event]
|
|
51854
|
+
* @param {string} [orderId]
|
|
51855
|
+
* @param {string} [request]
|
|
51856
|
+
* @param {number} [duration]
|
|
51729
51857
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
51730
51858
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
51731
51859
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
51732
51860
|
* @param {*} [options] Override http request option.
|
|
51733
51861
|
* @throws {RequiredError}
|
|
51734
51862
|
*/
|
|
51735
|
-
getWebhookLogSummaries: function (webhookOid, _limit, _offset, _since, options) {
|
|
51736
|
-
return (0, exports.WebhookApiFp)(configuration).getWebhookLogSummaries(webhookOid, _limit, _offset, _since, options)(fetch, basePath);
|
|
51863
|
+
getWebhookLogSummaries: function (webhookOid, requestId, beginDate, endDate, status, event, orderId, request, duration, _limit, _offset, _since, options) {
|
|
51864
|
+
return (0, exports.WebhookApiFp)(configuration).getWebhookLogSummaries(webhookOid, requestId, beginDate, endDate, status, event, orderId, request, duration, _limit, _offset, _since, options)(fetch, basePath);
|
|
51737
51865
|
},
|
|
51738
51866
|
/**
|
|
51739
51867
|
* Retrieves the webhooks associated with this application.
|
|
@@ -51834,6 +51962,14 @@ var WebhookApi = /** @class */ (function (_super) {
|
|
|
51834
51962
|
* Retrieves the log summary information for a given webhook. This is useful for displaying all the various logs that can be viewed.
|
|
51835
51963
|
* @summary Retrieve the log summaries
|
|
51836
51964
|
* @param {number} webhookOid The webhook oid to retrieve log summaries for.
|
|
51965
|
+
* @param {string} [requestId]
|
|
51966
|
+
* @param {string} [beginDate]
|
|
51967
|
+
* @param {string} [endDate]
|
|
51968
|
+
* @param {string} [status]
|
|
51969
|
+
* @param {string} [event]
|
|
51970
|
+
* @param {string} [orderId]
|
|
51971
|
+
* @param {string} [request]
|
|
51972
|
+
* @param {number} [duration]
|
|
51837
51973
|
* @param {number} [_limit] The maximum number of records to return on this one API call.
|
|
51838
51974
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
51839
51975
|
* @param {string} [_since] Fetch log summaries that have been delivered since this date/time.
|
|
@@ -51841,8 +51977,8 @@ var WebhookApi = /** @class */ (function (_super) {
|
|
|
51841
51977
|
* @throws {RequiredError}
|
|
51842
51978
|
* @memberof WebhookApi
|
|
51843
51979
|
*/
|
|
51844
|
-
WebhookApi.prototype.getWebhookLogSummaries = function (webhookOid, _limit, _offset, _since, options) {
|
|
51845
|
-
return (0, exports.WebhookApiFp)(this.configuration).getWebhookLogSummaries(webhookOid, _limit, _offset, _since, options)(this.fetch, this.basePath);
|
|
51980
|
+
WebhookApi.prototype.getWebhookLogSummaries = function (webhookOid, requestId, beginDate, endDate, status, event, orderId, request, duration, _limit, _offset, _since, options) {
|
|
51981
|
+
return (0, exports.WebhookApiFp)(this.configuration).getWebhookLogSummaries(webhookOid, requestId, beginDate, endDate, status, event, orderId, request, duration, _limit, _offset, _since, options)(this.fetch, this.basePath);
|
|
51846
51982
|
};
|
|
51847
51983
|
/**
|
|
51848
51984
|
* Retrieves the webhooks associated with this application.
|