@pax2pay/client 0.11.30 → 0.11.31
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
|
-
export type MerchantType =
|
|
2
|
+
export type MerchantType = string;
|
|
3
3
|
export declare namespace MerchantType {
|
|
4
4
|
const types: readonly ["flight", "hotel"];
|
|
5
|
-
const type: isly.Type<
|
|
6
|
-
const is: (value: any |
|
|
5
|
+
const type: isly.Type<string>;
|
|
6
|
+
const is: (value: any | string) => value is string;
|
|
7
7
|
}
|
|
@@ -2,7 +2,7 @@ import { isly } from "isly";
|
|
|
2
2
|
export var MerchantType;
|
|
3
3
|
(function (MerchantType) {
|
|
4
4
|
MerchantType.types = ["flight", "hotel"];
|
|
5
|
-
MerchantType.type = isly.string(
|
|
5
|
+
MerchantType.type = isly.string();
|
|
6
6
|
MerchantType.is = MerchantType.type.is;
|
|
7
7
|
})(MerchantType || (MerchantType = {}));
|
|
8
8
|
//# sourceMappingURL=MerchantType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MerchantType.js","sourceRoot":"../","sources":["model/MerchantType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,YAAY,
|
|
1
|
+
{"version":3,"file":"MerchantType.js","sourceRoot":"../","sources":["model/MerchantType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,YAAY,CAK5B;AALD,WAAiB,YAAY;IAEf,kBAAK,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAU,CAAA;IACpC,iBAAI,GAAG,IAAI,CAAC,MAAM,EAAE,CAAA;IACpB,eAAE,GAAG,aAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EALgB,YAAY,KAAZ,YAAY,QAK5B"}
|
package/model/MerchantType.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { isly } from "isly"
|
|
2
2
|
|
|
3
|
-
export type MerchantType =
|
|
3
|
+
export type MerchantType = string
|
|
4
4
|
|
|
5
5
|
export namespace MerchantType {
|
|
6
|
+
/** Suggested values for the create form. The server may return other types. */
|
|
6
7
|
export const types = ["flight", "hotel"] as const
|
|
7
|
-
export const type = isly.string(
|
|
8
|
+
export const type = isly.string()
|
|
8
9
|
export const is = type.is
|
|
9
10
|
}
|