@pax2pay/client 0.10.17 → 0.10.19
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/dist/model/Batch/Item/Status.d.ts +2 -2
- package/dist/model/Batch/Item/Status.js +1 -1
- package/dist/model/Batch/Item/Status.js.map +1 -1
- package/dist/model/Batch/Status.d.ts +3 -3
- package/dist/model/Batch/Status.js +1 -0
- package/dist/model/Batch/Status.js.map +1 -1
- package/dist/model/TransferResponseV2.d.ts +3 -0
- package/dist/model/TransferResponseV2.js +3 -0
- package/dist/model/TransferResponseV2.js.map +1 -1
- package/model/Batch/Item/Status.ts +1 -1
- package/model/Batch/Status.ts +1 -0
- package/model/TransferResponseV2.ts +6 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
2
|
export type Status = typeof Status.values[number];
|
|
3
3
|
export declare namespace Status {
|
|
4
|
-
const values: readonly ["todo", "successful", "failed", "cancelled", "failed import"];
|
|
5
|
-
const type: isly.Type<"failed" | "todo" | "successful" | "cancelled" | "failed import">;
|
|
4
|
+
const values: readonly ["todo", "processing", "successful", "failed", "cancelled", "failed import"];
|
|
5
|
+
const type: isly.Type<"failed" | "todo" | "processing" | "successful" | "cancelled" | "failed import">;
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
2
|
export var Status;
|
|
3
3
|
(function (Status) {
|
|
4
|
-
Status.values = ["todo", "successful", "failed", "cancelled", "failed import"];
|
|
4
|
+
Status.values = ["todo", "processing", "successful", "failed", "cancelled", "failed import"];
|
|
5
5
|
Status.type = isly.string(Status.values);
|
|
6
6
|
})(Status || (Status = {}));
|
|
7
7
|
//# sourceMappingURL=Status.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Status.js","sourceRoot":"../","sources":["model/Batch/Item/Status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,MAAM,CAGtB;AAHD,WAAiB,MAAM;IACT,aAAM,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,CAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"Status.js","sourceRoot":"../","sources":["model/Batch/Item/Status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,MAAM,CAGtB;AAHD,WAAiB,MAAM;IACT,aAAM,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,CAAU,CAAA;IAC9F,WAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAA,MAAM,CAAC,CAAA;AACxC,CAAC,EAHgB,MAAM,KAAN,MAAM,QAGtB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
2
|
export type Status = typeof Status.values[number];
|
|
3
3
|
export declare namespace Status {
|
|
4
|
-
const values: readonly ["todo", "processing", "completed", "failed to finalise", "cancelled", "importing", "finalising", "finalising import", "failed to import"];
|
|
5
|
-
const type: isly.Type<"completed" | "todo" | "
|
|
6
|
-
const is: (value: any | ("completed" | "todo" | "
|
|
4
|
+
const values: readonly ["todo", "processing", "completed", "failed to finalise", "cancelling", "cancelled", "importing", "finalising", "finalising import", "failed to import"];
|
|
5
|
+
const type: isly.Type<"completed" | "todo" | "processing" | "cancelled" | "failed to finalise" | "cancelling" | "importing" | "finalising" | "finalising import" | "failed to import">;
|
|
6
|
+
const is: (value: any | ("completed" | "todo" | "processing" | "cancelled" | "failed to finalise" | "cancelling" | "importing" | "finalising" | "finalising import" | "failed to import")) => value is "completed" | "todo" | "processing" | "cancelled" | "failed to finalise" | "cancelling" | "importing" | "finalising" | "finalising import" | "failed to import";
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Status.js","sourceRoot":"../","sources":["model/Batch/Status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"Status.js","sourceRoot":"../","sources":["model/Batch/Status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,MAAM,CAetB;AAfD,WAAiB,MAAM;IACT,aAAM,GAAG;QACrB,MAAM;QACN,YAAY;QACZ,WAAW;QACX,oBAAoB;QACpB,YAAY;QACZ,WAAW;QACX,WAAW;QACX,YAAY;QACZ,mBAAmB;QACnB,kBAAkB;KACT,CAAA;IACG,WAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAA,MAAM,CAAC,CAAA;IAC1B,SAAE,GAAG,OAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAfgB,MAAM,KAAN,MAAM,QAetB"}
|
|
@@ -15,6 +15,9 @@ export var TransferResponseV2;
|
|
|
15
15
|
externalId: isly.string(),
|
|
16
16
|
amount: isly.number(),
|
|
17
17
|
amountReceived: isly.number().optional(),
|
|
18
|
+
fxRate: isly.number().optional(),
|
|
19
|
+
fxFees: isly.number().optional(),
|
|
20
|
+
percentMarkup: isly.number().optional(),
|
|
18
21
|
currency: isly.fromIs("Currency", Currency.is),
|
|
19
22
|
currencyReceived: isly.fromIs("Currency", Currency.is).optional(),
|
|
20
23
|
status: TransferStatus.type,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransferResponseV2.js","sourceRoot":"../","sources":["model/TransferResponseV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,kB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AU,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACpC,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;KAC3D,CAAC,CAAA;IACW,qBAAE,GAAG,mBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EA9BgB,kBAAkB,KAAlB,kBAAkB,QA8BlC"}
|
|
@@ -3,6 +3,6 @@ import { isly } from "isly"
|
|
|
3
3
|
export type Status = typeof Status.values[number]
|
|
4
4
|
|
|
5
5
|
export namespace Status {
|
|
6
|
-
export const values = ["todo", "successful", "failed", "cancelled", "failed import"] as const
|
|
6
|
+
export const values = ["todo", "processing", "successful", "failed", "cancelled", "failed import"] as const
|
|
7
7
|
export const type = isly.string(values)
|
|
8
8
|
}
|
package/model/Batch/Status.ts
CHANGED
|
@@ -14,6 +14,9 @@ export interface TransferResponseV2 {
|
|
|
14
14
|
externalId: string
|
|
15
15
|
amount: number
|
|
16
16
|
amountReceived?: number
|
|
17
|
+
fxRate?: number
|
|
18
|
+
fxFees?: number
|
|
19
|
+
percentMarkup?: number
|
|
17
20
|
currency: Currency
|
|
18
21
|
currencyReceived?: Currency
|
|
19
22
|
status: TransferStatus
|
|
@@ -38,6 +41,9 @@ export namespace TransferResponseV2 {
|
|
|
38
41
|
externalId: isly.string(),
|
|
39
42
|
amount: isly.number(),
|
|
40
43
|
amountReceived: isly.number().optional(),
|
|
44
|
+
fxRate: isly.number().optional(),
|
|
45
|
+
fxFees: isly.number().optional(),
|
|
46
|
+
percentMarkup: isly.number().optional(),
|
|
41
47
|
currency: isly.fromIs("Currency", Currency.is),
|
|
42
48
|
currencyReceived: isly.fromIs("Currency", Currency.is).optional(),
|
|
43
49
|
status: TransferStatus.type,
|