@moovio/sdk 0.5.0 → 0.5.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.
- package/bin/mcp-server.js +77 -102
- package/bin/mcp-server.js.map +18 -18
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/cancellation.d.ts +2 -0
- package/models/components/cancellation.d.ts.map +1 -1
- package/models/components/cancellation.js +2 -0
- package/models/components/cancellation.js.map +1 -1
- package/models/components/card.d.ts +2 -2
- package/models/components/card.d.ts.map +1 -1
- package/models/components/card.js +2 -2
- package/models/components/card.js.map +1 -1
- package/models/components/{cardacquringmodel.d.ts → cardacquiringmodel.d.ts} +8 -8
- package/models/components/cardacquiringmodel.d.ts.map +1 -0
- package/models/components/{cardacquringmodel.js → cardacquiringmodel.js} +12 -12
- package/models/components/cardacquiringmodel.js.map +1 -0
- package/models/components/feeplan.d.ts +3 -3
- package/models/components/feeplan.d.ts.map +1 -1
- package/models/components/feeplan.js +3 -3
- package/models/components/feeplan.js.map +1 -1
- package/models/components/feeplanagreement.d.ts +5 -5
- package/models/components/feeplanagreement.d.ts.map +1 -1
- package/models/components/feeplanagreement.js +5 -5
- package/models/components/feeplanagreement.js.map +1 -1
- package/models/components/feeproperties.d.ts +7 -126
- package/models/components/feeproperties.d.ts.map +1 -1
- package/models/components/feeproperties.js +8 -98
- package/models/components/feeproperties.js.map +1 -1
- package/models/components/index.d.ts +1 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -1
- package/models/components/index.js.map +1 -1
- package/models/components/partnerpricing.d.ts +3 -3
- package/models/components/partnerpricing.d.ts.map +1 -1
- package/models/components/partnerpricing.js +3 -3
- package/models/components/partnerpricing.js.map +1 -1
- package/models/components/partnerpricingagreement.d.ts +5 -5
- package/models/components/partnerpricingagreement.d.ts.map +1 -1
- package/models/components/partnerpricingagreement.js +5 -5
- package/models/components/partnerpricingagreement.js.map +1 -1
- package/models/components/transferdestination.d.ts +19 -10
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +12 -9
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transfersource.d.ts +19 -10
- package/models/components/transfersource.d.ts.map +1 -1
- package/models/components/transfersource.js +12 -9
- package/models/components/transfersource.js.map +1 -1
- package/models/components/wallettransaction.d.ts +5 -0
- package/models/components/wallettransaction.d.ts.map +1 -1
- package/models/components/wallettransaction.js +2 -0
- package/models/components/wallettransaction.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/cancellation.ts +4 -0
- package/src/models/components/card.ts +4 -4
- package/src/models/components/cardacquiringmodel.ts +39 -0
- package/src/models/components/feeplan.ts +8 -8
- package/src/models/components/feeplanagreement.ts +12 -12
- package/src/models/components/feeproperties.ts +18 -237
- package/src/models/components/index.ts +1 -1
- package/src/models/components/partnerpricing.ts +8 -8
- package/src/models/components/partnerpricingagreement.ts +12 -12
- package/src/models/components/transferdestination.ts +46 -22
- package/src/models/components/transfersource.ts +46 -22
- package/src/models/components/wallettransaction.ts +7 -0
- package/models/components/cardacquringmodel.d.ts.map +0 -1
- package/models/components/cardacquringmodel.js.map +0 -1
- package/src/models/components/cardacquringmodel.ts +0 -39
|
@@ -57,6 +57,10 @@ export type WalletTransaction = {
|
|
|
57
57
|
* Total fees paid for the transaction. The value is in the smallest unit of the specified currency. In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.
|
|
58
58
|
*/
|
|
59
59
|
fee: number;
|
|
60
|
+
/**
|
|
61
|
+
* The IDs of the fees paid for the transaction.
|
|
62
|
+
*/
|
|
63
|
+
feeIDs?: Array<string> | undefined;
|
|
60
64
|
/**
|
|
61
65
|
* Total fees paid for the transaction. Same as `fee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision. In USD for example, 12.987654321 is $12.987654321 and 0.9987634521 is $0.9987634521.
|
|
62
66
|
*/
|
|
@@ -100,6 +104,7 @@ export const WalletTransaction$inboundSchema: z.ZodType<
|
|
|
100
104
|
grossAmount: z.number().int(),
|
|
101
105
|
grossAmountDecimal: z.string(),
|
|
102
106
|
fee: z.number().int(),
|
|
107
|
+
feeIDs: z.array(z.string()).optional(),
|
|
103
108
|
feeDecimal: z.string(),
|
|
104
109
|
netAmount: z.number().int(),
|
|
105
110
|
netAmountDecimal: z.string(),
|
|
@@ -123,6 +128,7 @@ export type WalletTransaction$Outbound = {
|
|
|
123
128
|
grossAmount: number;
|
|
124
129
|
grossAmountDecimal: string;
|
|
125
130
|
fee: number;
|
|
131
|
+
feeIDs?: Array<string> | undefined;
|
|
126
132
|
feeDecimal: string;
|
|
127
133
|
netAmount: number;
|
|
128
134
|
netAmountDecimal: string;
|
|
@@ -150,6 +156,7 @@ export const WalletTransaction$outboundSchema: z.ZodType<
|
|
|
150
156
|
grossAmount: z.number().int(),
|
|
151
157
|
grossAmountDecimal: z.string(),
|
|
152
158
|
fee: z.number().int(),
|
|
159
|
+
feeIDs: z.array(z.string()).optional(),
|
|
153
160
|
feeDecimal: z.string(),
|
|
154
161
|
netAmount: z.number().int(),
|
|
155
162
|
netAmountDecimal: z.string(),
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cardacquringmodel.d.ts","sourceRoot":"","sources":["../../src/models/components/cardacquringmodel.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,iBAAiB,CACS,CAAC;AAEpC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,aAAa,CAC5D,OAAO,iBAAiB,CACS,CAAC;AAEpC;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa;;;MAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc;;;MAAmC,CAAC;CAChE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cardacquringmodel.js","sourceRoot":"","sources":["../../src/models/components/cardacquringmodel.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACb,CAAC;AAMX,gBAAgB;AACH,QAAA,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,yBAAiB,CAAC,CAAC;AAEpC,gBAAgB;AACH,QAAA,gCAAgC,GAEzC,uCAA+B,CAAC;AAEpC;;;GAGG;AACH,IAAiB,kBAAkB,CAKlC;AALD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AACjE,CAAC,EALgB,kBAAkB,kCAAlB,kBAAkB,QAKlC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Specifies the card processing pricing model
|
|
10
|
-
*/
|
|
11
|
-
export const CardAcquringModel = {
|
|
12
|
-
CostPlus: "cost-plus",
|
|
13
|
-
FlatRate: "flat-rate",
|
|
14
|
-
} as const;
|
|
15
|
-
/**
|
|
16
|
-
* Specifies the card processing pricing model
|
|
17
|
-
*/
|
|
18
|
-
export type CardAcquringModel = ClosedEnum<typeof CardAcquringModel>;
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const CardAcquringModel$inboundSchema: z.ZodNativeEnum<
|
|
22
|
-
typeof CardAcquringModel
|
|
23
|
-
> = z.nativeEnum(CardAcquringModel);
|
|
24
|
-
|
|
25
|
-
/** @internal */
|
|
26
|
-
export const CardAcquringModel$outboundSchema: z.ZodNativeEnum<
|
|
27
|
-
typeof CardAcquringModel
|
|
28
|
-
> = CardAcquringModel$inboundSchema;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
-
*/
|
|
34
|
-
export namespace CardAcquringModel$ {
|
|
35
|
-
/** @deprecated use `CardAcquringModel$inboundSchema` instead. */
|
|
36
|
-
export const inboundSchema = CardAcquringModel$inboundSchema;
|
|
37
|
-
/** @deprecated use `CardAcquringModel$outboundSchema` instead. */
|
|
38
|
-
export const outboundSchema = CardAcquringModel$outboundSchema;
|
|
39
|
-
}
|