@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.
|
@@ -109421,8 +109421,16 @@ export type Routes = {
|
|
|
109421
109421
|
current_period_ends_at: string | null
|
|
109422
109422
|
past_due_since: string | null
|
|
109423
109423
|
canceled_at: string | null
|
|
109424
|
+
scheduled_package_quantity: number | null
|
|
109425
|
+
scheduled_price_cents: number | null
|
|
109426
|
+
scheduled_change_at: string | null
|
|
109427
|
+
pending_upgrade: {
|
|
109428
|
+
package_quantity: number
|
|
109429
|
+
hosted_invoice_url: string | null
|
|
109430
|
+
} | null
|
|
109424
109431
|
} | null
|
|
109425
109432
|
usage: {
|
|
109433
|
+
as_of: string
|
|
109426
109434
|
period_started_at: string
|
|
109427
109435
|
period_ends_at: string
|
|
109428
109436
|
package_tokens: number
|
|
@@ -109538,6 +109546,81 @@ export type Routes = {
|
|
|
109538
109546
|
current_period_ends_at: string | null
|
|
109539
109547
|
past_due_since: string | null
|
|
109540
109548
|
canceled_at: string | null
|
|
109549
|
+
scheduled_package_quantity: number | null
|
|
109550
|
+
scheduled_price_cents: number | null
|
|
109551
|
+
scheduled_change_at: string | null
|
|
109552
|
+
pending_upgrade: {
|
|
109553
|
+
package_quantity: number
|
|
109554
|
+
hosted_invoice_url: string | null
|
|
109555
|
+
} | null
|
|
109556
|
+
}
|
|
109557
|
+
}
|
|
109558
|
+
maxDuration: undefined
|
|
109559
|
+
}
|
|
109560
|
+
'/seam/console/v1/credits/subscription/change': {
|
|
109561
|
+
route: '/seam/console/v1/credits/subscription/change'
|
|
109562
|
+
method: 'POST'
|
|
109563
|
+
queryParams: {}
|
|
109564
|
+
jsonBody: {
|
|
109565
|
+
organization_id: string
|
|
109566
|
+
package_quantity: number
|
|
109567
|
+
}
|
|
109568
|
+
commonParams: {}
|
|
109569
|
+
formData: {}
|
|
109570
|
+
jsonResponse: {
|
|
109571
|
+
credit_subscription: {
|
|
109572
|
+
credit_subscription_id: string
|
|
109573
|
+
status: string
|
|
109574
|
+
package_quantity: number
|
|
109575
|
+
price_cents: number
|
|
109576
|
+
current_period_started_at: string | null
|
|
109577
|
+
current_period_ends_at: string | null
|
|
109578
|
+
past_due_since: string | null
|
|
109579
|
+
canceled_at: string | null
|
|
109580
|
+
scheduled_package_quantity: number | null
|
|
109581
|
+
scheduled_price_cents: number | null
|
|
109582
|
+
scheduled_change_at: string | null
|
|
109583
|
+
pending_upgrade: {
|
|
109584
|
+
package_quantity: number
|
|
109585
|
+
hosted_invoice_url: string | null
|
|
109586
|
+
} | null
|
|
109587
|
+
}
|
|
109588
|
+
change: {
|
|
109589
|
+
kind: 'upgrade' | 'downgrade'
|
|
109590
|
+
status:
|
|
109591
|
+
'applied' | 'scheduled' | 'awaiting_authentication' | 'processing'
|
|
109592
|
+
hosted_invoice_url: string | null
|
|
109593
|
+
carried_credits: number | null
|
|
109594
|
+
}
|
|
109595
|
+
}
|
|
109596
|
+
maxDuration: undefined
|
|
109597
|
+
}
|
|
109598
|
+
'/seam/console/v1/credits/subscription/change/cancel': {
|
|
109599
|
+
route: '/seam/console/v1/credits/subscription/change/cancel'
|
|
109600
|
+
method: 'POST'
|
|
109601
|
+
queryParams: {}
|
|
109602
|
+
jsonBody: {
|
|
109603
|
+
organization_id: string
|
|
109604
|
+
}
|
|
109605
|
+
commonParams: {}
|
|
109606
|
+
formData: {}
|
|
109607
|
+
jsonResponse: {
|
|
109608
|
+
credit_subscription: {
|
|
109609
|
+
credit_subscription_id: string
|
|
109610
|
+
status: string
|
|
109611
|
+
package_quantity: number
|
|
109612
|
+
price_cents: number
|
|
109613
|
+
current_period_started_at: string | null
|
|
109614
|
+
current_period_ends_at: string | null
|
|
109615
|
+
past_due_since: string | null
|
|
109616
|
+
canceled_at: string | null
|
|
109617
|
+
scheduled_package_quantity: number | null
|
|
109618
|
+
scheduled_price_cents: number | null
|
|
109619
|
+
scheduled_change_at: string | null
|
|
109620
|
+
pending_upgrade: {
|
|
109621
|
+
package_quantity: number
|
|
109622
|
+
hosted_invoice_url: string | null
|
|
109623
|
+
} | null
|
|
109541
109624
|
}
|
|
109542
109625
|
}
|
|
109543
109626
|
maxDuration: undefined
|
|
@@ -109561,6 +109644,75 @@ export type Routes = {
|
|
|
109561
109644
|
current_period_ends_at: string | null
|
|
109562
109645
|
past_due_since: string | null
|
|
109563
109646
|
canceled_at: string | null
|
|
109647
|
+
scheduled_package_quantity: number | null
|
|
109648
|
+
scheduled_price_cents: number | null
|
|
109649
|
+
scheduled_change_at: string | null
|
|
109650
|
+
pending_upgrade: {
|
|
109651
|
+
package_quantity: number
|
|
109652
|
+
hosted_invoice_url: string | null
|
|
109653
|
+
} | null
|
|
109654
|
+
}
|
|
109655
|
+
}
|
|
109656
|
+
maxDuration: undefined
|
|
109657
|
+
}
|
|
109658
|
+
'/seam/console/v1/credits/usage/get': {
|
|
109659
|
+
route: '/seam/console/v1/credits/usage/get'
|
|
109660
|
+
method: 'POST'
|
|
109661
|
+
queryParams: {}
|
|
109662
|
+
jsonBody: {
|
|
109663
|
+
organization_id: string
|
|
109664
|
+
}
|
|
109665
|
+
commonParams: {}
|
|
109666
|
+
formData: {}
|
|
109667
|
+
jsonResponse: {
|
|
109668
|
+
usage: {
|
|
109669
|
+
source: 'metronome' | 'estimate'
|
|
109670
|
+
as_of: string
|
|
109671
|
+
period_started_at: string
|
|
109672
|
+
period_ends_at: string
|
|
109673
|
+
package_credits: number | null
|
|
109674
|
+
used_credits: number | null
|
|
109675
|
+
by_workspace:
|
|
109676
|
+
| {
|
|
109677
|
+
workspace_id: string | null
|
|
109678
|
+
workspace_name: string | null
|
|
109679
|
+
connectivity: {
|
|
109680
|
+
metric: string
|
|
109681
|
+
label: string
|
|
109682
|
+
device_months: number
|
|
109683
|
+
credits_per_device_month: number
|
|
109684
|
+
credits: number
|
|
109685
|
+
}[]
|
|
109686
|
+
actions: {
|
|
109687
|
+
billable_action: string
|
|
109688
|
+
label: string
|
|
109689
|
+
count: number
|
|
109690
|
+
credits: number
|
|
109691
|
+
}[]
|
|
109692
|
+
credits: number
|
|
109693
|
+
percent_of_total: number
|
|
109694
|
+
}[]
|
|
109695
|
+
| null
|
|
109696
|
+
by_category:
|
|
109697
|
+
| {
|
|
109698
|
+
kind: 'connectivity' | 'action'
|
|
109699
|
+
key: string
|
|
109700
|
+
label: string
|
|
109701
|
+
quantity: number
|
|
109702
|
+
credits_per_unit: number
|
|
109703
|
+
credits: number
|
|
109704
|
+
percent_of_total: number
|
|
109705
|
+
}[]
|
|
109706
|
+
| null
|
|
109707
|
+
daily:
|
|
109708
|
+
| {
|
|
109709
|
+
date: string
|
|
109710
|
+
connectivity_credits: number
|
|
109711
|
+
action_credits: number
|
|
109712
|
+
previous_period_credits: number | null
|
|
109713
|
+
}[]
|
|
109714
|
+
| null
|
|
109715
|
+
is_daily_connectivity_included: boolean
|
|
109564
109716
|
}
|
|
109565
109717
|
}
|
|
109566
109718
|
maxDuration: undefined
|