@moovio/sdk 0.5.4 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +19 -8
  2. package/bin/mcp-server.js +488 -106
  3. package/bin/mcp-server.js.map +18 -12
  4. package/docs/sdks/transfers/README.md +185 -0
  5. package/funcs/transfersCreateCancellation.d.ts +17 -0
  6. package/funcs/transfersCreateCancellation.d.ts.map +1 -0
  7. package/funcs/transfersCreateCancellation.js +128 -0
  8. package/funcs/transfersCreateCancellation.js.map +1 -0
  9. package/funcs/transfersGetCancellation.d.ts +16 -0
  10. package/funcs/transfersGetCancellation.d.ts.map +1 -0
  11. package/funcs/transfersGetCancellation.js +131 -0
  12. package/funcs/transfersGetCancellation.js.map +1 -0
  13. package/jsr.json +1 -1
  14. package/lib/config.d.ts +3 -3
  15. package/lib/config.js +3 -3
  16. package/mcp-server/cli/start/command.d.ts.map +1 -1
  17. package/mcp-server/cli/start/command.js +9 -0
  18. package/mcp-server/cli/start/command.js.map +1 -1
  19. package/mcp-server/cli/start/impl.d.ts +1 -0
  20. package/mcp-server/cli/start/impl.d.ts.map +1 -1
  21. package/mcp-server/cli/start/impl.js +2 -0
  22. package/mcp-server/cli/start/impl.js.map +1 -1
  23. package/mcp-server/mcp-server.js +1 -1
  24. package/mcp-server/server.d.ts +1 -0
  25. package/mcp-server/server.d.ts.map +1 -1
  26. package/mcp-server/server.js +7 -2
  27. package/mcp-server/server.js.map +1 -1
  28. package/mcp-server/tools/transfersCreateCancellation.d.ts +8 -0
  29. package/mcp-server/tools/transfersCreateCancellation.d.ts.map +1 -0
  30. package/mcp-server/tools/transfersCreateCancellation.js +65 -0
  31. package/mcp-server/tools/transfersCreateCancellation.js.map +1 -0
  32. package/mcp-server/tools/transfersGetCancellation.d.ts +8 -0
  33. package/mcp-server/tools/transfersGetCancellation.d.ts.map +1 -0
  34. package/mcp-server/tools/transfersGetCancellation.js +65 -0
  35. package/mcp-server/tools/transfersGetCancellation.js.map +1 -0
  36. package/mcp-server/tools.d.ts +1 -1
  37. package/mcp-server/tools.d.ts.map +1 -1
  38. package/mcp-server/tools.js +4 -1
  39. package/mcp-server/tools.js.map +1 -1
  40. package/models/components/transfer.d.ts +3 -0
  41. package/models/components/transfer.d.ts.map +1 -1
  42. package/models/components/transfer.js +3 -0
  43. package/models/components/transfer.js.map +1 -1
  44. package/models/errors/transfer.d.ts +3 -0
  45. package/models/errors/transfer.d.ts.map +1 -1
  46. package/models/errors/transfer.js +4 -0
  47. package/models/errors/transfer.js.map +1 -1
  48. package/models/operations/createcancellation.d.ts +107 -0
  49. package/models/operations/createcancellation.d.ts.map +1 -0
  50. package/models/operations/createcancellation.js +147 -0
  51. package/models/operations/createcancellation.js.map +1 -0
  52. package/models/operations/getcancellation.d.ts +112 -0
  53. package/models/operations/getcancellation.d.ts.map +1 -0
  54. package/models/operations/getcancellation.js +149 -0
  55. package/models/operations/getcancellation.js.map +1 -0
  56. package/models/operations/index.d.ts +2 -0
  57. package/models/operations/index.d.ts.map +1 -1
  58. package/models/operations/index.js +2 -0
  59. package/models/operations/index.js.map +1 -1
  60. package/package.json +1 -1
  61. package/sdk/transfers.d.ts +14 -0
  62. package/sdk/transfers.d.ts.map +1 -1
  63. package/sdk/transfers.js +20 -0
  64. package/sdk/transfers.js.map +1 -1
  65. package/src/funcs/transfersCreateCancellation.ts +184 -0
  66. package/src/funcs/transfersGetCancellation.ts +183 -0
  67. package/src/lib/config.ts +3 -3
  68. package/src/mcp-server/cli/start/command.ts +9 -0
  69. package/src/mcp-server/cli/start/impl.ts +3 -0
  70. package/src/mcp-server/mcp-server.ts +1 -1
  71. package/src/mcp-server/server.ts +14 -2
  72. package/src/mcp-server/tools/transfersCreateCancellation.ts +38 -0
  73. package/src/mcp-server/tools/transfersGetCancellation.ts +38 -0
  74. package/src/mcp-server/tools.ts +5 -0
  75. package/src/models/components/transfer.ts +10 -0
  76. package/src/models/errors/transfer.ts +6 -0
  77. package/src/models/operations/createcancellation.ts +229 -0
  78. package/src/models/operations/getcancellation.ts +236 -0
  79. package/src/models/operations/index.ts +2 -0
  80. package/src/sdk/transfers.ts +36 -0
@@ -0,0 +1,107 @@
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 CreateCancellationGlobals = {
6
+ /**
7
+ * Specify an API version.
8
+ *
9
+ * @remarks
10
+ *
11
+ * API versioning follows the format `vYYYY.QQ.BB`, where
12
+ * - `YYYY` is the year
13
+ * - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
14
+ * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
+ * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
+ *
17
+ * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
+ */
19
+ xMoovVersion?: string | undefined;
20
+ };
21
+ export type CreateCancellationRequest = {
22
+ /**
23
+ * The partner's Moov account ID.
24
+ */
25
+ accountID: string;
26
+ /**
27
+ * The transfer ID to cancel.
28
+ */
29
+ transferID: string;
30
+ };
31
+ export type CreateCancellationResponse = {
32
+ headers: {
33
+ [k: string]: Array<string>;
34
+ };
35
+ result: components.Cancellation;
36
+ };
37
+ /** @internal */
38
+ export declare const CreateCancellationGlobals$inboundSchema: z.ZodType<CreateCancellationGlobals, z.ZodTypeDef, unknown>;
39
+ /** @internal */
40
+ export type CreateCancellationGlobals$Outbound = {
41
+ "x-moov-version": string;
42
+ };
43
+ /** @internal */
44
+ export declare const CreateCancellationGlobals$outboundSchema: z.ZodType<CreateCancellationGlobals$Outbound, z.ZodTypeDef, CreateCancellationGlobals>;
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 CreateCancellationGlobals$ {
50
+ /** @deprecated use `CreateCancellationGlobals$inboundSchema` instead. */
51
+ const inboundSchema: z.ZodType<CreateCancellationGlobals, z.ZodTypeDef, unknown>;
52
+ /** @deprecated use `CreateCancellationGlobals$outboundSchema` instead. */
53
+ const outboundSchema: z.ZodType<CreateCancellationGlobals$Outbound, z.ZodTypeDef, CreateCancellationGlobals>;
54
+ /** @deprecated use `CreateCancellationGlobals$Outbound` instead. */
55
+ type Outbound = CreateCancellationGlobals$Outbound;
56
+ }
57
+ export declare function createCancellationGlobalsToJSON(createCancellationGlobals: CreateCancellationGlobals): string;
58
+ export declare function createCancellationGlobalsFromJSON(jsonString: string): SafeParseResult<CreateCancellationGlobals, SDKValidationError>;
59
+ /** @internal */
60
+ export declare const CreateCancellationRequest$inboundSchema: z.ZodType<CreateCancellationRequest, z.ZodTypeDef, unknown>;
61
+ /** @internal */
62
+ export type CreateCancellationRequest$Outbound = {
63
+ accountID: string;
64
+ transferID: string;
65
+ };
66
+ /** @internal */
67
+ export declare const CreateCancellationRequest$outboundSchema: z.ZodType<CreateCancellationRequest$Outbound, z.ZodTypeDef, CreateCancellationRequest>;
68
+ /**
69
+ * @internal
70
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
71
+ */
72
+ export declare namespace CreateCancellationRequest$ {
73
+ /** @deprecated use `CreateCancellationRequest$inboundSchema` instead. */
74
+ const inboundSchema: z.ZodType<CreateCancellationRequest, z.ZodTypeDef, unknown>;
75
+ /** @deprecated use `CreateCancellationRequest$outboundSchema` instead. */
76
+ const outboundSchema: z.ZodType<CreateCancellationRequest$Outbound, z.ZodTypeDef, CreateCancellationRequest>;
77
+ /** @deprecated use `CreateCancellationRequest$Outbound` instead. */
78
+ type Outbound = CreateCancellationRequest$Outbound;
79
+ }
80
+ export declare function createCancellationRequestToJSON(createCancellationRequest: CreateCancellationRequest): string;
81
+ export declare function createCancellationRequestFromJSON(jsonString: string): SafeParseResult<CreateCancellationRequest, SDKValidationError>;
82
+ /** @internal */
83
+ export declare const CreateCancellationResponse$inboundSchema: z.ZodType<CreateCancellationResponse, z.ZodTypeDef, unknown>;
84
+ /** @internal */
85
+ export type CreateCancellationResponse$Outbound = {
86
+ Headers: {
87
+ [k: string]: Array<string>;
88
+ };
89
+ Result: components.Cancellation$Outbound;
90
+ };
91
+ /** @internal */
92
+ export declare const CreateCancellationResponse$outboundSchema: z.ZodType<CreateCancellationResponse$Outbound, z.ZodTypeDef, CreateCancellationResponse>;
93
+ /**
94
+ * @internal
95
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
96
+ */
97
+ export declare namespace CreateCancellationResponse$ {
98
+ /** @deprecated use `CreateCancellationResponse$inboundSchema` instead. */
99
+ const inboundSchema: z.ZodType<CreateCancellationResponse, z.ZodTypeDef, unknown>;
100
+ /** @deprecated use `CreateCancellationResponse$outboundSchema` instead. */
101
+ const outboundSchema: z.ZodType<CreateCancellationResponse$Outbound, z.ZodTypeDef, CreateCancellationResponse>;
102
+ /** @deprecated use `CreateCancellationResponse$Outbound` instead. */
103
+ type Outbound = CreateCancellationResponse$Outbound;
104
+ }
105
+ export declare function createCancellationResponseToJSON(createCancellationResponse: CreateCancellationResponse): string;
106
+ export declare function createCancellationResponseFromJSON(jsonString: string): SafeParseResult<CreateCancellationResponse, SDKValidationError>;
107
+ //# sourceMappingURL=createcancellation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createcancellation.d.ts","sourceRoot":"","sources":["../../src/models/operations/createcancellation.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,yBAAyB,GAAG;IACtC;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CA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AAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
@@ -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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.CreateCancellationResponse$ = exports.CreateCancellationResponse$outboundSchema = exports.CreateCancellationResponse$inboundSchema = exports.CreateCancellationRequest$ = exports.CreateCancellationRequest$outboundSchema = exports.CreateCancellationRequest$inboundSchema = exports.CreateCancellationGlobals$ = exports.CreateCancellationGlobals$outboundSchema = exports.CreateCancellationGlobals$inboundSchema = void 0;
40
+ exports.createCancellationGlobalsToJSON = createCancellationGlobalsToJSON;
41
+ exports.createCancellationGlobalsFromJSON = createCancellationGlobalsFromJSON;
42
+ exports.createCancellationRequestToJSON = createCancellationRequestToJSON;
43
+ exports.createCancellationRequestFromJSON = createCancellationRequestFromJSON;
44
+ exports.createCancellationResponseToJSON = createCancellationResponseToJSON;
45
+ exports.createCancellationResponseFromJSON = createCancellationResponseFromJSON;
46
+ const z = __importStar(require("zod"));
47
+ const primitives_js_1 = require("../../lib/primitives.js");
48
+ const schemas_js_1 = require("../../lib/schemas.js");
49
+ const components = __importStar(require("../components/index.js"));
50
+ /** @internal */
51
+ exports.CreateCancellationGlobals$inboundSchema = z.object({
52
+ "x-moov-version": z.string().default("v2024.01.00"),
53
+ }).transform((v) => {
54
+ return (0, primitives_js_1.remap)(v, {
55
+ "x-moov-version": "xMoovVersion",
56
+ });
57
+ });
58
+ /** @internal */
59
+ exports.CreateCancellationGlobals$outboundSchema = z.object({
60
+ xMoovVersion: z.string().default("v2024.01.00"),
61
+ }).transform((v) => {
62
+ return (0, primitives_js_1.remap)(v, {
63
+ xMoovVersion: "x-moov-version",
64
+ });
65
+ });
66
+ /**
67
+ * @internal
68
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
69
+ */
70
+ var CreateCancellationGlobals$;
71
+ (function (CreateCancellationGlobals$) {
72
+ /** @deprecated use `CreateCancellationGlobals$inboundSchema` instead. */
73
+ CreateCancellationGlobals$.inboundSchema = exports.CreateCancellationGlobals$inboundSchema;
74
+ /** @deprecated use `CreateCancellationGlobals$outboundSchema` instead. */
75
+ CreateCancellationGlobals$.outboundSchema = exports.CreateCancellationGlobals$outboundSchema;
76
+ })(CreateCancellationGlobals$ || (exports.CreateCancellationGlobals$ = CreateCancellationGlobals$ = {}));
77
+ function createCancellationGlobalsToJSON(createCancellationGlobals) {
78
+ return JSON.stringify(exports.CreateCancellationGlobals$outboundSchema.parse(createCancellationGlobals));
79
+ }
80
+ function createCancellationGlobalsFromJSON(jsonString) {
81
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCancellationGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCancellationGlobals' from JSON`);
82
+ }
83
+ /** @internal */
84
+ exports.CreateCancellationRequest$inboundSchema = z.object({
85
+ accountID: z.string(),
86
+ transferID: z.string(),
87
+ });
88
+ /** @internal */
89
+ exports.CreateCancellationRequest$outboundSchema = z.object({
90
+ accountID: z.string(),
91
+ transferID: z.string(),
92
+ });
93
+ /**
94
+ * @internal
95
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
96
+ */
97
+ var CreateCancellationRequest$;
98
+ (function (CreateCancellationRequest$) {
99
+ /** @deprecated use `CreateCancellationRequest$inboundSchema` instead. */
100
+ CreateCancellationRequest$.inboundSchema = exports.CreateCancellationRequest$inboundSchema;
101
+ /** @deprecated use `CreateCancellationRequest$outboundSchema` instead. */
102
+ CreateCancellationRequest$.outboundSchema = exports.CreateCancellationRequest$outboundSchema;
103
+ })(CreateCancellationRequest$ || (exports.CreateCancellationRequest$ = CreateCancellationRequest$ = {}));
104
+ function createCancellationRequestToJSON(createCancellationRequest) {
105
+ return JSON.stringify(exports.CreateCancellationRequest$outboundSchema.parse(createCancellationRequest));
106
+ }
107
+ function createCancellationRequestFromJSON(jsonString) {
108
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCancellationRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCancellationRequest' from JSON`);
109
+ }
110
+ /** @internal */
111
+ exports.CreateCancellationResponse$inboundSchema = z.object({
112
+ Headers: z.record(z.array(z.string())),
113
+ Result: components.Cancellation$inboundSchema,
114
+ }).transform((v) => {
115
+ return (0, primitives_js_1.remap)(v, {
116
+ "Headers": "headers",
117
+ "Result": "result",
118
+ });
119
+ });
120
+ /** @internal */
121
+ exports.CreateCancellationResponse$outboundSchema = z.object({
122
+ headers: z.record(z.array(z.string())),
123
+ result: components.Cancellation$outboundSchema,
124
+ }).transform((v) => {
125
+ return (0, primitives_js_1.remap)(v, {
126
+ headers: "Headers",
127
+ result: "Result",
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 CreateCancellationResponse$;
135
+ (function (CreateCancellationResponse$) {
136
+ /** @deprecated use `CreateCancellationResponse$inboundSchema` instead. */
137
+ CreateCancellationResponse$.inboundSchema = exports.CreateCancellationResponse$inboundSchema;
138
+ /** @deprecated use `CreateCancellationResponse$outboundSchema` instead. */
139
+ CreateCancellationResponse$.outboundSchema = exports.CreateCancellationResponse$outboundSchema;
140
+ })(CreateCancellationResponse$ || (exports.CreateCancellationResponse$ = CreateCancellationResponse$ = {}));
141
+ function createCancellationResponseToJSON(createCancellationResponse) {
142
+ return JSON.stringify(exports.CreateCancellationResponse$outboundSchema.parse(createCancellationResponse));
143
+ }
144
+ function createCancellationResponseFromJSON(jsonString) {
145
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCancellationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCancellationResponse' from JSON`);
146
+ }
147
+ //# sourceMappingURL=createcancellation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createcancellation.js","sourceRoot":"","sources":["../../src/models/operations/createcancellation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFH,0EAMC;AAED,8EAQC;AAyCD,0EAMC;AAED,8EAQC;AAmDD,4EAMC;AAED,gFAQC;AAhOD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAoCrD,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,gBA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EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE,UAAU,CAAC,2BAA2B;CAC/C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C;AAED,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,112 @@
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 GetCancellationGlobals = {
6
+ /**
7
+ * Specify an API version.
8
+ *
9
+ * @remarks
10
+ *
11
+ * API versioning follows the format `vYYYY.QQ.BB`, where
12
+ * - `YYYY` is the year
13
+ * - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
14
+ * - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
15
+ * - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
16
+ *
17
+ * The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
18
+ */
19
+ xMoovVersion?: string | undefined;
20
+ };
21
+ export type GetCancellationRequest = {
22
+ /**
23
+ * Moov account ID of the partner or transfer's source or destination.
24
+ */
25
+ accountID: string;
26
+ /**
27
+ * Identifier for the transfer.
28
+ */
29
+ transferID: string;
30
+ /**
31
+ * Identifier for the cancellation.
32
+ */
33
+ cancellationID: string;
34
+ };
35
+ export type GetCancellationResponse = {
36
+ headers: {
37
+ [k: string]: Array<string>;
38
+ };
39
+ result: components.Cancellation;
40
+ };
41
+ /** @internal */
42
+ export declare const GetCancellationGlobals$inboundSchema: z.ZodType<GetCancellationGlobals, z.ZodTypeDef, unknown>;
43
+ /** @internal */
44
+ export type GetCancellationGlobals$Outbound = {
45
+ "x-moov-version": string;
46
+ };
47
+ /** @internal */
48
+ export declare const GetCancellationGlobals$outboundSchema: z.ZodType<GetCancellationGlobals$Outbound, z.ZodTypeDef, GetCancellationGlobals>;
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
+ export declare namespace GetCancellationGlobals$ {
54
+ /** @deprecated use `GetCancellationGlobals$inboundSchema` instead. */
55
+ const inboundSchema: z.ZodType<GetCancellationGlobals, z.ZodTypeDef, unknown>;
56
+ /** @deprecated use `GetCancellationGlobals$outboundSchema` instead. */
57
+ const outboundSchema: z.ZodType<GetCancellationGlobals$Outbound, z.ZodTypeDef, GetCancellationGlobals>;
58
+ /** @deprecated use `GetCancellationGlobals$Outbound` instead. */
59
+ type Outbound = GetCancellationGlobals$Outbound;
60
+ }
61
+ export declare function getCancellationGlobalsToJSON(getCancellationGlobals: GetCancellationGlobals): string;
62
+ export declare function getCancellationGlobalsFromJSON(jsonString: string): SafeParseResult<GetCancellationGlobals, SDKValidationError>;
63
+ /** @internal */
64
+ export declare const GetCancellationRequest$inboundSchema: z.ZodType<GetCancellationRequest, z.ZodTypeDef, unknown>;
65
+ /** @internal */
66
+ export type GetCancellationRequest$Outbound = {
67
+ accountID: string;
68
+ transferID: string;
69
+ cancellationID: string;
70
+ };
71
+ /** @internal */
72
+ export declare const GetCancellationRequest$outboundSchema: z.ZodType<GetCancellationRequest$Outbound, z.ZodTypeDef, GetCancellationRequest>;
73
+ /**
74
+ * @internal
75
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
76
+ */
77
+ export declare namespace GetCancellationRequest$ {
78
+ /** @deprecated use `GetCancellationRequest$inboundSchema` instead. */
79
+ const inboundSchema: z.ZodType<GetCancellationRequest, z.ZodTypeDef, unknown>;
80
+ /** @deprecated use `GetCancellationRequest$outboundSchema` instead. */
81
+ const outboundSchema: z.ZodType<GetCancellationRequest$Outbound, z.ZodTypeDef, GetCancellationRequest>;
82
+ /** @deprecated use `GetCancellationRequest$Outbound` instead. */
83
+ type Outbound = GetCancellationRequest$Outbound;
84
+ }
85
+ export declare function getCancellationRequestToJSON(getCancellationRequest: GetCancellationRequest): string;
86
+ export declare function getCancellationRequestFromJSON(jsonString: string): SafeParseResult<GetCancellationRequest, SDKValidationError>;
87
+ /** @internal */
88
+ export declare const GetCancellationResponse$inboundSchema: z.ZodType<GetCancellationResponse, z.ZodTypeDef, unknown>;
89
+ /** @internal */
90
+ export type GetCancellationResponse$Outbound = {
91
+ Headers: {
92
+ [k: string]: Array<string>;
93
+ };
94
+ Result: components.Cancellation$Outbound;
95
+ };
96
+ /** @internal */
97
+ export declare const GetCancellationResponse$outboundSchema: z.ZodType<GetCancellationResponse$Outbound, z.ZodTypeDef, GetCancellationResponse>;
98
+ /**
99
+ * @internal
100
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
101
+ */
102
+ export declare namespace GetCancellationResponse$ {
103
+ /** @deprecated use `GetCancellationResponse$inboundSchema` instead. */
104
+ const inboundSchema: z.ZodType<GetCancellationResponse, z.ZodTypeDef, unknown>;
105
+ /** @deprecated use `GetCancellationResponse$outboundSchema` instead. */
106
+ const outboundSchema: z.ZodType<GetCancellationResponse$Outbound, z.ZodTypeDef, GetCancellationResponse>;
107
+ /** @deprecated use `GetCancellationResponse$Outbound` instead. */
108
+ type Outbound = GetCancellationResponse$Outbound;
109
+ }
110
+ export declare function getCancellationResponseToJSON(getCancellationResponse: GetCancellationResponse): string;
111
+ export declare function getCancellationResponseFromJSON(jsonString: string): SafeParseResult<GetCancellationResponse, SDKValidationError>;
112
+ //# sourceMappingURL=getcancellation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getcancellation.d.ts","sourceRoot":"","sources":["../../src/models/operations/getcancellation.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,sBAAsB,GAAG;IACnC;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,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AC;CACxD;AAED,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D;AAED,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,qBAAqB,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CASvB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa,2DAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc,oFAAyC,CAAC;IACrE,kEAAkE;IAClE,KAAY,QAAQ,GAAG,gCAAgC,CAAC;CACzD;AAED,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
@@ -0,0 +1,149 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.GetCancellationResponse$ = exports.GetCancellationResponse$outboundSchema = exports.GetCancellationResponse$inboundSchema = exports.GetCancellationRequest$ = exports.GetCancellationRequest$outboundSchema = exports.GetCancellationRequest$inboundSchema = exports.GetCancellationGlobals$ = exports.GetCancellationGlobals$outboundSchema = exports.GetCancellationGlobals$inboundSchema = void 0;
40
+ exports.getCancellationGlobalsToJSON = getCancellationGlobalsToJSON;
41
+ exports.getCancellationGlobalsFromJSON = getCancellationGlobalsFromJSON;
42
+ exports.getCancellationRequestToJSON = getCancellationRequestToJSON;
43
+ exports.getCancellationRequestFromJSON = getCancellationRequestFromJSON;
44
+ exports.getCancellationResponseToJSON = getCancellationResponseToJSON;
45
+ exports.getCancellationResponseFromJSON = getCancellationResponseFromJSON;
46
+ const z = __importStar(require("zod"));
47
+ const primitives_js_1 = require("../../lib/primitives.js");
48
+ const schemas_js_1 = require("../../lib/schemas.js");
49
+ const components = __importStar(require("../components/index.js"));
50
+ /** @internal */
51
+ exports.GetCancellationGlobals$inboundSchema = z.object({
52
+ "x-moov-version": z.string().default("v2024.01.00"),
53
+ }).transform((v) => {
54
+ return (0, primitives_js_1.remap)(v, {
55
+ "x-moov-version": "xMoovVersion",
56
+ });
57
+ });
58
+ /** @internal */
59
+ exports.GetCancellationGlobals$outboundSchema = z.object({
60
+ xMoovVersion: z.string().default("v2024.01.00"),
61
+ }).transform((v) => {
62
+ return (0, primitives_js_1.remap)(v, {
63
+ xMoovVersion: "x-moov-version",
64
+ });
65
+ });
66
+ /**
67
+ * @internal
68
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
69
+ */
70
+ var GetCancellationGlobals$;
71
+ (function (GetCancellationGlobals$) {
72
+ /** @deprecated use `GetCancellationGlobals$inboundSchema` instead. */
73
+ GetCancellationGlobals$.inboundSchema = exports.GetCancellationGlobals$inboundSchema;
74
+ /** @deprecated use `GetCancellationGlobals$outboundSchema` instead. */
75
+ GetCancellationGlobals$.outboundSchema = exports.GetCancellationGlobals$outboundSchema;
76
+ })(GetCancellationGlobals$ || (exports.GetCancellationGlobals$ = GetCancellationGlobals$ = {}));
77
+ function getCancellationGlobalsToJSON(getCancellationGlobals) {
78
+ return JSON.stringify(exports.GetCancellationGlobals$outboundSchema.parse(getCancellationGlobals));
79
+ }
80
+ function getCancellationGlobalsFromJSON(jsonString) {
81
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetCancellationGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCancellationGlobals' from JSON`);
82
+ }
83
+ /** @internal */
84
+ exports.GetCancellationRequest$inboundSchema = z.object({
85
+ accountID: z.string(),
86
+ transferID: z.string(),
87
+ cancellationID: z.string(),
88
+ });
89
+ /** @internal */
90
+ exports.GetCancellationRequest$outboundSchema = z.object({
91
+ accountID: z.string(),
92
+ transferID: z.string(),
93
+ cancellationID: z.string(),
94
+ });
95
+ /**
96
+ * @internal
97
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
98
+ */
99
+ var GetCancellationRequest$;
100
+ (function (GetCancellationRequest$) {
101
+ /** @deprecated use `GetCancellationRequest$inboundSchema` instead. */
102
+ GetCancellationRequest$.inboundSchema = exports.GetCancellationRequest$inboundSchema;
103
+ /** @deprecated use `GetCancellationRequest$outboundSchema` instead. */
104
+ GetCancellationRequest$.outboundSchema = exports.GetCancellationRequest$outboundSchema;
105
+ })(GetCancellationRequest$ || (exports.GetCancellationRequest$ = GetCancellationRequest$ = {}));
106
+ function getCancellationRequestToJSON(getCancellationRequest) {
107
+ return JSON.stringify(exports.GetCancellationRequest$outboundSchema.parse(getCancellationRequest));
108
+ }
109
+ function getCancellationRequestFromJSON(jsonString) {
110
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetCancellationRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCancellationRequest' from JSON`);
111
+ }
112
+ /** @internal */
113
+ exports.GetCancellationResponse$inboundSchema = z.object({
114
+ Headers: z.record(z.array(z.string())),
115
+ Result: components.Cancellation$inboundSchema,
116
+ }).transform((v) => {
117
+ return (0, primitives_js_1.remap)(v, {
118
+ "Headers": "headers",
119
+ "Result": "result",
120
+ });
121
+ });
122
+ /** @internal */
123
+ exports.GetCancellationResponse$outboundSchema = z.object({
124
+ headers: z.record(z.array(z.string())),
125
+ result: components.Cancellation$outboundSchema,
126
+ }).transform((v) => {
127
+ return (0, primitives_js_1.remap)(v, {
128
+ headers: "Headers",
129
+ result: "Result",
130
+ });
131
+ });
132
+ /**
133
+ * @internal
134
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
135
+ */
136
+ var GetCancellationResponse$;
137
+ (function (GetCancellationResponse$) {
138
+ /** @deprecated use `GetCancellationResponse$inboundSchema` instead. */
139
+ GetCancellationResponse$.inboundSchema = exports.GetCancellationResponse$inboundSchema;
140
+ /** @deprecated use `GetCancellationResponse$outboundSchema` instead. */
141
+ GetCancellationResponse$.outboundSchema = exports.GetCancellationResponse$outboundSchema;
142
+ })(GetCancellationResponse$ || (exports.GetCancellationResponse$ = GetCancellationResponse$ = {}));
143
+ function getCancellationResponseToJSON(getCancellationResponse) {
144
+ return JSON.stringify(exports.GetCancellationResponse$outboundSchema.parse(getCancellationResponse));
145
+ }
146
+ function getCancellationResponseFromJSON(jsonString) {
147
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetCancellationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCancellationResponse' from JSON`);
148
+ }
149
+ //# sourceMappingURL=getcancellation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getcancellation.js","sourceRoot":"","sources":["../../src/models/operations/getcancellation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0FH,oEAMC;AAED,wEAQC;AA4CD,oEAMC;AAED,wEAQC;AAmDD,sEAMC;AAED,0EAQC;AAvOD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAwCrD,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC;CACpD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,cAAc;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC;CAChD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,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AGG;AACH,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,6CAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AAGvE,CAAC,EAPgB,wBAAwB,wCAAxB,wBAAwB,QAOxC;AAED,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAED,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
@@ -7,6 +7,7 @@ export * from "./createaccesstoken.js";
7
7
  export * from "./createaccount.js";
8
8
  export * from "./createapplepaysession.js";
9
9
  export * from "./createbrand.js";
10
+ export * from "./createcancellation.js";
10
11
  export * from "./createfeeplanagreements.js";
11
12
  export * from "./createonboardinginvite.js";
12
13
  export * from "./createpaymentlink.js";
@@ -34,6 +35,7 @@ export * from "./getavatar.js";
34
35
  export * from "./getbankaccount.js";
35
36
  export * from "./getbankaccountverification.js";
36
37
  export * from "./getbrand.js";
38
+ export * from "./getcancellation.js";
37
39
  export * from "./getcapability.js";
38
40
  export * from "./getcard.js";
39
41
  export * from "./getdispute.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC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,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC"}
@@ -26,6 +26,7 @@ __exportStar(require("./createaccesstoken.js"), exports);
26
26
  __exportStar(require("./createaccount.js"), exports);
27
27
  __exportStar(require("./createapplepaysession.js"), exports);
28
28
  __exportStar(require("./createbrand.js"), exports);
29
+ __exportStar(require("./createcancellation.js"), exports);
29
30
  __exportStar(require("./createfeeplanagreements.js"), exports);
30
31
  __exportStar(require("./createonboardinginvite.js"), exports);
31
32
  __exportStar(require("./createpaymentlink.js"), exports);
@@ -53,6 +54,7 @@ __exportStar(require("./getavatar.js"), exports);
53
54
  __exportStar(require("./getbankaccount.js"), exports);
54
55
  __exportStar(require("./getbankaccountverification.js"), exports);
55
56
  __exportStar(require("./getbrand.js"), exports);
57
+ __exportStar(require("./getcancellation.js"), exports);
56
58
  __exportStar(require("./getcapability.js"), exports);
57
59
  __exportStar(require("./getcard.js"), exports);
58
60
  __exportStar(require("./getdispute.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;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A+B;AAC/B,sDAAoC;AACpC,wDAAsC;AACtC,yEAAuD;AACvD,oEAAkD;AAClD,uDAAqC;AACrC,kEAAgD;AAChD,6DAA2C;AAC3C,0DAAwC;AACxC,oEAAkD;AAClD,wDAAsC;AACtC,0DAAwC;AACxC,mDAAiC;AACjC,2DAAyC;AACzC,qDAAmC;AACnC,wDAAsC;AACtC,kDAAgC;AAChC,gEAA8C;AAC9C,qDAAmC;AACnC,mDAAiC;AACjC,8DAA4C;AAC5C,4CAA0B;AAC1B,uEAAqD;AACrD,2DAAyC;AACzC,mDAAiC;AACjC,oDAAkC;AAClC,yDAAuC;AACvC,8DAA4C;AAC5C,6DAA2C;AAC3C,yDAAuC;AACvC,qDAAmC;AACnC,qEAAmD;AACnD,mDAAiC;AACjC,kDAAgC;AAChC,6DAA2C;AAC3C,wDAAsC;AACtC,yDAAuC;AACvC,4DAA0C;AAC1C,sDAAoC;AACpC,yDAAuC;AACvC,sDAAoC;AACpC,iEAA+C;AAC/C,iEAA+C;AAC/C,kDAAgC;AAChC,mDAAiC;AACjC,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,qDAAmC;AACnC,8DAA4C;AAC5C,sDAAoC;AACpC,uEAAqD;AACrD,6DAA2C;AAC3C,yDAAuC;AACvC,qDAAmC;AACnC,6DAA2C;AAC3C,mDAAiC;AACjC,0DAAwC;AACxC,+DAA6C;AAC7C,8DAA4C;AAC5C,yDAAuC;AACvC,4DAA0C;AAC1C,sDAAoC;AACpC,sDAAoC;AACpC,yDAAuC;AACvC,iEAA+C;AAC/C,sDAAoC;AACpC,6DAA2C;AAC3C,iEAA+C;AAC/C,4DAA0C;AAC1C,iEAA+C;AAC/C,0DAAwC;AACxC,yDAAuC;AACvC,mDAAiC;AACjC,0DAAwC;AACxC,yDAAuC;AACvC,2DAAyC;AACzC,kDAAgC;AAChC,2DAAyC;A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C,qEAAmD;AACnD,mDAAiC;AACjC,kDAAgC;AAChC,6DAA2C;AAC3C,wDAAsC;AACtC,yDAAuC;AACvC,4DAA0C;AAC1C,sDAAoC;AACpC,yDAAuC;AACvC,sDAAoC;AACpC,iEAA+C;AAC/C,iEAA+C;AAC/C,kDAAgC;AAChC,mDAAiC;AACjC,0DAAwC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moovio/sdk",
3
- "version": "0.5.4",
3
+ "version": "0.6.1",
4
4
  "author": "Moov",
5
5
  "bin": {
6
6
  "mcp": "bin/mcp-server.js"
@@ -44,6 +44,20 @@ export declare class Transfers extends ClientSDK {
44
44
  * you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
45
45
  */
46
46
  update(request: operations.UpdateTransferRequest, options?: RequestOptions): Promise<operations.UpdateTransferResponse>;
47
+ /**
48
+ * Initiate a cancellation for a card, ACH, or queued transfer.
49
+ *
50
+ * To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
51
+ * to specify the `/accounts/{accountID}/transfers.write` scope.
52
+ */
53
+ createCancellation(request: operations.CreateCancellationRequest, options?: RequestOptions): Promise<operations.CreateCancellationResponse>;
54
+ /**
55
+ * Get details of a cancellation for a transfer.
56
+ *
57
+ * To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
58
+ * to specify the `/accounts/{accountID}/transfers.read` scope.
59
+ */
60
+ getCancellation(request: operations.GetCancellationRequest, options?: RequestOptions): Promise<operations.GetCancellationResponse>;
47
61
  /**
48
62
  * Initiate a refund for a card transfer.
49
63
  *