@flowio/types 11.19.23 → 11.19.25
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 +779 -604
- package/dist/api.d.ts +3 -83
- package/package.json +2 -2
- package/src/api-internal.ts +1731 -1520
- package/src/api.ts +3 -101
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;
|
|
@@ -7834,22 +7773,7 @@ declare namespace io.flow.v0.models {
|
|
|
7834
7773
|
readonly organization: string;
|
|
7835
7774
|
readonly ratecard: io.flow.v0.models.Ratecard;
|
|
7836
7775
|
}
|
|
7837
|
-
interface
|
|
7838
|
-
readonly discriminator: 'ratecard_estimate_form_v1';
|
|
7839
|
-
readonly origin?: string;
|
|
7840
|
-
readonly destination?: string;
|
|
7841
|
-
readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
7842
|
-
readonly distance_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
7843
|
-
readonly service?: string;
|
|
7844
|
-
readonly weight?: number;
|
|
7845
|
-
readonly length?: number;
|
|
7846
|
-
readonly width?: number;
|
|
7847
|
-
readonly depth?: number;
|
|
7848
|
-
readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
|
|
7849
|
-
readonly line_items?: io.flow.v0.models.LineItemForm[];
|
|
7850
|
-
}
|
|
7851
|
-
interface RatecardEstimateFormV2 {
|
|
7852
|
-
readonly discriminator: 'ratecard_estimate_form_v2';
|
|
7776
|
+
interface RatecardEstimateForm {
|
|
7853
7777
|
readonly origin_address: io.flow.v0.models.Address;
|
|
7854
7778
|
readonly destination_address: io.flow.v0.models.Address;
|
|
7855
7779
|
readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
@@ -9790,7 +9714,6 @@ declare namespace io.flow.v0.unions {
|
|
|
9790
9714
|
type QueryFilter = io.flow.v0.models.QueryFilterStructured | io.flow.v0.models.QueryFilterUnstructured;
|
|
9791
9715
|
type QueryFilterForm = io.flow.v0.models.QueryFilterStructuredForm | io.flow.v0.models.QueryFilterUnstructuredForm;
|
|
9792
9716
|
type RatecardEstimate = io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2 | io.flow.v0.models.RatecardEstimateV3;
|
|
9793
|
-
type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateFormV1 | io.flow.v0.models.RatecardEstimateFormV2;
|
|
9794
9717
|
type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizedShipmentRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee | io.flow.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.v0.models.PeakSurchargeRatecardFee | io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
9795
9718
|
type RepeatSchedule = io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly;
|
|
9796
9719
|
type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
|
|
@@ -10029,7 +9952,6 @@ export declare type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrgan
|
|
|
10029
9952
|
export declare type ChannelRate = io.flow.v0.models.ChannelRate;
|
|
10030
9953
|
export declare type ChannelReference = io.flow.v0.models.ChannelReference;
|
|
10031
9954
|
export declare type ChannelToken = io.flow.v0.models.ChannelToken;
|
|
10032
|
-
export declare type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
|
|
10033
9955
|
export declare type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
|
|
10034
9956
|
export declare type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
|
|
10035
9957
|
export declare type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
|
|
@@ -10895,9 +10817,7 @@ export declare type Ratecard = io.flow.v0.models.Ratecard;
|
|
|
10895
10817
|
export declare type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
|
|
10896
10818
|
export declare type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
|
|
10897
10819
|
export declare type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
|
|
10898
|
-
export declare type RatecardEstimateForm = io.flow.v0.
|
|
10899
|
-
export declare type RatecardEstimateFormV1 = io.flow.v0.models.RatecardEstimateFormV1;
|
|
10900
|
-
export declare type RatecardEstimateFormV2 = io.flow.v0.models.RatecardEstimateFormV2;
|
|
10820
|
+
export declare type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm;
|
|
10901
10821
|
export declare type RatecardEstimateSummaryForm = io.flow.v0.models.RatecardEstimateSummaryForm;
|
|
10902
10822
|
export declare type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
|
|
10903
10823
|
export declare type RatecardEstimateV2 = io.flow.v0.models.RatecardEstimateV2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.19.
|
|
3
|
+
"version": "11.19.25",
|
|
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": "4ae6e2759b529a0dbde456f9b601ac52b7556064"
|
|
29
29
|
}
|