@integrahub/vergefy-client 0.27.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/apis/AIIAMPPMPPPaymentApi.d.ts +33 -31
- package/dist/apis/AIIAMPPMPPPaymentApi.js +50 -46
- package/dist/apis/AIIUCPCUCPConfigurationApi.d.ts +2 -2
- package/dist/apis/AIIUCPCUCPConfigurationApi.js +2 -2
- package/dist/apis/APIAGRGoodsReceiptApi.d.ts +2 -2
- package/dist/apis/APIAGRGoodsReceiptApi.js +2 -2
- package/dist/apis/APIAIHDIntegrationHelpdeskApi.d.ts +86 -0
- package/dist/apis/APIAIHDIntegrationHelpdeskApi.js +232 -0
- package/dist/apis/APIAINIntegrationApi.d.ts +5 -0
- package/dist/apis/APIAINIntegrationApi.js +5 -0
- package/dist/apis/APIAPAPaymentApi.d.ts +29 -4
- package/dist/apis/APIAPAPaymentApi.js +76 -5
- package/dist/apis/APIARTReturnApi.d.ts +3 -2
- package/dist/apis/APIARTReturnApi.js +5 -2
- package/dist/apis/APIIntegrationConfigurationApi.d.ts +1 -0
- package/dist/apis/APIIntegrationConfigurationApi.js +1 -0
- package/dist/apis/PLATFORMLPCPlatformPaymentCheckoutApi.d.ts +21 -0
- package/dist/apis/PLATFORMLPCPlatformPaymentCheckoutApi.js +63 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AIIAMPPMPPPaymentApi.js +50 -46
- package/dist/esm/apis/AIIUCPCUCPConfigurationApi.js +2 -2
- package/dist/esm/apis/APIAGRGoodsReceiptApi.js +2 -2
- package/dist/esm/apis/APIAIHDIntegrationHelpdeskApi.js +228 -0
- package/dist/esm/apis/APIAINIntegrationApi.js +5 -0
- package/dist/esm/apis/APIAPAPaymentApi.js +76 -5
- package/dist/esm/apis/APIARTReturnApi.js +5 -2
- package/dist/esm/apis/APIIntegrationConfigurationApi.js +1 -0
- package/dist/esm/apis/PLATFORMLPCPlatformPaymentCheckoutApi.js +63 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/AvailableProviderDTO.js +12 -0
- package/dist/esm/models/ChannelResult.js +1 -0
- package/dist/esm/models/ConnectorListingDTO.js +2 -0
- package/dist/esm/models/EdgeGatewayDTO.js +1 -0
- package/dist/esm/models/HelpdeskContactDTO.js +57 -0
- package/dist/esm/models/HelpdeskContextDTO.js +82 -0
- package/dist/esm/models/HelpdeskLookupKeyDTO.js +57 -0
- package/dist/esm/models/HelpdeskOrderDTO.js +76 -0
- package/dist/esm/models/HelpdeskOrderLineDTO.js +51 -0
- package/dist/esm/models/HelpdeskSidebarKeyDTO.js +67 -0
- package/dist/esm/models/HelpdeskSidebarKeyStateDTO.js +64 -0
- package/dist/esm/models/HostedCheckoutAddressDTO.js +49 -0
- package/dist/esm/models/HostedCheckoutBasketItemDTO.js +49 -0
- package/dist/esm/models/HostedCheckoutRequestDTO.js +71 -0
- package/dist/esm/models/HostedCheckoutResultDTO.js +45 -0
- package/dist/esm/models/ImportJobDTO.js +1 -0
- package/dist/esm/models/IntegrationConfigurationCreateDTO.js +2 -0
- package/dist/esm/models/IntegrationConfigurationDTO.js +2 -0
- package/dist/esm/models/IntegrationHealthSummaryDTO.js +2 -0
- package/dist/esm/models/InvoiceApiDTO.js +2 -1
- package/dist/esm/models/{MppPaymentSessionCreateApiDTO.js → MppChallengeOpenApiDTO.js} +18 -10
- package/dist/{models/MppPaymentSessionCreateApiDTO.js → esm/models/MppChallengePaymentApiDTO.js} +24 -17
- package/dist/esm/models/OrderReturnSummaryDTO.js +66 -0
- package/dist/esm/models/OrderShipmentSummaryDTO.js +68 -0
- package/dist/esm/models/PaymentConfigurationDTO.js +2 -1
- package/dist/esm/models/PaymentIntentDTO.js +27 -9
- package/dist/esm/models/PrincipalDTO.js +2 -1
- package/dist/esm/models/ProviderHealthStatusDTO.js +1 -0
- package/dist/esm/models/ReturnRequestDTO.js +2 -0
- package/dist/esm/models/SocialConnectionRegisterDTO.js +1 -0
- package/dist/esm/models/SocialProviderCredentialReadinessDTO.js +1 -0
- package/dist/esm/models/index.js +15 -1
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/AvailableProviderDTO.d.ts +17 -0
- package/dist/models/AvailableProviderDTO.js +13 -1
- package/dist/models/ChannelResult.d.ts +1 -0
- package/dist/models/ChannelResult.js +1 -0
- package/dist/models/ConnectorListingDTO.d.ts +2 -0
- package/dist/models/ConnectorListingDTO.js +2 -0
- package/dist/models/EdgeGatewayDTO.d.ts +1 -0
- package/dist/models/EdgeGatewayDTO.js +1 -0
- package/dist/models/HelpdeskContactDTO.d.ts +74 -0
- package/dist/models/HelpdeskContactDTO.js +64 -0
- package/dist/models/HelpdeskContextDTO.d.ts +87 -0
- package/dist/models/HelpdeskContextDTO.js +90 -0
- package/dist/models/HelpdeskLookupKeyDTO.d.ts +49 -0
- package/dist/models/HelpdeskLookupKeyDTO.js +65 -0
- package/dist/models/HelpdeskOrderDTO.d.ts +125 -0
- package/dist/models/HelpdeskOrderDTO.js +83 -0
- package/dist/models/HelpdeskOrderLineDTO.d.ts +56 -0
- package/dist/models/HelpdeskOrderLineDTO.js +58 -0
- package/dist/models/HelpdeskSidebarKeyDTO.d.ts +68 -0
- package/dist/models/HelpdeskSidebarKeyDTO.js +74 -0
- package/dist/models/HelpdeskSidebarKeyStateDTO.d.ts +72 -0
- package/dist/models/HelpdeskSidebarKeyStateDTO.js +72 -0
- package/dist/models/HostedCheckoutAddressDTO.d.ts +56 -0
- package/dist/models/HostedCheckoutAddressDTO.js +56 -0
- package/dist/models/HostedCheckoutBasketItemDTO.d.ts +56 -0
- package/dist/models/HostedCheckoutBasketItemDTO.js +56 -0
- package/dist/models/HostedCheckoutRequestDTO.d.ts +118 -0
- package/dist/models/HostedCheckoutRequestDTO.js +78 -0
- package/dist/models/{MppPaymentSessionCreateApiDTO.d.ts → HostedCheckoutResultDTO.d.ts} +18 -12
- package/dist/models/HostedCheckoutResultDTO.js +52 -0
- package/dist/models/ImportJobDTO.d.ts +1 -0
- package/dist/models/ImportJobDTO.js +1 -0
- package/dist/models/IntegrationConfigurationCreateDTO.d.ts +2 -0
- package/dist/models/IntegrationConfigurationCreateDTO.js +2 -0
- package/dist/models/IntegrationConfigurationDTO.d.ts +2 -0
- package/dist/models/IntegrationConfigurationDTO.js +2 -0
- package/dist/models/IntegrationHealthSummaryDTO.d.ts +2 -0
- package/dist/models/IntegrationHealthSummaryDTO.js +2 -0
- package/dist/models/InvoiceApiDTO.d.ts +1 -0
- package/dist/models/InvoiceApiDTO.js +2 -1
- package/dist/models/MppChallengeOpenApiDTO.d.ts +50 -0
- package/dist/models/MppChallengeOpenApiDTO.js +60 -0
- package/dist/models/MppChallengePaymentApiDTO.d.ts +56 -0
- package/dist/models/MppChallengePaymentApiDTO.js +66 -0
- package/dist/models/OrderReturnSummaryDTO.d.ts +78 -0
- package/dist/models/OrderReturnSummaryDTO.js +74 -0
- package/dist/models/OrderShipmentSummaryDTO.d.ts +92 -0
- package/dist/models/OrderShipmentSummaryDTO.js +76 -0
- package/dist/models/PaymentConfigurationDTO.d.ts +1 -0
- package/dist/models/PaymentConfigurationDTO.js +2 -1
- package/dist/models/PaymentIntentDTO.d.ts +9 -9
- package/dist/models/PaymentIntentDTO.js +27 -9
- package/dist/models/PrincipalDTO.d.ts +1 -0
- package/dist/models/PrincipalDTO.js +2 -1
- package/dist/models/ProviderHealthStatusDTO.d.ts +1 -0
- package/dist/models/ProviderHealthStatusDTO.js +1 -0
- package/dist/models/ReturnRequestDTO.d.ts +6 -0
- package/dist/models/ReturnRequestDTO.js +2 -0
- package/dist/models/SocialConnectionRegisterDTO.d.ts +1 -0
- package/dist/models/SocialConnectionRegisterDTO.js +1 -0
- package/dist/models/SocialProviderCredentialReadinessDTO.d.ts +1 -0
- package/dist/models/SocialProviderCredentialReadinessDTO.js +1 -0
- package/dist/models/UcpWebhookRegistrationDTO.d.ts +1 -1
- package/dist/models/index.d.ts +15 -1
- package/dist/models/index.js +15 -1
- package/package.json +1 -1
|
@@ -359,6 +359,69 @@ class PLATFORMLPCPlatformPaymentCheckoutApi extends runtime.BaseAPI {
|
|
|
359
359
|
return yield response.value();
|
|
360
360
|
});
|
|
361
361
|
}
|
|
362
|
+
/**
|
|
363
|
+
* Creates request options for lPC057 without sending the request
|
|
364
|
+
*/
|
|
365
|
+
lPC057RequestOpts(requestParameters) {
|
|
366
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
367
|
+
if (requestParameters['platformPurchaseOrderId'] == null) {
|
|
368
|
+
throw new runtime.RequiredError('platformPurchaseOrderId', 'Required parameter "platformPurchaseOrderId" was null or undefined when calling lPC057().');
|
|
369
|
+
}
|
|
370
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
371
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling lPC057().');
|
|
372
|
+
}
|
|
373
|
+
const queryParameters = {};
|
|
374
|
+
const headerParameters = {};
|
|
375
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
376
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
377
|
+
}
|
|
378
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
379
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
380
|
+
}
|
|
381
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
382
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
383
|
+
}
|
|
384
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
385
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
386
|
+
}
|
|
387
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
388
|
+
const token = this.configuration.accessToken;
|
|
389
|
+
const tokenString = yield token("BearerAuth", []);
|
|
390
|
+
if (tokenString) {
|
|
391
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
let urlPath = `/platform/payments/checkouts/{platformPurchaseOrderId}/pay`;
|
|
395
|
+
urlPath = urlPath.replace('{platformPurchaseOrderId}', encodeURIComponent(String(requestParameters['platformPurchaseOrderId'])));
|
|
396
|
+
return {
|
|
397
|
+
path: urlPath,
|
|
398
|
+
method: 'POST',
|
|
399
|
+
headers: headerParameters,
|
|
400
|
+
query: queryParameters,
|
|
401
|
+
};
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Pays the caller\'s own platform purchase order. Returns the order\'s open payment, or creates one, with the client secret the customer confirms it with in the browser and the platform\'s Stripe publishable key. Refused (422) while a plan checkout holds the order, and once the order\'s payment has been confirmed.
|
|
406
|
+
* LPC057 - Pay Platform Purchase Order
|
|
407
|
+
*/
|
|
408
|
+
lPC057Raw(requestParameters, initOverrides) {
|
|
409
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
410
|
+
const requestOptions = yield this.lPC057RequestOpts(requestParameters);
|
|
411
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
412
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOPlatformCheckoutDTO_1.DataResponseDTOPlatformCheckoutDTOFromJSON)(jsonValue));
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* Pays the caller\'s own platform purchase order. Returns the order\'s open payment, or creates one, with the client secret the customer confirms it with in the browser and the platform\'s Stripe publishable key. Refused (422) while a plan checkout holds the order, and once the order\'s payment has been confirmed.
|
|
417
|
+
* LPC057 - Pay Platform Purchase Order
|
|
418
|
+
*/
|
|
419
|
+
lPC057(requestParameters, initOverrides) {
|
|
420
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
421
|
+
const response = yield this.lPC057Raw(requestParameters, initOverrides);
|
|
422
|
+
return yield response.value();
|
|
423
|
+
});
|
|
424
|
+
}
|
|
362
425
|
}
|
|
363
426
|
exports.PLATFORMLPCPlatformPaymentCheckoutApi = PLATFORMLPCPlatformPaymentCheckoutApi;
|
|
364
427
|
/**
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ export * from './APIAFTFilterApi';
|
|
|
88
88
|
export * from './APIAGMGamificationApi';
|
|
89
89
|
export * from './APIAGRGoodsReceiptApi';
|
|
90
90
|
export * from './APIAIADIntegrationAdvertisingApi';
|
|
91
|
+
export * from './APIAIHDIntegrationHelpdeskApi';
|
|
91
92
|
export * from './APIAIMIntegrationMarketDataApi';
|
|
92
93
|
export * from './APIAINIntegrationApi';
|
|
93
94
|
export * from './APIAINIntegrationAmazonApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -106,6 +106,7 @@ __exportStar(require("./APIAFTFilterApi"), exports);
|
|
|
106
106
|
__exportStar(require("./APIAGMGamificationApi"), exports);
|
|
107
107
|
__exportStar(require("./APIAGRGoodsReceiptApi"), exports);
|
|
108
108
|
__exportStar(require("./APIAIADIntegrationAdvertisingApi"), exports);
|
|
109
|
+
__exportStar(require("./APIAIHDIntegrationHelpdeskApi"), exports);
|
|
109
110
|
__exportStar(require("./APIAIMIntegrationMarketDataApi"), exports);
|
|
110
111
|
__exportStar(require("./APIAINIntegrationApi"), exports);
|
|
111
112
|
__exportStar(require("./APIAINIntegrationAmazonApi"), exports);
|
|
@@ -21,23 +21,21 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import {
|
|
24
|
+
import { MppChallengeOpenApiDTOToJSON, } from '../models/MppChallengeOpenApiDTO';
|
|
25
|
+
import { MppChallengePaymentApiDTOToJSON, } from '../models/MppChallengePaymentApiDTO';
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
28
|
*/
|
|
28
29
|
export class AIIAMPPMPPPaymentApi extends runtime.BaseAPI {
|
|
29
30
|
/**
|
|
30
|
-
* Creates request options for
|
|
31
|
+
* Creates request options for iAMPP003 without sending the request
|
|
31
32
|
*/
|
|
32
|
-
|
|
33
|
+
iAMPP003RequestOpts(requestParameters) {
|
|
33
34
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
-
if (requestParameters['
|
|
35
|
-
throw new runtime.RequiredError('
|
|
35
|
+
if (requestParameters['receiptId'] == null) {
|
|
36
|
+
throw new runtime.RequiredError('receiptId', 'Required parameter "receiptId" was null or undefined when calling iAMPP003().');
|
|
36
37
|
}
|
|
37
38
|
const queryParameters = {};
|
|
38
|
-
if (requestParameters['token'] != null) {
|
|
39
|
-
queryParameters['token'] = requestParameters['token'];
|
|
40
|
-
}
|
|
41
39
|
const headerParameters = {};
|
|
42
40
|
if (this.configuration && this.configuration.accessToken) {
|
|
43
41
|
const token = this.configuration.accessToken;
|
|
@@ -46,7 +44,8 @@ export class AIIAMPPMPPPaymentApi extends runtime.BaseAPI {
|
|
|
46
44
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
|
-
let urlPath = `/pb/ai/protocols/acp/mpp/
|
|
47
|
+
let urlPath = `/pb/ai/protocols/acp/mpp/receipts/{receiptId}`;
|
|
48
|
+
urlPath = urlPath.replace('{receiptId}', encodeURIComponent(String(requestParameters['receiptId'])));
|
|
50
49
|
return {
|
|
51
50
|
path: urlPath,
|
|
52
51
|
method: 'GET',
|
|
@@ -56,33 +55,33 @@ export class AIIAMPPMPPPaymentApi extends runtime.BaseAPI {
|
|
|
56
55
|
});
|
|
57
56
|
}
|
|
58
57
|
/**
|
|
59
|
-
*
|
|
60
|
-
*
|
|
58
|
+
* Retrieves an MPP payment receipt by its UUID. Receipts are issued when a Shared Payment Token is spent (IAMPP005), and are also returned inline on the tool result as _meta.org.paymentauth/receipt.
|
|
59
|
+
* IAMPP003 - Get MPP payment receipt
|
|
61
60
|
*/
|
|
62
|
-
|
|
61
|
+
iAMPP003Raw(requestParameters, initOverrides) {
|
|
63
62
|
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
-
const requestOptions = yield this.
|
|
63
|
+
const requestOptions = yield this.iAMPP003RequestOpts(requestParameters);
|
|
65
64
|
const response = yield this.request(requestOptions, initOverrides);
|
|
66
65
|
return new runtime.JSONApiResponse(response);
|
|
67
66
|
});
|
|
68
67
|
}
|
|
69
68
|
/**
|
|
70
|
-
*
|
|
71
|
-
*
|
|
69
|
+
* Retrieves an MPP payment receipt by its UUID. Receipts are issued when a Shared Payment Token is spent (IAMPP005), and are also returned inline on the tool result as _meta.org.paymentauth/receipt.
|
|
70
|
+
* IAMPP003 - Get MPP payment receipt
|
|
72
71
|
*/
|
|
73
|
-
|
|
72
|
+
iAMPP003(requestParameters, initOverrides) {
|
|
74
73
|
return __awaiter(this, void 0, void 0, function* () {
|
|
75
|
-
const response = yield this.
|
|
74
|
+
const response = yield this.iAMPP003Raw(requestParameters, initOverrides);
|
|
76
75
|
return yield response.value();
|
|
77
76
|
});
|
|
78
77
|
}
|
|
79
78
|
/**
|
|
80
|
-
* Creates request options for
|
|
79
|
+
* Creates request options for iAMPP004 without sending the request
|
|
81
80
|
*/
|
|
82
|
-
|
|
81
|
+
iAMPP004RequestOpts(requestParameters) {
|
|
83
82
|
return __awaiter(this, void 0, void 0, function* () {
|
|
84
|
-
if (requestParameters['
|
|
85
|
-
throw new runtime.RequiredError('
|
|
83
|
+
if (requestParameters['mppChallengeOpenApiDTO'] == null) {
|
|
84
|
+
throw new runtime.RequiredError('mppChallengeOpenApiDTO', 'Required parameter "mppChallengeOpenApiDTO" was null or undefined when calling iAMPP004().');
|
|
86
85
|
}
|
|
87
86
|
const queryParameters = {};
|
|
88
87
|
const headerParameters = {};
|
|
@@ -94,47 +93,51 @@ export class AIIAMPPMPPPaymentApi extends runtime.BaseAPI {
|
|
|
94
93
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
95
94
|
}
|
|
96
95
|
}
|
|
97
|
-
let urlPath = `/pb/ai/protocols/acp/mpp/
|
|
96
|
+
let urlPath = `/pb/ai/protocols/acp/mpp/challenges`;
|
|
98
97
|
return {
|
|
99
98
|
path: urlPath,
|
|
100
99
|
method: 'POST',
|
|
101
100
|
headers: headerParameters,
|
|
102
101
|
query: queryParameters,
|
|
103
|
-
body:
|
|
102
|
+
body: MppChallengeOpenApiDTOToJSON(requestParameters['mppChallengeOpenApiDTO']),
|
|
104
103
|
};
|
|
105
104
|
});
|
|
106
105
|
}
|
|
107
106
|
/**
|
|
108
|
-
*
|
|
109
|
-
*
|
|
107
|
+
* Opens a single-use MPP payment challenge for a priced tool call: amount, currency, the platform\'s Stripe network id, and an expiry. The agent\'s wallet issues a Shared Payment Token for this challenge and presents it to IAMPP005.
|
|
108
|
+
* IAMPP004 - Open an MPP payment challenge
|
|
110
109
|
*/
|
|
111
|
-
|
|
110
|
+
iAMPP004Raw(requestParameters, initOverrides) {
|
|
112
111
|
return __awaiter(this, void 0, void 0, function* () {
|
|
113
|
-
const requestOptions = yield this.
|
|
112
|
+
const requestOptions = yield this.iAMPP004RequestOpts(requestParameters);
|
|
114
113
|
const response = yield this.request(requestOptions, initOverrides);
|
|
115
114
|
return new runtime.JSONApiResponse(response);
|
|
116
115
|
});
|
|
117
116
|
}
|
|
118
117
|
/**
|
|
119
|
-
*
|
|
120
|
-
*
|
|
118
|
+
* Opens a single-use MPP payment challenge for a priced tool call: amount, currency, the platform\'s Stripe network id, and an expiry. The agent\'s wallet issues a Shared Payment Token for this challenge and presents it to IAMPP005.
|
|
119
|
+
* IAMPP004 - Open an MPP payment challenge
|
|
121
120
|
*/
|
|
122
|
-
|
|
121
|
+
iAMPP004(requestParameters, initOverrides) {
|
|
123
122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
124
|
-
const response = yield this.
|
|
123
|
+
const response = yield this.iAMPP004Raw(requestParameters, initOverrides);
|
|
125
124
|
return yield response.value();
|
|
126
125
|
});
|
|
127
126
|
}
|
|
128
127
|
/**
|
|
129
|
-
* Creates request options for
|
|
128
|
+
* Creates request options for iAMPP005 without sending the request
|
|
130
129
|
*/
|
|
131
|
-
|
|
130
|
+
iAMPP005RequestOpts(requestParameters) {
|
|
132
131
|
return __awaiter(this, void 0, void 0, function* () {
|
|
133
|
-
if (requestParameters['
|
|
134
|
-
throw new runtime.RequiredError('
|
|
132
|
+
if (requestParameters['challengeId'] == null) {
|
|
133
|
+
throw new runtime.RequiredError('challengeId', 'Required parameter "challengeId" was null or undefined when calling iAMPP005().');
|
|
134
|
+
}
|
|
135
|
+
if (requestParameters['mppChallengePaymentApiDTO'] == null) {
|
|
136
|
+
throw new runtime.RequiredError('mppChallengePaymentApiDTO', 'Required parameter "mppChallengePaymentApiDTO" was null or undefined when calling iAMPP005().');
|
|
135
137
|
}
|
|
136
138
|
const queryParameters = {};
|
|
137
139
|
const headerParameters = {};
|
|
140
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
138
141
|
if (this.configuration && this.configuration.accessToken) {
|
|
139
142
|
const token = this.configuration.accessToken;
|
|
140
143
|
const tokenString = yield token("BearerAuth", []);
|
|
@@ -142,34 +145,35 @@ export class AIIAMPPMPPPaymentApi extends runtime.BaseAPI {
|
|
|
142
145
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
143
146
|
}
|
|
144
147
|
}
|
|
145
|
-
let urlPath = `/pb/ai/protocols/acp/mpp/
|
|
146
|
-
urlPath = urlPath.replace('{
|
|
148
|
+
let urlPath = `/pb/ai/protocols/acp/mpp/challenges/{challengeId}/payment`;
|
|
149
|
+
urlPath = urlPath.replace('{challengeId}', encodeURIComponent(String(requestParameters['challengeId'])));
|
|
147
150
|
return {
|
|
148
151
|
path: urlPath,
|
|
149
|
-
method: '
|
|
152
|
+
method: 'POST',
|
|
150
153
|
headers: headerParameters,
|
|
151
154
|
query: queryParameters,
|
|
155
|
+
body: MppChallengePaymentApiDTOToJSON(requestParameters['mppChallengePaymentApiDTO']),
|
|
152
156
|
};
|
|
153
157
|
});
|
|
154
158
|
}
|
|
155
159
|
/**
|
|
156
|
-
*
|
|
157
|
-
*
|
|
160
|
+
* Charges the agent-supplied Shared Payment Token against a PENDING challenge opened by IAMPP004. Single-use, bound to the challenge\'s tool/amount/currency, and idempotent on retry (idempotency key derived from the challenge id).
|
|
161
|
+
* IAMPP005 - Pay an MPP challenge with a Shared Payment Token
|
|
158
162
|
*/
|
|
159
|
-
|
|
163
|
+
iAMPP005Raw(requestParameters, initOverrides) {
|
|
160
164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
161
|
-
const requestOptions = yield this.
|
|
165
|
+
const requestOptions = yield this.iAMPP005RequestOpts(requestParameters);
|
|
162
166
|
const response = yield this.request(requestOptions, initOverrides);
|
|
163
167
|
return new runtime.JSONApiResponse(response);
|
|
164
168
|
});
|
|
165
169
|
}
|
|
166
170
|
/**
|
|
167
|
-
*
|
|
168
|
-
*
|
|
171
|
+
* Charges the agent-supplied Shared Payment Token against a PENDING challenge opened by IAMPP004. Single-use, bound to the challenge\'s tool/amount/currency, and idempotent on retry (idempotency key derived from the challenge id).
|
|
172
|
+
* IAMPP005 - Pay an MPP challenge with a Shared Payment Token
|
|
169
173
|
*/
|
|
170
|
-
|
|
174
|
+
iAMPP005(requestParameters, initOverrides) {
|
|
171
175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
172
|
-
const response = yield this.
|
|
176
|
+
const response = yield this.iAMPP005Raw(requestParameters, initOverrides);
|
|
173
177
|
return yield response.value();
|
|
174
178
|
});
|
|
175
179
|
}
|
|
@@ -72,7 +72,7 @@ export class AIIUCPCUCPConfigurationApi extends runtime.BaseAPI {
|
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
|
-
* Registers
|
|
75
|
+
* Registers a webhook endpoint for the UCP order lifecycle events of the orders one agent places with this seller. `agentId` is that agent\'s profile URI, as the agent sends it in `agentProfileUri` when it opens a checkout session (or in the buyer\'s `agentProfileUri` when the request has none at the top). It is compared character for character, so a different case, a trailing slash or a surrounding space names a different agent, and an order\'s events reach only the active registrations of the agent that placed it. `endpointUrl` must be a public https URL. `subscribedEvents` names event types with or without the `ucp.` prefix (`order.shipped` or `ucp.order.shipped`). Registering the same agent and endpoint again replaces the subscribed events and returns the same registration.
|
|
76
76
|
* IUCPC023 - Register Agent Webhook
|
|
77
77
|
*/
|
|
78
78
|
iUCPC023Raw(requestParameters, initOverrides) {
|
|
@@ -83,7 +83,7 @@ export class AIIUCPCUCPConfigurationApi extends runtime.BaseAPI {
|
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
|
-
* Registers
|
|
86
|
+
* Registers a webhook endpoint for the UCP order lifecycle events of the orders one agent places with this seller. `agentId` is that agent\'s profile URI, as the agent sends it in `agentProfileUri` when it opens a checkout session (or in the buyer\'s `agentProfileUri` when the request has none at the top). It is compared character for character, so a different case, a trailing slash or a surrounding space names a different agent, and an order\'s events reach only the active registrations of the agent that placed it. `endpointUrl` must be a public https URL. `subscribedEvents` names event types with or without the `ucp.` prefix (`order.shipped` or `ucp.order.shipped`). Registering the same agent and endpoint again replaces the subscribed events and returns the same registration.
|
|
87
87
|
* IUCPC023 - Register Agent Webhook
|
|
88
88
|
*/
|
|
89
89
|
iUCPC023(requestParameters, initOverrides) {
|
|
@@ -135,7 +135,7 @@ export class APIAGRGoodsReceiptApi extends runtime.BaseAPI {
|
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
|
-
* Receives the goods
|
|
138
|
+
* Receives the goods and puts each line away at its destination bin. With the PRO/PREMIUM lot-tracking entitlement each line creates a StockLot and increases on-hand (receiveNewLot); without it each line increases on-hand as plain stock, and a line carrying a lot number, an expiry date or a condition other than AVAILABLE is refused (402). Flips DRAFT -> RECEIVED / PUT_AWAY.
|
|
139
139
|
* AGR002 - Receive Goods Receipt
|
|
140
140
|
*/
|
|
141
141
|
aGR002Raw(requestParameters, initOverrides) {
|
|
@@ -146,7 +146,7 @@ export class APIAGRGoodsReceiptApi extends runtime.BaseAPI {
|
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
|
-
* Receives the goods
|
|
149
|
+
* Receives the goods and puts each line away at its destination bin. With the PRO/PREMIUM lot-tracking entitlement each line creates a StockLot and increases on-hand (receiveNewLot); without it each line increases on-hand as plain stock, and a line carrying a lot number, an expiry date or a condition other than AVAILABLE is refused (402). Flips DRAFT -> RECEIVED / PUT_AWAY.
|
|
150
150
|
* AGR002 - Receive Goods Receipt
|
|
151
151
|
*/
|
|
152
152
|
aGR002(requestParameters, initOverrides) {
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vergefy API
|
|
5
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
+
* Contact: support@integrahub.co
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { HelpdeskContextDTOFromJSON, } from '../models/HelpdeskContextDTO';
|
|
25
|
+
import { HelpdeskSidebarKeyDTOFromJSON, } from '../models/HelpdeskSidebarKeyDTO';
|
|
26
|
+
import { HelpdeskSidebarKeyStateDTOFromJSON, } from '../models/HelpdeskSidebarKeyStateDTO';
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export class APIAIHDIntegrationHelpdeskApi extends runtime.BaseAPI {
|
|
31
|
+
/**
|
|
32
|
+
* Creates request options for aIHD001 without sending the request
|
|
33
|
+
*/
|
|
34
|
+
aIHD001RequestOpts(requestParameters) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
37
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aIHD001().');
|
|
38
|
+
}
|
|
39
|
+
const queryParameters = {};
|
|
40
|
+
if (requestParameters['contactId'] != null) {
|
|
41
|
+
queryParameters['contactId'] = requestParameters['contactId'];
|
|
42
|
+
}
|
|
43
|
+
if (requestParameters['email'] != null) {
|
|
44
|
+
queryParameters['email'] = requestParameters['email'];
|
|
45
|
+
}
|
|
46
|
+
if (requestParameters['orderNumber'] != null) {
|
|
47
|
+
queryParameters['orderNumber'] = requestParameters['orderNumber'];
|
|
48
|
+
}
|
|
49
|
+
const headerParameters = {};
|
|
50
|
+
if (requestParameters['xHelpdeskAgentEmail'] != null) {
|
|
51
|
+
headerParameters['X-Helpdesk-Agent-Email'] = String(requestParameters['xHelpdeskAgentEmail']);
|
|
52
|
+
}
|
|
53
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
54
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
55
|
+
}
|
|
56
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
57
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
58
|
+
}
|
|
59
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
60
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
61
|
+
}
|
|
62
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
63
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
64
|
+
}
|
|
65
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
66
|
+
const token = this.configuration.accessToken;
|
|
67
|
+
const tokenString = yield token("BearerAuth", []);
|
|
68
|
+
if (tokenString) {
|
|
69
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
let urlPath = `/api/integrations/helpdesk/context`;
|
|
73
|
+
return {
|
|
74
|
+
path: urlPath,
|
|
75
|
+
method: 'GET',
|
|
76
|
+
headers: headerParameters,
|
|
77
|
+
query: queryParameters,
|
|
78
|
+
};
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* What Vergefy knows about a helpdesk ticket\'s requester, in one call: the matched contact (or up to 5 candidates sharing the e-mail), their latest 10 orders with lines, shipments, returns and stock on hand, money as decimal strings. Keys are tried most specific first: contactId, orderNumber (a Vergefy order number, then a marketplace\'s own order id, Amazon\'s included, then the number the marketplace showed its customer, Shopify\'s #1042 for one), email. No match is a 200 with empty lists and the keys tried. A section the caller may not read is left out and named in omittedSections, never an error.
|
|
83
|
+
* AIHD001 - Get Helpdesk Order Context
|
|
84
|
+
*/
|
|
85
|
+
aIHD001Raw(requestParameters, initOverrides) {
|
|
86
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
+
const requestOptions = yield this.aIHD001RequestOpts(requestParameters);
|
|
88
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
89
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => HelpdeskContextDTOFromJSON(jsonValue));
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* What Vergefy knows about a helpdesk ticket\'s requester, in one call: the matched contact (or up to 5 candidates sharing the e-mail), their latest 10 orders with lines, shipments, returns and stock on hand, money as decimal strings. Keys are tried most specific first: contactId, orderNumber (a Vergefy order number, then a marketplace\'s own order id, Amazon\'s included, then the number the marketplace showed its customer, Shopify\'s #1042 for one), email. No match is a 200 with empty lists and the keys tried. A section the caller may not read is left out and named in omittedSections, never an error.
|
|
94
|
+
* AIHD001 - Get Helpdesk Order Context
|
|
95
|
+
*/
|
|
96
|
+
aIHD001(requestParameters, initOverrides) {
|
|
97
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
98
|
+
const response = yield this.aIHD001Raw(requestParameters, initOverrides);
|
|
99
|
+
return yield response.value();
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Creates request options for aIHD002 without sending the request
|
|
104
|
+
*/
|
|
105
|
+
aIHD002RequestOpts(requestParameters) {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
if (requestParameters['id'] == null) {
|
|
108
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling aIHD002().');
|
|
109
|
+
}
|
|
110
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
111
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aIHD002().');
|
|
112
|
+
}
|
|
113
|
+
const queryParameters = {};
|
|
114
|
+
const headerParameters = {};
|
|
115
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
116
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
117
|
+
}
|
|
118
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
119
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
120
|
+
}
|
|
121
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
122
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
123
|
+
}
|
|
124
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
125
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
126
|
+
}
|
|
127
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
128
|
+
const token = this.configuration.accessToken;
|
|
129
|
+
const tokenString = yield token("BearerAuth", []);
|
|
130
|
+
if (tokenString) {
|
|
131
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
let urlPath = `/api/integrations/helpdesk/connections/{id}/sidebar-key`;
|
|
135
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
136
|
+
return {
|
|
137
|
+
path: urlPath,
|
|
138
|
+
method: 'GET',
|
|
139
|
+
headers: headerParameters,
|
|
140
|
+
query: queryParameters,
|
|
141
|
+
};
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Where a helpdesk connection\'s sidebar key stands: never issued, working, revoked (replaced, or the connection was switched off) or switched off with its principal, with the key\'s prefix and dates. Never returns the key itself.
|
|
146
|
+
* AIHD002 - Get Helpdesk Sidebar Key Status
|
|
147
|
+
*/
|
|
148
|
+
aIHD002Raw(requestParameters, initOverrides) {
|
|
149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
150
|
+
const requestOptions = yield this.aIHD002RequestOpts(requestParameters);
|
|
151
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
152
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => HelpdeskSidebarKeyStateDTOFromJSON(jsonValue));
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Where a helpdesk connection\'s sidebar key stands: never issued, working, revoked (replaced, or the connection was switched off) or switched off with its principal, with the key\'s prefix and dates. Never returns the key itself.
|
|
157
|
+
* AIHD002 - Get Helpdesk Sidebar Key Status
|
|
158
|
+
*/
|
|
159
|
+
aIHD002(requestParameters, initOverrides) {
|
|
160
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
161
|
+
const response = yield this.aIHD002Raw(requestParameters, initOverrides);
|
|
162
|
+
return yield response.value();
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Creates request options for aIHD100 without sending the request
|
|
167
|
+
*/
|
|
168
|
+
aIHD100RequestOpts(requestParameters) {
|
|
169
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
170
|
+
if (requestParameters['id'] == null) {
|
|
171
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling aIHD100().');
|
|
172
|
+
}
|
|
173
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
174
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aIHD100().');
|
|
175
|
+
}
|
|
176
|
+
const queryParameters = {};
|
|
177
|
+
const headerParameters = {};
|
|
178
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
179
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
180
|
+
}
|
|
181
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
182
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
183
|
+
}
|
|
184
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
185
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
186
|
+
}
|
|
187
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
188
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
189
|
+
}
|
|
190
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
191
|
+
const token = this.configuration.accessToken;
|
|
192
|
+
const tokenString = yield token("BearerAuth", []);
|
|
193
|
+
if (tokenString) {
|
|
194
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
let urlPath = `/api/integrations/helpdesk/connections/{id}/sidebar-key`;
|
|
198
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
199
|
+
return {
|
|
200
|
+
path: urlPath,
|
|
201
|
+
method: 'POST',
|
|
202
|
+
headers: headerParameters,
|
|
203
|
+
query: queryParameters,
|
|
204
|
+
};
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Issues the helpdesk sidebar\'s key for a helpdesk connection, or replaces it: the previous key stops working at once. The key belongs to the connection\'s own service principal and may only read contacts, orders, shipments, returns and stock, and create returns. The secret is returned only in this response. The caller must be a person holding all of those permissions.
|
|
209
|
+
* AIHD100 - Issue Helpdesk Sidebar Key
|
|
210
|
+
*/
|
|
211
|
+
aIHD100Raw(requestParameters, initOverrides) {
|
|
212
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
213
|
+
const requestOptions = yield this.aIHD100RequestOpts(requestParameters);
|
|
214
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
215
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => HelpdeskSidebarKeyDTOFromJSON(jsonValue));
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Issues the helpdesk sidebar\'s key for a helpdesk connection, or replaces it: the previous key stops working at once. The key belongs to the connection\'s own service principal and may only read contacts, orders, shipments, returns and stock, and create returns. The secret is returned only in this response. The caller must be a person holding all of those permissions.
|
|
220
|
+
* AIHD100 - Issue Helpdesk Sidebar Key
|
|
221
|
+
*/
|
|
222
|
+
aIHD100(requestParameters, initOverrides) {
|
|
223
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
224
|
+
const response = yield this.aIHD100Raw(requestParameters, initOverrides);
|
|
225
|
+
return yield response.value();
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
}
|
|
@@ -2039,6 +2039,7 @@ export const AIN103ProviderTypeEnum = {
|
|
|
2039
2039
|
Aws: 'AWS',
|
|
2040
2040
|
BambuCloud: 'BAMBU_CLOUD',
|
|
2041
2041
|
EdgeAgent: 'EDGE_AGENT',
|
|
2042
|
+
Zendesk: 'ZENDESK',
|
|
2042
2043
|
Custom: 'CUSTOM'
|
|
2043
2044
|
};
|
|
2044
2045
|
/**
|
|
@@ -2063,6 +2064,7 @@ export const AIN104CategoryTypeEnum = {
|
|
|
2063
2064
|
Storage: 'STORAGE',
|
|
2064
2065
|
Identity: 'IDENTITY',
|
|
2065
2066
|
DeviceConnectivity: 'DEVICE_CONNECTIVITY',
|
|
2067
|
+
Helpdesk: 'HELPDESK',
|
|
2066
2068
|
Custom: 'CUSTOM'
|
|
2067
2069
|
};
|
|
2068
2070
|
/**
|
|
@@ -2087,6 +2089,7 @@ export const AIN105CategoryTypeEnum = {
|
|
|
2087
2089
|
Storage: 'STORAGE',
|
|
2088
2090
|
Identity: 'IDENTITY',
|
|
2089
2091
|
DeviceConnectivity: 'DEVICE_CONNECTIVITY',
|
|
2092
|
+
Helpdesk: 'HELPDESK',
|
|
2090
2093
|
Custom: 'CUSTOM'
|
|
2091
2094
|
};
|
|
2092
2095
|
/**
|
|
@@ -2147,6 +2150,7 @@ export const AIN106ProviderTypeEnum = {
|
|
|
2147
2150
|
Aws: 'AWS',
|
|
2148
2151
|
BambuCloud: 'BAMBU_CLOUD',
|
|
2149
2152
|
EdgeAgent: 'EDGE_AGENT',
|
|
2153
|
+
Zendesk: 'ZENDESK',
|
|
2150
2154
|
Custom: 'CUSTOM'
|
|
2151
2155
|
};
|
|
2152
2156
|
/**
|
|
@@ -2171,6 +2175,7 @@ export const AIN106CategoryTypeEnum = {
|
|
|
2171
2175
|
Storage: 'STORAGE',
|
|
2172
2176
|
Identity: 'IDENTITY',
|
|
2173
2177
|
DeviceConnectivity: 'DEVICE_CONNECTIVITY',
|
|
2178
|
+
Helpdesk: 'HELPDESK',
|
|
2174
2179
|
Custom: 'CUSTOM'
|
|
2175
2180
|
};
|
|
2176
2181
|
/**
|