@gr4vy/sdk 0.18.13 → 0.18.14
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 +11 -0
- package/bin/mcp-server.js +1776 -630
- package/bin/mcp-server.js.map +29 -9
- package/docs/sdks/merchantaccounts/README.md +454 -0
- package/funcs/merchantAccountsCreate.d.ts +17 -0
- package/funcs/merchantAccountsCreate.d.ts.map +1 -0
- package/funcs/merchantAccountsCreate.js +133 -0
- package/funcs/merchantAccountsCreate.js.map +1 -0
- package/funcs/merchantAccountsGet.d.ts +17 -0
- package/funcs/merchantAccountsGet.d.ts.map +1 -0
- package/funcs/merchantAccountsGet.js +137 -0
- package/funcs/merchantAccountsGet.js.map +1 -0
- package/funcs/merchantAccountsList.d.ts +20 -0
- package/funcs/merchantAccountsList.d.ts.map +1 -0
- package/funcs/merchantAccountsList.js +162 -0
- package/funcs/merchantAccountsList.js.map +1 -0
- package/funcs/merchantAccountsUpdate.d.ts +17 -0
- package/funcs/merchantAccountsUpdate.d.ts.map +1 -0
- package/funcs/merchantAccountsUpdate.js +137 -0
- package/funcs/merchantAccountsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +9 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/merchantAccountsCreate.d.ts +10 -0
- package/mcp-server/tools/merchantAccountsCreate.d.ts.map +1 -0
- package/mcp-server/tools/merchantAccountsCreate.js +56 -0
- package/mcp-server/tools/merchantAccountsCreate.js.map +1 -0
- package/mcp-server/tools/merchantAccountsGet.d.ts +8 -0
- package/mcp-server/tools/merchantAccountsGet.d.ts.map +1 -0
- package/mcp-server/tools/merchantAccountsGet.js +54 -0
- package/mcp-server/tools/merchantAccountsGet.js.map +1 -0
- package/mcp-server/tools/merchantAccountsList.d.ts +10 -0
- package/mcp-server/tools/merchantAccountsList.d.ts.map +1 -0
- package/mcp-server/tools/merchantAccountsList.js +56 -0
- package/mcp-server/tools/merchantAccountsList.js.map +1 -0
- package/mcp-server/tools/merchantAccountsUpdate.d.ts +11 -0
- package/mcp-server/tools/merchantAccountsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/merchantAccountsUpdate.js +57 -0
- package/mcp-server/tools/merchantAccountsUpdate.js.map +1 -0
- package/models/components/collectionmerchantaccount.d.ts +48 -0
- package/models/components/collectionmerchantaccount.d.ts.map +1 -0
- package/models/components/collectionmerchantaccount.js +77 -0
- package/models/components/collectionmerchantaccount.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/merchantaccount.d.ts +148 -0
- package/models/components/merchantaccount.d.ts.map +1 -0
- package/models/components/merchantaccount.js +159 -0
- package/models/components/merchantaccount.js.map +1 -0
- package/models/components/merchantaccountcreate.d.ts +133 -0
- package/models/components/merchantaccountcreate.d.ts.map +1 -0
- package/models/components/merchantaccountcreate.js +149 -0
- package/models/components/merchantaccountcreate.js.map +1 -0
- package/models/components/merchantaccountupdate.d.ts +128 -0
- package/models/components/merchantaccountupdate.d.ts.map +1 -0
- package/models/components/merchantaccountupdate.js +147 -0
- package/models/components/merchantaccountupdate.js.map +1 -0
- package/models/errors/createmerchantaccount.d.ts +31 -0
- package/models/errors/createmerchantaccount.d.ts.map +1 -0
- package/models/errors/createmerchantaccount.js +66 -0
- package/models/errors/createmerchantaccount.js.map +1 -0
- package/models/errors/getmerchantaccount.d.ts +31 -0
- package/models/errors/getmerchantaccount.d.ts.map +1 -0
- package/models/errors/getmerchantaccount.js +66 -0
- package/models/errors/getmerchantaccount.js.map +1 -0
- package/models/errors/index.d.ts +4 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +4 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/listmerchantaccounts.d.ts +31 -0
- package/models/errors/listmerchantaccounts.d.ts.map +1 -0
- package/models/errors/listmerchantaccounts.js +66 -0
- package/models/errors/listmerchantaccounts.js.map +1 -0
- package/models/errors/updatemerchantaccount.d.ts +31 -0
- package/models/errors/updatemerchantaccount.d.ts.map +1 -0
- package/models/errors/updatemerchantaccount.js +66 -0
- package/models/errors/updatemerchantaccount.js.map +1 -0
- package/models/operations/createmerchantaccount.d.ts +32 -0
- package/models/operations/createmerchantaccount.d.ts.map +1 -0
- package/models/operations/createmerchantaccount.js +73 -0
- package/models/operations/createmerchantaccount.js.map +1 -0
- package/models/operations/getmerchantaccount.d.ts +29 -0
- package/models/operations/getmerchantaccount.d.ts.map +1 -0
- package/models/operations/getmerchantaccount.js +68 -0
- package/models/operations/getmerchantaccount.js.map +1 -0
- package/models/operations/index.d.ts +4 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listmerchantaccounts.d.ts +59 -0
- package/models/operations/listmerchantaccounts.d.ts.map +1 -0
- package/models/operations/listmerchantaccounts.js +100 -0
- package/models/operations/listmerchantaccounts.js.map +1 -0
- package/models/operations/updatemerchantaccount.d.ts +34 -0
- package/models/operations/updatemerchantaccount.d.ts.map +1 -0
- package/models/operations/updatemerchantaccount.js +77 -0
- package/models/operations/updatemerchantaccount.js.map +1 -0
- package/package.json +1 -1
- package/sdk/merchantaccounts.d.ts +37 -0
- package/sdk/merchantaccounts.d.ts.map +1 -0
- package/sdk/merchantaccounts.js +53 -0
- package/sdk/merchantaccounts.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/merchantAccountsCreate.ts +243 -0
- package/src/funcs/merchantAccountsGet.ts +249 -0
- package/src/funcs/merchantAccountsList.ts +326 -0
- package/src/funcs/merchantAccountsUpdate.ts +257 -0
- package/src/lib/config.ts +4 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -1
- package/src/mcp-server/tools/merchantAccountsCreate.ts +40 -0
- package/src/mcp-server/tools/merchantAccountsGet.ts +37 -0
- package/src/mcp-server/tools/merchantAccountsList.ts +41 -0
- package/src/mcp-server/tools/merchantAccountsUpdate.ts +42 -0
- package/src/models/components/collectionmerchantaccount.ts +107 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/merchantaccount.ts +296 -0
- package/src/models/components/merchantaccountcreate.ts +273 -0
- package/src/models/components/merchantaccountupdate.ts +266 -0
- package/src/models/errors/createmerchantaccount.ts +107 -0
- package/src/models/errors/getmerchantaccount.ts +107 -0
- package/src/models/errors/index.ts +4 -0
- package/src/models/errors/listmerchantaccounts.ts +107 -0
- package/src/models/errors/updatemerchantaccount.ts +107 -0
- package/src/models/operations/createmerchantaccount.ts +84 -0
- package/src/models/operations/getmerchantaccount.ts +75 -0
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/listmerchantaccounts.ts +146 -0
- package/src/models/operations/updatemerchantaccount.ts +90 -0
- package/src/sdk/merchantaccounts.ts +95 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { Error403, Error403$Outbound } from "./error403.js";
|
|
4
|
+
import { Error403Active, Error403Active$Outbound } from "./error403active.js";
|
|
5
|
+
import { Error403Forbidden, Error403Forbidden$Outbound } from "./error403forbidden.js";
|
|
6
|
+
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
7
|
+
/**
|
|
8
|
+
* The credentials were invalid or the caller did not have permission to act on the resource.
|
|
9
|
+
*/
|
|
10
|
+
export type ListMerchantAccountsResponse403ListMerchantAccounts = Error403 | Error403Forbidden | Error403Active;
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const ListMerchantAccountsResponse403ListMerchantAccounts$inboundSchema: z.ZodType<ListMerchantAccountsResponse403ListMerchantAccounts, z.ZodTypeDef, unknown>;
|
|
13
|
+
/** @internal */
|
|
14
|
+
export type ListMerchantAccountsResponse403ListMerchantAccounts$Outbound = Error403$Outbound | Error403Forbidden$Outbound | Error403Active$Outbound;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const ListMerchantAccountsResponse403ListMerchantAccounts$outboundSchema: z.ZodType<ListMerchantAccountsResponse403ListMerchantAccounts$Outbound, z.ZodTypeDef, ListMerchantAccountsResponse403ListMerchantAccounts>;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
20
|
+
*/
|
|
21
|
+
export declare namespace ListMerchantAccountsResponse403ListMerchantAccounts$ {
|
|
22
|
+
/** @deprecated use `ListMerchantAccountsResponse403ListMerchantAccounts$inboundSchema` instead. */
|
|
23
|
+
const inboundSchema: z.ZodType<ListMerchantAccountsResponse403ListMerchantAccounts, z.ZodTypeDef, unknown>;
|
|
24
|
+
/** @deprecated use `ListMerchantAccountsResponse403ListMerchantAccounts$outboundSchema` instead. */
|
|
25
|
+
const outboundSchema: z.ZodType<ListMerchantAccountsResponse403ListMerchantAccounts$Outbound, z.ZodTypeDef, ListMerchantAccountsResponse403ListMerchantAccounts>;
|
|
26
|
+
/** @deprecated use `ListMerchantAccountsResponse403ListMerchantAccounts$Outbound` instead. */
|
|
27
|
+
type Outbound = ListMerchantAccountsResponse403ListMerchantAccounts$Outbound;
|
|
28
|
+
}
|
|
29
|
+
export declare function listMerchantAccountsResponse403ListMerchantAccountsToJSON(listMerchantAccountsResponse403ListMerchantAccounts: ListMerchantAccountsResponse403ListMerchantAccounts): string;
|
|
30
|
+
export declare function listMerchantAccountsResponse403ListMerchantAccountsFromJSON(jsonString: string): SafeParseResult<ListMerchantAccountsResponse403ListMerchantAccounts, SDKValidationError>;
|
|
31
|
+
//# sourceMappingURL=listmerchantaccounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listmerchantaccounts.d.ts","sourceRoot":"","sources":["../../src/models/errors/listmerchantaccounts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,mDAAmD,GAC3D,QAAQ,GACR,iBAAiB,GACjB,cAAc,CAAC;AAEnB,gBAAgB;AAChB,eAAO,MAAM,iEAAiE,EAC5E,CAAC,CAAC,OAAO,CACP,mDAAmD,EACnD,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,4DAA4D,GACpE,iBAAiB,GACjB,0BAA0B,GAC1B,uBAAuB,CAAC;AAE5B,gBAAgB;AAChB,eAAO,MAAM,kEAAkE,EAC7E,CAAC,CAAC,OAAO,CACP,4DAA4D,EAC5D,CAAC,CAAC,UAAU,EACZ,mDAAmD,CAKnD,CAAC;AAEL;;;GAGG;AACH,yBAAiB,oDAAoD,CAAC;IACpE,mGAAmG;IAC5F,MAAM,aAAa,uFACyC,CAAC;IACpE,oGAAoG;IAC7F,MAAM,cAAc,4IACyC,CAAC;IACrE,8FAA8F;IAC9F,KAAY,QAAQ,GAClB,4DAA4D,CAAC;CAChE;AAED,wBAAgB,yDAAyD,CACvE,mDAAmD,EACjD,mDAAmD,GACpD,MAAM,CAMR;AAED,wBAAgB,2DAA2D,CACzE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,mDAAmD,EACnD,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ListMerchantAccountsResponse403ListMerchantAccounts$ = exports.ListMerchantAccountsResponse403ListMerchantAccounts$outboundSchema = exports.ListMerchantAccountsResponse403ListMerchantAccounts$inboundSchema = void 0;
|
|
30
|
+
exports.listMerchantAccountsResponse403ListMerchantAccountsToJSON = listMerchantAccountsResponse403ListMerchantAccountsToJSON;
|
|
31
|
+
exports.listMerchantAccountsResponse403ListMerchantAccountsFromJSON = listMerchantAccountsResponse403ListMerchantAccountsFromJSON;
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
34
|
+
const error403_js_1 = require("./error403.js");
|
|
35
|
+
const error403active_js_1 = require("./error403active.js");
|
|
36
|
+
const error403forbidden_js_1 = require("./error403forbidden.js");
|
|
37
|
+
/** @internal */
|
|
38
|
+
exports.ListMerchantAccountsResponse403ListMerchantAccounts$inboundSchema = z.union([
|
|
39
|
+
error403_js_1.Error403$inboundSchema,
|
|
40
|
+
error403forbidden_js_1.Error403Forbidden$inboundSchema,
|
|
41
|
+
error403active_js_1.Error403Active$inboundSchema,
|
|
42
|
+
]);
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.ListMerchantAccountsResponse403ListMerchantAccounts$outboundSchema = z.union([
|
|
45
|
+
error403_js_1.Error403$outboundSchema,
|
|
46
|
+
error403forbidden_js_1.Error403Forbidden$outboundSchema,
|
|
47
|
+
error403active_js_1.Error403Active$outboundSchema,
|
|
48
|
+
]);
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
+
*/
|
|
53
|
+
var ListMerchantAccountsResponse403ListMerchantAccounts$;
|
|
54
|
+
(function (ListMerchantAccountsResponse403ListMerchantAccounts$) {
|
|
55
|
+
/** @deprecated use `ListMerchantAccountsResponse403ListMerchantAccounts$inboundSchema` instead. */
|
|
56
|
+
ListMerchantAccountsResponse403ListMerchantAccounts$.inboundSchema = exports.ListMerchantAccountsResponse403ListMerchantAccounts$inboundSchema;
|
|
57
|
+
/** @deprecated use `ListMerchantAccountsResponse403ListMerchantAccounts$outboundSchema` instead. */
|
|
58
|
+
ListMerchantAccountsResponse403ListMerchantAccounts$.outboundSchema = exports.ListMerchantAccountsResponse403ListMerchantAccounts$outboundSchema;
|
|
59
|
+
})(ListMerchantAccountsResponse403ListMerchantAccounts$ || (exports.ListMerchantAccountsResponse403ListMerchantAccounts$ = ListMerchantAccountsResponse403ListMerchantAccounts$ = {}));
|
|
60
|
+
function listMerchantAccountsResponse403ListMerchantAccountsToJSON(listMerchantAccountsResponse403ListMerchantAccounts) {
|
|
61
|
+
return JSON.stringify(exports.ListMerchantAccountsResponse403ListMerchantAccounts$outboundSchema.parse(listMerchantAccountsResponse403ListMerchantAccounts));
|
|
62
|
+
}
|
|
63
|
+
function listMerchantAccountsResponse403ListMerchantAccountsFromJSON(jsonString) {
|
|
64
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListMerchantAccountsResponse403ListMerchantAccounts$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListMerchantAccountsResponse403ListMerchantAccounts' from JSON`);
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=listmerchantaccounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listmerchantaccounts.js","sourceRoot":"","sources":["../../src/models/errors/listmerchantaccounts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA+EH,8HASC;AAED,kIAcC;AAtGD,uCAAyB;AACzB,qDAAiD;AAEjD,+CAKuB;AACvB,2DAK6B;AAC7B,iEAKgC;AAWhC,gBAAgB;AACH,QAAA,iEAAiE,GAKxE,CAAC,CAAC,KAAK,CAAC;IACV,oCAAsB;IACtB,sDAA+B;IAC/B,gDAA4B;CAC7B,CAAC,CAAC;AAQL,gBAAgB;AACH,QAAA,kEAAkE,GAKzE,CAAC,CAAC,KAAK,CAAC;IACV,qCAAuB;IACvB,uDAAgC;IAChC,iDAA6B;CAC9B,CAAC,CAAC;AAEL;;;GAGG;AACH,IAAiB,oDAAoD,CAUpE;AAVD,WAAiB,oDAAoD;IACnE,mGAAmG;IACtF,kEAAa,GACxB,yEAAiE,CAAC;IACpE,oGAAoG;IACvF,mEAAc,GACzB,0EAAkE,CAAC;AAIvE,CAAC,EAVgB,oDAAoD,oEAApD,oDAAoD,QAUpE;AAED,SAAgB,yDAAyD,CACvE,mDACqD;IAErD,OAAO,IAAI,CAAC,SAAS,CACnB,0EAAkE,CAAC,KAAK,CACtE,mDAAmD,CACpD,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,2DAA2D,CACzE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yEAAiE,CAAC,KAAK,CACrE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,iFAAiF,CAClF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { Error403, Error403$Outbound } from "./error403.js";
|
|
4
|
+
import { Error403Active, Error403Active$Outbound } from "./error403active.js";
|
|
5
|
+
import { Error403Forbidden, Error403Forbidden$Outbound } from "./error403forbidden.js";
|
|
6
|
+
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
7
|
+
/**
|
|
8
|
+
* The credentials were invalid or the caller did not have permission to act on the resource.
|
|
9
|
+
*/
|
|
10
|
+
export type UpdateMerchantAccountResponse403UpdateMerchantAccount = Error403 | Error403Forbidden | Error403Active;
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const UpdateMerchantAccountResponse403UpdateMerchantAccount$inboundSchema: z.ZodType<UpdateMerchantAccountResponse403UpdateMerchantAccount, z.ZodTypeDef, unknown>;
|
|
13
|
+
/** @internal */
|
|
14
|
+
export type UpdateMerchantAccountResponse403UpdateMerchantAccount$Outbound = Error403$Outbound | Error403Forbidden$Outbound | Error403Active$Outbound;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const UpdateMerchantAccountResponse403UpdateMerchantAccount$outboundSchema: z.ZodType<UpdateMerchantAccountResponse403UpdateMerchantAccount$Outbound, z.ZodTypeDef, UpdateMerchantAccountResponse403UpdateMerchantAccount>;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
20
|
+
*/
|
|
21
|
+
export declare namespace UpdateMerchantAccountResponse403UpdateMerchantAccount$ {
|
|
22
|
+
/** @deprecated use `UpdateMerchantAccountResponse403UpdateMerchantAccount$inboundSchema` instead. */
|
|
23
|
+
const inboundSchema: z.ZodType<UpdateMerchantAccountResponse403UpdateMerchantAccount, z.ZodTypeDef, unknown>;
|
|
24
|
+
/** @deprecated use `UpdateMerchantAccountResponse403UpdateMerchantAccount$outboundSchema` instead. */
|
|
25
|
+
const outboundSchema: z.ZodType<UpdateMerchantAccountResponse403UpdateMerchantAccount$Outbound, z.ZodTypeDef, UpdateMerchantAccountResponse403UpdateMerchantAccount>;
|
|
26
|
+
/** @deprecated use `UpdateMerchantAccountResponse403UpdateMerchantAccount$Outbound` instead. */
|
|
27
|
+
type Outbound = UpdateMerchantAccountResponse403UpdateMerchantAccount$Outbound;
|
|
28
|
+
}
|
|
29
|
+
export declare function updateMerchantAccountResponse403UpdateMerchantAccountToJSON(updateMerchantAccountResponse403UpdateMerchantAccount: UpdateMerchantAccountResponse403UpdateMerchantAccount): string;
|
|
30
|
+
export declare function updateMerchantAccountResponse403UpdateMerchantAccountFromJSON(jsonString: string): SafeParseResult<UpdateMerchantAccountResponse403UpdateMerchantAccount, SDKValidationError>;
|
|
31
|
+
//# sourceMappingURL=updatemerchantaccount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatemerchantaccount.d.ts","sourceRoot":"","sources":["../../src/models/errors/updatemerchantaccount.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,qDAAqD,GAC7D,QAAQ,GACR,iBAAiB,GACjB,cAAc,CAAC;AAEnB,gBAAgB;AAChB,eAAO,MAAM,mEAAmE,EAC9E,CAAC,CAAC,OAAO,CACP,qDAAqD,EACrD,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,8DAA8D,GACtE,iBAAiB,GACjB,0BAA0B,GAC1B,uBAAuB,CAAC;AAE5B,gBAAgB;AAChB,eAAO,MAAM,oEAAoE,EAC/E,CAAC,CAAC,OAAO,CACP,8DAA8D,EAC9D,CAAC,CAAC,UAAU,EACZ,qDAAqD,CAKrD,CAAC;AAEL;;;GAGG;AACH,yBAAiB,sDAAsD,CAAC;IACtE,qGAAqG;IAC9F,MAAM,aAAa,yFAC2C,CAAC;IACtE,sGAAsG;IAC/F,MAAM,cAAc,gJAC2C,CAAC;IACvE,gGAAgG;IAChG,KAAY,QAAQ,GAClB,8DAA8D,CAAC;CAClE;AAED,wBAAgB,2DAA2D,CACzE,qDAAqD,EACnD,qDAAqD,GACtD,MAAM,CAMR;AAED,wBAAgB,6DAA6D,CAC3E,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,qDAAqD,EACrD,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.UpdateMerchantAccountResponse403UpdateMerchantAccount$ = exports.UpdateMerchantAccountResponse403UpdateMerchantAccount$outboundSchema = exports.UpdateMerchantAccountResponse403UpdateMerchantAccount$inboundSchema = void 0;
|
|
30
|
+
exports.updateMerchantAccountResponse403UpdateMerchantAccountToJSON = updateMerchantAccountResponse403UpdateMerchantAccountToJSON;
|
|
31
|
+
exports.updateMerchantAccountResponse403UpdateMerchantAccountFromJSON = updateMerchantAccountResponse403UpdateMerchantAccountFromJSON;
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
34
|
+
const error403_js_1 = require("./error403.js");
|
|
35
|
+
const error403active_js_1 = require("./error403active.js");
|
|
36
|
+
const error403forbidden_js_1 = require("./error403forbidden.js");
|
|
37
|
+
/** @internal */
|
|
38
|
+
exports.UpdateMerchantAccountResponse403UpdateMerchantAccount$inboundSchema = z.union([
|
|
39
|
+
error403_js_1.Error403$inboundSchema,
|
|
40
|
+
error403forbidden_js_1.Error403Forbidden$inboundSchema,
|
|
41
|
+
error403active_js_1.Error403Active$inboundSchema,
|
|
42
|
+
]);
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.UpdateMerchantAccountResponse403UpdateMerchantAccount$outboundSchema = z.union([
|
|
45
|
+
error403_js_1.Error403$outboundSchema,
|
|
46
|
+
error403forbidden_js_1.Error403Forbidden$outboundSchema,
|
|
47
|
+
error403active_js_1.Error403Active$outboundSchema,
|
|
48
|
+
]);
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
+
*/
|
|
53
|
+
var UpdateMerchantAccountResponse403UpdateMerchantAccount$;
|
|
54
|
+
(function (UpdateMerchantAccountResponse403UpdateMerchantAccount$) {
|
|
55
|
+
/** @deprecated use `UpdateMerchantAccountResponse403UpdateMerchantAccount$inboundSchema` instead. */
|
|
56
|
+
UpdateMerchantAccountResponse403UpdateMerchantAccount$.inboundSchema = exports.UpdateMerchantAccountResponse403UpdateMerchantAccount$inboundSchema;
|
|
57
|
+
/** @deprecated use `UpdateMerchantAccountResponse403UpdateMerchantAccount$outboundSchema` instead. */
|
|
58
|
+
UpdateMerchantAccountResponse403UpdateMerchantAccount$.outboundSchema = exports.UpdateMerchantAccountResponse403UpdateMerchantAccount$outboundSchema;
|
|
59
|
+
})(UpdateMerchantAccountResponse403UpdateMerchantAccount$ || (exports.UpdateMerchantAccountResponse403UpdateMerchantAccount$ = UpdateMerchantAccountResponse403UpdateMerchantAccount$ = {}));
|
|
60
|
+
function updateMerchantAccountResponse403UpdateMerchantAccountToJSON(updateMerchantAccountResponse403UpdateMerchantAccount) {
|
|
61
|
+
return JSON.stringify(exports.UpdateMerchantAccountResponse403UpdateMerchantAccount$outboundSchema.parse(updateMerchantAccountResponse403UpdateMerchantAccount));
|
|
62
|
+
}
|
|
63
|
+
function updateMerchantAccountResponse403UpdateMerchantAccountFromJSON(jsonString) {
|
|
64
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateMerchantAccountResponse403UpdateMerchantAccount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateMerchantAccountResponse403UpdateMerchantAccount' from JSON`);
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=updatemerchantaccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatemerchantaccount.js","sourceRoot":"","sources":["../../src/models/errors/updatemerchantaccount.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA+EH,kIASC;AAED,sIAcC;AAtGD,uCAAyB;AACzB,qDAAiD;AAEjD,+CAKuB;AACvB,2DAK6B;AAC7B,iEAKgC;AAWhC,gBAAgB;AACH,QAAA,mEAAmE,GAK1E,CAAC,CAAC,KAAK,CAAC;IACV,oCAAsB;IACtB,sDAA+B;IAC/B,gDAA4B;CAC7B,CAAC,CAAC;AAQL,gBAAgB;AACH,QAAA,oEAAoE,GAK3E,CAAC,CAAC,KAAK,CAAC;IACV,qCAAuB;IACvB,uDAAgC;IAChC,iDAA6B;CAC9B,CAAC,CAAC;AAEL;;;GAGG;AACH,IAAiB,sDAAsD,CAUtE;AAVD,WAAiB,sDAAsD;IACrE,qGAAqG;IACxF,oEAAa,GACxB,2EAAmE,CAAC;IACtE,sGAAsG;IACzF,qEAAc,GACzB,4EAAoE,CAAC;AAIzE,CAAC,EAVgB,sDAAsD,sEAAtD,sDAAsD,QAUtE;AAED,SAAgB,2DAA2D,CACzE,qDACuD;IAEvD,OAAO,IAAI,CAAC,SAAS,CACnB,4EAAoE,CAAC,KAAK,CACxE,qDAAqD,CACtD,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,6DAA6D,CAC3E,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,2EAAmE,CAAC,KAAK,CACvE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,mFAAmF,CACpF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type CreateMerchantAccountRequest = {
|
|
6
|
+
timeoutInSeconds?: number | undefined;
|
|
7
|
+
merchantAccountCreate: components.MerchantAccountCreate;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const CreateMerchantAccountRequest$inboundSchema: z.ZodType<CreateMerchantAccountRequest, z.ZodTypeDef, unknown>;
|
|
11
|
+
/** @internal */
|
|
12
|
+
export type CreateMerchantAccountRequest$Outbound = {
|
|
13
|
+
timeout_in_seconds: number;
|
|
14
|
+
MerchantAccountCreate: components.MerchantAccountCreate$Outbound;
|
|
15
|
+
};
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const CreateMerchantAccountRequest$outboundSchema: z.ZodType<CreateMerchantAccountRequest$Outbound, z.ZodTypeDef, CreateMerchantAccountRequest>;
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
21
|
+
*/
|
|
22
|
+
export declare namespace CreateMerchantAccountRequest$ {
|
|
23
|
+
/** @deprecated use `CreateMerchantAccountRequest$inboundSchema` instead. */
|
|
24
|
+
const inboundSchema: z.ZodType<CreateMerchantAccountRequest, z.ZodTypeDef, unknown>;
|
|
25
|
+
/** @deprecated use `CreateMerchantAccountRequest$outboundSchema` instead. */
|
|
26
|
+
const outboundSchema: z.ZodType<CreateMerchantAccountRequest$Outbound, z.ZodTypeDef, CreateMerchantAccountRequest>;
|
|
27
|
+
/** @deprecated use `CreateMerchantAccountRequest$Outbound` instead. */
|
|
28
|
+
type Outbound = CreateMerchantAccountRequest$Outbound;
|
|
29
|
+
}
|
|
30
|
+
export declare function createMerchantAccountRequestToJSON(createMerchantAccountRequest: CreateMerchantAccountRequest): string;
|
|
31
|
+
export declare function createMerchantAccountRequestFromJSON(jsonString: string): SafeParseResult<CreateMerchantAccountRequest, SDKValidationError>;
|
|
32
|
+
//# sourceMappingURL=createmerchantaccount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createmerchantaccount.d.ts","sourceRoot":"","sources":["../../src/models/operations/createmerchantaccount.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,4BAA4B,GAAG;IACzC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,qBAAqB,EAAE,UAAU,CAAC,qBAAqB,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,qBAAqB,EAAE,UAAU,CAAC,8BAA8B,CAAC;CAClE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAS5B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC7C,4EAA4E;IACrE,MAAM,aAAa,gEAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc,8FAA8C,CAAC;IAC1E,uEAAuE;IACvE,KAAY,QAAQ,GAAG,qCAAqC,CAAC;CAC9D;AAED,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR;AAED,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreateMerchantAccountRequest$ = exports.CreateMerchantAccountRequest$outboundSchema = exports.CreateMerchantAccountRequest$inboundSchema = void 0;
|
|
30
|
+
exports.createMerchantAccountRequestToJSON = createMerchantAccountRequestToJSON;
|
|
31
|
+
exports.createMerchantAccountRequestFromJSON = createMerchantAccountRequestFromJSON;
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
+
const components = __importStar(require("../components/index.js"));
|
|
36
|
+
/** @internal */
|
|
37
|
+
exports.CreateMerchantAccountRequest$inboundSchema = z.object({
|
|
38
|
+
timeout_in_seconds: z.number().default(1),
|
|
39
|
+
MerchantAccountCreate: components.MerchantAccountCreate$inboundSchema,
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return (0, primitives_js_1.remap)(v, {
|
|
42
|
+
"timeout_in_seconds": "timeoutInSeconds",
|
|
43
|
+
"MerchantAccountCreate": "merchantAccountCreate",
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.CreateMerchantAccountRequest$outboundSchema = z.object({
|
|
48
|
+
timeoutInSeconds: z.number().default(1),
|
|
49
|
+
merchantAccountCreate: components.MerchantAccountCreate$outboundSchema,
|
|
50
|
+
}).transform((v) => {
|
|
51
|
+
return (0, primitives_js_1.remap)(v, {
|
|
52
|
+
timeoutInSeconds: "timeout_in_seconds",
|
|
53
|
+
merchantAccountCreate: "MerchantAccountCreate",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
+
*/
|
|
60
|
+
var CreateMerchantAccountRequest$;
|
|
61
|
+
(function (CreateMerchantAccountRequest$) {
|
|
62
|
+
/** @deprecated use `CreateMerchantAccountRequest$inboundSchema` instead. */
|
|
63
|
+
CreateMerchantAccountRequest$.inboundSchema = exports.CreateMerchantAccountRequest$inboundSchema;
|
|
64
|
+
/** @deprecated use `CreateMerchantAccountRequest$outboundSchema` instead. */
|
|
65
|
+
CreateMerchantAccountRequest$.outboundSchema = exports.CreateMerchantAccountRequest$outboundSchema;
|
|
66
|
+
})(CreateMerchantAccountRequest$ || (exports.CreateMerchantAccountRequest$ = CreateMerchantAccountRequest$ = {}));
|
|
67
|
+
function createMerchantAccountRequestToJSON(createMerchantAccountRequest) {
|
|
68
|
+
return JSON.stringify(exports.CreateMerchantAccountRequest$outboundSchema.parse(createMerchantAccountRequest));
|
|
69
|
+
}
|
|
70
|
+
function createMerchantAccountRequestFromJSON(jsonString) {
|
|
71
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateMerchantAccountRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateMerchantAccountRequest' from JSON`);
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=createmerchantaccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createmerchantaccount.js","sourceRoot":"","sources":["../../src/models/operations/createmerchantaccount.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DH,gFAQC;AAED,oFAQC;AA/ED,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAQrD,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACzC,qBAAqB,EAAE,UAAU,CAAC,mCAAmC;CACtE,CAAC,CA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SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type GetMerchantAccountRequest = {
|
|
5
|
+
merchantAccountId: string;
|
|
6
|
+
};
|
|
7
|
+
/** @internal */
|
|
8
|
+
export declare const GetMerchantAccountRequest$inboundSchema: z.ZodType<GetMerchantAccountRequest, z.ZodTypeDef, unknown>;
|
|
9
|
+
/** @internal */
|
|
10
|
+
export type GetMerchantAccountRequest$Outbound = {
|
|
11
|
+
merchant_account_id: string;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const GetMerchantAccountRequest$outboundSchema: z.ZodType<GetMerchantAccountRequest$Outbound, z.ZodTypeDef, GetMerchantAccountRequest>;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
18
|
+
*/
|
|
19
|
+
export declare namespace GetMerchantAccountRequest$ {
|
|
20
|
+
/** @deprecated use `GetMerchantAccountRequest$inboundSchema` instead. */
|
|
21
|
+
const inboundSchema: z.ZodType<GetMerchantAccountRequest, z.ZodTypeDef, unknown>;
|
|
22
|
+
/** @deprecated use `GetMerchantAccountRequest$outboundSchema` instead. */
|
|
23
|
+
const outboundSchema: z.ZodType<GetMerchantAccountRequest$Outbound, z.ZodTypeDef, GetMerchantAccountRequest>;
|
|
24
|
+
/** @deprecated use `GetMerchantAccountRequest$Outbound` instead. */
|
|
25
|
+
type Outbound = GetMerchantAccountRequest$Outbound;
|
|
26
|
+
}
|
|
27
|
+
export declare function getMerchantAccountRequestToJSON(getMerchantAccountRequest: GetMerchantAccountRequest): string;
|
|
28
|
+
export declare function getMerchantAccountRequestFromJSON(jsonString: string): SafeParseResult<GetMerchantAccountRequest, SDKValidationError>;
|
|
29
|
+
//# sourceMappingURL=getmerchantaccount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getmerchantaccount.d.ts","sourceRoot":"","sources":["../../src/models/operations/getmerchantaccount.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,yBAAyB,GAAG;IACtC,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAOzB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GetMerchantAccountRequest$ = exports.GetMerchantAccountRequest$outboundSchema = exports.GetMerchantAccountRequest$inboundSchema = void 0;
|
|
30
|
+
exports.getMerchantAccountRequestToJSON = getMerchantAccountRequestToJSON;
|
|
31
|
+
exports.getMerchantAccountRequestFromJSON = getMerchantAccountRequestFromJSON;
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
+
/** @internal */
|
|
36
|
+
exports.GetMerchantAccountRequest$inboundSchema = z.object({
|
|
37
|
+
merchant_account_id: z.string(),
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return (0, primitives_js_1.remap)(v, {
|
|
40
|
+
"merchant_account_id": "merchantAccountId",
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.GetMerchantAccountRequest$outboundSchema = z.object({
|
|
45
|
+
merchantAccountId: z.string(),
|
|
46
|
+
}).transform((v) => {
|
|
47
|
+
return (0, primitives_js_1.remap)(v, {
|
|
48
|
+
merchantAccountId: "merchant_account_id",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
|
+
*/
|
|
55
|
+
var GetMerchantAccountRequest$;
|
|
56
|
+
(function (GetMerchantAccountRequest$) {
|
|
57
|
+
/** @deprecated use `GetMerchantAccountRequest$inboundSchema` instead. */
|
|
58
|
+
GetMerchantAccountRequest$.inboundSchema = exports.GetMerchantAccountRequest$inboundSchema;
|
|
59
|
+
/** @deprecated use `GetMerchantAccountRequest$outboundSchema` instead. */
|
|
60
|
+
GetMerchantAccountRequest$.outboundSchema = exports.GetMerchantAccountRequest$outboundSchema;
|
|
61
|
+
})(GetMerchantAccountRequest$ || (exports.GetMerchantAccountRequest$ = GetMerchantAccountRequest$ = {}));
|
|
62
|
+
function getMerchantAccountRequestToJSON(getMerchantAccountRequest) {
|
|
63
|
+
return JSON.stringify(exports.GetMerchantAccountRequest$outboundSchema.parse(getMerchantAccountRequest));
|
|
64
|
+
}
|
|
65
|
+
function getMerchantAccountRequestFromJSON(jsonString) {
|
|
66
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetMerchantAccountRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMerchantAccountRequest' from JSON`);
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=getmerchantaccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getmerchantaccount.js","sourceRoot":"","sources":["../../src/models/operations/getmerchantaccount.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;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+8,7 @@ export * from "./createcheckoutsession.js";
|
|
|
8
8
|
export * from "./createfulltransactionrefund.js";
|
|
9
9
|
export * from "./creategiftcard.js";
|
|
10
10
|
export * from "./creategooglepaydigitalwalletsession.js";
|
|
11
|
+
export * from "./createmerchantaccount.js";
|
|
11
12
|
export * from "./createpaymentmethod.js";
|
|
12
13
|
export * from "./createpaymentmethodnetworktoken.js";
|
|
13
14
|
export * from "./createpaymentmethodnetworktokencryptogram.js";
|
|
@@ -28,6 +29,7 @@ export * from "./getbuyershippingdetails.js";
|
|
|
28
29
|
export * from "./getcheckoutsession.js";
|
|
29
30
|
export * from "./getdigitalwallet.js";
|
|
30
31
|
export * from "./getgiftcard.js";
|
|
32
|
+
export * from "./getmerchantaccount.js";
|
|
31
33
|
export * from "./getpaymentmethod.js";
|
|
32
34
|
export * from "./getpayout.js";
|
|
33
35
|
export * from "./getrefund.js";
|
|
@@ -43,6 +45,7 @@ export * from "./listcardschemedefinitions.js";
|
|
|
43
45
|
export * from "./listdigitalwallets.js";
|
|
44
46
|
export * from "./listgiftcardbalances.js";
|
|
45
47
|
export * from "./listgiftcards.js";
|
|
48
|
+
export * from "./listmerchantaccounts.js";
|
|
46
49
|
export * from "./listpaymentmethodnetworktokens.js";
|
|
47
50
|
export * from "./listpaymentmethodpaymentservicetokens.js";
|
|
48
51
|
export * from "./listpaymentmethods.js";
|
|
@@ -59,5 +62,6 @@ export * from "./updatebuyer.js";
|
|
|
59
62
|
export * from "./updatebuyershippingdetails.js";
|
|
60
63
|
export * from "./updatecheckoutsession.js";
|
|
61
64
|
export * from "./updatedigitalwallet.js";
|
|
65
|
+
export * from "./updatemerchantaccount.js";
|
|
62
66
|
export * from "./voidtransaction.js";
|
|
63
67
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc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7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,sBAAsB,CAAC;AACrC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC"}
|
|
@@ -27,6 +27,7 @@ __exportStar(require("./createcheckoutsession.js"), exports);
|
|
|
27
27
|
__exportStar(require("./createfulltransactionrefund.js"), exports);
|
|
28
28
|
__exportStar(require("./creategiftcard.js"), exports);
|
|
29
29
|
__exportStar(require("./creategooglepaydigitalwalletsession.js"), exports);
|
|
30
|
+
__exportStar(require("./createmerchantaccount.js"), exports);
|
|
30
31
|
__exportStar(require("./createpaymentmethod.js"), exports);
|
|
31
32
|
__exportStar(require("./createpaymentmethodnetworktoken.js"), exports);
|
|
32
33
|
__exportStar(require("./createpaymentmethodnetworktokencryptogram.js"), exports);
|
|
@@ -47,6 +48,7 @@ __exportStar(require("./getbuyershippingdetails.js"), exports);
|
|
|
47
48
|
__exportStar(require("./getcheckoutsession.js"), exports);
|
|
48
49
|
__exportStar(require("./getdigitalwallet.js"), exports);
|
|
49
50
|
__exportStar(require("./getgiftcard.js"), exports);
|
|
51
|
+
__exportStar(require("./getmerchantaccount.js"), exports);
|
|
50
52
|
__exportStar(require("./getpaymentmethod.js"), exports);
|
|
51
53
|
__exportStar(require("./getpayout.js"), exports);
|
|
52
54
|
__exportStar(require("./getrefund.js"), exports);
|
|
@@ -62,6 +64,7 @@ __exportStar(require("./listcardschemedefinitions.js"), exports);
|
|
|
62
64
|
__exportStar(require("./listdigitalwallets.js"), exports);
|
|
63
65
|
__exportStar(require("./listgiftcardbalances.js"), exports);
|
|
64
66
|
__exportStar(require("./listgiftcards.js"), exports);
|
|
67
|
+
__exportStar(require("./listmerchantaccounts.js"), exports);
|
|
65
68
|
__exportStar(require("./listpaymentmethodnetworktokens.js"), exports);
|
|
66
69
|
__exportStar(require("./listpaymentmethodpaymentservicetokens.js"), exports);
|
|
67
70
|
__exportStar(require("./listpaymentmethods.js"), exports);
|
|
@@ -78,5 +81,6 @@ __exportStar(require("./updatebuyer.js"), exports);
|
|
|
78
81
|
__exportStar(require("./updatebuyershippingdetails.js"), exports);
|
|
79
82
|
__exportStar(require("./updatecheckoutsession.js"), exports);
|
|
80
83
|
__exportStar(require("./updatedigitalwallet.js"), exports);
|
|
84
|
+
__exportStar(require("./updatemerchantaccount.js"), exports);
|
|
81
85
|
__exportStar(require("./voidtransaction.js"), exports);
|
|
82
86
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,+DAA6C;AAC7C,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C;AAC7C,0EAAwD;AACxD,6DAA2C;AAC3C,mEAAiD;AACjD,sDAAoC;AACpC,2EAAyD;AACzD,2DAAyC;AACzC,uEAAqD;AACrD,iFAA+D;AAC/D,8EAA4D;AAC5D,oDAAkC;AAClC,yDAAuC;AACvC,+DAA6C;AAC7C,mDAAiC;AACjC,kEAAgD;AAChD,6DAA2C;AAC3C,2DAAyC;AACzC,sDAAoC;AACpC,2DAAyC;AACzC,uEAAqD;AACrD,8EAA4D;AAC5D,gDAA8B;AAC9B,+DAA6C;AAC7C,0DAAwC;AACxC,wDAAsC;AACtC,mDAAiC;AACjC,wDAAsC;AACtC,iDAA+B;AAC/B,iDAA+B;AAC/B,sDAAoC;AACpC,6DAA2C;AAC3C,6DAA2C;AAC3C,qDAAmC;AACnC,0DAAwC;AACxC,+DAA6C;AAC7C,kDAAgC;AAChC,gEAA8C;AAC9C,iEAA+C;AAC/C,0DAAwC;AACxC,4DAA0C;AAC1C,qDAAmC;AACnC,sEAAoD;AACpD,6EAA2D;AAC3D,0DAAwC;AACxC,0DAAwC;AACxC,mDAAiC;AACjC,8DAA4C;AAC5C,wDAAsC;AACtC,mEAAiD;AACjD,uEAAqD;AACrD,wEAAsD;AACtD,uDAAqC;AACrC,qEAAmD;AACnD,mDAAiC;AACjC,kEAAgD;AAChD,6DAA2C;AAC3C,2DAAyC;AACzC,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,+DAA6C;AAC7C,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C;AAC7C,0EAAwD;AACxD,6DAA2C;AAC3C,mEAAiD;AACjD,sDAAoC;AACpC,2EAAyD;AACzD,6DAA2C;AAC3C,2DAAyC;AACzC,uEAAqD;AACrD,iFAA+D;AAC/D,8EAA4D;AAC5D,oDAAkC;AAClC,yDAAuC;AACvC,+DAA6C;AAC7C,mDAAiC;AACjC,kEAAgD;AAChD,6DAA2C;AAC3C,2DAAyC;AACzC,sDAAoC;AACpC,2DAAyC;AACzC,uEAAqD;AACrD,8EAA4D;AAC5D,gDAA8B;AAC9B,+DAA6C;AAC7C,0DAAwC;AACxC,wDAAsC;AACtC,mDAAiC;AACjC,0DAAwC;AACxC,wDAAsC;AACtC,iDAA+B;AAC/B,iDAA+B;AAC/B,sDAAoC;AACpC,6DAA2C;AAC3C,6DAA2C;AAC3C,qDAAmC;AACnC,0DAAwC;AACxC,+DAA6C;AAC7C,kDAAgC;AAChC,gEAA8C;AAC9C,iEAA+C;AAC/C,0DAAwC;AACxC,4DAA0C;AAC1C,qDAAmC;AACnC,4DAA0C;AAC1C,sEAAoD;AACpD,6EAA2D;AAC3D,0DAAwC;AACxC,0DAAwC;AACxC,mDAAiC;AACjC,8DAA4C;AAC5C,wDAAsC;AACtC,mEAAiD;AACjD,uEAAqD;AACrD,wEAAsD;AACtD,uDAAqC;AACrC,qEAAmD;AACnD,mDAAiC;AACjC,kEAAgD;AAChD,6DAA2C;AAC3C,2DAAyC;AACzC,6DAA2C;AAC3C,uDAAqC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type ListMerchantAccountsRequest = {
|
|
6
|
+
cursor?: string | null | undefined;
|
|
7
|
+
limit?: number | undefined;
|
|
8
|
+
search?: string | null | undefined;
|
|
9
|
+
};
|
|
10
|
+
export type ListMerchantAccountsResponse = {
|
|
11
|
+
result: components.CollectionMerchantAccount;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const ListMerchantAccountsRequest$inboundSchema: z.ZodType<ListMerchantAccountsRequest, z.ZodTypeDef, unknown>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type ListMerchantAccountsRequest$Outbound = {
|
|
17
|
+
cursor?: string | null | undefined;
|
|
18
|
+
limit: number;
|
|
19
|
+
search?: string | null | undefined;
|
|
20
|
+
};
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const ListMerchantAccountsRequest$outboundSchema: z.ZodType<ListMerchantAccountsRequest$Outbound, z.ZodTypeDef, ListMerchantAccountsRequest>;
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
26
|
+
*/
|
|
27
|
+
export declare namespace ListMerchantAccountsRequest$ {
|
|
28
|
+
/** @deprecated use `ListMerchantAccountsRequest$inboundSchema` instead. */
|
|
29
|
+
const inboundSchema: z.ZodType<ListMerchantAccountsRequest, z.ZodTypeDef, unknown>;
|
|
30
|
+
/** @deprecated use `ListMerchantAccountsRequest$outboundSchema` instead. */
|
|
31
|
+
const outboundSchema: z.ZodType<ListMerchantAccountsRequest$Outbound, z.ZodTypeDef, ListMerchantAccountsRequest>;
|
|
32
|
+
/** @deprecated use `ListMerchantAccountsRequest$Outbound` instead. */
|
|
33
|
+
type Outbound = ListMerchantAccountsRequest$Outbound;
|
|
34
|
+
}
|
|
35
|
+
export declare function listMerchantAccountsRequestToJSON(listMerchantAccountsRequest: ListMerchantAccountsRequest): string;
|
|
36
|
+
export declare function listMerchantAccountsRequestFromJSON(jsonString: string): SafeParseResult<ListMerchantAccountsRequest, SDKValidationError>;
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const ListMerchantAccountsResponse$inboundSchema: z.ZodType<ListMerchantAccountsResponse, z.ZodTypeDef, unknown>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export type ListMerchantAccountsResponse$Outbound = {
|
|
41
|
+
Result: components.CollectionMerchantAccount$Outbound;
|
|
42
|
+
};
|
|
43
|
+
/** @internal */
|
|
44
|
+
export declare const ListMerchantAccountsResponse$outboundSchema: z.ZodType<ListMerchantAccountsResponse$Outbound, z.ZodTypeDef, ListMerchantAccountsResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
|
+
*/
|
|
49
|
+
export declare namespace ListMerchantAccountsResponse$ {
|
|
50
|
+
/** @deprecated use `ListMerchantAccountsResponse$inboundSchema` instead. */
|
|
51
|
+
const inboundSchema: z.ZodType<ListMerchantAccountsResponse, z.ZodTypeDef, unknown>;
|
|
52
|
+
/** @deprecated use `ListMerchantAccountsResponse$outboundSchema` instead. */
|
|
53
|
+
const outboundSchema: z.ZodType<ListMerchantAccountsResponse$Outbound, z.ZodTypeDef, ListMerchantAccountsResponse>;
|
|
54
|
+
/** @deprecated use `ListMerchantAccountsResponse$Outbound` instead. */
|
|
55
|
+
type Outbound = ListMerchantAccountsResponse$Outbound;
|
|
56
|
+
}
|
|
57
|
+
export declare function listMerchantAccountsResponseToJSON(listMerchantAccountsResponse: ListMerchantAccountsResponse): string;
|
|
58
|
+
export declare function listMerchantAccountsResponseFromJSON(jsonString: string): SafeParseResult<ListMerchantAccountsResponse, SDKValidationError>;
|
|
59
|
+
//# sourceMappingURL=listmerchantaccounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listmerchantaccounts.d.ts","sourceRoot":"","sources":["../../src/models/operations/listmerchantaccounts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,C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