@gr4vy/sdk 2.3.21 → 2.3.23
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 +7 -0
- package/funcs/transactionsRefundSettlementsGet.d.ts +18 -0
- package/funcs/transactionsRefundSettlementsGet.d.ts.map +1 -0
- package/funcs/transactionsRefundSettlementsGet.js +145 -0
- package/funcs/transactionsRefundSettlementsGet.js.map +1 -0
- package/funcs/transactionsRefundSettlementsList.d.ts +18 -0
- package/funcs/transactionsRefundSettlementsList.d.ts.map +1 -0
- package/funcs/transactionsRefundSettlementsList.js +140 -0
- package/funcs/transactionsRefundSettlementsList.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/digitalwallet.d.ts +2 -2
- package/models/components/digitalwallet.d.ts.map +1 -1
- package/models/components/digitalwallet.js +2 -2
- package/models/components/digitalwallet.js.map +1 -1
- package/models/components/digitalwalletaddress.d.ts +5 -0
- package/models/components/digitalwalletaddress.d.ts.map +1 -1
- package/models/components/digitalwalletaddress.js +19 -1
- package/models/components/digitalwalletaddress.js.map +1 -1
- package/models/components/index.d.ts +2 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -1
- package/models/components/index.js.map +1 -1
- package/models/components/refundsettlement.d.ts +84 -0
- package/models/components/refundsettlement.d.ts.map +1 -0
- package/models/components/refundsettlement.js +82 -0
- package/models/components/refundsettlement.js.map +1 -0
- package/models/components/refundsettlements.d.ts +17 -0
- package/models/components/refundsettlements.d.ts.map +1 -0
- package/models/components/refundsettlements.js +51 -0
- package/models/components/refundsettlements.js.map +1 -0
- package/models/operations/gettransactionrefundsettlement.d.ts +28 -0
- package/models/operations/gettransactionrefundsettlement.d.ts.map +1 -0
- package/models/{components/apitypesdigitalwalletaddress.js → operations/gettransactionrefundsettlement.js} +11 -14
- package/models/operations/gettransactionrefundsettlement.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listtransactionrefundsettlements.d.ts +23 -0
- package/models/operations/listtransactionrefundsettlements.d.ts.map +1 -0
- package/models/operations/listtransactionrefundsettlements.js +55 -0
- package/models/operations/listtransactionrefundsettlements.js.map +1 -0
- package/package.json +1 -1
- package/sdk/refundsettlements.d.ts +19 -0
- package/sdk/refundsettlements.d.ts.map +1 -0
- package/sdk/refundsettlements.js +32 -0
- package/sdk/refundsettlements.js.map +1 -0
- package/sdk/transactions.d.ts +3 -0
- package/sdk/transactions.d.ts.map +1 -1
- package/sdk/transactions.js +4 -0
- package/sdk/transactions.js.map +1 -1
- package/src/funcs/transactionsRefundSettlementsGet.ts +257 -0
- package/src/funcs/transactionsRefundSettlementsList.ts +249 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/digitalwallet.ts +5 -5
- package/src/models/components/digitalwalletaddress.ts +29 -0
- package/src/models/components/index.ts +2 -1
- package/src/models/components/refundsettlement.ts +139 -0
- package/src/models/components/refundsettlements.ts +41 -0
- package/src/models/operations/gettransactionrefundsettlement.ts +58 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listtransactionrefundsettlements.ts +52 -0
- package/src/sdk/refundsettlements.ts +51 -0
- package/src/sdk/transactions.ts +6 -0
- package/models/components/apitypesdigitalwalletaddress.d.ts +0 -14
- package/models/components/apitypesdigitalwalletaddress.d.ts.map +0 -1
- package/models/components/apitypesdigitalwalletaddress.js.map +0 -1
- package/src/models/components/apitypesdigitalwalletaddress.ts +0 -45
package/sdk/transactions.js
CHANGED
|
@@ -19,6 +19,7 @@ const actions_js_1 = require("./actions.js");
|
|
|
19
19
|
const captures_js_1 = require("./captures.js");
|
|
20
20
|
const events_js_1 = require("./events.js");
|
|
21
21
|
const gr4vyrefunds_js_1 = require("./gr4vyrefunds.js");
|
|
22
|
+
const refundsettlements_js_1 = require("./refundsettlements.js");
|
|
22
23
|
const settlements_js_1 = require("./settlements.js");
|
|
23
24
|
class Transactions extends sdks_js_1.ClientSDK {
|
|
24
25
|
get refunds() {
|
|
@@ -33,6 +34,9 @@ class Transactions extends sdks_js_1.ClientSDK {
|
|
|
33
34
|
get settlements() {
|
|
34
35
|
return (this._settlements ?? (this._settlements = new settlements_js_1.Settlements(this._options)));
|
|
35
36
|
}
|
|
37
|
+
get refundSettlements() {
|
|
38
|
+
return (this._refundSettlements ?? (this._refundSettlements = new refundsettlements_js_1.RefundSettlements(this._options)));
|
|
39
|
+
}
|
|
36
40
|
get captures() {
|
|
37
41
|
return (this._captures ?? (this._captures = new captures_js_1.Captures(this._options)));
|
|
38
42
|
}
|
package/sdk/transactions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.js","sourceRoot":"","sources":["../src/sdk/transactions.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0EAAoE;AACpE,4EAAsE;AACtE,0EAAoE;AACpE,oEAA8D;AAC9D,sEAAgE;AAChE,sEAAgE;AAChE,0EAAoE;AACpE,sEAAgE;AAChE,4CAA2D;AAG3D,0CAA6C;AAC7C,0DAA4E;AAC5E,6CAAuC;AACvC,+CAAyC;AACzC,2CAAqC;AACrC,uDAAiD;AACjD,qDAA+C;AAE/C,MAAa,YAAa,SAAQ,mBAAS;IAEzC,IAAI,OAAO;QACT,OAAO,CAAC,IAAI,CAAC,QAAQ,KAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,8BAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC7D,CAAC;IAGD,IAAI,OAAO;QACT,OAAO,CAAC,IAAI,CAAC,QAAQ,KAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,oBAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxD,CAAC;IAGD,IAAI,MAAM;QACR,OAAO,CAAC,IAAI,CAAC,OAAO,KAAZ,IAAI,CAAC,OAAO,GAAK,IAAI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CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CACX,OAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,aAAqB,EACrB,MAAyC,EACzC,iBAA6C,EAC7C,cAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EACjC,IAAI,EACJ,aAAa,EACb,MAAM,EACN,iBAAiB,EACjB,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,aAAqB,EACrB,iBAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,aAAqB,EACrB,iBAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EACjC,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"transactions.js","sourceRoot":"","sources":["../src/sdk/transactions.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0EAAoE;AACpE,4EAAsE;AACtE,0EAAoE;AACpE,oEAA8D;AAC9D,sEAAgE;AAChE,sEAAgE;AAChE,0EAAoE;AACpE,sEAAgE;AAChE,4CAA2D;AAG3D,0CAA6C;AAC7C,0DAA4E;AAC5E,6CAAuC;AACvC,+CAAyC;AACzC,2CAAqC;AACrC,uDAAiD;AACjD,iEAA2D;AAC3D,qDAA+C;AAE/C,MAAa,YAAa,SAAQ,mBAAS;IAEzC,IAAI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B,EACrB,iBAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EACjC,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AA9LD,oCA8LC"}
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { Gr4vyCore } from "../core.js";
|
|
6
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
8
|
+
import * as M from "../lib/matchers.js";
|
|
9
|
+
import { compactMap } from "../lib/primitives.js";
|
|
10
|
+
import { safeParse } from "../lib/schemas.js";
|
|
11
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
+
import { pathToFunc } from "../lib/url.js";
|
|
14
|
+
import * as components from "../models/components/index.js";
|
|
15
|
+
import { Gr4vyError } from "../models/errors/gr4vyerror.js";
|
|
16
|
+
import {
|
|
17
|
+
ConnectionError,
|
|
18
|
+
InvalidRequestError,
|
|
19
|
+
RequestAbortedError,
|
|
20
|
+
RequestTimeoutError,
|
|
21
|
+
UnexpectedClientError,
|
|
22
|
+
} from "../models/errors/httpclienterrors.js";
|
|
23
|
+
import * as errors from "../models/errors/index.js";
|
|
24
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
25
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
26
|
+
import * as operations from "../models/operations/index.js";
|
|
27
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
28
|
+
import { Result } from "../types/fp.js";
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Get transaction refund settlement
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* Retrieve a specific refund settlement for a transaction by its unique identifier.
|
|
35
|
+
*/
|
|
36
|
+
export function transactionsRefundSettlementsGet(
|
|
37
|
+
client: Gr4vyCore,
|
|
38
|
+
transactionId: string,
|
|
39
|
+
settlementId: string,
|
|
40
|
+
merchantAccountId?: string | null | undefined,
|
|
41
|
+
options?: RequestOptions,
|
|
42
|
+
): APIPromise<
|
|
43
|
+
Result<
|
|
44
|
+
components.RefundSettlement,
|
|
45
|
+
| errors.Error400
|
|
46
|
+
| errors.Error401
|
|
47
|
+
| errors.Error403
|
|
48
|
+
| errors.Error404
|
|
49
|
+
| errors.Error405
|
|
50
|
+
| errors.Error409
|
|
51
|
+
| errors.HTTPValidationError
|
|
52
|
+
| errors.Error425
|
|
53
|
+
| errors.Error429
|
|
54
|
+
| errors.Error500
|
|
55
|
+
| errors.Error502
|
|
56
|
+
| errors.Error504
|
|
57
|
+
| Gr4vyError
|
|
58
|
+
| ResponseValidationError
|
|
59
|
+
| ConnectionError
|
|
60
|
+
| RequestAbortedError
|
|
61
|
+
| RequestTimeoutError
|
|
62
|
+
| InvalidRequestError
|
|
63
|
+
| UnexpectedClientError
|
|
64
|
+
| SDKValidationError
|
|
65
|
+
>
|
|
66
|
+
> {
|
|
67
|
+
return new APIPromise($do(
|
|
68
|
+
client,
|
|
69
|
+
transactionId,
|
|
70
|
+
settlementId,
|
|
71
|
+
merchantAccountId,
|
|
72
|
+
options,
|
|
73
|
+
));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
async function $do(
|
|
77
|
+
client: Gr4vyCore,
|
|
78
|
+
transactionId: string,
|
|
79
|
+
settlementId: string,
|
|
80
|
+
merchantAccountId?: string | null | undefined,
|
|
81
|
+
options?: RequestOptions,
|
|
82
|
+
): Promise<
|
|
83
|
+
[
|
|
84
|
+
Result<
|
|
85
|
+
components.RefundSettlement,
|
|
86
|
+
| errors.Error400
|
|
87
|
+
| errors.Error401
|
|
88
|
+
| errors.Error403
|
|
89
|
+
| errors.Error404
|
|
90
|
+
| errors.Error405
|
|
91
|
+
| errors.Error409
|
|
92
|
+
| errors.HTTPValidationError
|
|
93
|
+
| errors.Error425
|
|
94
|
+
| errors.Error429
|
|
95
|
+
| errors.Error500
|
|
96
|
+
| errors.Error502
|
|
97
|
+
| errors.Error504
|
|
98
|
+
| Gr4vyError
|
|
99
|
+
| ResponseValidationError
|
|
100
|
+
| ConnectionError
|
|
101
|
+
| RequestAbortedError
|
|
102
|
+
| RequestTimeoutError
|
|
103
|
+
| InvalidRequestError
|
|
104
|
+
| UnexpectedClientError
|
|
105
|
+
| SDKValidationError
|
|
106
|
+
>,
|
|
107
|
+
APICall,
|
|
108
|
+
]
|
|
109
|
+
> {
|
|
110
|
+
const input: operations.GetTransactionRefundSettlementRequest = {
|
|
111
|
+
transactionId: transactionId,
|
|
112
|
+
settlementId: settlementId,
|
|
113
|
+
merchantAccountId: merchantAccountId,
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
const parsed = safeParse(
|
|
117
|
+
input,
|
|
118
|
+
(value) =>
|
|
119
|
+
operations.GetTransactionRefundSettlementRequest$outboundSchema.parse(
|
|
120
|
+
value,
|
|
121
|
+
),
|
|
122
|
+
"Input validation failed",
|
|
123
|
+
);
|
|
124
|
+
if (!parsed.ok) {
|
|
125
|
+
return [parsed, { status: "invalid" }];
|
|
126
|
+
}
|
|
127
|
+
const payload = parsed.value;
|
|
128
|
+
const body = null;
|
|
129
|
+
|
|
130
|
+
const pathParams = {
|
|
131
|
+
settlement_id: encodeSimple("settlement_id", payload.settlement_id, {
|
|
132
|
+
explode: false,
|
|
133
|
+
charEncoding: "percent",
|
|
134
|
+
}),
|
|
135
|
+
transaction_id: encodeSimple("transaction_id", payload.transaction_id, {
|
|
136
|
+
explode: false,
|
|
137
|
+
charEncoding: "percent",
|
|
138
|
+
}),
|
|
139
|
+
};
|
|
140
|
+
const path = pathToFunc(
|
|
141
|
+
"/transactions/{transaction_id}/refund-settlements/{settlement_id}",
|
|
142
|
+
)(pathParams);
|
|
143
|
+
|
|
144
|
+
const headers = new Headers(compactMap({
|
|
145
|
+
Accept: "application/json",
|
|
146
|
+
"x-gr4vy-merchant-account-id": encodeSimple(
|
|
147
|
+
"x-gr4vy-merchant-account-id",
|
|
148
|
+
payload.merchantAccountId ?? client._options.merchantAccountId,
|
|
149
|
+
{ explode: false, charEncoding: "none" },
|
|
150
|
+
),
|
|
151
|
+
}));
|
|
152
|
+
|
|
153
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
154
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
155
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
156
|
+
|
|
157
|
+
const context = {
|
|
158
|
+
options: client._options,
|
|
159
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
160
|
+
operationID: "get_transaction_refund_settlement",
|
|
161
|
+
oAuth2Scopes: null,
|
|
162
|
+
|
|
163
|
+
resolvedSecurity: requestSecurity,
|
|
164
|
+
|
|
165
|
+
securitySource: client._options.bearerAuth,
|
|
166
|
+
retryConfig: options?.retries
|
|
167
|
+
|| client._options.retryConfig
|
|
168
|
+
|| {
|
|
169
|
+
strategy: "backoff",
|
|
170
|
+
backoff: {
|
|
171
|
+
initialInterval: 200,
|
|
172
|
+
maxInterval: 200,
|
|
173
|
+
exponent: 1,
|
|
174
|
+
maxElapsedTime: 1000,
|
|
175
|
+
},
|
|
176
|
+
retryConnectionErrors: true,
|
|
177
|
+
}
|
|
178
|
+
|| { strategy: "none" },
|
|
179
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
const requestRes = client._createRequest(context, {
|
|
183
|
+
security: requestSecurity,
|
|
184
|
+
method: "GET",
|
|
185
|
+
baseURL: options?.serverURL,
|
|
186
|
+
path: path,
|
|
187
|
+
headers: headers,
|
|
188
|
+
body: body,
|
|
189
|
+
userAgent: client._options.userAgent,
|
|
190
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
191
|
+
}, options);
|
|
192
|
+
if (!requestRes.ok) {
|
|
193
|
+
return [requestRes, { status: "invalid" }];
|
|
194
|
+
}
|
|
195
|
+
const req = requestRes.value;
|
|
196
|
+
|
|
197
|
+
const doResult = await client._do(req, {
|
|
198
|
+
context,
|
|
199
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
200
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
201
|
+
retryConfig: context.retryConfig,
|
|
202
|
+
retryCodes: context.retryCodes,
|
|
203
|
+
});
|
|
204
|
+
if (!doResult.ok) {
|
|
205
|
+
return [doResult, { status: "request-error", request: req }];
|
|
206
|
+
}
|
|
207
|
+
const response = doResult.value;
|
|
208
|
+
|
|
209
|
+
const responseFields = {
|
|
210
|
+
HttpMeta: { Response: response, Request: req },
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
const [result] = await M.match<
|
|
214
|
+
components.RefundSettlement,
|
|
215
|
+
| errors.Error400
|
|
216
|
+
| errors.Error401
|
|
217
|
+
| errors.Error403
|
|
218
|
+
| errors.Error404
|
|
219
|
+
| errors.Error405
|
|
220
|
+
| errors.Error409
|
|
221
|
+
| errors.HTTPValidationError
|
|
222
|
+
| errors.Error425
|
|
223
|
+
| errors.Error429
|
|
224
|
+
| errors.Error500
|
|
225
|
+
| errors.Error502
|
|
226
|
+
| errors.Error504
|
|
227
|
+
| Gr4vyError
|
|
228
|
+
| ResponseValidationError
|
|
229
|
+
| ConnectionError
|
|
230
|
+
| RequestAbortedError
|
|
231
|
+
| RequestTimeoutError
|
|
232
|
+
| InvalidRequestError
|
|
233
|
+
| UnexpectedClientError
|
|
234
|
+
| SDKValidationError
|
|
235
|
+
>(
|
|
236
|
+
M.json(200, components.RefundSettlement$inboundSchema),
|
|
237
|
+
M.jsonErr(400, errors.Error400$inboundSchema),
|
|
238
|
+
M.jsonErr(401, errors.Error401$inboundSchema),
|
|
239
|
+
M.jsonErr(403, errors.Error403$inboundSchema),
|
|
240
|
+
M.jsonErr(404, errors.Error404$inboundSchema),
|
|
241
|
+
M.jsonErr(405, errors.Error405$inboundSchema),
|
|
242
|
+
M.jsonErr(409, errors.Error409$inboundSchema),
|
|
243
|
+
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
244
|
+
M.jsonErr(425, errors.Error425$inboundSchema),
|
|
245
|
+
M.jsonErr(429, errors.Error429$inboundSchema),
|
|
246
|
+
M.jsonErr(500, errors.Error500$inboundSchema),
|
|
247
|
+
M.jsonErr(502, errors.Error502$inboundSchema),
|
|
248
|
+
M.jsonErr(504, errors.Error504$inboundSchema),
|
|
249
|
+
M.fail("4XX"),
|
|
250
|
+
M.fail("5XX"),
|
|
251
|
+
)(response, req, { extraFields: responseFields });
|
|
252
|
+
if (!result.ok) {
|
|
253
|
+
return [result, { status: "complete", request: req, response }];
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
return [result, { status: "complete", request: req, response }];
|
|
257
|
+
}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { Gr4vyCore } from "../core.js";
|
|
6
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
8
|
+
import * as M from "../lib/matchers.js";
|
|
9
|
+
import { compactMap } from "../lib/primitives.js";
|
|
10
|
+
import { safeParse } from "../lib/schemas.js";
|
|
11
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
+
import { pathToFunc } from "../lib/url.js";
|
|
14
|
+
import * as components from "../models/components/index.js";
|
|
15
|
+
import { Gr4vyError } from "../models/errors/gr4vyerror.js";
|
|
16
|
+
import {
|
|
17
|
+
ConnectionError,
|
|
18
|
+
InvalidRequestError,
|
|
19
|
+
RequestAbortedError,
|
|
20
|
+
RequestTimeoutError,
|
|
21
|
+
UnexpectedClientError,
|
|
22
|
+
} from "../models/errors/httpclienterrors.js";
|
|
23
|
+
import * as errors from "../models/errors/index.js";
|
|
24
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
25
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
26
|
+
import * as operations from "../models/operations/index.js";
|
|
27
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
28
|
+
import { Result } from "../types/fp.js";
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* List transaction refund settlements
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* List all refund settlements for a specific transaction.
|
|
35
|
+
*/
|
|
36
|
+
export function transactionsRefundSettlementsList(
|
|
37
|
+
client: Gr4vyCore,
|
|
38
|
+
transactionId: string,
|
|
39
|
+
merchantAccountId?: string | null | undefined,
|
|
40
|
+
options?: RequestOptions,
|
|
41
|
+
): APIPromise<
|
|
42
|
+
Result<
|
|
43
|
+
components.RefundSettlements,
|
|
44
|
+
| errors.Error400
|
|
45
|
+
| errors.Error401
|
|
46
|
+
| errors.Error403
|
|
47
|
+
| errors.Error404
|
|
48
|
+
| errors.Error405
|
|
49
|
+
| errors.Error409
|
|
50
|
+
| errors.HTTPValidationError
|
|
51
|
+
| errors.Error425
|
|
52
|
+
| errors.Error429
|
|
53
|
+
| errors.Error500
|
|
54
|
+
| errors.Error502
|
|
55
|
+
| errors.Error504
|
|
56
|
+
| Gr4vyError
|
|
57
|
+
| ResponseValidationError
|
|
58
|
+
| ConnectionError
|
|
59
|
+
| RequestAbortedError
|
|
60
|
+
| RequestTimeoutError
|
|
61
|
+
| InvalidRequestError
|
|
62
|
+
| UnexpectedClientError
|
|
63
|
+
| SDKValidationError
|
|
64
|
+
>
|
|
65
|
+
> {
|
|
66
|
+
return new APIPromise($do(
|
|
67
|
+
client,
|
|
68
|
+
transactionId,
|
|
69
|
+
merchantAccountId,
|
|
70
|
+
options,
|
|
71
|
+
));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
async function $do(
|
|
75
|
+
client: Gr4vyCore,
|
|
76
|
+
transactionId: string,
|
|
77
|
+
merchantAccountId?: string | null | undefined,
|
|
78
|
+
options?: RequestOptions,
|
|
79
|
+
): Promise<
|
|
80
|
+
[
|
|
81
|
+
Result<
|
|
82
|
+
components.RefundSettlements,
|
|
83
|
+
| errors.Error400
|
|
84
|
+
| errors.Error401
|
|
85
|
+
| errors.Error403
|
|
86
|
+
| errors.Error404
|
|
87
|
+
| errors.Error405
|
|
88
|
+
| errors.Error409
|
|
89
|
+
| errors.HTTPValidationError
|
|
90
|
+
| errors.Error425
|
|
91
|
+
| errors.Error429
|
|
92
|
+
| errors.Error500
|
|
93
|
+
| errors.Error502
|
|
94
|
+
| errors.Error504
|
|
95
|
+
| Gr4vyError
|
|
96
|
+
| ResponseValidationError
|
|
97
|
+
| ConnectionError
|
|
98
|
+
| RequestAbortedError
|
|
99
|
+
| RequestTimeoutError
|
|
100
|
+
| InvalidRequestError
|
|
101
|
+
| UnexpectedClientError
|
|
102
|
+
| SDKValidationError
|
|
103
|
+
>,
|
|
104
|
+
APICall,
|
|
105
|
+
]
|
|
106
|
+
> {
|
|
107
|
+
const input: operations.ListTransactionRefundSettlementsRequest = {
|
|
108
|
+
transactionId: transactionId,
|
|
109
|
+
merchantAccountId: merchantAccountId,
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
const parsed = safeParse(
|
|
113
|
+
input,
|
|
114
|
+
(value) =>
|
|
115
|
+
operations.ListTransactionRefundSettlementsRequest$outboundSchema.parse(
|
|
116
|
+
value,
|
|
117
|
+
),
|
|
118
|
+
"Input validation failed",
|
|
119
|
+
);
|
|
120
|
+
if (!parsed.ok) {
|
|
121
|
+
return [parsed, { status: "invalid" }];
|
|
122
|
+
}
|
|
123
|
+
const payload = parsed.value;
|
|
124
|
+
const body = null;
|
|
125
|
+
|
|
126
|
+
const pathParams = {
|
|
127
|
+
transaction_id: encodeSimple("transaction_id", payload.transaction_id, {
|
|
128
|
+
explode: false,
|
|
129
|
+
charEncoding: "percent",
|
|
130
|
+
}),
|
|
131
|
+
};
|
|
132
|
+
const path = pathToFunc("/transactions/{transaction_id}/refund-settlements")(
|
|
133
|
+
pathParams,
|
|
134
|
+
);
|
|
135
|
+
|
|
136
|
+
const headers = new Headers(compactMap({
|
|
137
|
+
Accept: "application/json",
|
|
138
|
+
"x-gr4vy-merchant-account-id": encodeSimple(
|
|
139
|
+
"x-gr4vy-merchant-account-id",
|
|
140
|
+
payload.merchantAccountId ?? client._options.merchantAccountId,
|
|
141
|
+
{ explode: false, charEncoding: "none" },
|
|
142
|
+
),
|
|
143
|
+
}));
|
|
144
|
+
|
|
145
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
147
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
148
|
+
|
|
149
|
+
const context = {
|
|
150
|
+
options: client._options,
|
|
151
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
152
|
+
operationID: "list_transaction_refund_settlements",
|
|
153
|
+
oAuth2Scopes: null,
|
|
154
|
+
|
|
155
|
+
resolvedSecurity: requestSecurity,
|
|
156
|
+
|
|
157
|
+
securitySource: client._options.bearerAuth,
|
|
158
|
+
retryConfig: options?.retries
|
|
159
|
+
|| client._options.retryConfig
|
|
160
|
+
|| {
|
|
161
|
+
strategy: "backoff",
|
|
162
|
+
backoff: {
|
|
163
|
+
initialInterval: 200,
|
|
164
|
+
maxInterval: 200,
|
|
165
|
+
exponent: 1,
|
|
166
|
+
maxElapsedTime: 1000,
|
|
167
|
+
},
|
|
168
|
+
retryConnectionErrors: true,
|
|
169
|
+
}
|
|
170
|
+
|| { strategy: "none" },
|
|
171
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
const requestRes = client._createRequest(context, {
|
|
175
|
+
security: requestSecurity,
|
|
176
|
+
method: "GET",
|
|
177
|
+
baseURL: options?.serverURL,
|
|
178
|
+
path: path,
|
|
179
|
+
headers: headers,
|
|
180
|
+
body: body,
|
|
181
|
+
userAgent: client._options.userAgent,
|
|
182
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
183
|
+
}, options);
|
|
184
|
+
if (!requestRes.ok) {
|
|
185
|
+
return [requestRes, { status: "invalid" }];
|
|
186
|
+
}
|
|
187
|
+
const req = requestRes.value;
|
|
188
|
+
|
|
189
|
+
const doResult = await client._do(req, {
|
|
190
|
+
context,
|
|
191
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
192
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
193
|
+
retryConfig: context.retryConfig,
|
|
194
|
+
retryCodes: context.retryCodes,
|
|
195
|
+
});
|
|
196
|
+
if (!doResult.ok) {
|
|
197
|
+
return [doResult, { status: "request-error", request: req }];
|
|
198
|
+
}
|
|
199
|
+
const response = doResult.value;
|
|
200
|
+
|
|
201
|
+
const responseFields = {
|
|
202
|
+
HttpMeta: { Response: response, Request: req },
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
const [result] = await M.match<
|
|
206
|
+
components.RefundSettlements,
|
|
207
|
+
| errors.Error400
|
|
208
|
+
| errors.Error401
|
|
209
|
+
| errors.Error403
|
|
210
|
+
| errors.Error404
|
|
211
|
+
| errors.Error405
|
|
212
|
+
| errors.Error409
|
|
213
|
+
| errors.HTTPValidationError
|
|
214
|
+
| errors.Error425
|
|
215
|
+
| errors.Error429
|
|
216
|
+
| errors.Error500
|
|
217
|
+
| errors.Error502
|
|
218
|
+
| errors.Error504
|
|
219
|
+
| Gr4vyError
|
|
220
|
+
| ResponseValidationError
|
|
221
|
+
| ConnectionError
|
|
222
|
+
| RequestAbortedError
|
|
223
|
+
| RequestTimeoutError
|
|
224
|
+
| InvalidRequestError
|
|
225
|
+
| UnexpectedClientError
|
|
226
|
+
| SDKValidationError
|
|
227
|
+
>(
|
|
228
|
+
M.json(200, components.RefundSettlements$inboundSchema),
|
|
229
|
+
M.jsonErr(400, errors.Error400$inboundSchema),
|
|
230
|
+
M.jsonErr(401, errors.Error401$inboundSchema),
|
|
231
|
+
M.jsonErr(403, errors.Error403$inboundSchema),
|
|
232
|
+
M.jsonErr(404, errors.Error404$inboundSchema),
|
|
233
|
+
M.jsonErr(405, errors.Error405$inboundSchema),
|
|
234
|
+
M.jsonErr(409, errors.Error409$inboundSchema),
|
|
235
|
+
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
236
|
+
M.jsonErr(425, errors.Error425$inboundSchema),
|
|
237
|
+
M.jsonErr(429, errors.Error429$inboundSchema),
|
|
238
|
+
M.jsonErr(500, errors.Error500$inboundSchema),
|
|
239
|
+
M.jsonErr(502, errors.Error502$inboundSchema),
|
|
240
|
+
M.jsonErr(504, errors.Error504$inboundSchema),
|
|
241
|
+
M.fail("4XX"),
|
|
242
|
+
M.fail("5XX"),
|
|
243
|
+
)(response, req, { extraFields: responseFields });
|
|
244
|
+
if (!result.ok) {
|
|
245
|
+
return [result, { status: "complete", request: req, response }];
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
return [result, { status: "complete", request: req, response }];
|
|
249
|
+
}
|
package/src/lib/config.ts
CHANGED
|
@@ -77,7 +77,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
77
77
|
export const SDK_METADATA = {
|
|
78
78
|
language: "typescript",
|
|
79
79
|
openapiDocVersion: "1.0.0",
|
|
80
|
-
sdkVersion: "2.3.
|
|
81
|
-
genVersion: "2.
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 2.3.
|
|
80
|
+
sdkVersion: "2.3.23",
|
|
81
|
+
genVersion: "2.918.1",
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 2.3.23 2.918.1 1.0.0 @gr4vy/sdk",
|
|
83
83
|
} as const;
|
|
@@ -8,9 +8,9 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
DigitalWalletAddress,
|
|
12
|
+
DigitalWalletAddress$inboundSchema,
|
|
13
|
+
} from "./digitalwalletaddress.js";
|
|
14
14
|
import {
|
|
15
15
|
DigitalWalletProvider,
|
|
16
16
|
DigitalWalletProvider$inboundSchema,
|
|
@@ -53,7 +53,7 @@ export type DigitalWallet = {
|
|
|
53
53
|
/**
|
|
54
54
|
* The merchant address associated with the digital wallet.
|
|
55
55
|
*/
|
|
56
|
-
address?:
|
|
56
|
+
address?: DigitalWalletAddress | null | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* Provider-specific configuration. Currently only used by Paze.
|
|
59
59
|
*/
|
|
@@ -103,7 +103,7 @@ export const DigitalWallet$inboundSchema: z.ZodType<
|
|
|
103
103
|
merchant_url: z.nullable(z.string()).optional(),
|
|
104
104
|
merchant_country_code: z.nullable(z.string()).optional(),
|
|
105
105
|
merchant_category_code: z.nullable(z.string()).optional(),
|
|
106
|
-
address: z.nullable(
|
|
106
|
+
address: z.nullable(DigitalWalletAddress$inboundSchema).optional(),
|
|
107
107
|
extra_configuration: z.nullable(z.record(z.any())).optional(),
|
|
108
108
|
domain_names: z.array(z.string()),
|
|
109
109
|
active_certificate_count: z.number().int().default(0),
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
7
10
|
|
|
8
11
|
export type DigitalWalletAddress = {
|
|
9
12
|
/**
|
|
@@ -28,6 +31,23 @@ export type DigitalWalletAddress = {
|
|
|
28
31
|
postalCode: string;
|
|
29
32
|
};
|
|
30
33
|
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const DigitalWalletAddress$inboundSchema: z.ZodType<
|
|
36
|
+
DigitalWalletAddress,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
unknown
|
|
39
|
+
> = z.object({
|
|
40
|
+
line1: z.string(),
|
|
41
|
+
line2: z.nullable(z.string()).optional(),
|
|
42
|
+
city: z.string(),
|
|
43
|
+
state_code: z.string(),
|
|
44
|
+
postal_code: z.string(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return remap$(v, {
|
|
47
|
+
"state_code": "stateCode",
|
|
48
|
+
"postal_code": "postalCode",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
31
51
|
/** @internal */
|
|
32
52
|
export type DigitalWalletAddress$Outbound = {
|
|
33
53
|
line1: string;
|
|
@@ -62,3 +82,12 @@ export function digitalWalletAddressToJSON(
|
|
|
62
82
|
DigitalWalletAddress$outboundSchema.parse(digitalWalletAddress),
|
|
63
83
|
);
|
|
64
84
|
}
|
|
85
|
+
export function digitalWalletAddressFromJSON(
|
|
86
|
+
jsonString: string,
|
|
87
|
+
): SafeParseResult<DigitalWalletAddress, SDKValidationError> {
|
|
88
|
+
return safeParse(
|
|
89
|
+
jsonString,
|
|
90
|
+
(x) => DigitalWalletAddress$inboundSchema.parse(JSON.parse(x)),
|
|
91
|
+
`Failed to parse 'DigitalWalletAddress' from JSON`,
|
|
92
|
+
);
|
|
93
|
+
}
|
|
@@ -30,7 +30,6 @@ export * from "./apikeypair.js";
|
|
|
30
30
|
export * from "./apikeypaircreate.js";
|
|
31
31
|
export * from "./apikeypairupdate.js";
|
|
32
32
|
export * from "./apiroutersapikeypairsschemascreator.js";
|
|
33
|
-
export * from "./apitypesdigitalwalletaddress.js";
|
|
34
33
|
export * from "./applepaypaymentmethodcreate.js";
|
|
35
34
|
export * from "./applepaysessionrequest.js";
|
|
36
35
|
export * from "./approvaltarget.js";
|
|
@@ -254,6 +253,8 @@ export * from "./recipient.js";
|
|
|
254
253
|
export * from "./redirectpaymentmethodcreate.js";
|
|
255
254
|
export * from "./refund.js";
|
|
256
255
|
export * from "./refunds.js";
|
|
256
|
+
export * from "./refundsettlement.js";
|
|
257
|
+
export * from "./refundsettlements.js";
|
|
257
258
|
export * from "./refundstatus.js";
|
|
258
259
|
export * from "./refundtargettype.js";
|
|
259
260
|
export * from "./report.js";
|