@flowio/types 1.0.0 → 2.0.0
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/LICENSE +21 -0
- package/dist/api.d.ts +18 -1
- package/package.json +3 -2
- package/src/api.ts +21 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 Flow Commerce
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/api.d.ts
CHANGED
|
@@ -1028,7 +1028,21 @@ declare namespace io.flow.v0.models {
|
|
|
1028
1028
|
interface AddressConfiguration {
|
|
1029
1029
|
readonly country: string;
|
|
1030
1030
|
readonly field_validation: io.flow.v0.models.AddressFieldValidation;
|
|
1031
|
-
readonly provinces: io.flow.v0.models.
|
|
1031
|
+
readonly provinces: io.flow.v0.models.AddressConfigurationProvince[];
|
|
1032
|
+
}
|
|
1033
|
+
interface AddressConfigurationProvince {
|
|
1034
|
+
readonly value: string;
|
|
1035
|
+
readonly name: string;
|
|
1036
|
+
readonly translations?: io.flow.v0.models.AddressConfigurationProvinceTranslation[];
|
|
1037
|
+
}
|
|
1038
|
+
interface AddressConfigurationProvinceTranslation {
|
|
1039
|
+
readonly locale: io.flow.v0.models.AddressConfigurationProvinceTranslationLocale;
|
|
1040
|
+
readonly name: string;
|
|
1041
|
+
}
|
|
1042
|
+
interface AddressConfigurationProvinceTranslationLocale {
|
|
1043
|
+
readonly id: string;
|
|
1044
|
+
readonly name: string;
|
|
1045
|
+
readonly language: string;
|
|
1032
1046
|
}
|
|
1033
1047
|
interface AddressFieldValidation {
|
|
1034
1048
|
readonly first_name: io.flow.v0.unions.FieldValidationRule[];
|
|
@@ -7684,6 +7698,9 @@ export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTra
|
|
|
7684
7698
|
export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
|
|
7685
7699
|
export declare type Address = io.flow.v0.models.Address;
|
|
7686
7700
|
export declare type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
7701
|
+
export declare type AddressConfigurationProvince = io.flow.v0.models.AddressConfigurationProvince;
|
|
7702
|
+
export declare type AddressConfigurationProvinceTranslation = io.flow.v0.models.AddressConfigurationProvinceTranslation;
|
|
7703
|
+
export declare type AddressConfigurationProvinceTranslationLocale = io.flow.v0.models.AddressConfigurationProvinceTranslationLocale;
|
|
7687
7704
|
export declare type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation;
|
|
7688
7705
|
export declare type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
|
|
7689
7706
|
export declare type AddressVerification = io.flow.v0.models.AddressVerification;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,5 +26,6 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"prettier": "^1.18.2",
|
|
28
28
|
"typescript": "^3.2.2"
|
|
29
|
-
}
|
|
29
|
+
},
|
|
30
|
+
"gitHead": "01dc3b32b4cc3fead046853b473a6f58d42e6dd5"
|
|
30
31
|
}
|
package/src/api.ts
CHANGED
|
@@ -1692,7 +1692,24 @@ declare namespace io.flow.v0.models {
|
|
|
1692
1692
|
interface AddressConfiguration {
|
|
1693
1693
|
readonly country: string;
|
|
1694
1694
|
readonly field_validation: io.flow.v0.models.AddressFieldValidation;
|
|
1695
|
-
readonly provinces: io.flow.v0.models.
|
|
1695
|
+
readonly provinces: io.flow.v0.models.AddressConfigurationProvince[];
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
interface AddressConfigurationProvince {
|
|
1699
|
+
readonly value: string;
|
|
1700
|
+
readonly name: string;
|
|
1701
|
+
readonly translations?: io.flow.v0.models.AddressConfigurationProvinceTranslation[];
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
interface AddressConfigurationProvinceTranslation {
|
|
1705
|
+
readonly locale: io.flow.v0.models.AddressConfigurationProvinceTranslationLocale;
|
|
1706
|
+
readonly name: string;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
interface AddressConfigurationProvinceTranslationLocale {
|
|
1710
|
+
readonly id: string;
|
|
1711
|
+
readonly name: string;
|
|
1712
|
+
readonly language: string;
|
|
1696
1713
|
}
|
|
1697
1714
|
|
|
1698
1715
|
interface AddressFieldValidation {
|
|
@@ -9686,6 +9703,9 @@ export type AccountTransactionsExportType = io.flow.v0.models.AccountTransaction
|
|
|
9686
9703
|
export type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
|
|
9687
9704
|
export type Address = io.flow.v0.models.Address;
|
|
9688
9705
|
export type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
9706
|
+
export type AddressConfigurationProvince = io.flow.v0.models.AddressConfigurationProvince;
|
|
9707
|
+
export type AddressConfigurationProvinceTranslation = io.flow.v0.models.AddressConfigurationProvinceTranslation;
|
|
9708
|
+
export type AddressConfigurationProvinceTranslationLocale = io.flow.v0.models.AddressConfigurationProvinceTranslationLocale;
|
|
9689
9709
|
export type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation;
|
|
9690
9710
|
export type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
|
|
9691
9711
|
export type AddressVerification = io.flow.v0.models.AddressVerification;
|