@gr4vy/sdk 0.18.12 → 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.
Files changed (140) hide show
  1. package/README.md +11 -0
  2. package/bin/mcp-server.js +1775 -629
  3. package/bin/mcp-server.js.map +29 -9
  4. package/docs/sdks/merchantaccounts/README.md +454 -0
  5. package/funcs/merchantAccountsCreate.d.ts +17 -0
  6. package/funcs/merchantAccountsCreate.d.ts.map +1 -0
  7. package/funcs/merchantAccountsCreate.js +133 -0
  8. package/funcs/merchantAccountsCreate.js.map +1 -0
  9. package/funcs/merchantAccountsGet.d.ts +17 -0
  10. package/funcs/merchantAccountsGet.d.ts.map +1 -0
  11. package/funcs/merchantAccountsGet.js +137 -0
  12. package/funcs/merchantAccountsGet.js.map +1 -0
  13. package/funcs/merchantAccountsList.d.ts +20 -0
  14. package/funcs/merchantAccountsList.d.ts.map +1 -0
  15. package/funcs/merchantAccountsList.js +162 -0
  16. package/funcs/merchantAccountsList.js.map +1 -0
  17. package/funcs/merchantAccountsUpdate.d.ts +17 -0
  18. package/funcs/merchantAccountsUpdate.d.ts.map +1 -0
  19. package/funcs/merchantAccountsUpdate.js +137 -0
  20. package/funcs/merchantAccountsUpdate.js.map +1 -0
  21. package/jsr.json +1 -1
  22. package/lib/config.d.ts +3 -3
  23. package/lib/config.js +3 -3
  24. package/mcp-server/mcp-server.js +1 -1
  25. package/mcp-server/server.d.ts.map +1 -1
  26. package/mcp-server/server.js +9 -1
  27. package/mcp-server/server.js.map +1 -1
  28. package/mcp-server/tools/merchantAccountsCreate.d.ts +10 -0
  29. package/mcp-server/tools/merchantAccountsCreate.d.ts.map +1 -0
  30. package/mcp-server/tools/merchantAccountsCreate.js +56 -0
  31. package/mcp-server/tools/merchantAccountsCreate.js.map +1 -0
  32. package/mcp-server/tools/merchantAccountsGet.d.ts +8 -0
  33. package/mcp-server/tools/merchantAccountsGet.d.ts.map +1 -0
  34. package/mcp-server/tools/merchantAccountsGet.js +54 -0
  35. package/mcp-server/tools/merchantAccountsGet.js.map +1 -0
  36. package/mcp-server/tools/merchantAccountsList.d.ts +10 -0
  37. package/mcp-server/tools/merchantAccountsList.d.ts.map +1 -0
  38. package/mcp-server/tools/merchantAccountsList.js +56 -0
  39. package/mcp-server/tools/merchantAccountsList.js.map +1 -0
  40. package/mcp-server/tools/merchantAccountsUpdate.d.ts +11 -0
  41. package/mcp-server/tools/merchantAccountsUpdate.d.ts.map +1 -0
  42. package/mcp-server/tools/merchantAccountsUpdate.js +57 -0
  43. package/mcp-server/tools/merchantAccountsUpdate.js.map +1 -0
  44. package/models/components/collectionmerchantaccount.d.ts +48 -0
  45. package/models/components/collectionmerchantaccount.d.ts.map +1 -0
  46. package/models/components/collectionmerchantaccount.js +77 -0
  47. package/models/components/collectionmerchantaccount.js.map +1 -0
  48. package/models/components/index.d.ts +4 -0
  49. package/models/components/index.d.ts.map +1 -1
  50. package/models/components/index.js +4 -0
  51. package/models/components/index.js.map +1 -1
  52. package/models/components/merchantaccount.d.ts +148 -0
  53. package/models/components/merchantaccount.d.ts.map +1 -0
  54. package/models/components/merchantaccount.js +159 -0
  55. package/models/components/merchantaccount.js.map +1 -0
  56. package/models/components/merchantaccountcreate.d.ts +133 -0
  57. package/models/components/merchantaccountcreate.d.ts.map +1 -0
  58. package/models/components/merchantaccountcreate.js +149 -0
  59. package/models/components/merchantaccountcreate.js.map +1 -0
  60. package/models/components/merchantaccountupdate.d.ts +128 -0
  61. package/models/components/merchantaccountupdate.d.ts.map +1 -0
  62. package/models/components/merchantaccountupdate.js +147 -0
  63. package/models/components/merchantaccountupdate.js.map +1 -0
  64. package/models/errors/createmerchantaccount.d.ts +31 -0
  65. package/models/errors/createmerchantaccount.d.ts.map +1 -0
  66. package/models/errors/createmerchantaccount.js +66 -0
  67. package/models/errors/createmerchantaccount.js.map +1 -0
  68. package/models/errors/getmerchantaccount.d.ts +31 -0
  69. package/models/errors/getmerchantaccount.d.ts.map +1 -0
  70. package/models/errors/getmerchantaccount.js +66 -0
  71. package/models/errors/getmerchantaccount.js.map +1 -0
  72. package/models/errors/index.d.ts +4 -0
  73. package/models/errors/index.d.ts.map +1 -1
  74. package/models/errors/index.js +4 -0
  75. package/models/errors/index.js.map +1 -1
  76. package/models/errors/listmerchantaccounts.d.ts +31 -0
  77. package/models/errors/listmerchantaccounts.d.ts.map +1 -0
  78. package/models/errors/listmerchantaccounts.js +66 -0
  79. package/models/errors/listmerchantaccounts.js.map +1 -0
  80. package/models/errors/updatemerchantaccount.d.ts +31 -0
  81. package/models/errors/updatemerchantaccount.d.ts.map +1 -0
  82. package/models/errors/updatemerchantaccount.js +66 -0
  83. package/models/errors/updatemerchantaccount.js.map +1 -0
  84. package/models/operations/createmerchantaccount.d.ts +32 -0
  85. package/models/operations/createmerchantaccount.d.ts.map +1 -0
  86. package/models/operations/createmerchantaccount.js +73 -0
  87. package/models/operations/createmerchantaccount.js.map +1 -0
  88. package/models/operations/getmerchantaccount.d.ts +29 -0
  89. package/models/operations/getmerchantaccount.d.ts.map +1 -0
  90. package/models/operations/getmerchantaccount.js +68 -0
  91. package/models/operations/getmerchantaccount.js.map +1 -0
  92. package/models/operations/index.d.ts +4 -0
  93. package/models/operations/index.d.ts.map +1 -1
  94. package/models/operations/index.js +4 -0
  95. package/models/operations/index.js.map +1 -1
  96. package/models/operations/listmerchantaccounts.d.ts +59 -0
  97. package/models/operations/listmerchantaccounts.d.ts.map +1 -0
  98. package/models/operations/listmerchantaccounts.js +100 -0
  99. package/models/operations/listmerchantaccounts.js.map +1 -0
  100. package/models/operations/updatemerchantaccount.d.ts +34 -0
  101. package/models/operations/updatemerchantaccount.d.ts.map +1 -0
  102. package/models/operations/updatemerchantaccount.js +77 -0
  103. package/models/operations/updatemerchantaccount.js.map +1 -0
  104. package/package.json +1 -1
  105. package/sdk/merchantaccounts.d.ts +37 -0
  106. package/sdk/merchantaccounts.d.ts.map +1 -0
  107. package/sdk/merchantaccounts.js +53 -0
  108. package/sdk/merchantaccounts.js.map +1 -0
  109. package/sdk/sdk.d.ts +3 -0
  110. package/sdk/sdk.d.ts.map +1 -1
  111. package/sdk/sdk.js +4 -0
  112. package/sdk/sdk.js.map +1 -1
  113. package/src/funcs/merchantAccountsCreate.ts +243 -0
  114. package/src/funcs/merchantAccountsGet.ts +249 -0
  115. package/src/funcs/merchantAccountsList.ts +326 -0
  116. package/src/funcs/merchantAccountsUpdate.ts +257 -0
  117. package/src/lib/config.ts +3 -3
  118. package/src/mcp-server/mcp-server.ts +1 -1
  119. package/src/mcp-server/server.ts +9 -1
  120. package/src/mcp-server/tools/merchantAccountsCreate.ts +40 -0
  121. package/src/mcp-server/tools/merchantAccountsGet.ts +37 -0
  122. package/src/mcp-server/tools/merchantAccountsList.ts +41 -0
  123. package/src/mcp-server/tools/merchantAccountsUpdate.ts +42 -0
  124. package/src/models/components/collectionmerchantaccount.ts +107 -0
  125. package/src/models/components/index.ts +4 -0
  126. package/src/models/components/merchantaccount.ts +296 -0
  127. package/src/models/components/merchantaccountcreate.ts +273 -0
  128. package/src/models/components/merchantaccountupdate.ts +266 -0
  129. package/src/models/errors/createmerchantaccount.ts +107 -0
  130. package/src/models/errors/getmerchantaccount.ts +107 -0
  131. package/src/models/errors/index.ts +4 -0
  132. package/src/models/errors/listmerchantaccounts.ts +107 -0
  133. package/src/models/errors/updatemerchantaccount.ts +107 -0
  134. package/src/models/operations/createmerchantaccount.ts +84 -0
  135. package/src/models/operations/getmerchantaccount.ts +75 -0
  136. package/src/models/operations/index.ts +4 -0
  137. package/src/models/operations/listmerchantaccounts.ts +146 -0
  138. package/src/models/operations/updatemerchantaccount.ts +90 -0
  139. package/src/sdk/merchantaccounts.ts +95 -0
  140. package/src/sdk/sdk.ts +6 -0
@@ -0,0 +1,128 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { CardScheme } from "./cardscheme.js";
5
+ export type MerchantAccountUpdate = {
6
+ /**
7
+ * Whether the Real-Time Account Updater service is enabled for this merchant account. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `false`, the Account Updater service doesn't get called if a payment fails with expired or invalid card details. If the field is set to `true`, the service is called. Please note that for this to work the other `account_updater_* fields` must be set as well.
8
+ */
9
+ accountUpdaterEnabled?: boolean | undefined;
10
+ /**
11
+ * The public key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
12
+ */
13
+ accountUpdaterRequestEncryptionKey?: string | null | undefined;
14
+ /**
15
+ * The ID of the key used to encrypt the request to the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
16
+ */
17
+ accountUpdaterRequestEncryptionKeyId?: string | null | undefined;
18
+ /**
19
+ * The key used to decrypt the response from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
20
+ */
21
+ accountUpdaterResponseDecryptionKey?: string | null | undefined;
22
+ /**
23
+ * The ID of the key used to decrypt the request from the Real-Time Account Updater service. The Account Updater service is used to update card details when cards are lost, stolen or expired. If the field is not set or if it's set to `null`, the Account Updater service doesn't get called. If the field is set, the other `account_updater_*` fields must be set as well.
24
+ */
25
+ accountUpdaterResponseDecryptionKeyId?: string | null | undefined;
26
+ /**
27
+ * The maximum monetary amount allowed for over-capture, in the smallest currency unit, for example `1299` cents to allow for an over-capture of `$12.99`.
28
+ */
29
+ overCaptureAmount?: number | null | undefined;
30
+ /**
31
+ * The maximum percentage allowed for over-capture, for example `25` to allow for an over-capture of `25%` of the original transaction amount.
32
+ */
33
+ overCapturePercentage?: number | null | undefined;
34
+ /**
35
+ * Client key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
36
+ */
37
+ loonClientKey?: string | null | undefined;
38
+ /**
39
+ * Secret key provided by Pagos to authenticate to the Loon API. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
40
+ */
41
+ loonSecretKey?: string | null | undefined;
42
+ /**
43
+ * Card schemes accepted when creating jobs using this set of Loon API keys. Loon is the Account Updater service we use and if the field is not set or if it's set to null, the Account Updater service doesn't get configured. If the field is set to `null`, the other `loon_*` fields must be set to null as well.
44
+ */
45
+ loonAcceptedSchemes?: Array<CardScheme> | null | undefined;
46
+ /**
47
+ * Requestor ID provided for Visa after onboarding to use Network Tokens.
48
+ */
49
+ visaNetworkTokensRequestorId?: string | null | undefined;
50
+ /**
51
+ * Application ID provided for Visa after onboarding to use Network Tokens.
52
+ */
53
+ visaNetworkTokensAppId?: string | null | undefined;
54
+ /**
55
+ * Requestor ID provided for American Express after onboarding to use Network Tokens.
56
+ */
57
+ amexNetworkTokensRequestorId?: string | null | undefined;
58
+ /**
59
+ * Application ID provided for American Express after onboarding to use Network Tokens.
60
+ */
61
+ amexNetworkTokensAppId?: string | null | undefined;
62
+ /**
63
+ * Requestor ID provided for Mastercard after onboarding to use Network Tokens.
64
+ */
65
+ mastercardNetworkTokensRequestorId?: string | null | undefined;
66
+ /**
67
+ * Application ID provided for Mastercard after onboarding to use Network Tokens.
68
+ */
69
+ mastercardNetworkTokensAppId?: string | null | undefined;
70
+ /**
71
+ * The display name for the merchant account.
72
+ */
73
+ displayName?: string | null | undefined;
74
+ /**
75
+ * An optional endpoint URL to deliver webhook notifications to.
76
+ */
77
+ outboundWebhookUrl?: string | null | undefined;
78
+ /**
79
+ * The optional username to use when `outbound_webhook_url` is configured and requires basic authentication.
80
+ */
81
+ outboundWebhookUsername?: string | null | undefined;
82
+ /**
83
+ * The optional password to use when `outbound_webhook_url` is configured and requires basic authentication
84
+ */
85
+ outboundWebhookPassword?: string | null | undefined;
86
+ };
87
+ /** @internal */
88
+ export declare const MerchantAccountUpdate$inboundSchema: z.ZodType<MerchantAccountUpdate, z.ZodTypeDef, unknown>;
89
+ /** @internal */
90
+ export type MerchantAccountUpdate$Outbound = {
91
+ account_updater_enabled: boolean;
92
+ account_updater_request_encryption_key?: string | null | undefined;
93
+ account_updater_request_encryption_key_id?: string | null | undefined;
94
+ account_updater_response_decryption_key?: string | null | undefined;
95
+ account_updater_response_decryption_key_id?: string | null | undefined;
96
+ over_capture_amount?: number | null | undefined;
97
+ over_capture_percentage?: number | null | undefined;
98
+ loon_client_key?: string | null | undefined;
99
+ loon_secret_key?: string | null | undefined;
100
+ loon_accepted_schemes?: Array<string> | null | undefined;
101
+ visa_network_tokens_requestor_id?: string | null | undefined;
102
+ visa_network_tokens_app_id?: string | null | undefined;
103
+ amex_network_tokens_requestor_id?: string | null | undefined;
104
+ amex_network_tokens_app_id?: string | null | undefined;
105
+ mastercard_network_tokens_requestor_id?: string | null | undefined;
106
+ mastercard_network_tokens_app_id?: string | null | undefined;
107
+ display_name?: string | null | undefined;
108
+ outbound_webhook_url?: string | null | undefined;
109
+ outbound_webhook_username?: string | null | undefined;
110
+ outbound_webhook_password?: string | null | undefined;
111
+ };
112
+ /** @internal */
113
+ export declare const MerchantAccountUpdate$outboundSchema: z.ZodType<MerchantAccountUpdate$Outbound, z.ZodTypeDef, MerchantAccountUpdate>;
114
+ /**
115
+ * @internal
116
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
117
+ */
118
+ export declare namespace MerchantAccountUpdate$ {
119
+ /** @deprecated use `MerchantAccountUpdate$inboundSchema` instead. */
120
+ const inboundSchema: z.ZodType<MerchantAccountUpdate, z.ZodTypeDef, unknown>;
121
+ /** @deprecated use `MerchantAccountUpdate$outboundSchema` instead. */
122
+ const outboundSchema: z.ZodType<MerchantAccountUpdate$Outbound, z.ZodTypeDef, MerchantAccountUpdate>;
123
+ /** @deprecated use `MerchantAccountUpdate$Outbound` instead. */
124
+ type Outbound = MerchantAccountUpdate$Outbound;
125
+ }
126
+ export declare function merchantAccountUpdateToJSON(merchantAccountUpdate: MerchantAccountUpdate): string;
127
+ export declare function merchantAccountUpdateFromJSON(jsonString: string): SafeParseResult<MerchantAccountUpdate, SDKValidationError>;
128
+ //# sourceMappingURL=merchantaccountupdate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchantaccountupdate.d.ts","sourceRoot":"","sources":["../../src/models/components/merchantaccountupdate.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;AACrE,OAAO,EACL,UAAU,EAGX,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5C;;OAEG;IACH,kCAAkC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/D;;OAEG;IACH,oCAAoC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjE;;OAEG;IACH,mCAAmC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChE;;OAEG;IACH,qCAAqC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI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C,CAAC,UAAU,EACZ,qBAAqB,CAmDrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -0,0 +1,147 @@
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.MerchantAccountUpdate$ = exports.MerchantAccountUpdate$outboundSchema = exports.MerchantAccountUpdate$inboundSchema = void 0;
30
+ exports.merchantAccountUpdateToJSON = merchantAccountUpdateToJSON;
31
+ exports.merchantAccountUpdateFromJSON = merchantAccountUpdateFromJSON;
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 cardscheme_js_1 = require("./cardscheme.js");
36
+ /** @internal */
37
+ exports.MerchantAccountUpdate$inboundSchema = z.object({
38
+ account_updater_enabled: z.boolean().default(false),
39
+ account_updater_request_encryption_key: z.nullable(z.string()).optional(),
40
+ account_updater_request_encryption_key_id: z.nullable(z.string()).optional(),
41
+ account_updater_response_decryption_key: z.nullable(z.string()).optional(),
42
+ account_updater_response_decryption_key_id: z.nullable(z.string()).optional(),
43
+ over_capture_amount: z.nullable(z.number().int()).optional(),
44
+ over_capture_percentage: z.nullable(z.number().int()).optional(),
45
+ loon_client_key: z.nullable(z.string()).optional(),
46
+ loon_secret_key: z.nullable(z.string()).optional(),
47
+ loon_accepted_schemes: z.nullable(z.array(cardscheme_js_1.CardScheme$inboundSchema))
48
+ .optional(),
49
+ visa_network_tokens_requestor_id: z.nullable(z.string()).optional(),
50
+ visa_network_tokens_app_id: z.nullable(z.string()).optional(),
51
+ amex_network_tokens_requestor_id: z.nullable(z.string()).optional(),
52
+ amex_network_tokens_app_id: z.nullable(z.string()).optional(),
53
+ mastercard_network_tokens_requestor_id: z.nullable(z.string()).optional(),
54
+ mastercard_network_tokens_app_id: z.nullable(z.string()).optional(),
55
+ display_name: z.nullable(z.string()).optional(),
56
+ outbound_webhook_url: z.nullable(z.string()).optional(),
57
+ outbound_webhook_username: z.nullable(z.string()).optional(),
58
+ outbound_webhook_password: z.nullable(z.string()).optional(),
59
+ }).transform((v) => {
60
+ return (0, primitives_js_1.remap)(v, {
61
+ "account_updater_enabled": "accountUpdaterEnabled",
62
+ "account_updater_request_encryption_key": "accountUpdaterRequestEncryptionKey",
63
+ "account_updater_request_encryption_key_id": "accountUpdaterRequestEncryptionKeyId",
64
+ "account_updater_response_decryption_key": "accountUpdaterResponseDecryptionKey",
65
+ "account_updater_response_decryption_key_id": "accountUpdaterResponseDecryptionKeyId",
66
+ "over_capture_amount": "overCaptureAmount",
67
+ "over_capture_percentage": "overCapturePercentage",
68
+ "loon_client_key": "loonClientKey",
69
+ "loon_secret_key": "loonSecretKey",
70
+ "loon_accepted_schemes": "loonAcceptedSchemes",
71
+ "visa_network_tokens_requestor_id": "visaNetworkTokensRequestorId",
72
+ "visa_network_tokens_app_id": "visaNetworkTokensAppId",
73
+ "amex_network_tokens_requestor_id": "amexNetworkTokensRequestorId",
74
+ "amex_network_tokens_app_id": "amexNetworkTokensAppId",
75
+ "mastercard_network_tokens_requestor_id": "mastercardNetworkTokensRequestorId",
76
+ "mastercard_network_tokens_app_id": "mastercardNetworkTokensAppId",
77
+ "display_name": "displayName",
78
+ "outbound_webhook_url": "outboundWebhookUrl",
79
+ "outbound_webhook_username": "outboundWebhookUsername",
80
+ "outbound_webhook_password": "outboundWebhookPassword",
81
+ });
82
+ });
83
+ /** @internal */
84
+ exports.MerchantAccountUpdate$outboundSchema = z.object({
85
+ accountUpdaterEnabled: z.boolean().default(false),
86
+ accountUpdaterRequestEncryptionKey: z.nullable(z.string()).optional(),
87
+ accountUpdaterRequestEncryptionKeyId: z.nullable(z.string()).optional(),
88
+ accountUpdaterResponseDecryptionKey: z.nullable(z.string()).optional(),
89
+ accountUpdaterResponseDecryptionKeyId: z.nullable(z.string()).optional(),
90
+ overCaptureAmount: z.nullable(z.number().int()).optional(),
91
+ overCapturePercentage: z.nullable(z.number().int()).optional(),
92
+ loonClientKey: z.nullable(z.string()).optional(),
93
+ loonSecretKey: z.nullable(z.string()).optional(),
94
+ loonAcceptedSchemes: z.nullable(z.array(cardscheme_js_1.CardScheme$outboundSchema))
95
+ .optional(),
96
+ visaNetworkTokensRequestorId: z.nullable(z.string()).optional(),
97
+ visaNetworkTokensAppId: z.nullable(z.string()).optional(),
98
+ amexNetworkTokensRequestorId: z.nullable(z.string()).optional(),
99
+ amexNetworkTokensAppId: z.nullable(z.string()).optional(),
100
+ mastercardNetworkTokensRequestorId: z.nullable(z.string()).optional(),
101
+ mastercardNetworkTokensAppId: z.nullable(z.string()).optional(),
102
+ displayName: z.nullable(z.string()).optional(),
103
+ outboundWebhookUrl: z.nullable(z.string()).optional(),
104
+ outboundWebhookUsername: z.nullable(z.string()).optional(),
105
+ outboundWebhookPassword: z.nullable(z.string()).optional(),
106
+ }).transform((v) => {
107
+ return (0, primitives_js_1.remap)(v, {
108
+ accountUpdaterEnabled: "account_updater_enabled",
109
+ accountUpdaterRequestEncryptionKey: "account_updater_request_encryption_key",
110
+ accountUpdaterRequestEncryptionKeyId: "account_updater_request_encryption_key_id",
111
+ accountUpdaterResponseDecryptionKey: "account_updater_response_decryption_key",
112
+ accountUpdaterResponseDecryptionKeyId: "account_updater_response_decryption_key_id",
113
+ overCaptureAmount: "over_capture_amount",
114
+ overCapturePercentage: "over_capture_percentage",
115
+ loonClientKey: "loon_client_key",
116
+ loonSecretKey: "loon_secret_key",
117
+ loonAcceptedSchemes: "loon_accepted_schemes",
118
+ visaNetworkTokensRequestorId: "visa_network_tokens_requestor_id",
119
+ visaNetworkTokensAppId: "visa_network_tokens_app_id",
120
+ amexNetworkTokensRequestorId: "amex_network_tokens_requestor_id",
121
+ amexNetworkTokensAppId: "amex_network_tokens_app_id",
122
+ mastercardNetworkTokensRequestorId: "mastercard_network_tokens_requestor_id",
123
+ mastercardNetworkTokensAppId: "mastercard_network_tokens_app_id",
124
+ displayName: "display_name",
125
+ outboundWebhookUrl: "outbound_webhook_url",
126
+ outboundWebhookUsername: "outbound_webhook_username",
127
+ outboundWebhookPassword: "outbound_webhook_password",
128
+ });
129
+ });
130
+ /**
131
+ * @internal
132
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
133
+ */
134
+ var MerchantAccountUpdate$;
135
+ (function (MerchantAccountUpdate$) {
136
+ /** @deprecated use `MerchantAccountUpdate$inboundSchema` instead. */
137
+ MerchantAccountUpdate$.inboundSchema = exports.MerchantAccountUpdate$inboundSchema;
138
+ /** @deprecated use `MerchantAccountUpdate$outboundSchema` instead. */
139
+ MerchantAccountUpdate$.outboundSchema = exports.MerchantAccountUpdate$outboundSchema;
140
+ })(MerchantAccountUpdate$ || (exports.MerchantAccountUpdate$ = MerchantAccountUpdate$ = {}));
141
+ function merchantAccountUpdateToJSON(merchantAccountUpdate) {
142
+ return JSON.stringify(exports.MerchantAccountUpdate$outboundSchema.parse(merchantAccountUpdate));
143
+ }
144
+ function merchantAccountUpdateFromJSON(jsonString) {
145
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MerchantAccountUpdate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MerchantAccountUpdate' from JSON`);
146
+ }
147
+ //# sourceMappingURL=merchantaccountupdate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchantaccountupdate.js","sourceRoot":"","sources":["../../src/models/components/merchantaccountupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuPH,kEAMC;AAED,sEAQC;AArQD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,mDAIyB;AAqFzB,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACnD,sCAAsC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACzE,yCAAyC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5E,uCAAuC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1E,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AuB,EAAE,2BAA2B;KACrD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,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 CreateMerchantAccountResponse403CreateMerchantAccount = Error403 | Error403Forbidden | Error403Active;
11
+ /** @internal */
12
+ export declare const CreateMerchantAccountResponse403CreateMerchantAccount$inboundSchema: z.ZodType<CreateMerchantAccountResponse403CreateMerchantAccount, z.ZodTypeDef, unknown>;
13
+ /** @internal */
14
+ export type CreateMerchantAccountResponse403CreateMerchantAccount$Outbound = Error403$Outbound | Error403Forbidden$Outbound | Error403Active$Outbound;
15
+ /** @internal */
16
+ export declare const CreateMerchantAccountResponse403CreateMerchantAccount$outboundSchema: z.ZodType<CreateMerchantAccountResponse403CreateMerchantAccount$Outbound, z.ZodTypeDef, CreateMerchantAccountResponse403CreateMerchantAccount>;
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 CreateMerchantAccountResponse403CreateMerchantAccount$ {
22
+ /** @deprecated use `CreateMerchantAccountResponse403CreateMerchantAccount$inboundSchema` instead. */
23
+ const inboundSchema: z.ZodType<CreateMerchantAccountResponse403CreateMerchantAccount, z.ZodTypeDef, unknown>;
24
+ /** @deprecated use `CreateMerchantAccountResponse403CreateMerchantAccount$outboundSchema` instead. */
25
+ const outboundSchema: z.ZodType<CreateMerchantAccountResponse403CreateMerchantAccount$Outbound, z.ZodTypeDef, CreateMerchantAccountResponse403CreateMerchantAccount>;
26
+ /** @deprecated use `CreateMerchantAccountResponse403CreateMerchantAccount$Outbound` instead. */
27
+ type Outbound = CreateMerchantAccountResponse403CreateMerchantAccount$Outbound;
28
+ }
29
+ export declare function createMerchantAccountResponse403CreateMerchantAccountToJSON(createMerchantAccountResponse403CreateMerchantAccount: CreateMerchantAccountResponse403CreateMerchantAccount): string;
30
+ export declare function createMerchantAccountResponse403CreateMerchantAccountFromJSON(jsonString: string): SafeParseResult<CreateMerchantAccountResponse403CreateMerchantAccount, SDKValidationError>;
31
+ //# sourceMappingURL=createmerchantaccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createmerchantaccount.d.ts","sourceRoot":"","sources":["../../src/models/errors/createmerchantaccount.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.CreateMerchantAccountResponse403CreateMerchantAccount$ = exports.CreateMerchantAccountResponse403CreateMerchantAccount$outboundSchema = exports.CreateMerchantAccountResponse403CreateMerchantAccount$inboundSchema = void 0;
30
+ exports.createMerchantAccountResponse403CreateMerchantAccountToJSON = createMerchantAccountResponse403CreateMerchantAccountToJSON;
31
+ exports.createMerchantAccountResponse403CreateMerchantAccountFromJSON = createMerchantAccountResponse403CreateMerchantAccountFromJSON;
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.CreateMerchantAccountResponse403CreateMerchantAccount$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.CreateMerchantAccountResponse403CreateMerchantAccount$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 CreateMerchantAccountResponse403CreateMerchantAccount$;
54
+ (function (CreateMerchantAccountResponse403CreateMerchantAccount$) {
55
+ /** @deprecated use `CreateMerchantAccountResponse403CreateMerchantAccount$inboundSchema` instead. */
56
+ CreateMerchantAccountResponse403CreateMerchantAccount$.inboundSchema = exports.CreateMerchantAccountResponse403CreateMerchantAccount$inboundSchema;
57
+ /** @deprecated use `CreateMerchantAccountResponse403CreateMerchantAccount$outboundSchema` instead. */
58
+ CreateMerchantAccountResponse403CreateMerchantAccount$.outboundSchema = exports.CreateMerchantAccountResponse403CreateMerchantAccount$outboundSchema;
59
+ })(CreateMerchantAccountResponse403CreateMerchantAccount$ || (exports.CreateMerchantAccountResponse403CreateMerchantAccount$ = CreateMerchantAccountResponse403CreateMerchantAccount$ = {}));
60
+ function createMerchantAccountResponse403CreateMerchantAccountToJSON(createMerchantAccountResponse403CreateMerchantAccount) {
61
+ return JSON.stringify(exports.CreateMerchantAccountResponse403CreateMerchantAccount$outboundSchema.parse(createMerchantAccountResponse403CreateMerchantAccount));
62
+ }
63
+ function createMerchantAccountResponse403CreateMerchantAccountFromJSON(jsonString) {
64
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateMerchantAccountResponse403CreateMerchantAccount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateMerchantAccountResponse403CreateMerchantAccount' from JSON`);
65
+ }
66
+ //# sourceMappingURL=createmerchantaccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createmerchantaccount.js","sourceRoot":"","sources":["../../src/models/errors/createmerchantaccount.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,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 GetMerchantAccountResponse403GetMerchantAccount = Error403 | Error403Forbidden | Error403Active;
11
+ /** @internal */
12
+ export declare const GetMerchantAccountResponse403GetMerchantAccount$inboundSchema: z.ZodType<GetMerchantAccountResponse403GetMerchantAccount, z.ZodTypeDef, unknown>;
13
+ /** @internal */
14
+ export type GetMerchantAccountResponse403GetMerchantAccount$Outbound = Error403$Outbound | Error403Forbidden$Outbound | Error403Active$Outbound;
15
+ /** @internal */
16
+ export declare const GetMerchantAccountResponse403GetMerchantAccount$outboundSchema: z.ZodType<GetMerchantAccountResponse403GetMerchantAccount$Outbound, z.ZodTypeDef, GetMerchantAccountResponse403GetMerchantAccount>;
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 GetMerchantAccountResponse403GetMerchantAccount$ {
22
+ /** @deprecated use `GetMerchantAccountResponse403GetMerchantAccount$inboundSchema` instead. */
23
+ const inboundSchema: z.ZodType<GetMerchantAccountResponse403GetMerchantAccount, z.ZodTypeDef, unknown>;
24
+ /** @deprecated use `GetMerchantAccountResponse403GetMerchantAccount$outboundSchema` instead. */
25
+ const outboundSchema: z.ZodType<GetMerchantAccountResponse403GetMerchantAccount$Outbound, z.ZodTypeDef, GetMerchantAccountResponse403GetMerchantAccount>;
26
+ /** @deprecated use `GetMerchantAccountResponse403GetMerchantAccount$Outbound` instead. */
27
+ type Outbound = GetMerchantAccountResponse403GetMerchantAccount$Outbound;
28
+ }
29
+ export declare function getMerchantAccountResponse403GetMerchantAccountToJSON(getMerchantAccountResponse403GetMerchantAccount: GetMerchantAccountResponse403GetMerchantAccount): string;
30
+ export declare function getMerchantAccountResponse403GetMerchantAccountFromJSON(jsonString: string): SafeParseResult<GetMerchantAccountResponse403GetMerchantAccount, SDKValidationError>;
31
+ //# sourceMappingURL=getmerchantaccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getmerchantaccount.d.ts","sourceRoot":"","sources":["../../src/models/errors/getmerchantaccount.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,+CAA+C,GACvD,QAAQ,GACR,iBAAiB,GACjB,cAAc,CAAC;AAEnB,gBAAgB;AAChB,eAAO,MAAM,6DAA6D,EACxE,CAAC,CAAC,OAAO,CACP,+CAA+C,EAC/C,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,wDAAwD,GAChE,iBAAiB,GACjB,0BAA0B,GAC1B,uBAAuB,CAAC;AAE5B,gBAAgB;AAChB,eAAO,MAAM,8DAA8D,EACzE,CAAC,CAAC,OAAO,CACP,wDAAwD,EACxD,CAAC,CAAC,UAAU,EACZ,+CAA+C,CAK/C,CAAC;AAEL;;;GAGG;AACH,yBAAiB,gDAAgD,CAAC;IAChE,+FAA+F;IACxF,MAAM,aAAa,mFACqC,CAAC;IAChE,gGAAgG;IACzF,MAAM,cAAc,oIACqC,CAAC;IACjE,0FAA0F;IAC1F,KAAY,QAAQ,GAClB,wDAAwD,CAAC;CAC5D;AAED,wBAAgB,qDAAqD,CACnE,+CAA+C,EAC7C,+CAA+C,GAChD,MAAM,CAMR;AAED,wBAAgB,uDAAuD,CACrE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,+CAA+C,EAC/C,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.GetMerchantAccountResponse403GetMerchantAccount$ = exports.GetMerchantAccountResponse403GetMerchantAccount$outboundSchema = exports.GetMerchantAccountResponse403GetMerchantAccount$inboundSchema = void 0;
30
+ exports.getMerchantAccountResponse403GetMerchantAccountToJSON = getMerchantAccountResponse403GetMerchantAccountToJSON;
31
+ exports.getMerchantAccountResponse403GetMerchantAccountFromJSON = getMerchantAccountResponse403GetMerchantAccountFromJSON;
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.GetMerchantAccountResponse403GetMerchantAccount$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.GetMerchantAccountResponse403GetMerchantAccount$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 GetMerchantAccountResponse403GetMerchantAccount$;
54
+ (function (GetMerchantAccountResponse403GetMerchantAccount$) {
55
+ /** @deprecated use `GetMerchantAccountResponse403GetMerchantAccount$inboundSchema` instead. */
56
+ GetMerchantAccountResponse403GetMerchantAccount$.inboundSchema = exports.GetMerchantAccountResponse403GetMerchantAccount$inboundSchema;
57
+ /** @deprecated use `GetMerchantAccountResponse403GetMerchantAccount$outboundSchema` instead. */
58
+ GetMerchantAccountResponse403GetMerchantAccount$.outboundSchema = exports.GetMerchantAccountResponse403GetMerchantAccount$outboundSchema;
59
+ })(GetMerchantAccountResponse403GetMerchantAccount$ || (exports.GetMerchantAccountResponse403GetMerchantAccount$ = GetMerchantAccountResponse403GetMerchantAccount$ = {}));
60
+ function getMerchantAccountResponse403GetMerchantAccountToJSON(getMerchantAccountResponse403GetMerchantAccount) {
61
+ return JSON.stringify(exports.GetMerchantAccountResponse403GetMerchantAccount$outboundSchema.parse(getMerchantAccountResponse403GetMerchantAccount));
62
+ }
63
+ function getMerchantAccountResponse403GetMerchantAccountFromJSON(jsonString) {
64
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetMerchantAccountResponse403GetMerchantAccount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMerchantAccountResponse403GetMerchantAccount' from JSON`);
65
+ }
66
+ //# sourceMappingURL=getmerchantaccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getmerchantaccount.js","sourceRoot":"","sources":["../../src/models/errors/getmerchantaccount.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA+EH,sHASC;AAED,0HAcC;AAtGD,uCAAyB;AACzB,qDAAiD;AAEjD,+CAKuB;AACvB,2DAK6B;AAC7B,iEAKgC;AAWhC,gBAAgB;AACH,QAAA,6DAA6D,GAKpE,CAAC,CAAC,KAAK,CAAC;IACV,oCAAsB;IACtB,sDAA+B;IAC/B,gDAA4B;CAC7B,CAAC,CAAC;AAQL,gBAAgB;AACH,QAAA,8DAA8D,GAKrE,CAAC,CAAC,KAAK,CAAC;IACV,qCAAuB;IACvB,uDAAgC;IAChC,iDAA6B;CAC9B,CAAC,CAAC;AAEL;;;GAGG;AACH,IAAiB,gDAAgD,CAUhE;AAVD,WAAiB,gDAAgD;IAC/D,+FAA+F;IAClF,8DAAa,GACxB,qEAA6D,CAAC;IAChE,gGAAgG;IACnF,+DAAc,GACzB,sEAA8D,CAAC;AAInE,CAAC,EAVgB,gDAAgD,gEAAhD,gDAAgD,QAUhE;AAED,SAAgB,qDAAqD,CACnE,+CACiD;IAEjD,OAAO,IAAI,CAAC,SAAS,CACnB,sEAA8D,CAAC,KAAK,CAClE,+CAA+C,CAChD,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,uDAAuD,CACrE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,qEAA6D,CAAC,KAAK,CACjE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,6EAA6E,CAC9E,CAAC;AACJ,CAAC"}
@@ -9,6 +9,7 @@ export * from "./createclicktopaydigitalwalletsession.js";
9
9
  export * from "./createfulltransactionrefund.js";
10
10
  export * from "./creategiftcard.js";
11
11
  export * from "./creategooglepaydigitalwalletsession.js";
12
+ export * from "./createmerchantaccount.js";
12
13
  export * from "./createpaymentmethod.js";
13
14
  export * from "./createpaymentmethodnetworktoken.js";
14
15
  export * from "./createpaymentmethodnetworktokencryptogram.js";
@@ -42,6 +43,7 @@ export * from "./getbuyershippingdetails.js";
42
43
  export * from "./getcheckoutsession.js";
43
44
  export * from "./getdigitalwallet.js";
44
45
  export * from "./getgiftcard.js";
46
+ export * from "./getmerchantaccount.js";
45
47
  export * from "./getpaymentmethod.js";
46
48
  export * from "./getpayout.js";
47
49
  export * from "./getrefund.js";
@@ -59,6 +61,7 @@ export * from "./listcardschemedefinitions.js";
59
61
  export * from "./listdigitalwallets.js";
60
62
  export * from "./listgiftcardbalances.js";
61
63
  export * from "./listgiftcards.js";
64
+ export * from "./listmerchantaccounts.js";
62
65
  export * from "./listpaymentmethodnetworktokens.js";
63
66
  export * from "./listpaymentmethodpaymentservicetokens.js";
64
67
  export * from "./listpaymentmethods.js";
@@ -77,5 +80,6 @@ export * from "./updatebuyer.js";
77
80
  export * from "./updatebuyershippingdetails.js";
78
81
  export * from "./updatecheckoutsession.js";
79
82
  export * from "./updatedigitalwallet.js";
83
+ export * from "./updatemerchantaccount.js";
80
84
  export * from "./voidtransaction.js";
81
85
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kCAAkC,CAAC;AACjD,cAAc,qBAAqB,CAAC;AACpC,cAAc,0CAA0C,CAAC;AACzD,cAAc,0BAA0B,CAAC;AACzC,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;A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kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC"}
@@ -28,6 +28,7 @@ __exportStar(require("./createclicktopaydigitalwalletsession.js"), exports);
28
28
  __exportStar(require("./createfulltransactionrefund.js"), exports);
29
29
  __exportStar(require("./creategiftcard.js"), exports);
30
30
  __exportStar(require("./creategooglepaydigitalwalletsession.js"), exports);
31
+ __exportStar(require("./createmerchantaccount.js"), exports);
31
32
  __exportStar(require("./createpaymentmethod.js"), exports);
32
33
  __exportStar(require("./createpaymentmethodnetworktoken.js"), exports);
33
34
  __exportStar(require("./createpaymentmethodnetworktokencryptogram.js"), exports);
@@ -61,6 +62,7 @@ __exportStar(require("./getbuyershippingdetails.js"), exports);
61
62
  __exportStar(require("./getcheckoutsession.js"), exports);
62
63
  __exportStar(require("./getdigitalwallet.js"), exports);
63
64
  __exportStar(require("./getgiftcard.js"), exports);
65
+ __exportStar(require("./getmerchantaccount.js"), exports);
64
66
  __exportStar(require("./getpaymentmethod.js"), exports);
65
67
  __exportStar(require("./getpayout.js"), exports);
66
68
  __exportStar(require("./getrefund.js"), exports);
@@ -78,6 +80,7 @@ __exportStar(require("./listcardschemedefinitions.js"), exports);
78
80
  __exportStar(require("./listdigitalwallets.js"), exports);
79
81
  __exportStar(require("./listgiftcardbalances.js"), exports);
80
82
  __exportStar(require("./listgiftcards.js"), exports);
83
+ __exportStar(require("./listmerchantaccounts.js"), exports);
81
84
  __exportStar(require("./listpaymentmethodnetworktokens.js"), exports);
82
85
  __exportStar(require("./listpaymentmethodpaymentservicetokens.js"), exports);
83
86
  __exportStar(require("./listpaymentmethods.js"), exports);
@@ -96,5 +99,6 @@ __exportStar(require("./updatebuyer.js"), exports);
96
99
  __exportStar(require("./updatebuyershippingdetails.js"), exports);
97
100
  __exportStar(require("./updatecheckoutsession.js"), exports);
98
101
  __exportStar(require("./updatedigitalwallet.js"), exports);
102
+ __exportStar(require("./updatemerchantaccount.js"), exports);
99
103
  __exportStar(require("./voidtransaction.js"), exports);
100
104
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,+DAA6C;AAC7C,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C;AAC7C,0EAAwD;AACxD,6DAA2C;AAC3C,4EAA0D;AAC1D,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,gDAA8B;AAC9B,gDAA8B;AAC9B,sDAAoC;AACpC,yDAAuC;AACvC,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,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,wDAAsC;AACtC,2DAAyC;AACzC,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,gDAA8B;AAC9B,0DAAwC;AACxC,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/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,+DAA6C;AAC7C,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C;AAC7C,0EAAwD;AACxD,6DAA2C;AAC3C,4EAA0D;AAC1D,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,gDAA8B;AAC9B,gDAA8B;AAC9B,sDAAoC;AACpC,yDAAuC;AACvC,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,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,wDAAsC;AACtC,2DAAyC;AACzC,qDAAmC;AACnC,0DAAwC;AACxC,+DAA6C;AAC7C,kDAAgC;AAChC,gEAA8C;AAC9C,iEAA+C;AAC/C,0DAAwC;AACxC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