@pax2pay/model-banking 0.1.210 → 0.1.211
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.
|
@@ -9,7 +9,7 @@ export interface Authorization {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
export namespace Authorization {
|
|
12
|
-
export const statuses = ["created", "confirmed", "
|
|
12
|
+
export const statuses = ["created", "confirmed", "refunded", "captured", "cancelled"] as const
|
|
13
13
|
export type Status = typeof statuses[number]
|
|
14
14
|
export const type = isly.object<Authorization>({
|
|
15
15
|
type: isly.string("authorization"),
|
|
@@ -8,7 +8,7 @@ export interface Authorization {
|
|
|
8
8
|
created: isoly.DateTime;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace Authorization {
|
|
11
|
-
const statuses: readonly ["created", "confirmed", "
|
|
11
|
+
const statuses: readonly ["created", "confirmed", "refunded", "captured", "cancelled"];
|
|
12
12
|
type Status = typeof statuses[number];
|
|
13
13
|
const type: isly.object.ExtendableType<Authorization>;
|
|
14
14
|
const is: isly.Type.IsFunction<Authorization>;
|
|
@@ -2,7 +2,7 @@ import { isoly } from "isoly";
|
|
|
2
2
|
import { isly } from "isly";
|
|
3
3
|
export var Authorization;
|
|
4
4
|
(function (Authorization) {
|
|
5
|
-
Authorization.statuses = ["created", "confirmed", "
|
|
5
|
+
Authorization.statuses = ["created", "confirmed", "refunded", "captured", "cancelled"];
|
|
6
6
|
Authorization.type = isly.object({
|
|
7
7
|
type: isly.string("authorization"),
|
|
8
8
|
id: isly.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authorization.js","sourceRoot":"../","sources":["Card/Operation/Authorization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAS3B,MAAM,KAAW,aAAa,CAW7B;AAXD,WAAiB,aAAa;IAChB,sBAAQ,GAAG,CAAC,SAAS,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Authorization.js","sourceRoot":"../","sources":["Card/Operation/Authorization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAS3B,MAAM,KAAW,aAAa,CAW7B;AAXD,WAAiB,aAAa;IAChB,sBAAQ,GAAG,CAAC,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,CAAU,CAAA;IAEjF,kBAAI,GAAG,IAAI,CAAC,MAAM,CAAgB;QAC9C,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC;QAClC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,cAAA,QAAQ,CAAC;QAC7B,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;KACzD,CAAC,CAAA;IACW,gBAAE,GAAG,cAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAXgB,aAAa,KAAb,aAAa,QAW7B"}
|