@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/src/api.ts
CHANGED
|
@@ -2605,77 +2605,6 @@ declare namespace io.flow.error.v0.models {
|
|
|
2605
2605
|
}
|
|
2606
2606
|
}
|
|
2607
2607
|
|
|
2608
|
-
declare namespace io.flow.channel.v0.enums {
|
|
2609
|
-
type ChannelCurrencyCapability =
|
|
2610
|
-
| 'payment_authorizations'
|
|
2611
|
-
| 'settlement_currency';
|
|
2612
|
-
}
|
|
2613
|
-
|
|
2614
|
-
declare namespace io.flow.channel.v0.models {
|
|
2615
|
-
interface Channel {
|
|
2616
|
-
readonly id: string;
|
|
2617
|
-
readonly name: string;
|
|
2618
|
-
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2619
|
-
readonly organization_id_prefix?: string;
|
|
2620
|
-
}
|
|
2621
|
-
|
|
2622
|
-
interface ChannelAuthorization {
|
|
2623
|
-
readonly placeholder?: string;
|
|
2624
|
-
}
|
|
2625
|
-
|
|
2626
|
-
interface ChannelAuthorizationForm {
|
|
2627
|
-
readonly channel_id: string;
|
|
2628
|
-
}
|
|
2629
|
-
|
|
2630
|
-
interface ChannelCurrency {
|
|
2631
|
-
readonly id: string;
|
|
2632
|
-
readonly currency: string;
|
|
2633
|
-
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
2634
|
-
readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
|
|
2635
|
-
}
|
|
2636
|
-
|
|
2637
|
-
interface ChannelCurrencyForm {
|
|
2638
|
-
readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
|
|
2639
|
-
}
|
|
2640
|
-
|
|
2641
|
-
interface ChannelForm {
|
|
2642
|
-
readonly name: string;
|
|
2643
|
-
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2644
|
-
readonly organization_id_prefix?: string;
|
|
2645
|
-
}
|
|
2646
|
-
|
|
2647
|
-
interface ChannelOrganization {
|
|
2648
|
-
readonly id: string;
|
|
2649
|
-
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
2650
|
-
readonly key: string;
|
|
2651
|
-
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
2652
|
-
readonly name: string;
|
|
2653
|
-
readonly slug?: string;
|
|
2654
|
-
readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
|
|
2655
|
-
readonly attributes?: Record<string, string>;
|
|
2656
|
-
}
|
|
2657
|
-
|
|
2658
|
-
interface ChannelOrganizationAuthorization {
|
|
2659
|
-
readonly placeholder?: string;
|
|
2660
|
-
}
|
|
2661
|
-
|
|
2662
|
-
interface ChannelOrganizationAuthorizationForm {
|
|
2663
|
-
readonly channel_id: string;
|
|
2664
|
-
readonly organization_id: string;
|
|
2665
|
-
}
|
|
2666
|
-
|
|
2667
|
-
interface ChannelOrganizationForm {
|
|
2668
|
-
readonly name: string;
|
|
2669
|
-
readonly slug?: string;
|
|
2670
|
-
readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
|
|
2671
|
-
readonly attributes?: Record<string, string>;
|
|
2672
|
-
}
|
|
2673
|
-
|
|
2674
|
-
interface ChannelTokenForm {
|
|
2675
|
-
readonly description?: string;
|
|
2676
|
-
}
|
|
2677
|
-
}
|
|
2678
|
-
|
|
2679
2608
|
declare namespace io.flow.permission.v0.enums {
|
|
2680
2609
|
type AuthenticationTechnique =
|
|
2681
2610
|
| 'anonymous'
|
|
@@ -4948,11 +4877,6 @@ declare namespace io.flow.v0.models {
|
|
|
4948
4877
|
readonly description?: string;
|
|
4949
4878
|
}
|
|
4950
4879
|
|
|
4951
|
-
interface ChannelTokenForm {
|
|
4952
|
-
readonly channel_id: string;
|
|
4953
|
-
readonly description?: string;
|
|
4954
|
-
}
|
|
4955
|
-
|
|
4956
4880
|
interface ChannelTokenReference {
|
|
4957
4881
|
readonly discriminator: 'channel_token_reference';
|
|
4958
4882
|
readonly id: string;
|
|
@@ -4964,7 +4888,7 @@ declare namespace io.flow.v0.models {
|
|
|
4964
4888
|
readonly discriminator: 'channel_upserted';
|
|
4965
4889
|
readonly event_id: string;
|
|
4966
4890
|
readonly timestamp: string;
|
|
4967
|
-
readonly channel: io.flow.channel.v0.models.Channel;
|
|
4891
|
+
readonly channel: io.flow.channel.internal.v0.models.Channel;
|
|
4968
4892
|
}
|
|
4969
4893
|
|
|
4970
4894
|
interface CheckoutAttribute {
|
|
@@ -9949,23 +9873,7 @@ declare namespace io.flow.v0.models {
|
|
|
9949
9873
|
readonly ratecard: io.flow.v0.models.Ratecard;
|
|
9950
9874
|
}
|
|
9951
9875
|
|
|
9952
|
-
interface
|
|
9953
|
-
readonly discriminator: 'ratecard_estimate_form_v1';
|
|
9954
|
-
readonly origin?: string;
|
|
9955
|
-
readonly destination?: string;
|
|
9956
|
-
readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
9957
|
-
readonly distance_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
9958
|
-
readonly service?: string;
|
|
9959
|
-
readonly weight?: number;
|
|
9960
|
-
readonly length?: number;
|
|
9961
|
-
readonly width?: number;
|
|
9962
|
-
readonly depth?: number;
|
|
9963
|
-
readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
|
|
9964
|
-
readonly line_items?: io.flow.v0.models.LineItemForm[];
|
|
9965
|
-
}
|
|
9966
|
-
|
|
9967
|
-
interface RatecardEstimateFormV2 {
|
|
9968
|
-
readonly discriminator: 'ratecard_estimate_form_v2';
|
|
9876
|
+
interface RatecardEstimateForm {
|
|
9969
9877
|
readonly origin_address: io.flow.v0.models.Address;
|
|
9970
9878
|
readonly destination_address: io.flow.v0.models.Address;
|
|
9971
9879
|
readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
@@ -12544,9 +12452,6 @@ declare namespace io.flow.v0.unions {
|
|
|
12544
12452
|
| io.flow.v0.models.RatecardEstimateV1
|
|
12545
12453
|
| io.flow.v0.models.RatecardEstimateV2
|
|
12546
12454
|
| io.flow.v0.models.RatecardEstimateV3;
|
|
12547
|
-
type RatecardEstimateForm =
|
|
12548
|
-
| io.flow.v0.models.RatecardEstimateFormV1
|
|
12549
|
-
| io.flow.v0.models.RatecardEstimateFormV2;
|
|
12550
12455
|
type RatecardFee =
|
|
12551
12456
|
| io.flow.v0.models.DdpRatecardFee
|
|
12552
12457
|
| io.flow.v0.models.FuelSurchargeRatecardFee
|
|
@@ -12837,7 +12742,6 @@ export type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationU
|
|
|
12837
12742
|
export type ChannelRate = io.flow.v0.models.ChannelRate;
|
|
12838
12743
|
export type ChannelReference = io.flow.v0.models.ChannelReference;
|
|
12839
12744
|
export type ChannelToken = io.flow.v0.models.ChannelToken;
|
|
12840
|
-
export type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
|
|
12841
12745
|
export type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
|
|
12842
12746
|
export type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
|
|
12843
12747
|
export type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
|
|
@@ -13703,9 +13607,7 @@ export type Ratecard = io.flow.v0.models.Ratecard;
|
|
|
13703
13607
|
export type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
|
|
13704
13608
|
export type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
|
|
13705
13609
|
export type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
|
|
13706
|
-
export type RatecardEstimateForm = io.flow.v0.
|
|
13707
|
-
export type RatecardEstimateFormV1 = io.flow.v0.models.RatecardEstimateFormV1;
|
|
13708
|
-
export type RatecardEstimateFormV2 = io.flow.v0.models.RatecardEstimateFormV2;
|
|
13610
|
+
export type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm;
|
|
13709
13611
|
export type RatecardEstimateSummaryForm = io.flow.v0.models.RatecardEstimateSummaryForm;
|
|
13710
13612
|
export type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
|
|
13711
13613
|
export type RatecardEstimateV2 = io.flow.v0.models.RatecardEstimateV2;
|