@flowio/types 11.19.23 → 11.19.24
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/api-internal.d.ts +1312 -1127
- package/dist/api.d.ts +1 -63
- package/package.json +2 -2
- package/src/api-internal.ts +1441 -1216
- package/src/api.ts +1 -78
package/dist/api.d.ts
CHANGED
|
@@ -2041,63 +2041,6 @@ declare namespace io.flow.error.v0.models {
|
|
|
2041
2041
|
readonly messages: string[];
|
|
2042
2042
|
}
|
|
2043
2043
|
}
|
|
2044
|
-
declare namespace io.flow.channel.v0.enums {
|
|
2045
|
-
type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
|
|
2046
|
-
}
|
|
2047
|
-
declare namespace io.flow.channel.v0.models {
|
|
2048
|
-
interface Channel {
|
|
2049
|
-
readonly id: string;
|
|
2050
|
-
readonly name: string;
|
|
2051
|
-
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2052
|
-
readonly organization_id_prefix?: string;
|
|
2053
|
-
}
|
|
2054
|
-
interface ChannelAuthorization {
|
|
2055
|
-
readonly placeholder?: string;
|
|
2056
|
-
}
|
|
2057
|
-
interface ChannelAuthorizationForm {
|
|
2058
|
-
readonly channel_id: string;
|
|
2059
|
-
}
|
|
2060
|
-
interface ChannelCurrency {
|
|
2061
|
-
readonly id: string;
|
|
2062
|
-
readonly currency: string;
|
|
2063
|
-
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
2064
|
-
readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
|
|
2065
|
-
}
|
|
2066
|
-
interface ChannelCurrencyForm {
|
|
2067
|
-
readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
|
|
2068
|
-
}
|
|
2069
|
-
interface ChannelForm {
|
|
2070
|
-
readonly name: string;
|
|
2071
|
-
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2072
|
-
readonly organization_id_prefix?: string;
|
|
2073
|
-
}
|
|
2074
|
-
interface ChannelOrganization {
|
|
2075
|
-
readonly id: string;
|
|
2076
|
-
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
2077
|
-
readonly key: string;
|
|
2078
|
-
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
2079
|
-
readonly name: string;
|
|
2080
|
-
readonly slug?: string;
|
|
2081
|
-
readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
|
|
2082
|
-
readonly attributes?: Record<string, string>;
|
|
2083
|
-
}
|
|
2084
|
-
interface ChannelOrganizationAuthorization {
|
|
2085
|
-
readonly placeholder?: string;
|
|
2086
|
-
}
|
|
2087
|
-
interface ChannelOrganizationAuthorizationForm {
|
|
2088
|
-
readonly channel_id: string;
|
|
2089
|
-
readonly organization_id: string;
|
|
2090
|
-
}
|
|
2091
|
-
interface ChannelOrganizationForm {
|
|
2092
|
-
readonly name: string;
|
|
2093
|
-
readonly slug?: string;
|
|
2094
|
-
readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
|
|
2095
|
-
readonly attributes?: Record<string, string>;
|
|
2096
|
-
}
|
|
2097
|
-
interface ChannelTokenForm {
|
|
2098
|
-
readonly description?: string;
|
|
2099
|
-
}
|
|
2100
|
-
}
|
|
2101
2044
|
declare namespace io.flow.permission.v0.enums {
|
|
2102
2045
|
type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
|
|
2103
2046
|
type FlowBehavior = 'view_consumer_data';
|
|
@@ -3548,10 +3491,6 @@ declare namespace io.flow.v0.models {
|
|
|
3548
3491
|
readonly created_at: string;
|
|
3549
3492
|
readonly description?: string;
|
|
3550
3493
|
}
|
|
3551
|
-
interface ChannelTokenForm {
|
|
3552
|
-
readonly channel_id: string;
|
|
3553
|
-
readonly description?: string;
|
|
3554
|
-
}
|
|
3555
3494
|
interface ChannelTokenReference {
|
|
3556
3495
|
readonly discriminator: 'channel_token_reference';
|
|
3557
3496
|
readonly id: string;
|
|
@@ -3562,7 +3501,7 @@ declare namespace io.flow.v0.models {
|
|
|
3562
3501
|
readonly discriminator: 'channel_upserted';
|
|
3563
3502
|
readonly event_id: string;
|
|
3564
3503
|
readonly timestamp: string;
|
|
3565
|
-
readonly channel: io.flow.channel.v0.models.Channel;
|
|
3504
|
+
readonly channel: io.flow.channel.internal.v0.models.Channel;
|
|
3566
3505
|
}
|
|
3567
3506
|
interface CheckoutAttribute {
|
|
3568
3507
|
readonly id: string;
|
|
@@ -10029,7 +9968,6 @@ export declare type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrgan
|
|
|
10029
9968
|
export declare type ChannelRate = io.flow.v0.models.ChannelRate;
|
|
10030
9969
|
export declare type ChannelReference = io.flow.v0.models.ChannelReference;
|
|
10031
9970
|
export declare type ChannelToken = io.flow.v0.models.ChannelToken;
|
|
10032
|
-
export declare type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
|
|
10033
9971
|
export declare type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
|
|
10034
9972
|
export declare type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
|
|
10035
9973
|
export declare type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.19.
|
|
3
|
+
"version": "11.19.24",
|
|
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",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "61d03e10432c7c9246efc3a77c846235a21f568b"
|
|
29
29
|
}
|