@unified-api/typescript-sdk 1.0.0 → 1.0.2
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/accountinginvoice.d.ts +1 -0
- package/dist/sdk/models/shared/accountinginvoice.js +5 -0
- 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/accountinginvoice.md +2 -1
- 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
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __extends = (this && this.__extends) || (function () {
|
|
6
|
+
var extendStatics = function (d, b) {
|
|
7
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
10
|
+
return extendStatics(d, b);
|
|
11
|
+
};
|
|
12
|
+
return function (d, b) {
|
|
13
|
+
if (typeof b !== "function" && b !== null)
|
|
14
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
15
|
+
extendStatics(d, b);
|
|
16
|
+
function __() { this.constructor = d; }
|
|
17
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18
|
+
};
|
|
19
|
+
})();
|
|
20
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
32
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
33
|
+
}) : function(o, v) {
|
|
34
|
+
o["default"] = v;
|
|
35
|
+
});
|
|
36
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
37
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
38
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
39
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
40
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
41
|
+
};
|
|
42
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
43
|
+
if (mod && mod.__esModule) return mod;
|
|
44
|
+
var result = {};
|
|
45
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
46
|
+
__setModuleDefault(result, mod);
|
|
47
|
+
return result;
|
|
48
|
+
};
|
|
49
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
50
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.CreatePaymentLinkResponse = exports.CreatePaymentLinkRequest = void 0;
|
|
54
|
+
var utils_1 = require("../../../internal/utils");
|
|
55
|
+
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
+
var CreatePaymentLinkRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(CreatePaymentLinkRequest, _super);
|
|
58
|
+
function CreatePaymentLinkRequest() {
|
|
59
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
|
+
}
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "request, media_type=application/json" }),
|
|
63
|
+
__metadata("design:type", shared.PaymentLink)
|
|
64
|
+
], CreatePaymentLinkRequest.prototype, "paymentLink", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], CreatePaymentLinkRequest.prototype, "connectionId", void 0);
|
|
69
|
+
return CreatePaymentLinkRequest;
|
|
70
|
+
}(utils_1.SpeakeasyBase));
|
|
71
|
+
exports.CreatePaymentLinkRequest = CreatePaymentLinkRequest;
|
|
72
|
+
var CreatePaymentLinkResponse = /** @class */ (function (_super) {
|
|
73
|
+
__extends(CreatePaymentLinkResponse, _super);
|
|
74
|
+
function CreatePaymentLinkResponse() {
|
|
75
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
}
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], CreatePaymentLinkResponse.prototype, "contentType", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
83
|
+
__metadata("design:type", shared.PaymentLink)
|
|
84
|
+
], CreatePaymentLinkResponse.prototype, "paymentLink", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
87
|
+
__metadata("design:type", Number)
|
|
88
|
+
], CreatePaymentLinkResponse.prototype, "statusCode", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
|
+
__metadata("design:type", Object)
|
|
92
|
+
], CreatePaymentLinkResponse.prototype, "rawResponse", void 0);
|
|
93
|
+
return CreatePaymentLinkResponse;
|
|
94
|
+
}(utils_1.SpeakeasyBase));
|
|
95
|
+
exports.CreatePaymentLinkResponse = CreatePaymentLinkResponse;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import * as shared from "../../../sdk/models/shared";
|
|
3
|
+
import { AxiosResponse } from "axios";
|
|
4
|
+
export declare class CreatePaymentPaymentRequest extends SpeakeasyBase {
|
|
5
|
+
paymentPayment?: shared.PaymentPayment;
|
|
6
|
+
/**
|
|
7
|
+
* ID of the connection
|
|
8
|
+
*/
|
|
9
|
+
connectionId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class CreatePaymentPaymentResponse extends SpeakeasyBase {
|
|
12
|
+
/**
|
|
13
|
+
* HTTP response content type for this operation
|
|
14
|
+
*/
|
|
15
|
+
contentType: string;
|
|
16
|
+
/**
|
|
17
|
+
* Successful
|
|
18
|
+
*/
|
|
19
|
+
paymentPayment?: shared.PaymentPayment;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP response status code for this operation
|
|
22
|
+
*/
|
|
23
|
+
statusCode: number;
|
|
24
|
+
/**
|
|
25
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
26
|
+
*/
|
|
27
|
+
rawResponse: AxiosResponse;
|
|
28
|
+
}
|
|
@@ -50,46 +50,46 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
50
50
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
51
51
|
};
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
-
exports.
|
|
53
|
+
exports.CreatePaymentPaymentResponse = exports.CreatePaymentPaymentRequest = void 0;
|
|
54
54
|
var utils_1 = require("../../../internal/utils");
|
|
55
55
|
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
-
var
|
|
57
|
-
__extends(
|
|
58
|
-
function
|
|
56
|
+
var CreatePaymentPaymentRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(CreatePaymentPaymentRequest, _super);
|
|
58
|
+
function CreatePaymentPaymentRequest() {
|
|
59
59
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
60
|
}
|
|
61
61
|
__decorate([
|
|
62
62
|
(0, utils_1.SpeakeasyMetadata)({ data: "request, media_type=application/json" }),
|
|
63
|
-
__metadata("design:type", shared.
|
|
64
|
-
],
|
|
63
|
+
__metadata("design:type", shared.PaymentPayment)
|
|
64
|
+
], CreatePaymentPaymentRequest.prototype, "paymentPayment", void 0);
|
|
65
65
|
__decorate([
|
|
66
66
|
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
67
67
|
__metadata("design:type", String)
|
|
68
|
-
],
|
|
69
|
-
return
|
|
68
|
+
], CreatePaymentPaymentRequest.prototype, "connectionId", void 0);
|
|
69
|
+
return CreatePaymentPaymentRequest;
|
|
70
70
|
}(utils_1.SpeakeasyBase));
|
|
71
|
-
exports.
|
|
72
|
-
var
|
|
73
|
-
__extends(
|
|
74
|
-
function
|
|
71
|
+
exports.CreatePaymentPaymentRequest = CreatePaymentPaymentRequest;
|
|
72
|
+
var CreatePaymentPaymentResponse = /** @class */ (function (_super) {
|
|
73
|
+
__extends(CreatePaymentPaymentResponse, _super);
|
|
74
|
+
function CreatePaymentPaymentResponse() {
|
|
75
75
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
76
|
}
|
|
77
77
|
__decorate([
|
|
78
78
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
79
|
-
__metadata("design:type",
|
|
80
|
-
],
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], CreatePaymentPaymentResponse.prototype, "contentType", void 0);
|
|
81
81
|
__decorate([
|
|
82
82
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
83
|
-
__metadata("design:type",
|
|
84
|
-
],
|
|
83
|
+
__metadata("design:type", shared.PaymentPayment)
|
|
84
|
+
], CreatePaymentPaymentResponse.prototype, "paymentPayment", void 0);
|
|
85
85
|
__decorate([
|
|
86
86
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
87
87
|
__metadata("design:type", Number)
|
|
88
|
-
],
|
|
88
|
+
], CreatePaymentPaymentResponse.prototype, "statusCode", void 0);
|
|
89
89
|
__decorate([
|
|
90
90
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
91
|
__metadata("design:type", Object)
|
|
92
|
-
],
|
|
93
|
-
return
|
|
92
|
+
], CreatePaymentPaymentResponse.prototype, "rawResponse", void 0);
|
|
93
|
+
return CreatePaymentPaymentResponse;
|
|
94
94
|
}(utils_1.SpeakeasyBase));
|
|
95
|
-
exports.
|
|
95
|
+
exports.CreatePaymentPaymentResponse = CreatePaymentPaymentResponse;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
|
+
import * as shared from "../../../sdk/models/shared";
|
|
3
|
+
import { AxiosResponse } from "axios";
|
|
4
|
+
export declare class GetPaymentLinkRequest extends SpeakeasyBase {
|
|
5
|
+
/**
|
|
6
|
+
* ID of the connection
|
|
7
|
+
*/
|
|
8
|
+
connectionId: string;
|
|
9
|
+
/**
|
|
10
|
+
* Comma-delimited fields to return
|
|
11
|
+
*/
|
|
12
|
+
fields?: string[];
|
|
13
|
+
/**
|
|
14
|
+
* ID of the Link
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
18
|
+
export declare class GetPaymentLinkResponse extends SpeakeasyBase {
|
|
19
|
+
/**
|
|
20
|
+
* HTTP response content type for this operation
|
|
21
|
+
*/
|
|
22
|
+
contentType: string;
|
|
23
|
+
/**
|
|
24
|
+
* Successful
|
|
25
|
+
*/
|
|
26
|
+
paymentLink?: shared.PaymentLink;
|
|
27
|
+
/**
|
|
28
|
+
* HTTP response status code for this operation
|
|
29
|
+
*/
|
|
30
|
+
statusCode: number;
|
|
31
|
+
/**
|
|
32
|
+
* Raw HTTP response; suitable for custom response parsing
|
|
33
|
+
*/
|
|
34
|
+
rawResponse: AxiosResponse;
|
|
35
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __extends = (this && this.__extends) || (function () {
|
|
6
|
+
var extendStatics = function (d, b) {
|
|
7
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
10
|
+
return extendStatics(d, b);
|
|
11
|
+
};
|
|
12
|
+
return function (d, b) {
|
|
13
|
+
if (typeof b !== "function" && b !== null)
|
|
14
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
15
|
+
extendStatics(d, b);
|
|
16
|
+
function __() { this.constructor = d; }
|
|
17
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18
|
+
};
|
|
19
|
+
})();
|
|
20
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
32
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
33
|
+
}) : function(o, v) {
|
|
34
|
+
o["default"] = v;
|
|
35
|
+
});
|
|
36
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
37
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
38
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
39
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
40
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
41
|
+
};
|
|
42
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
43
|
+
if (mod && mod.__esModule) return mod;
|
|
44
|
+
var result = {};
|
|
45
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
46
|
+
__setModuleDefault(result, mod);
|
|
47
|
+
return result;
|
|
48
|
+
};
|
|
49
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
50
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.GetPaymentLinkResponse = exports.GetPaymentLinkRequest = void 0;
|
|
54
|
+
var utils_1 = require("../../../internal/utils");
|
|
55
|
+
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
+
var GetPaymentLinkRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(GetPaymentLinkRequest, _super);
|
|
58
|
+
function GetPaymentLinkRequest() {
|
|
59
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
|
+
}
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], GetPaymentLinkRequest.prototype, "connectionId", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
|
|
67
|
+
__metadata("design:type", Array)
|
|
68
|
+
], GetPaymentLinkRequest.prototype, "fields", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], GetPaymentLinkRequest.prototype, "id", void 0);
|
|
73
|
+
return GetPaymentLinkRequest;
|
|
74
|
+
}(utils_1.SpeakeasyBase));
|
|
75
|
+
exports.GetPaymentLinkRequest = GetPaymentLinkRequest;
|
|
76
|
+
var GetPaymentLinkResponse = /** @class */ (function (_super) {
|
|
77
|
+
__extends(GetPaymentLinkResponse, _super);
|
|
78
|
+
function GetPaymentLinkResponse() {
|
|
79
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
80
|
+
}
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], GetPaymentLinkResponse.prototype, "contentType", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
87
|
+
__metadata("design:type", shared.PaymentLink)
|
|
88
|
+
], GetPaymentLinkResponse.prototype, "paymentLink", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
|
+
__metadata("design:type", Number)
|
|
92
|
+
], GetPaymentLinkResponse.prototype, "statusCode", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, utils_1.SpeakeasyMetadata)(),
|
|
95
|
+
__metadata("design:type", Object)
|
|
96
|
+
], GetPaymentLinkResponse.prototype, "rawResponse", void 0);
|
|
97
|
+
return GetPaymentLinkResponse;
|
|
98
|
+
}(utils_1.SpeakeasyBase));
|
|
99
|
+
exports.GetPaymentLinkResponse = GetPaymentLinkResponse;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import * as shared from "../../../sdk/models/shared";
|
|
3
3
|
import { AxiosResponse } from "axios";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class GetPaymentPaymentRequest extends SpeakeasyBase {
|
|
5
5
|
/**
|
|
6
6
|
* ID of the connection
|
|
7
7
|
*/
|
|
@@ -15,15 +15,15 @@ export declare class GetAccountingPaymentRequest extends SpeakeasyBase {
|
|
|
15
15
|
*/
|
|
16
16
|
id: string;
|
|
17
17
|
}
|
|
18
|
-
export declare class
|
|
19
|
-
/**
|
|
20
|
-
* Successful
|
|
21
|
-
*/
|
|
22
|
-
accountingPayment?: shared.AccountingPayment;
|
|
18
|
+
export declare class GetPaymentPaymentResponse extends SpeakeasyBase {
|
|
23
19
|
/**
|
|
24
20
|
* HTTP response content type for this operation
|
|
25
21
|
*/
|
|
26
22
|
contentType: string;
|
|
23
|
+
/**
|
|
24
|
+
* Successful
|
|
25
|
+
*/
|
|
26
|
+
paymentPayment?: shared.PaymentPayment;
|
|
27
27
|
/**
|
|
28
28
|
* HTTP response status code for this operation
|
|
29
29
|
*/
|
|
@@ -50,50 +50,50 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
50
50
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
51
51
|
};
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
-
exports.
|
|
53
|
+
exports.GetPaymentPaymentResponse = exports.GetPaymentPaymentRequest = void 0;
|
|
54
54
|
var utils_1 = require("../../../internal/utils");
|
|
55
55
|
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
-
var
|
|
57
|
-
__extends(
|
|
58
|
-
function
|
|
56
|
+
var GetPaymentPaymentRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(GetPaymentPaymentRequest, _super);
|
|
58
|
+
function GetPaymentPaymentRequest() {
|
|
59
59
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
60
|
}
|
|
61
61
|
__decorate([
|
|
62
62
|
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
63
63
|
__metadata("design:type", String)
|
|
64
|
-
],
|
|
64
|
+
], GetPaymentPaymentRequest.prototype, "connectionId", void 0);
|
|
65
65
|
__decorate([
|
|
66
66
|
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
|
|
67
67
|
__metadata("design:type", Array)
|
|
68
|
-
],
|
|
68
|
+
], GetPaymentPaymentRequest.prototype, "fields", void 0);
|
|
69
69
|
__decorate([
|
|
70
70
|
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
|
|
71
71
|
__metadata("design:type", String)
|
|
72
|
-
],
|
|
73
|
-
return
|
|
72
|
+
], GetPaymentPaymentRequest.prototype, "id", void 0);
|
|
73
|
+
return GetPaymentPaymentRequest;
|
|
74
74
|
}(utils_1.SpeakeasyBase));
|
|
75
|
-
exports.
|
|
76
|
-
var
|
|
77
|
-
__extends(
|
|
78
|
-
function
|
|
75
|
+
exports.GetPaymentPaymentRequest = GetPaymentPaymentRequest;
|
|
76
|
+
var GetPaymentPaymentResponse = /** @class */ (function (_super) {
|
|
77
|
+
__extends(GetPaymentPaymentResponse, _super);
|
|
78
|
+
function GetPaymentPaymentResponse() {
|
|
79
79
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
80
80
|
}
|
|
81
81
|
__decorate([
|
|
82
82
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
83
|
-
__metadata("design:type",
|
|
84
|
-
],
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], GetPaymentPaymentResponse.prototype, "contentType", void 0);
|
|
85
85
|
__decorate([
|
|
86
86
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
87
|
-
__metadata("design:type",
|
|
88
|
-
],
|
|
87
|
+
__metadata("design:type", shared.PaymentPayment)
|
|
88
|
+
], GetPaymentPaymentResponse.prototype, "paymentPayment", void 0);
|
|
89
89
|
__decorate([
|
|
90
90
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
91
|
__metadata("design:type", Number)
|
|
92
|
-
],
|
|
92
|
+
], GetPaymentPaymentResponse.prototype, "statusCode", void 0);
|
|
93
93
|
__decorate([
|
|
94
94
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
95
95
|
__metadata("design:type", Object)
|
|
96
|
-
],
|
|
97
|
-
return
|
|
96
|
+
], GetPaymentPaymentResponse.prototype, "rawResponse", void 0);
|
|
97
|
+
return GetPaymentPaymentResponse;
|
|
98
98
|
}(utils_1.SpeakeasyBase));
|
|
99
|
-
exports.
|
|
99
|
+
exports.GetPaymentPaymentResponse = GetPaymentPaymentResponse;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import * as shared from "../../../sdk/models/shared";
|
|
3
3
|
import { AxiosResponse } from "axios";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class GetPaymentPayoutRequest extends SpeakeasyBase {
|
|
5
5
|
/**
|
|
6
6
|
* ID of the connection
|
|
7
7
|
*/
|
|
@@ -15,15 +15,15 @@ export declare class GetAccountingPayoutRequest extends SpeakeasyBase {
|
|
|
15
15
|
*/
|
|
16
16
|
id: string;
|
|
17
17
|
}
|
|
18
|
-
export declare class
|
|
19
|
-
/**
|
|
20
|
-
* Successful
|
|
21
|
-
*/
|
|
22
|
-
accountingPayout?: shared.AccountingPayout;
|
|
18
|
+
export declare class GetPaymentPayoutResponse extends SpeakeasyBase {
|
|
23
19
|
/**
|
|
24
20
|
* HTTP response content type for this operation
|
|
25
21
|
*/
|
|
26
22
|
contentType: string;
|
|
23
|
+
/**
|
|
24
|
+
* Successful
|
|
25
|
+
*/
|
|
26
|
+
paymentPayout?: shared.PaymentPayout;
|
|
27
27
|
/**
|
|
28
28
|
* HTTP response status code for this operation
|
|
29
29
|
*/
|
|
@@ -50,50 +50,50 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
50
50
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
51
51
|
};
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
-
exports.
|
|
53
|
+
exports.GetPaymentPayoutResponse = exports.GetPaymentPayoutRequest = void 0;
|
|
54
54
|
var utils_1 = require("../../../internal/utils");
|
|
55
55
|
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
-
var
|
|
57
|
-
__extends(
|
|
58
|
-
function
|
|
56
|
+
var GetPaymentPayoutRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(GetPaymentPayoutRequest, _super);
|
|
58
|
+
function GetPaymentPayoutRequest() {
|
|
59
59
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
60
|
}
|
|
61
61
|
__decorate([
|
|
62
62
|
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
63
63
|
__metadata("design:type", String)
|
|
64
|
-
],
|
|
64
|
+
], GetPaymentPayoutRequest.prototype, "connectionId", void 0);
|
|
65
65
|
__decorate([
|
|
66
66
|
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
|
|
67
67
|
__metadata("design:type", Array)
|
|
68
|
-
],
|
|
68
|
+
], GetPaymentPayoutRequest.prototype, "fields", void 0);
|
|
69
69
|
__decorate([
|
|
70
70
|
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
|
|
71
71
|
__metadata("design:type", String)
|
|
72
|
-
],
|
|
73
|
-
return
|
|
72
|
+
], GetPaymentPayoutRequest.prototype, "id", void 0);
|
|
73
|
+
return GetPaymentPayoutRequest;
|
|
74
74
|
}(utils_1.SpeakeasyBase));
|
|
75
|
-
exports.
|
|
76
|
-
var
|
|
77
|
-
__extends(
|
|
78
|
-
function
|
|
75
|
+
exports.GetPaymentPayoutRequest = GetPaymentPayoutRequest;
|
|
76
|
+
var GetPaymentPayoutResponse = /** @class */ (function (_super) {
|
|
77
|
+
__extends(GetPaymentPayoutResponse, _super);
|
|
78
|
+
function GetPaymentPayoutResponse() {
|
|
79
79
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
80
80
|
}
|
|
81
81
|
__decorate([
|
|
82
82
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
83
|
-
__metadata("design:type",
|
|
84
|
-
],
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], GetPaymentPayoutResponse.prototype, "contentType", void 0);
|
|
85
85
|
__decorate([
|
|
86
86
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
87
|
-
__metadata("design:type",
|
|
88
|
-
],
|
|
87
|
+
__metadata("design:type", shared.PaymentPayout)
|
|
88
|
+
], GetPaymentPayoutResponse.prototype, "paymentPayout", void 0);
|
|
89
89
|
__decorate([
|
|
90
90
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
91
|
__metadata("design:type", Number)
|
|
92
|
-
],
|
|
92
|
+
], GetPaymentPayoutResponse.prototype, "statusCode", void 0);
|
|
93
93
|
__decorate([
|
|
94
94
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
95
95
|
__metadata("design:type", Object)
|
|
96
|
-
],
|
|
97
|
-
return
|
|
96
|
+
], GetPaymentPayoutResponse.prototype, "rawResponse", void 0);
|
|
97
|
+
return GetPaymentPayoutResponse;
|
|
98
98
|
}(utils_1.SpeakeasyBase));
|
|
99
|
-
exports.
|
|
99
|
+
exports.GetPaymentPayoutResponse = GetPaymentPayoutResponse;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import * as shared from "../../../sdk/models/shared";
|
|
3
3
|
import { AxiosResponse } from "axios";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class GetPaymentRefundRequest extends SpeakeasyBase {
|
|
5
5
|
/**
|
|
6
6
|
* ID of the connection
|
|
7
7
|
*/
|
|
@@ -15,15 +15,15 @@ export declare class GetAccountingRefundRequest extends SpeakeasyBase {
|
|
|
15
15
|
*/
|
|
16
16
|
id: string;
|
|
17
17
|
}
|
|
18
|
-
export declare class
|
|
19
|
-
/**
|
|
20
|
-
* Successful
|
|
21
|
-
*/
|
|
22
|
-
accountingRefund?: shared.AccountingRefund;
|
|
18
|
+
export declare class GetPaymentRefundResponse extends SpeakeasyBase {
|
|
23
19
|
/**
|
|
24
20
|
* HTTP response content type for this operation
|
|
25
21
|
*/
|
|
26
22
|
contentType: string;
|
|
23
|
+
/**
|
|
24
|
+
* Successful
|
|
25
|
+
*/
|
|
26
|
+
paymentRefund?: shared.PaymentRefund;
|
|
27
27
|
/**
|
|
28
28
|
* HTTP response status code for this operation
|
|
29
29
|
*/
|
|
@@ -50,50 +50,50 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
50
50
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
51
51
|
};
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
-
exports.
|
|
53
|
+
exports.GetPaymentRefundResponse = exports.GetPaymentRefundRequest = void 0;
|
|
54
54
|
var utils_1 = require("../../../internal/utils");
|
|
55
55
|
var shared = __importStar(require("../../../sdk/models/shared"));
|
|
56
|
-
var
|
|
57
|
-
__extends(
|
|
58
|
-
function
|
|
56
|
+
var GetPaymentRefundRequest = /** @class */ (function (_super) {
|
|
57
|
+
__extends(GetPaymentRefundRequest, _super);
|
|
58
|
+
function GetPaymentRefundRequest() {
|
|
59
59
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
60
60
|
}
|
|
61
61
|
__decorate([
|
|
62
62
|
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=connection_id" }),
|
|
63
63
|
__metadata("design:type", String)
|
|
64
|
-
],
|
|
64
|
+
], GetPaymentRefundRequest.prototype, "connectionId", void 0);
|
|
65
65
|
__decorate([
|
|
66
66
|
(0, utils_1.SpeakeasyMetadata)({ data: "queryParam, style=form;explode=true;name=fields" }),
|
|
67
67
|
__metadata("design:type", Array)
|
|
68
|
-
],
|
|
68
|
+
], GetPaymentRefundRequest.prototype, "fields", void 0);
|
|
69
69
|
__decorate([
|
|
70
70
|
(0, utils_1.SpeakeasyMetadata)({ data: "pathParam, style=simple;explode=false;name=id" }),
|
|
71
71
|
__metadata("design:type", String)
|
|
72
|
-
],
|
|
73
|
-
return
|
|
72
|
+
], GetPaymentRefundRequest.prototype, "id", void 0);
|
|
73
|
+
return GetPaymentRefundRequest;
|
|
74
74
|
}(utils_1.SpeakeasyBase));
|
|
75
|
-
exports.
|
|
76
|
-
var
|
|
77
|
-
__extends(
|
|
78
|
-
function
|
|
75
|
+
exports.GetPaymentRefundRequest = GetPaymentRefundRequest;
|
|
76
|
+
var GetPaymentRefundResponse = /** @class */ (function (_super) {
|
|
77
|
+
__extends(GetPaymentRefundResponse, _super);
|
|
78
|
+
function GetPaymentRefundResponse() {
|
|
79
79
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
80
80
|
}
|
|
81
81
|
__decorate([
|
|
82
82
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
83
|
-
__metadata("design:type",
|
|
84
|
-
],
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], GetPaymentRefundResponse.prototype, "contentType", void 0);
|
|
85
85
|
__decorate([
|
|
86
86
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
87
|
-
__metadata("design:type",
|
|
88
|
-
],
|
|
87
|
+
__metadata("design:type", shared.PaymentRefund)
|
|
88
|
+
], GetPaymentRefundResponse.prototype, "paymentRefund", void 0);
|
|
89
89
|
__decorate([
|
|
90
90
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
91
91
|
__metadata("design:type", Number)
|
|
92
|
-
],
|
|
92
|
+
], GetPaymentRefundResponse.prototype, "statusCode", void 0);
|
|
93
93
|
__decorate([
|
|
94
94
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
95
95
|
__metadata("design:type", Object)
|
|
96
|
-
],
|
|
97
|
-
return
|
|
96
|
+
], GetPaymentRefundResponse.prototype, "rawResponse", void 0);
|
|
97
|
+
return GetPaymentRefundResponse;
|
|
98
98
|
}(utils_1.SpeakeasyBase));
|
|
99
|
-
exports.
|
|
99
|
+
exports.GetPaymentRefundResponse = GetPaymentRefundResponse;
|