@seamapi/types 1.1168.0 → 1.1170.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.
|
@@ -91562,8 +91562,16 @@ export type Routes = {
|
|
|
91562
91562
|
current_period_ends_at: string | null;
|
|
91563
91563
|
past_due_since: string | null;
|
|
91564
91564
|
canceled_at: string | null;
|
|
91565
|
+
scheduled_package_quantity: number | null;
|
|
91566
|
+
scheduled_price_cents: number | null;
|
|
91567
|
+
scheduled_change_at: string | null;
|
|
91568
|
+
pending_upgrade: {
|
|
91569
|
+
package_quantity: number;
|
|
91570
|
+
hosted_invoice_url: string | null;
|
|
91571
|
+
} | null;
|
|
91565
91572
|
} | null;
|
|
91566
91573
|
usage: {
|
|
91574
|
+
as_of: string;
|
|
91567
91575
|
period_started_at: string;
|
|
91568
91576
|
period_ends_at: string;
|
|
91569
91577
|
package_tokens: number;
|
|
@@ -91679,6 +91687,80 @@ export type Routes = {
|
|
|
91679
91687
|
current_period_ends_at: string | null;
|
|
91680
91688
|
past_due_since: string | null;
|
|
91681
91689
|
canceled_at: string | null;
|
|
91690
|
+
scheduled_package_quantity: number | null;
|
|
91691
|
+
scheduled_price_cents: number | null;
|
|
91692
|
+
scheduled_change_at: string | null;
|
|
91693
|
+
pending_upgrade: {
|
|
91694
|
+
package_quantity: number;
|
|
91695
|
+
hosted_invoice_url: string | null;
|
|
91696
|
+
} | null;
|
|
91697
|
+
};
|
|
91698
|
+
};
|
|
91699
|
+
maxDuration: undefined;
|
|
91700
|
+
};
|
|
91701
|
+
'/seam/console/v1/credits/subscription/change': {
|
|
91702
|
+
route: '/seam/console/v1/credits/subscription/change';
|
|
91703
|
+
method: 'POST';
|
|
91704
|
+
queryParams: {};
|
|
91705
|
+
jsonBody: {
|
|
91706
|
+
organization_id: string;
|
|
91707
|
+
package_quantity: number;
|
|
91708
|
+
};
|
|
91709
|
+
commonParams: {};
|
|
91710
|
+
formData: {};
|
|
91711
|
+
jsonResponse: {
|
|
91712
|
+
credit_subscription: {
|
|
91713
|
+
credit_subscription_id: string;
|
|
91714
|
+
status: string;
|
|
91715
|
+
package_quantity: number;
|
|
91716
|
+
price_cents: number;
|
|
91717
|
+
current_period_started_at: string | null;
|
|
91718
|
+
current_period_ends_at: string | null;
|
|
91719
|
+
past_due_since: string | null;
|
|
91720
|
+
canceled_at: string | null;
|
|
91721
|
+
scheduled_package_quantity: number | null;
|
|
91722
|
+
scheduled_price_cents: number | null;
|
|
91723
|
+
scheduled_change_at: string | null;
|
|
91724
|
+
pending_upgrade: {
|
|
91725
|
+
package_quantity: number;
|
|
91726
|
+
hosted_invoice_url: string | null;
|
|
91727
|
+
} | null;
|
|
91728
|
+
};
|
|
91729
|
+
change: {
|
|
91730
|
+
kind: 'upgrade' | 'downgrade';
|
|
91731
|
+
status: 'applied' | 'scheduled' | 'awaiting_authentication' | 'processing';
|
|
91732
|
+
hosted_invoice_url: string | null;
|
|
91733
|
+
carried_credits: number | null;
|
|
91734
|
+
};
|
|
91735
|
+
};
|
|
91736
|
+
maxDuration: undefined;
|
|
91737
|
+
};
|
|
91738
|
+
'/seam/console/v1/credits/subscription/change/cancel': {
|
|
91739
|
+
route: '/seam/console/v1/credits/subscription/change/cancel';
|
|
91740
|
+
method: 'POST';
|
|
91741
|
+
queryParams: {};
|
|
91742
|
+
jsonBody: {
|
|
91743
|
+
organization_id: string;
|
|
91744
|
+
};
|
|
91745
|
+
commonParams: {};
|
|
91746
|
+
formData: {};
|
|
91747
|
+
jsonResponse: {
|
|
91748
|
+
credit_subscription: {
|
|
91749
|
+
credit_subscription_id: string;
|
|
91750
|
+
status: string;
|
|
91751
|
+
package_quantity: number;
|
|
91752
|
+
price_cents: number;
|
|
91753
|
+
current_period_started_at: string | null;
|
|
91754
|
+
current_period_ends_at: string | null;
|
|
91755
|
+
past_due_since: string | null;
|
|
91756
|
+
canceled_at: string | null;
|
|
91757
|
+
scheduled_package_quantity: number | null;
|
|
91758
|
+
scheduled_price_cents: number | null;
|
|
91759
|
+
scheduled_change_at: string | null;
|
|
91760
|
+
pending_upgrade: {
|
|
91761
|
+
package_quantity: number;
|
|
91762
|
+
hosted_invoice_url: string | null;
|
|
91763
|
+
} | null;
|
|
91682
91764
|
};
|
|
91683
91765
|
};
|
|
91684
91766
|
maxDuration: undefined;
|
|
@@ -91702,6 +91784,69 @@ export type Routes = {
|
|
|
91702
91784
|
current_period_ends_at: string | null;
|
|
91703
91785
|
past_due_since: string | null;
|
|
91704
91786
|
canceled_at: string | null;
|
|
91787
|
+
scheduled_package_quantity: number | null;
|
|
91788
|
+
scheduled_price_cents: number | null;
|
|
91789
|
+
scheduled_change_at: string | null;
|
|
91790
|
+
pending_upgrade: {
|
|
91791
|
+
package_quantity: number;
|
|
91792
|
+
hosted_invoice_url: string | null;
|
|
91793
|
+
} | null;
|
|
91794
|
+
};
|
|
91795
|
+
};
|
|
91796
|
+
maxDuration: undefined;
|
|
91797
|
+
};
|
|
91798
|
+
'/seam/console/v1/credits/usage/get': {
|
|
91799
|
+
route: '/seam/console/v1/credits/usage/get';
|
|
91800
|
+
method: 'POST';
|
|
91801
|
+
queryParams: {};
|
|
91802
|
+
jsonBody: {
|
|
91803
|
+
organization_id: string;
|
|
91804
|
+
};
|
|
91805
|
+
commonParams: {};
|
|
91806
|
+
formData: {};
|
|
91807
|
+
jsonResponse: {
|
|
91808
|
+
usage: {
|
|
91809
|
+
source: 'metronome' | 'estimate';
|
|
91810
|
+
as_of: string;
|
|
91811
|
+
period_started_at: string;
|
|
91812
|
+
period_ends_at: string;
|
|
91813
|
+
package_credits: number | null;
|
|
91814
|
+
used_credits: number | null;
|
|
91815
|
+
by_workspace: {
|
|
91816
|
+
workspace_id: string | null;
|
|
91817
|
+
workspace_name: string | null;
|
|
91818
|
+
connectivity: {
|
|
91819
|
+
metric: string;
|
|
91820
|
+
label: string;
|
|
91821
|
+
device_months: number;
|
|
91822
|
+
credits_per_device_month: number;
|
|
91823
|
+
credits: number;
|
|
91824
|
+
}[];
|
|
91825
|
+
actions: {
|
|
91826
|
+
billable_action: string;
|
|
91827
|
+
label: string;
|
|
91828
|
+
count: number;
|
|
91829
|
+
credits: number;
|
|
91830
|
+
}[];
|
|
91831
|
+
credits: number;
|
|
91832
|
+
percent_of_total: number;
|
|
91833
|
+
}[] | null;
|
|
91834
|
+
by_category: {
|
|
91835
|
+
kind: 'connectivity' | 'action';
|
|
91836
|
+
key: string;
|
|
91837
|
+
label: string;
|
|
91838
|
+
quantity: number;
|
|
91839
|
+
credits_per_unit: number;
|
|
91840
|
+
credits: number;
|
|
91841
|
+
percent_of_total: number;
|
|
91842
|
+
}[] | null;
|
|
91843
|
+
daily: {
|
|
91844
|
+
date: string;
|
|
91845
|
+
connectivity_credits: number;
|
|
91846
|
+
action_credits: number;
|
|
91847
|
+
previous_period_credits: number | null;
|
|
91848
|
+
}[] | null;
|
|
91849
|
+
is_daily_connectivity_included: boolean;
|
|
91705
91850
|
};
|
|
91706
91851
|
};
|
|
91707
91852
|
maxDuration: undefined;
|