@unified-api/typescript-sdk 1.0.0 → 1.0.1
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 +54 -700
- package/dist/sdk/accounting.d.ts +0 -40
- package/dist/sdk/accounting.js +44 -696
- package/dist/sdk/link.d.ts +31 -0
- package/dist/sdk/link.js +503 -0
- package/dist/sdk/models/operations/{createaccountingpayment.d.ts → createpaymentlink.d.ts} +7 -7
- package/dist/sdk/models/operations/createpaymentlink.js +95 -0
- package/dist/sdk/models/operations/createpaymentpayment.d.ts +28 -0
- package/dist/sdk/models/operations/{createaccountingpayment.js → createpaymentpayment.js} +20 -20
- package/dist/sdk/models/operations/getpaymentlink.d.ts +35 -0
- package/dist/sdk/models/operations/getpaymentlink.js +99 -0
- package/dist/sdk/models/operations/{getaccountingpayment.d.ts → getpaymentpayment.d.ts} +6 -6
- package/dist/sdk/models/operations/{getaccountingpayment.js → getpaymentpayment.js} +20 -20
- package/dist/sdk/models/operations/{getaccountingpayout.d.ts → getpaymentpayout.d.ts} +6 -6
- package/dist/sdk/models/operations/{getaccountingpayout.js → getpaymentpayout.js} +20 -20
- package/dist/sdk/models/operations/{getaccountingrefund.d.ts → getpaymentrefund.d.ts} +6 -6
- package/dist/sdk/models/operations/{getaccountingrefund.js → getpaymentrefund.js} +20 -20
- package/dist/sdk/models/operations/getunifiedintegrationauth.d.ts +6 -4
- package/dist/sdk/models/operations/getunifiedintegrationauth.js +6 -4
- package/dist/sdk/models/operations/index.d.ts +16 -10
- package/dist/sdk/models/operations/index.js +16 -10
- package/dist/sdk/models/operations/listpaymentlinks.d.ts +51 -0
- package/dist/sdk/models/operations/listpaymentlinks.js +127 -0
- package/dist/sdk/models/operations/{listaccountingpayments.d.ts → listpaymentpayments.d.ts} +6 -6
- package/dist/sdk/models/operations/{listaccountingpayments.js → listpaymentpayments.js} +28 -28
- package/dist/sdk/models/operations/{listaccountingpayouts.d.ts → listpaymentpayouts.d.ts} +6 -6
- package/dist/sdk/models/operations/{listaccountingpayouts.js → listpaymentpayouts.js} +26 -26
- package/dist/sdk/models/operations/{listaccountingrefunds.d.ts → listpaymentrefunds.d.ts} +6 -6
- package/dist/sdk/models/operations/{listaccountingrefunds.js → listpaymentrefunds.js} +27 -27
- package/dist/sdk/models/operations/listunifiedconnections.d.ts +2 -1
- package/dist/sdk/models/operations/listunifiedconnections.js +1 -0
- package/dist/sdk/models/operations/listunifiedintegrations.d.ts +2 -1
- package/dist/sdk/models/operations/listunifiedintegrations.js +1 -0
- package/dist/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +2 -1
- package/dist/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
- package/dist/sdk/models/operations/patchpaymentlink.d.ts +32 -0
- package/dist/sdk/models/operations/patchpaymentlink.js +99 -0
- package/dist/sdk/models/operations/{patchaccountingpayment.d.ts → patchpaymentpayment.d.ts} +7 -7
- package/dist/sdk/models/operations/{patchaccountingpayment.js → patchpaymentpayment.js} +21 -21
- package/dist/sdk/models/operations/removepaymentlink.d.ts +30 -0
- package/dist/sdk/models/operations/{removeaccountingpayment.js → removepaymentlink.js} +17 -17
- package/dist/sdk/models/operations/{removeaccountingpayment.d.ts → removepaymentpayment.d.ts} +2 -2
- package/dist/sdk/models/operations/removepaymentpayment.js +71 -0
- package/dist/sdk/models/operations/updatepaymentlink.d.ts +32 -0
- package/dist/sdk/models/operations/updatepaymentlink.js +99 -0
- package/dist/sdk/models/operations/{updateaccountingpayment.d.ts → updatepaymentpayment.d.ts} +7 -7
- package/dist/sdk/models/operations/{updateaccountingpayment.js → updatepaymentpayment.js} +21 -21
- package/dist/sdk/models/shared/index.d.ts +5 -3
- package/dist/sdk/models/shared/index.js +5 -3
- package/dist/sdk/models/shared/paymenntlinklineitem.d.ts +20 -0
- package/dist/sdk/models/shared/paymenntlinklineitem.js +137 -0
- package/dist/sdk/models/shared/paymentlink.d.ts +15 -0
- package/dist/sdk/models/shared/paymentlink.js +105 -0
- package/dist/sdk/models/shared/{accountingpayment.d.ts → paymentpayment.d.ts} +1 -1
- package/dist/sdk/models/shared/{accountingpayment.js → paymentpayment.js} +18 -18
- package/dist/sdk/models/shared/{accountingpayout.d.ts → paymentpayout.d.ts} +3 -3
- package/dist/sdk/models/shared/{accountingpayout.js → paymentpayout.js} +21 -21
- package/dist/sdk/models/shared/{accountingrefund.d.ts → paymentrefund.d.ts} +3 -3
- package/dist/sdk/models/shared/{accountingrefund.js → paymentrefund.js} +23 -23
- package/dist/sdk/models/shared/propertyconnectioncategories.d.ts +2 -1
- package/dist/sdk/models/shared/propertyconnectioncategories.js +1 -0
- package/dist/sdk/models/shared/propertyconnectionpermissions.d.ts +6 -4
- package/dist/sdk/models/shared/propertyconnectionpermissions.js +6 -4
- package/dist/sdk/models/shared/propertyintegrationcategories.d.ts +2 -1
- package/dist/sdk/models/shared/propertyintegrationcategories.js +1 -0
- package/dist/sdk/models/shared/webhook.d.ts +4 -3
- package/dist/sdk/models/shared/webhook.js +4 -3
- package/dist/sdk/payment.d.ts +46 -6
- package/dist/sdk/payment.js +705 -53
- package/dist/sdk/payout.d.ts +2 -2
- package/dist/sdk/payout.js +11 -11
- package/dist/sdk/refund.d.ts +2 -2
- package/dist/sdk/refund.js +11 -11
- package/dist/sdk/sdk.d.ts +5 -3
- package/dist/sdk/sdk.js +7 -5
- package/docs/sdk/models/operations/categories.md +2 -1
- package/docs/sdk/models/operations/createpaymentlinkrequest.md +9 -0
- package/docs/sdk/models/operations/createpaymentlinkresponse.md +11 -0
- package/docs/sdk/models/operations/createpaymentpaymentrequest.md +9 -0
- package/docs/sdk/models/operations/createpaymentpaymentresponse.md +11 -0
- package/docs/sdk/models/operations/getpaymentlinkrequest.md +10 -0
- package/docs/sdk/models/operations/getpaymentlinkresponse.md +11 -0
- package/docs/sdk/models/operations/{getaccountingpaymentrequest.md → getpaymentpaymentrequest.md} +1 -1
- package/docs/sdk/models/operations/getpaymentpaymentresponse.md +11 -0
- package/docs/sdk/models/operations/{getaccountingpayoutrequest.md → getpaymentpayoutrequest.md} +1 -1
- package/docs/sdk/models/operations/getpaymentpayoutresponse.md +11 -0
- package/docs/sdk/models/operations/{getaccountingrefundrequest.md → getpaymentrefundrequest.md} +1 -1
- package/docs/sdk/models/operations/getpaymentrefundresponse.md +11 -0
- package/docs/sdk/models/operations/listpaymentlinksrequest.md +17 -0
- package/docs/sdk/models/operations/listpaymentlinksresponse.md +11 -0
- package/docs/sdk/models/operations/{listaccountingpaymentsrequest.md → listpaymentpaymentsrequest.md} +1 -1
- package/docs/sdk/models/operations/listpaymentpaymentsresponse.md +11 -0
- package/docs/sdk/models/operations/{listaccountingpayoutsrequest.md → listpaymentpayoutsrequest.md} +1 -1
- package/docs/sdk/models/operations/listpaymentpayoutsresponse.md +11 -0
- package/docs/sdk/models/operations/{listaccountingrefundsrequest.md → listpaymentrefundsrequest.md} +1 -1
- package/docs/sdk/models/operations/listpaymentrefundsresponse.md +11 -0
- package/docs/sdk/models/operations/listunifiedintegrationsqueryparamcategories.md +2 -1
- package/docs/sdk/models/operations/patchpaymentlinkrequest.md +10 -0
- package/docs/sdk/models/operations/patchpaymentlinkresponse.md +11 -0
- package/docs/sdk/models/operations/patchpaymentpaymentrequest.md +10 -0
- package/docs/sdk/models/operations/patchpaymentpaymentresponse.md +11 -0
- package/docs/sdk/models/operations/queryparamcategories.md +2 -1
- package/docs/sdk/models/operations/{removeaccountingpaymentrequest.md → removepaymentlinkrequest.md} +2 -2
- package/docs/sdk/models/operations/{removeaccountingpaymentresponse.md → removepaymentlinkresponse.md} +1 -1
- package/docs/sdk/models/operations/removepaymentpaymentrequest.md +9 -0
- package/docs/sdk/models/operations/removepaymentpaymentresponse.md +11 -0
- package/docs/sdk/models/operations/scopes.md +6 -4
- package/docs/sdk/models/operations/updatepaymentlinkrequest.md +10 -0
- package/docs/sdk/models/operations/updatepaymentlinkresponse.md +11 -0
- package/docs/sdk/models/operations/updatepaymentpaymentrequest.md +10 -0
- package/docs/sdk/models/operations/updatepaymentpaymentresponse.md +11 -0
- package/docs/sdk/models/shared/objecttype.md +4 -3
- package/docs/sdk/models/shared/paymenntlinklineitem.md +24 -0
- package/docs/sdk/models/shared/paymentlink.md +18 -0
- package/docs/sdk/models/shared/{accountingpayment.md → paymentpayment.md} +1 -1
- package/docs/sdk/models/shared/paymentpayout.md +15 -0
- package/docs/sdk/models/shared/{accountingpayoutstatus.md → paymentpayoutstatus.md} +1 -1
- package/docs/sdk/models/shared/paymentrefund.md +17 -0
- package/docs/sdk/models/shared/{accountingrefundstatus.md → paymentrefundstatus.md} +1 -1
- package/docs/sdk/models/shared/propertyconnectioncategories.md +2 -1
- package/docs/sdk/models/shared/propertyconnectionpermissions.md +6 -4
- package/docs/sdk/models/shared/propertyintegrationcategories.md +2 -1
- package/package.json +1 -1
- package/docs/sdk/models/operations/createaccountingpaymentrequest.md +0 -9
- package/docs/sdk/models/operations/createaccountingpaymentresponse.md +0 -11
- package/docs/sdk/models/operations/getaccountingpaymentresponse.md +0 -11
- package/docs/sdk/models/operations/getaccountingpayoutresponse.md +0 -11
- package/docs/sdk/models/operations/getaccountingrefundresponse.md +0 -11
- package/docs/sdk/models/operations/listaccountingpaymentsresponse.md +0 -11
- package/docs/sdk/models/operations/listaccountingpayoutsresponse.md +0 -11
- package/docs/sdk/models/operations/listaccountingrefundsresponse.md +0 -11
- package/docs/sdk/models/operations/patchaccountingpaymentrequest.md +0 -10
- package/docs/sdk/models/operations/patchaccountingpaymentresponse.md +0 -11
- package/docs/sdk/models/operations/updateaccountingpaymentrequest.md +0 -10
- package/docs/sdk/models/operations/updateaccountingpaymentresponse.md +0 -11
- package/docs/sdk/models/shared/accountingpayout.md +0 -15
- package/docs/sdk/models/shared/accountingrefund.md +0 -17
- package/docs/sdks/account/README.md +0 -312
- package/docs/sdks/accounting/README.md +0 -2198
- package/docs/sdks/activity/README.md +0 -321
- package/docs/sdks/apicall/README.md +0 -95
- package/docs/sdks/application/README.md +0 -333
- package/docs/sdks/applicationstatus/README.md +0 -54
- package/docs/sdks/ats/README.md +0 -2488
- package/docs/sdks/auth/README.md +0 -103
- package/docs/sdks/call/README.md +0 -54
- package/docs/sdks/candidate/README.md +0 -369
- package/docs/sdks/collection/README.md +0 -348
- package/docs/sdks/commerce/README.md +0 -1371
- package/docs/sdks/company/README.md +0 -517
- package/docs/sdks/connection/README.md +0 -359
- package/docs/sdks/contact/README.md +0 -1028
- package/docs/sdks/crm/README.md +0 -2048
- package/docs/sdks/customer/README.md +0 -348
- package/docs/sdks/deal/README.md +0 -315
- package/docs/sdks/document/README.md +0 -309
- package/docs/sdks/employee/README.md +0 -363
- package/docs/sdks/enrich/README.md +0 -97
- package/docs/sdks/event/README.md +0 -390
- package/docs/sdks/file/README.md +0 -330
- package/docs/sdks/group/README.md +0 -327
- package/docs/sdks/hris/README.md +0 -685
- package/docs/sdks/integration/README.md +0 -155
- package/docs/sdks/interview/README.md +0 -318
- package/docs/sdks/inventory/README.md +0 -309
- package/docs/sdks/invoice/README.md +0 -324
- package/docs/sdks/issue/README.md +0 -49
- package/docs/sdks/item/README.md +0 -417
- package/docs/sdks/job/README.md +0 -396
- package/docs/sdks/lead/README.md +0 -336
- package/docs/sdks/list/README.md +0 -306
- package/docs/sdks/location/README.md +0 -312
- package/docs/sdks/login/README.md +0 -52
- package/docs/sdks/martech/README.md +0 -643
- package/docs/sdks/member/README.md +0 -342
- package/docs/sdks/note/README.md +0 -306
- package/docs/sdks/organization/README.md +0 -104
- package/docs/sdks/passthrough/README.md +0 -249
- package/docs/sdks/payment/README.md +0 -306
- package/docs/sdks/payout/README.md +0 -104
- package/docs/sdks/person/README.md +0 -51
- package/docs/sdks/pipeline/README.md +0 -306
- package/docs/sdks/refund/README.md +0 -104
- package/docs/sdks/scorecard/README.md +0 -324
- package/docs/sdks/storage/README.md +0 -330
- package/docs/sdks/taxrate/README.md +0 -312
- package/docs/sdks/ticket/README.md +0 -318
- package/docs/sdks/ticketing/README.md +0 -962
- package/docs/sdks/transaction/README.md +0 -327
- package/docs/sdks/uc/README.md +0 -388
- package/docs/sdks/unified/README.md +0 -929
- package/docs/sdks/unifiedto/README.md +0 -9
- package/docs/sdks/webhook/README.md +0 -291
package/dist/sdk/payout.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ export declare class Payout {
|
|
|
7
7
|
/**
|
|
8
8
|
* Retrieve a payout
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
getPaymentPayout(req: operations.GetPaymentPayoutRequest, config?: AxiosRequestConfig): Promise<operations.GetPaymentPayoutResponse>;
|
|
11
11
|
/**
|
|
12
12
|
* List all payouts
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
listPaymentPayouts(req: operations.ListPaymentPayoutsRequest, config?: AxiosRequestConfig): Promise<operations.ListPaymentPayoutsResponse>;
|
|
15
15
|
}
|
package/dist/sdk/payout.js
CHANGED
|
@@ -85,7 +85,7 @@ var Payout = /** @class */ (function () {
|
|
|
85
85
|
/**
|
|
86
86
|
* Retrieve a payout
|
|
87
87
|
*/
|
|
88
|
-
Payout.prototype.
|
|
88
|
+
Payout.prototype.getPaymentPayout = function (req, config) {
|
|
89
89
|
var _a, _b;
|
|
90
90
|
return __awaiter(this, void 0, void 0, function () {
|
|
91
91
|
var baseURL, operationUrl, client, globalSecurity, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes;
|
|
@@ -93,10 +93,10 @@ var Payout = /** @class */ (function () {
|
|
|
93
93
|
switch (_c.label) {
|
|
94
94
|
case 0:
|
|
95
95
|
if (!(req instanceof utils.SpeakeasyBase)) {
|
|
96
|
-
req = new operations.
|
|
96
|
+
req = new operations.GetPaymentPayoutRequest(req);
|
|
97
97
|
}
|
|
98
98
|
baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
|
|
99
|
-
operationUrl = utils.generateURL(baseURL, "/
|
|
99
|
+
operationUrl = utils.generateURL(baseURL, "/payment/{connection_id}/payout/{id}", req);
|
|
100
100
|
client = this.sdkConfiguration.defaultClient;
|
|
101
101
|
globalSecurity = this.sdkConfiguration.security;
|
|
102
102
|
if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
|
|
@@ -120,7 +120,7 @@ var Payout = /** @class */ (function () {
|
|
|
120
120
|
if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
|
|
121
121
|
throw new Error("status code not found in response: ".concat(httpRes));
|
|
122
122
|
}
|
|
123
|
-
res = new operations.
|
|
123
|
+
res = new operations.GetPaymentPayoutResponse({
|
|
124
124
|
statusCode: httpRes.status,
|
|
125
125
|
contentType: responseContentType,
|
|
126
126
|
rawResponse: httpRes,
|
|
@@ -129,7 +129,7 @@ var Payout = /** @class */ (function () {
|
|
|
129
129
|
switch (true) {
|
|
130
130
|
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
|
|
131
131
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
132
|
-
res.
|
|
132
|
+
res.paymentPayout = utils.objectToClass(JSON.parse(decodedRes), shared.PaymentPayout);
|
|
133
133
|
}
|
|
134
134
|
else {
|
|
135
135
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -147,7 +147,7 @@ var Payout = /** @class */ (function () {
|
|
|
147
147
|
/**
|
|
148
148
|
* List all payouts
|
|
149
149
|
*/
|
|
150
|
-
Payout.prototype.
|
|
150
|
+
Payout.prototype.listPaymentPayouts = function (req, config) {
|
|
151
151
|
var _a, _b;
|
|
152
152
|
return __awaiter(this, void 0, void 0, function () {
|
|
153
153
|
var baseURL, operationUrl, client, globalSecurity, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes, resFieldDepth;
|
|
@@ -155,10 +155,10 @@ var Payout = /** @class */ (function () {
|
|
|
155
155
|
switch (_c.label) {
|
|
156
156
|
case 0:
|
|
157
157
|
if (!(req instanceof utils.SpeakeasyBase)) {
|
|
158
|
-
req = new operations.
|
|
158
|
+
req = new operations.ListPaymentPayoutsRequest(req);
|
|
159
159
|
}
|
|
160
160
|
baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
|
|
161
|
-
operationUrl = utils.generateURL(baseURL, "/
|
|
161
|
+
operationUrl = utils.generateURL(baseURL, "/payment/{connection_id}/payout", req);
|
|
162
162
|
client = this.sdkConfiguration.defaultClient;
|
|
163
163
|
globalSecurity = this.sdkConfiguration.security;
|
|
164
164
|
if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
|
|
@@ -182,7 +182,7 @@ var Payout = /** @class */ (function () {
|
|
|
182
182
|
if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
|
|
183
183
|
throw new Error("status code not found in response: ".concat(httpRes));
|
|
184
184
|
}
|
|
185
|
-
res = new operations.
|
|
185
|
+
res = new operations.ListPaymentPayoutsResponse({
|
|
186
186
|
statusCode: httpRes.status,
|
|
187
187
|
contentType: responseContentType,
|
|
188
188
|
rawResponse: httpRes,
|
|
@@ -191,9 +191,9 @@ var Payout = /** @class */ (function () {
|
|
|
191
191
|
switch (true) {
|
|
192
192
|
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
|
|
193
193
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
194
|
-
res.
|
|
194
|
+
res.paymentPayouts = [];
|
|
195
195
|
resFieldDepth = utils.getResFieldDepth(res);
|
|
196
|
-
res.
|
|
196
|
+
res.paymentPayouts = utils.objectToClass(JSON.parse(decodedRes), shared.PaymentPayout, resFieldDepth);
|
|
197
197
|
}
|
|
198
198
|
else {
|
|
199
199
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/refund.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ export declare class Refund {
|
|
|
7
7
|
/**
|
|
8
8
|
* Retrieve a refund
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
getPaymentRefund(req: operations.GetPaymentRefundRequest, config?: AxiosRequestConfig): Promise<operations.GetPaymentRefundResponse>;
|
|
11
11
|
/**
|
|
12
12
|
* List all refunds
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
listPaymentRefunds(req: operations.ListPaymentRefundsRequest, config?: AxiosRequestConfig): Promise<operations.ListPaymentRefundsResponse>;
|
|
15
15
|
}
|
package/dist/sdk/refund.js
CHANGED
|
@@ -85,7 +85,7 @@ var Refund = /** @class */ (function () {
|
|
|
85
85
|
/**
|
|
86
86
|
* Retrieve a refund
|
|
87
87
|
*/
|
|
88
|
-
Refund.prototype.
|
|
88
|
+
Refund.prototype.getPaymentRefund = function (req, config) {
|
|
89
89
|
var _a, _b;
|
|
90
90
|
return __awaiter(this, void 0, void 0, function () {
|
|
91
91
|
var baseURL, operationUrl, client, globalSecurity, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes;
|
|
@@ -93,10 +93,10 @@ var Refund = /** @class */ (function () {
|
|
|
93
93
|
switch (_c.label) {
|
|
94
94
|
case 0:
|
|
95
95
|
if (!(req instanceof utils.SpeakeasyBase)) {
|
|
96
|
-
req = new operations.
|
|
96
|
+
req = new operations.GetPaymentRefundRequest(req);
|
|
97
97
|
}
|
|
98
98
|
baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
|
|
99
|
-
operationUrl = utils.generateURL(baseURL, "/
|
|
99
|
+
operationUrl = utils.generateURL(baseURL, "/payment/{connection_id}/refund/{id}", req);
|
|
100
100
|
client = this.sdkConfiguration.defaultClient;
|
|
101
101
|
globalSecurity = this.sdkConfiguration.security;
|
|
102
102
|
if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
|
|
@@ -120,7 +120,7 @@ var Refund = /** @class */ (function () {
|
|
|
120
120
|
if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
|
|
121
121
|
throw new Error("status code not found in response: ".concat(httpRes));
|
|
122
122
|
}
|
|
123
|
-
res = new operations.
|
|
123
|
+
res = new operations.GetPaymentRefundResponse({
|
|
124
124
|
statusCode: httpRes.status,
|
|
125
125
|
contentType: responseContentType,
|
|
126
126
|
rawResponse: httpRes,
|
|
@@ -129,7 +129,7 @@ var Refund = /** @class */ (function () {
|
|
|
129
129
|
switch (true) {
|
|
130
130
|
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
|
|
131
131
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
132
|
-
res.
|
|
132
|
+
res.paymentRefund = utils.objectToClass(JSON.parse(decodedRes), shared.PaymentRefund);
|
|
133
133
|
}
|
|
134
134
|
else {
|
|
135
135
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
|
@@ -147,7 +147,7 @@ var Refund = /** @class */ (function () {
|
|
|
147
147
|
/**
|
|
148
148
|
* List all refunds
|
|
149
149
|
*/
|
|
150
|
-
Refund.prototype.
|
|
150
|
+
Refund.prototype.listPaymentRefunds = function (req, config) {
|
|
151
151
|
var _a, _b;
|
|
152
152
|
return __awaiter(this, void 0, void 0, function () {
|
|
153
153
|
var baseURL, operationUrl, client, globalSecurity, properties, headers, queryParams, httpRes, responseContentType, res, decodedRes, resFieldDepth;
|
|
@@ -155,10 +155,10 @@ var Refund = /** @class */ (function () {
|
|
|
155
155
|
switch (_c.label) {
|
|
156
156
|
case 0:
|
|
157
157
|
if (!(req instanceof utils.SpeakeasyBase)) {
|
|
158
|
-
req = new operations.
|
|
158
|
+
req = new operations.ListPaymentRefundsRequest(req);
|
|
159
159
|
}
|
|
160
160
|
baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
|
|
161
|
-
operationUrl = utils.generateURL(baseURL, "/
|
|
161
|
+
operationUrl = utils.generateURL(baseURL, "/payment/{connection_id}/refund", req);
|
|
162
162
|
client = this.sdkConfiguration.defaultClient;
|
|
163
163
|
globalSecurity = this.sdkConfiguration.security;
|
|
164
164
|
if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
|
|
@@ -182,7 +182,7 @@ var Refund = /** @class */ (function () {
|
|
|
182
182
|
if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
|
|
183
183
|
throw new Error("status code not found in response: ".concat(httpRes));
|
|
184
184
|
}
|
|
185
|
-
res = new operations.
|
|
185
|
+
res = new operations.ListPaymentRefundsResponse({
|
|
186
186
|
statusCode: httpRes.status,
|
|
187
187
|
contentType: responseContentType,
|
|
188
188
|
rawResponse: httpRes,
|
|
@@ -191,9 +191,9 @@ var Refund = /** @class */ (function () {
|
|
|
191
191
|
switch (true) {
|
|
192
192
|
case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
|
|
193
193
|
if (utils.matchContentType(responseContentType, "application/json")) {
|
|
194
|
-
res.
|
|
194
|
+
res.paymentRefunds = [];
|
|
195
195
|
resFieldDepth = utils.getResFieldDepth(res);
|
|
196
|
-
res.
|
|
196
|
+
res.paymentRefunds = utils.objectToClass(JSON.parse(decodedRes), shared.PaymentRefund, resFieldDepth);
|
|
197
197
|
}
|
|
198
198
|
else {
|
|
199
199
|
throw new errors.SDKError("unknown content-type received: " + responseContentType, httpRes.status, decodedRes, httpRes);
|
package/dist/sdk/sdk.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import { Issue } from "./issue";
|
|
|
33
33
|
import { Item } from "./item";
|
|
34
34
|
import { Job } from "./job";
|
|
35
35
|
import { Lead } from "./lead";
|
|
36
|
+
import { Link } from "./link";
|
|
36
37
|
import { List } from "./list";
|
|
37
38
|
import { Location } from "./location";
|
|
38
39
|
import { Login } from "./login";
|
|
@@ -107,9 +108,6 @@ export declare class UnifiedTo {
|
|
|
107
108
|
contact: Contact;
|
|
108
109
|
invoice: Invoice;
|
|
109
110
|
organization: Organization;
|
|
110
|
-
payment: Payment;
|
|
111
|
-
payout: Payout;
|
|
112
|
-
refund: Refund;
|
|
113
111
|
taxrate: Taxrate;
|
|
114
112
|
transaction: Transaction;
|
|
115
113
|
ats: Ats;
|
|
@@ -141,6 +139,10 @@ export declare class UnifiedTo {
|
|
|
141
139
|
list: List;
|
|
142
140
|
member: Member;
|
|
143
141
|
passthrough: Passthrough;
|
|
142
|
+
payment: Payment;
|
|
143
|
+
link: Link;
|
|
144
|
+
payout: Payout;
|
|
145
|
+
refund: Refund;
|
|
144
146
|
storage: Storage;
|
|
145
147
|
file: File;
|
|
146
148
|
ticketing: Ticketing;
|
package/dist/sdk/sdk.js
CHANGED
|
@@ -40,6 +40,7 @@ var issue_1 = require("./issue");
|
|
|
40
40
|
var item_1 = require("./item");
|
|
41
41
|
var job_1 = require("./job");
|
|
42
42
|
var lead_1 = require("./lead");
|
|
43
|
+
var link_1 = require("./link");
|
|
43
44
|
var list_1 = require("./list");
|
|
44
45
|
var location_1 = require("./location");
|
|
45
46
|
var login_1 = require("./login");
|
|
@@ -80,9 +81,9 @@ var SDKConfiguration = /** @class */ (function () {
|
|
|
80
81
|
function SDKConfiguration(init) {
|
|
81
82
|
this.language = "typescript";
|
|
82
83
|
this.openapiDocVersion = "1.0";
|
|
83
|
-
this.sdkVersion = "1.0.
|
|
84
|
+
this.sdkVersion = "1.0.1";
|
|
84
85
|
this.genVersion = "2.272.7";
|
|
85
|
-
this.userAgent = "speakeasy-sdk/typescript 1.0.
|
|
86
|
+
this.userAgent = "speakeasy-sdk/typescript 1.0.1 2.272.7 1.0 @unified-api/typescript-sdk";
|
|
86
87
|
Object.assign(this, init);
|
|
87
88
|
}
|
|
88
89
|
return SDKConfiguration;
|
|
@@ -111,9 +112,6 @@ var UnifiedTo = /** @class */ (function () {
|
|
|
111
112
|
this.contact = new contact_1.Contact(this.sdkConfiguration);
|
|
112
113
|
this.invoice = new invoice_1.Invoice(this.sdkConfiguration);
|
|
113
114
|
this.organization = new organization_1.Organization(this.sdkConfiguration);
|
|
114
|
-
this.payment = new payment_1.Payment(this.sdkConfiguration);
|
|
115
|
-
this.payout = new payout_1.Payout(this.sdkConfiguration);
|
|
116
|
-
this.refund = new refund_1.Refund(this.sdkConfiguration);
|
|
117
115
|
this.taxrate = new taxrate_1.Taxrate(this.sdkConfiguration);
|
|
118
116
|
this.transaction = new transaction_1.Transaction(this.sdkConfiguration);
|
|
119
117
|
this.ats = new ats_1.Ats(this.sdkConfiguration);
|
|
@@ -145,6 +143,10 @@ var UnifiedTo = /** @class */ (function () {
|
|
|
145
143
|
this.list = new list_1.List(this.sdkConfiguration);
|
|
146
144
|
this.member = new member_1.Member(this.sdkConfiguration);
|
|
147
145
|
this.passthrough = new passthrough_1.Passthrough(this.sdkConfiguration);
|
|
146
|
+
this.payment = new payment_1.Payment(this.sdkConfiguration);
|
|
147
|
+
this.link = new link_1.Link(this.sdkConfiguration);
|
|
148
|
+
this.payout = new payout_1.Payout(this.sdkConfiguration);
|
|
149
|
+
this.refund = new refund_1.Refund(this.sdkConfiguration);
|
|
148
150
|
this.storage = new storage_1.Storage(this.sdkConfiguration);
|
|
149
151
|
this.file = new file_1.File(this.sdkConfiguration);
|
|
150
152
|
this.ticketing = new ticketing_1.Ticketing(this.sdkConfiguration);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# CreatePaymentLinkRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
8
|
+
| `paymentLink` | [shared.PaymentLink](../../../sdk/models/shared/paymentlink.md) | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CreatePaymentLinkResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `paymentLink` | [shared.PaymentLink](../../../sdk/models/shared/paymentlink.md) | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# CreatePaymentPaymentRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
8
|
+
| `paymentPayment` | [shared.PaymentPayment](../../../sdk/models/shared/paymentpayment.md) | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# CreatePaymentPaymentResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `paymentPayment` | [shared.PaymentPayment](../../../sdk/models/shared/paymentpayment.md) | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# GetPaymentLinkRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- |
|
|
8
|
+
| `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
|
|
9
|
+
| `fields` | *string*[] | :heavy_minus_sign: | Comma-delimited fields to return |
|
|
10
|
+
| `id` | *string* | :heavy_check_mark: | ID of the Link |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# GetPaymentLinkResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `paymentLink` | [shared.PaymentLink](../../../sdk/models/shared/paymentlink.md) | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# GetPaymentPaymentResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `paymentPayment` | [shared.PaymentPayment](../../../sdk/models/shared/paymentpayment.md) | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# GetPaymentPayoutResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `paymentPayout` | [shared.PaymentPayout](../../../sdk/models/shared/paymentpayout.md) | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# GetPaymentRefundResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `paymentRefund` | [shared.PaymentRefund](../../../sdk/models/shared/paymentrefund.md) | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# ListPaymentLinksRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
8
|
+
| `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
|
|
9
|
+
| `contactId` | *string* | :heavy_minus_sign: | The customer/supplier ID to filter results |
|
|
10
|
+
| `fields` | *string*[] | :heavy_minus_sign: | Comma-delimited fields to return |
|
|
11
|
+
| `limit` | *number* | :heavy_minus_sign: | N/A |
|
|
12
|
+
| `offset` | *number* | :heavy_minus_sign: | N/A |
|
|
13
|
+
| `order` | *string* | :heavy_minus_sign: | N/A |
|
|
14
|
+
| `paymentId` | *string* | :heavy_minus_sign: | The payment ID to filter results |
|
|
15
|
+
| `query` | *string* | :heavy_minus_sign: | Query string to search. eg. email address or name |
|
|
16
|
+
| `sort` | *string* | :heavy_minus_sign: | N/A |
|
|
17
|
+
| `updatedGte` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Return only results whose updated date is equal or greater to this value |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# ListPaymentLinksResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `paymentLinks` | [shared.PaymentLink](../../../sdk/models/shared/paymentlink.md)[] | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# ListPaymentPaymentsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `paymentPayments` | [shared.PaymentPayment](../../../sdk/models/shared/paymentpayment.md)[] | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# ListPaymentPayoutsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `paymentPayouts` | [shared.PaymentPayout](../../../sdk/models/shared/paymentpayout.md)[] | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# ListPaymentRefundsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `paymentRefunds` | [shared.PaymentRefund](../../../sdk/models/shared/paymentrefund.md)[] | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# PatchPaymentLinkRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
8
|
+
| `paymentLink` | [shared.PaymentLink](../../../sdk/models/shared/paymentlink.md) | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
|
|
10
|
+
| `id` | *string* | :heavy_check_mark: | ID of the Link |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# PatchPaymentLinkResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `paymentLink` | [shared.PaymentLink](../../../sdk/models/shared/paymentlink.md) | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# PatchPaymentPaymentRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
8
|
+
| `paymentPayment` | [shared.PaymentPayment](../../../sdk/models/shared/paymentpayment.md) | :heavy_minus_sign: | N/A |
|
|
9
|
+
| `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
|
|
10
|
+
| `id` | *string* | :heavy_check_mark: | ID of the Payment |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# PatchPaymentPaymentResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description |
|
|
7
|
+
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
8
|
+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
|
9
|
+
| `paymentPayment` | [shared.PaymentPayment](../../../sdk/models/shared/paymentpayment.md) | :heavy_minus_sign: | Successful |
|
|
10
|
+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
|
|
11
|
+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
package/docs/sdk/models/operations/{removeaccountingpaymentrequest.md → removepaymentlinkrequest.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# RemovePaymentLinkRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Fields
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
| Field | Type | Required | Description |
|
|
7
7
|
| -------------------- | -------------------- | -------------------- | -------------------- |
|
|
8
8
|
| `connectionId` | *string* | :heavy_check_mark: | ID of the connection |
|
|
9
|
-
| `id` | *string* | :heavy_check_mark: | ID of the
|
|
9
|
+
| `id` | *string* | :heavy_check_mark: | ID of the Link |
|