@faiber/faiber-asset 0.21.1 → 0.23.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.
@@ -112,7 +112,7 @@ export interface ActionActionsCompletePostInput extends JsonObject {
112
112
  "event_id"?: string | null;
113
113
  "subject_type"?: string | null;
114
114
  "subject_id"?: string | null;
115
- "value"?: number | null;
115
+ "value"?: string | number | null;
116
116
  "metadata"?: BackendJson<"Json"> | null;
117
117
  "occurred_at"?: string | null;
118
118
  }
@@ -124,14 +124,14 @@ export interface ActionActionsCompletePostResponseDataGrants extends JsonObject
124
124
  "asset_type": ActionActionsCompletePostResponseDataGrantsAssetType;
125
125
  "subject_type": string;
126
126
  "subject_id"?: string | null;
127
- "quantity": number;
127
+ "quantity": string;
128
128
  }
129
129
  export interface ActionActionsCompletePostResponseDataBadgeUpgrades extends JsonObject {
130
130
  "asset_id": string;
131
131
  "asset_name": string;
132
132
  "from_level": number;
133
133
  "to_level": number;
134
- "quantity": number;
134
+ "quantity": string;
135
135
  }
136
136
  export interface ActionActionsCompletePostResponseData extends JsonObject {
137
137
  "action_log_id": string;
@@ -149,10 +149,10 @@ export interface WalletBillingAdminPlanProductsIndexGetResponseItem extends Json
149
149
  "tier": string;
150
150
  "name": string;
151
151
  "description"?: string | null;
152
- "price": number;
152
+ "price": string;
153
153
  "currency": string;
154
154
  "duration_days": number;
155
- "points": number;
155
+ "points": string;
156
156
  "storage_gb": number;
157
157
  "product_id"?: string | null;
158
158
  "metadata": JsonValue;
@@ -165,10 +165,10 @@ export interface WalletBillingAdminPlanProductsUpdatePutInput extends JsonObject
165
165
  "tier": string;
166
166
  "name": string;
167
167
  "description"?: string | null;
168
- "price": number;
168
+ "price": string | number;
169
169
  "currency"?: string;
170
170
  "duration_days": number;
171
- "points": number;
171
+ "points": string | number;
172
172
  "storage_gb": number;
173
173
  "product_id"?: string | null;
174
174
  "metadata"?: JsonValue;
@@ -179,10 +179,10 @@ export interface WalletBillingAdminPlanProductsUpdatePutResponseData extends Jso
179
179
  "tier": string;
180
180
  "name": string;
181
181
  "description"?: string | null;
182
- "price": number;
182
+ "price": string;
183
183
  "currency": string;
184
184
  "duration_days": number;
185
- "points": number;
185
+ "points": string;
186
186
  "storage_gb": number;
187
187
  "product_id"?: string | null;
188
188
  "metadata": JsonValue;
@@ -198,50 +198,50 @@ export interface WalletBillingAdminPlanProductsDeleteDeleteResponseData extends
198
198
  export type WalletBillingAdminPlanProductsDeleteDeleteResponse = WalletBillingAdminPlanProductsDeleteDeleteResponseData;
199
199
  /** Backend response type: UnitPrices. */
200
200
  export interface SandboxBillingAdminPricesGetResponseData extends JsonObject {
201
- "cpu_millicore_hour": number;
202
- "ram_mb_hour": number;
203
- "disk_mb_hour": number;
201
+ "cpu_millicore_hour": string;
202
+ "ram_mb_hour": string;
203
+ "disk_mb_hour": string;
204
204
  "currency": string;
205
205
  }
206
206
  export interface SandboxBillingAdminPricesGetResponse extends ApiEnvelope<SandboxBillingAdminPricesGetResponseData> {
207
207
  }
208
208
  /** Backend request type: UnitPrices. */
209
209
  export interface SandboxBillingAdminPricesUpdatePutInput extends JsonObject {
210
- "cpu_millicore_hour": number;
211
- "ram_mb_hour": number;
212
- "disk_mb_hour": number;
210
+ "cpu_millicore_hour": string | number;
211
+ "ram_mb_hour": string | number;
212
+ "disk_mb_hour": string | number;
213
213
  "currency": string;
214
214
  }
215
215
  /** Backend response type: UnitPrices. */
216
216
  export interface SandboxBillingAdminPricesUpdatePutResponseData extends JsonObject {
217
- "cpu_millicore_hour": number;
218
- "ram_mb_hour": number;
219
- "disk_mb_hour": number;
217
+ "cpu_millicore_hour": string;
218
+ "ram_mb_hour": string;
219
+ "disk_mb_hour": string;
220
220
  "currency": string;
221
221
  }
222
222
  export interface SandboxBillingAdminPricesUpdatePutResponse extends ApiEnvelope<SandboxBillingAdminPricesUpdatePutResponseData> {
223
223
  }
224
224
  /** Backend request type: AdminProjectPricingInput. */
225
225
  export interface SandboxBillingAdminProjectPricingOverridePutInput extends JsonObject {
226
- "monthly_price_override"?: number | null;
226
+ "monthly_price_override"?: string | number | null;
227
227
  }
228
228
  /** Backend response type: AllocationView. */
229
229
  export interface SandboxBillingAdminProjectPricingOverridePutResponseDataPrice extends JsonObject {
230
- "cpu": number;
231
- "ram": number;
232
- "database_storage": number;
233
- "minio_storage": number;
234
- "app_storage": number;
235
- "disk": number;
236
- "services": number;
237
- "resource_total": number;
238
- "total": number;
230
+ "cpu": string;
231
+ "ram": string;
232
+ "database_storage": string;
233
+ "minio_storage": string;
234
+ "app_storage": string;
235
+ "disk": string;
236
+ "services": string;
237
+ "resource_total": string;
238
+ "total": string;
239
239
  "currency": string;
240
240
  }
241
241
  export interface SandboxBillingAdminProjectPricingOverridePutResponseDataUnitPrices extends JsonObject {
242
- "cpu_millicore_hour": number;
243
- "ram_mb_hour": number;
244
- "disk_mb_hour": number;
242
+ "cpu_millicore_hour": string;
243
+ "ram_mb_hour": string;
244
+ "disk_mb_hour": string;
245
245
  "currency": string;
246
246
  }
247
247
  export interface SandboxBillingAdminProjectPricingOverridePutResponseData extends JsonObject {
@@ -255,7 +255,7 @@ export interface SandboxBillingAdminProjectPricingOverridePutResponseData extend
255
255
  "app_storage_mb": number;
256
256
  "volume_storage_mb": BackendJson<"Json">;
257
257
  "bundle_id"?: string | null;
258
- "monthly_price_override"?: number | null;
258
+ "monthly_price_override"?: string | null;
259
259
  "status": string;
260
260
  "paused_at"?: string | null;
261
261
  "purge_at"?: string | null;
@@ -266,9 +266,9 @@ export interface SandboxBillingAdminProjectPricingOverridePutResponseData extend
266
266
  "price": SandboxBillingAdminProjectPricingOverridePutResponseDataPrice;
267
267
  "unit_prices": SandboxBillingAdminProjectPricingOverridePutResponseDataUnitPrices;
268
268
  "currency": string;
269
- "hourly_price": number;
270
- "daily_estimate": number;
271
- "monthly_estimate": number;
269
+ "hourly_price": string;
270
+ "daily_estimate": string;
271
+ "monthly_estimate": string;
272
272
  "next_charge_at": string;
273
273
  }
274
274
  export interface SandboxBillingAdminProjectPricingOverridePutResponse extends ApiEnvelope<SandboxBillingAdminProjectPricingOverridePutResponseData> {
@@ -301,7 +301,7 @@ export interface WalletBillingAdminSubscriptionsIndexGetResponseItem extends Jso
301
301
  "project": string;
302
302
  "service_name": string;
303
303
  "period": string;
304
- "unit_price": number;
304
+ "unit_price": string;
305
305
  "currency": string;
306
306
  "status": string;
307
307
  "purchase_id"?: string | null;
@@ -323,12 +323,34 @@ export interface WalletBillingAdminSubscriptionsIndexGetResponseData extends Jso
323
323
  }
324
324
  export interface WalletBillingAdminSubscriptionsIndexGetResponse extends ApiEnvelope<WalletBillingAdminSubscriptionsIndexGetResponseData> {
325
325
  }
326
+ /** Backend query type: GiftQuery. */
327
+ export interface TrialGiftsListGetQuery extends QueryParams {
328
+ "page"?: number | null;
329
+ "per_page"?: number | null;
330
+ "search"?: string | null;
331
+ }
332
+ /** Backend response type: raw-response. */
333
+ export type TrialGiftsListGetResponse = import("./contracts.types.js").ProductTrialGiftPageResponse;
334
+ /** Backend request type: GiftWrite. */
335
+ export type TrialGiftsCreatePostInput = import("./contracts.types.js").ProductTrialGiftWriteInput;
336
+ /** Backend response type: raw-response. */
337
+ export type TrialGiftsCreatePostResponse = import("./contracts.types.js").ProductTrialGiftResponse;
338
+ /** Backend response type: raw-response. */
339
+ export type TrialGiftsShowGetResponse = import("./contracts.types.js").ProductTrialGiftResponse;
340
+ /** Backend request type: GiftWrite. */
341
+ export type TrialGiftsUpdatePutInput = import("./contracts.types.js").ProductTrialGiftWriteInput;
342
+ /** Backend response type: raw-response. */
343
+ export type TrialGiftsUpdatePutResponse = import("./contracts.types.js").ProductTrialGiftResponse;
344
+ /** Backend response type: raw-response. */
345
+ export type TrialGiftsCopyTokenGetResponse = import("./contracts.types.js").ProductGiftTokenResponse;
346
+ /** Backend response type: raw-response. */
347
+ export type TrialGiftsProductsGetResponse = import("./contracts.types.js").ProductGiftAdaptersResponse;
326
348
  /** Backend response type: Vec<methods::AdminUserPlan>. */
327
349
  export interface WalletBillingAdminUserPlansIndexGetResponseItem extends JsonObject {
328
- "profile_id": string;
350
+ "profileId": string;
329
351
  "tier": string;
330
- "expires_at"?: string | null;
331
- "days_remaining": number;
352
+ "expiresAt"?: string | null;
353
+ "daysRemaining": number;
332
354
  "enabled": boolean;
333
355
  }
334
356
  export interface WalletBillingAdminUserPlansIndexGetResponse extends ApiEnvelope<WalletBillingAdminUserPlansIndexGetResponseItem[]> {
@@ -346,20 +368,20 @@ export interface WalletBillingAdminUserPlanUpdatePutInput extends JsonObject {
346
368
  }
347
369
  /** Backend response type: methods::AdminUserPlan. */
348
370
  export interface WalletBillingAdminUserPlanUpdatePutResponseData extends JsonObject {
349
- "profile_id": string;
371
+ "profileId": string;
350
372
  "tier": string;
351
- "expires_at"?: string | null;
352
- "days_remaining": number;
373
+ "expiresAt"?: string | null;
374
+ "daysRemaining": number;
353
375
  "enabled": boolean;
354
376
  }
355
377
  export interface WalletBillingAdminUserPlanUpdatePutResponse extends ApiEnvelope<WalletBillingAdminUserPlanUpdatePutResponseData> {
356
378
  }
357
379
  /** Backend response type: methods::AdminUserPlan. */
358
380
  export interface WalletBillingAdminUserPlanDisablePutResponseData extends JsonObject {
359
- "profile_id": string;
381
+ "profileId": string;
360
382
  "tier": string;
361
- "expires_at"?: string | null;
362
- "days_remaining": number;
383
+ "expiresAt"?: string | null;
384
+ "daysRemaining": number;
363
385
  "enabled": boolean;
364
386
  }
365
387
  export interface WalletBillingAdminUserPlanDisablePutResponse extends ApiEnvelope<WalletBillingAdminUserPlanDisablePutResponseData> {
@@ -371,18 +393,18 @@ export interface WalletBillingAdminUserWalletShowGetQuery extends QueryParams {
371
393
  /** Backend response type: AdminWalletSnapshot. */
372
394
  export interface WalletBillingAdminUserWalletShowGetResponseDataWallet extends JsonObject {
373
395
  "profile_id": string;
374
- "balance": number;
396
+ "balance": string;
375
397
  "currency": string;
376
398
  }
377
399
  export interface WalletBillingAdminUserWalletShowGetResponseDataTransactions extends JsonObject {
378
400
  "id": string;
379
401
  "profile_id": string;
380
402
  "direction": string;
381
- "amount": number;
403
+ "amount": string;
382
404
  "reason": string;
383
405
  "ref_type"?: string | null;
384
406
  "ref_id"?: string | null;
385
- "balance_after": number;
407
+ "balance_after": string;
386
408
  "created_at": string;
387
409
  }
388
410
  export interface WalletBillingAdminUserWalletShowGetResponseData extends JsonObject {
@@ -394,24 +416,24 @@ export interface WalletBillingAdminUserWalletShowGetResponse extends ApiEnvelope
394
416
  /** Backend request type: AdminWalletAdjustmentRequest. */
395
417
  export interface WalletBillingAdminUserWalletAdjustPostInput extends JsonObject {
396
418
  "direction"?: string;
397
- "amount": number;
419
+ "amount": string | number;
398
420
  "reason": string;
399
421
  }
400
422
  /** Backend response type: AdminWalletSnapshot. */
401
423
  export interface WalletBillingAdminUserWalletAdjustPostResponseDataWallet extends JsonObject {
402
424
  "profile_id": string;
403
- "balance": number;
425
+ "balance": string;
404
426
  "currency": string;
405
427
  }
406
428
  export interface WalletBillingAdminUserWalletAdjustPostResponseDataTransactions extends JsonObject {
407
429
  "id": string;
408
430
  "profile_id": string;
409
431
  "direction": string;
410
- "amount": number;
432
+ "amount": string;
411
433
  "reason": string;
412
434
  "ref_type"?: string | null;
413
435
  "ref_id"?: string | null;
414
- "balance_after": number;
436
+ "balance_after": string;
415
437
  "created_at": string;
416
438
  }
417
439
  export interface WalletBillingAdminUserWalletAdjustPostResponseData extends JsonObject {
@@ -425,7 +447,7 @@ export interface AiBillingReservePostInput extends JsonObject {
425
447
  "external_id": string;
426
448
  "kind": string;
427
449
  "model": string;
428
- "amount": number;
450
+ "amount": string | number;
429
451
  "currency": string;
430
452
  "metadata"?: JsonValue;
431
453
  }
@@ -435,8 +457,8 @@ export interface AiBillingReservePostResponseData extends JsonObject {
435
457
  "external_id": string;
436
458
  "kind": string;
437
459
  "model": string;
438
- "reserved_amount": number;
439
- "settled_amount"?: number | null;
460
+ "reserved_amount": string;
461
+ "settled_amount"?: string | null;
440
462
  "currency": string;
441
463
  "status": string;
442
464
  "metadata": JsonValue;
@@ -449,8 +471,8 @@ export interface AiBillingReleasePostResponseData extends JsonObject {
449
471
  "external_id": string;
450
472
  "kind": string;
451
473
  "model": string;
452
- "reserved_amount": number;
453
- "settled_amount"?: number | null;
474
+ "reserved_amount": string;
475
+ "settled_amount"?: string | null;
454
476
  "currency": string;
455
477
  "status": string;
456
478
  "metadata": JsonValue;
@@ -459,7 +481,7 @@ export interface AiBillingReleasePostResponse extends ApiEnvelope<AiBillingRelea
459
481
  }
460
482
  /** Backend request type: SettleAiUsageRequest. */
461
483
  export interface AiBillingSettlePostInput extends JsonObject {
462
- "actual_amount": number;
484
+ "actual_amount": string | number;
463
485
  "currency": string;
464
486
  "metadata"?: JsonValue;
465
487
  }
@@ -469,8 +491,8 @@ export interface AiBillingSettlePostResponseData extends JsonObject {
469
491
  "external_id": string;
470
492
  "kind": string;
471
493
  "model": string;
472
- "reserved_amount": number;
473
- "settled_amount"?: number | null;
494
+ "reserved_amount": string;
495
+ "settled_amount"?: string | null;
474
496
  "currency": string;
475
497
  "status": string;
476
498
  "metadata": JsonValue;
@@ -496,7 +518,7 @@ export interface CatalogAssetsIndexGetResponseItem extends JsonObject {
496
518
  "subject_type": string;
497
519
  "metadata": JsonValue;
498
520
  "asset_type": CatalogAssetsIndexGetResponseItemAssetType;
499
- "max_quantity": number;
521
+ "max_quantity": string;
500
522
  "status": number;
501
523
  }
502
524
  export interface CatalogAssetsIndexGetResponsePageMeta extends JsonObject {
@@ -520,7 +542,7 @@ export interface CatalogAssetsCreatePostInput extends JsonObject {
520
542
  "subject_type"?: string | null;
521
543
  "metadata"?: JsonValue | null;
522
544
  "asset_type": CatalogAssetsCreatePostInputAssetType;
523
- "max_quantity"?: number | null;
545
+ "max_quantity"?: string | number | null;
524
546
  "status"?: number | null;
525
547
  }
526
548
  /** Backend response type: AssetResponse. */
@@ -533,7 +555,7 @@ export interface CatalogAssetsCreatePostResponseData extends JsonObject {
533
555
  "subject_type": string;
534
556
  "metadata": JsonValue;
535
557
  "asset_type": CatalogAssetsCreatePostResponseDataAssetType;
536
- "max_quantity": number;
558
+ "max_quantity": string;
537
559
  "status": number;
538
560
  }
539
561
  export interface CatalogAssetsCreatePostResponse extends ApiEnvelope<CatalogAssetsCreatePostResponseData> {
@@ -551,7 +573,7 @@ export interface CatalogAssetsShowGetResponseData extends JsonObject {
551
573
  "subject_type": string;
552
574
  "metadata": JsonValue;
553
575
  "asset_type": CatalogAssetsShowGetResponseDataAssetType;
554
- "max_quantity": number;
576
+ "max_quantity": string;
555
577
  "status": number;
556
578
  }
557
579
  export interface CatalogAssetsShowGetResponse extends ApiEnvelope<CatalogAssetsShowGetResponseData> {
@@ -563,7 +585,7 @@ export interface CatalogAssetsUpdatePatchInput extends JsonObject {
563
585
  "description"?: string | null;
564
586
  "subject_type"?: string | null;
565
587
  "metadata"?: JsonValue | null;
566
- "max_quantity"?: number | null;
588
+ "max_quantity"?: string | number | null;
567
589
  "status"?: number | null;
568
590
  }
569
591
  /** Backend response type: AssetResponse. */
@@ -576,14 +598,14 @@ export interface CatalogAssetsUpdatePatchResponseData extends JsonObject {
576
598
  "subject_type": string;
577
599
  "metadata": JsonValue;
578
600
  "asset_type": CatalogAssetsUpdatePatchResponseDataAssetType;
579
- "max_quantity": number;
601
+ "max_quantity": string;
580
602
  "status": number;
581
603
  }
582
604
  export interface CatalogAssetsUpdatePatchResponse extends ApiEnvelope<CatalogAssetsUpdatePatchResponseData> {
583
605
  }
584
606
  /** Backend response type: BankSummaryResponse. */
585
607
  export interface BankBankSummaryShowGetResponseData extends JsonObject {
586
- "bank_value_sum": number;
608
+ "bank_value_sum": string;
587
609
  }
588
610
  export interface BankBankSummaryShowGetResponse extends ApiEnvelope<BankBankSummaryShowGetResponseData> {
589
611
  }
@@ -605,11 +627,11 @@ export interface BankBankTransactionsIndexGetResponseItem extends JsonObject {
605
627
  "profile_name"?: string | null;
606
628
  "bank_id": string;
607
629
  "bank_transaction_type": BankBankTransactionsIndexGetResponseItemBankTransactionType;
608
- "amount": number;
630
+ "amount": string;
609
631
  "metadata": BackendJson<"Json">;
610
632
  "status": number;
611
633
  "created_at": string;
612
- "profile_deposit_total": number;
634
+ "profile_deposit_total": string;
613
635
  }
614
636
  export interface BankBankTransactionsIndexGetResponsePageMeta extends JsonObject {
615
637
  "page": number;
@@ -625,7 +647,7 @@ export interface BankBankTransactionsIndexGetResponse extends ApiEnvelope<BankBa
625
647
  }
626
648
  /** Backend request type: CreateBankTransactionRequest. */
627
649
  export interface BankBankTransactionsCreatePostInput extends JsonObject {
628
- "amount": number;
650
+ "amount": string | number;
629
651
  "profile_id": string;
630
652
  "bank_id"?: string | null;
631
653
  "metadata"?: BackendJson<"Json"> | null;
@@ -636,7 +658,7 @@ export interface BankBankTransactionsCreatePostResponseData extends JsonObject {
636
658
  "id": string;
637
659
  "bank_id": string;
638
660
  "bank_transaction_type": BankBankTransactionsCreatePostResponseDataBankTransactionType;
639
- "amount": number;
661
+ "amount": string;
640
662
  "metadata": BackendJson<"Json">;
641
663
  "profile_id": string;
642
664
  "status": number;
@@ -648,9 +670,9 @@ export interface BankBankTransactionsCreatePostResponse extends ApiEnvelope<Bank
648
670
  /** Backend response type: crate::charge::models::ChargeSettingsResponse. */
649
671
  export type ChargeChargeSettingsShowGetResponseDataMappingRulesRulesCondition = "always" | "xp_balance" | "coin_balance" | "xp_rank" | "action_count";
650
672
  export interface ChargeChargeSettingsShowGetResponseDataMappingRulesRulesValues extends JsonObject {
651
- "max_charge": number;
652
- "recharge_period": number;
653
- "recharge_amount": number;
673
+ "max_charge": string;
674
+ "recharge_period": string;
675
+ "recharge_amount": string;
654
676
  }
655
677
  export interface ChargeChargeSettingsShowGetResponseDataMappingRulesRules extends JsonObject {
656
678
  "label"?: string | null;
@@ -662,7 +684,7 @@ export interface ChargeChargeSettingsShowGetResponseDataMappingRules extends Jso
662
684
  "match"?: string;
663
685
  }
664
686
  export interface ChargeChargeSettingsShowGetResponseData extends JsonObject {
665
- "id": BackendJson<"uuid::Uuid">;
687
+ "id": string;
666
688
  "mapping_rules": ChargeChargeSettingsShowGetResponseDataMappingRules;
667
689
  "status": number;
668
690
  }
@@ -671,9 +693,9 @@ export interface ChargeChargeSettingsShowGetResponse extends ApiEnvelope<ChargeC
671
693
  /** Backend request type: UpdateChargeSettingsRequest. */
672
694
  export type ChargeChargeSettingsUpdatePatchInputMappingRulesRulesCondition = "always" | "xp_balance" | "coin_balance" | "xp_rank" | "action_count";
673
695
  export interface ChargeChargeSettingsUpdatePatchInputMappingRulesRulesValues extends JsonObject {
674
- "max_charge": number;
675
- "recharge_period": number;
676
- "recharge_amount": number;
696
+ "max_charge": string | number;
697
+ "recharge_period": string | number;
698
+ "recharge_amount": string | number;
677
699
  }
678
700
  export interface ChargeChargeSettingsUpdatePatchInputMappingRulesRules extends JsonObject {
679
701
  "label"?: string | null;
@@ -691,9 +713,9 @@ export interface ChargeChargeSettingsUpdatePatchInput extends JsonObject {
691
713
  /** Backend response type: crate::charge::models::ChargeSettingsResponse. */
692
714
  export type ChargeChargeSettingsUpdatePatchResponseDataMappingRulesRulesCondition = "always" | "xp_balance" | "coin_balance" | "xp_rank" | "action_count";
693
715
  export interface ChargeChargeSettingsUpdatePatchResponseDataMappingRulesRulesValues extends JsonObject {
694
- "max_charge": number;
695
- "recharge_period": number;
696
- "recharge_amount": number;
716
+ "max_charge": string;
717
+ "recharge_period": string;
718
+ "recharge_amount": string;
697
719
  }
698
720
  export interface ChargeChargeSettingsUpdatePatchResponseDataMappingRulesRules extends JsonObject {
699
721
  "label"?: string | null;
@@ -705,7 +727,7 @@ export interface ChargeChargeSettingsUpdatePatchResponseDataMappingRules extends
705
727
  "match"?: string;
706
728
  }
707
729
  export interface ChargeChargeSettingsUpdatePatchResponseData extends JsonObject {
708
- "id": BackendJson<"uuid::Uuid">;
730
+ "id": string;
709
731
  "mapping_rules": ChargeChargeSettingsUpdatePatchResponseDataMappingRules;
710
732
  "status": number;
711
733
  }
@@ -714,29 +736,29 @@ export interface ChargeChargeSettingsUpdatePatchResponse extends ApiEnvelope<Cha
714
736
  /** Backend response type: CoinSettingsResponse. */
715
737
  export interface BankCoinSettingsShowGetResponseData extends JsonObject {
716
738
  "id": string;
717
- "total_coins": number;
718
- "coins_remaining": number;
719
- "allocation_percent": number;
720
- "bank_value_sum": number;
721
- "coin_unit_value": number;
722
- "allocated_coins": number;
739
+ "total_coins": string;
740
+ "coins_remaining": string;
741
+ "allocation_percent": string;
742
+ "bank_value_sum": string;
743
+ "coin_unit_value": string;
744
+ "allocated_coins": string;
723
745
  }
724
746
  export interface BankCoinSettingsShowGetResponse extends ApiEnvelope<BankCoinSettingsShowGetResponseData> {
725
747
  }
726
748
  /** Backend request type: UpdateCoinSettingsRequest. */
727
749
  export interface BankCoinSettingsUpdatePatchInput extends JsonObject {
728
- "total_coins"?: number | null;
729
- "allocation_percent"?: number | null;
750
+ "total_coins"?: string | number | null;
751
+ "allocation_percent"?: string | number | null;
730
752
  }
731
753
  /** Backend response type: CoinSettingsResponse. */
732
754
  export interface BankCoinSettingsUpdatePatchResponseData extends JsonObject {
733
755
  "id": string;
734
- "total_coins": number;
735
- "coins_remaining": number;
736
- "allocation_percent": number;
737
- "bank_value_sum": number;
738
- "coin_unit_value": number;
739
- "allocated_coins": number;
756
+ "total_coins": string;
757
+ "coins_remaining": string;
758
+ "allocation_percent": string;
759
+ "bank_value_sum": string;
760
+ "coin_unit_value": string;
761
+ "allocated_coins": string;
740
762
  }
741
763
  export interface BankCoinSettingsUpdatePatchResponse extends ApiEnvelope<BankCoinSettingsUpdatePatchResponseData> {
742
764
  }
@@ -747,35 +769,99 @@ export interface DashboardDashboardShowGetQuery extends QueryParams {
747
769
  /** Backend response type: DashboardResponse. */
748
770
  export interface DashboardDashboardShowGetResponseData extends JsonObject {
749
771
  "month": string;
750
- "coins_available": number;
751
- "coins_owned_by_users": number;
752
- "total_coins": number;
753
- "bank_value_sum": number;
754
- "coin_unit_price": number;
755
- "month_budget_balance": number;
772
+ "coins_available": string;
773
+ "coins_owned_by_users": string;
774
+ "total_coins": string;
775
+ "bank_value_sum": string;
776
+ "coin_unit_price": string;
777
+ "month_budget_balance": string;
756
778
  "month_bank_transactions_count": number;
757
779
  "month_actions_count": number;
758
780
  }
759
781
  export interface DashboardDashboardShowGetResponse extends ApiEnvelope<DashboardDashboardShowGetResponseData> {
760
782
  }
783
+ /** Backend response type: Capabilities. */
784
+ export type EconomyCapabilitiesGetResponse = import("./types.js").EconomyCapabilitiesResponse;
785
+ /** Backend request type: CommandEnvelope. */
786
+ export type EconomyCommandPostInput = import("./types.js").EconomyOperatorCommand;
787
+ /** Backend response type: CommandResult. */
788
+ export type EconomyCommandPostResponse = import("./types.js").EconomyCommandResponse;
789
+ /** Backend query type: JournalQuery. */
790
+ export interface EconomyJournalGetQuery extends QueryParams {
791
+ "after"?: number | null;
792
+ "before"?: number | null;
793
+ "descending"?: boolean | null;
794
+ "limit"?: number | null;
795
+ }
796
+ /** Backend response type: Vec<Value>. */
797
+ export type EconomyJournalGetResponse = import("./types.js").EconomyJournalResponse;
798
+ /** Backend query type: LeaderboardQuery. */
799
+ export interface EconomyLeaderboardsGetQuery extends QueryParams {
800
+ "role": string;
801
+ "period_id": string;
802
+ "limit"?: number | null;
803
+ }
804
+ /** Backend response type: Vec<LeaderboardEntry>. */
805
+ export type EconomyLeaderboardsGetResponse = import("./types.js").EconomyLeaderboardResponse;
806
+ /** Backend response type: Vec<ObjectRecord>. */
807
+ export type EconomyMeGetResponse = import("./types.js").EconomyObjectsResponse;
808
+ /** Backend query type: JournalQuery. */
809
+ export interface EconomyMyHistoryGetQuery extends QueryParams {
810
+ "after"?: number | null;
811
+ "before"?: number | null;
812
+ "descending"?: boolean | null;
813
+ "limit"?: number | null;
814
+ }
815
+ /** Backend response type: Vec<Value>. */
816
+ export type EconomyMyHistoryGetResponse = import("./types.js").EconomyHistoryResponse;
817
+ /** Backend request type: PurchaseInput. */
818
+ export type EconomyPurchasePostInput = import("./types.js").EconomyPurchaseInput;
819
+ /** Backend response type: CommandResult. */
820
+ export type EconomyPurchasePostResponse = import("./types.js").EconomyCommandResponse;
821
+ /** Backend request type: PreviewInput. */
822
+ export type EconomyPreviewPostInput = import("./types.js").EconomyPreviewInput;
823
+ /** Backend response type: CommandResult. */
824
+ export type EconomyPreviewPostResponse = import("./types.js").EconomyCommandResponse;
825
+ /** Backend request type: CreditInput. */
826
+ export type EconomyCreditPostInput = import("./types.js").EconomyCreditInput;
827
+ /** Backend response type: CommandResult. */
828
+ export type EconomyCreditPostResponse = import("./types.js").EconomyCreditResponse;
829
+ /** Backend query type: ObjectQuery. */
830
+ export interface EconomyObjectsGetQuery extends QueryParams {
831
+ "object_key"?: string | null;
832
+ "profile_id"?: string | null;
833
+ "scope_id"?: string | null;
834
+ "limit"?: number | null;
835
+ "offset"?: number | null;
836
+ }
837
+ /** Backend response type: Vec<ObjectRecord>. */
838
+ export type EconomyObjectsGetResponse = import("./types.js").EconomyObjectsResponse;
839
+ /** Backend response type: Value. */
840
+ export type EconomyPolicyGetGetResponse = import("./types.js").EconomyPolicyResponse;
841
+ /** Backend request type: EconomyPolicy. */
842
+ export type EconomyPolicyPutPutInput = import("./types.js").EconomyPolicy;
843
+ /** Backend response type: EconomyPolicy. */
844
+ export type EconomyPolicyPutPutResponse = import("./types.js").EconomyPolicyResponse;
845
+ /** Backend response type: ValuationResponse. */
846
+ export type EconomyValuationGetResponse = import("./types.js").EconomyValuationResponse;
761
847
  /** Backend response type: Value. */
762
848
  export type GameEscrowShowGetResponse = JsonValue;
763
849
  /** Backend response type: Value. */
764
850
  export type GameEscrowRefundPostResponse = JsonValue;
765
851
  /** Backend request type: SettleRequest. */
766
852
  export interface GameEscrowSettlePostInput extends JsonObject {
767
- "winner_ids": string[];
768
- "burn_basis_points"?: number;
853
+ "winnerIds": string[];
854
+ "burnBasisPoints"?: number;
769
855
  }
770
856
  /** Backend response type: Value. */
771
857
  export type GameEscrowSettlePostResponse = JsonValue;
772
858
  /** Backend request type: FundRequest. */
773
859
  export interface GameEscrowFundPostInputPlayers extends JsonObject {
774
- "profile_id": string;
775
- "amount": number;
860
+ "profileId": string;
861
+ "amount": string | number;
776
862
  }
777
863
  export interface GameEscrowFundPostInput extends JsonObject {
778
- "match_id": string;
864
+ "matchId": string;
779
865
  "players": GameEscrowFundPostInputPlayers[];
780
866
  }
781
867
  /** Backend response type: Value. */
@@ -834,6 +920,10 @@ export interface IntegrationRabbitmqIntegrationShowGetResponseData extends JsonO
834
920
  }
835
921
  export interface IntegrationRabbitmqIntegrationShowGetResponse extends ApiEnvelope<IntegrationRabbitmqIntegrationShowGetResponseData> {
836
922
  }
923
+ /** Backend request type: PlanProduct. */
924
+ export type FitnessPublishPutInput = import("./contracts.types.js").FitnessAssetProductInput;
925
+ /** Backend response type: PlanProduct. */
926
+ export type FitnessPublishPutResponse = import("./contracts.types.js").FitnessAssetProductResponse;
837
927
  /** Backend query type: LeaderboardQuery. */
838
928
  export interface LeaderboardLeaderboardIndexGetQuery extends QueryParams {
839
929
  "profile_ids"?: string | null;
@@ -846,10 +936,10 @@ export interface LeaderboardLeaderboardIndexGetResponseDataUser extends JsonObje
846
936
  "profile_id": string;
847
937
  "name"?: string | null;
848
938
  "level": number;
849
- "coin": number;
850
- "blue": number;
851
- "red": number;
852
- "green": number;
939
+ "coin": string;
940
+ "blue": string;
941
+ "red": string;
942
+ "green": string;
853
943
  "rank": number;
854
944
  }
855
945
  export interface LeaderboardLeaderboardIndexGetResponseDataTop extends JsonObject {
@@ -857,10 +947,10 @@ export interface LeaderboardLeaderboardIndexGetResponseDataTop extends JsonObjec
857
947
  "profile_id": string;
858
948
  "name"?: string | null;
859
949
  "level": number;
860
- "coin": number;
861
- "blue": number;
862
- "red": number;
863
- "green": number;
950
+ "coin": string;
951
+ "blue": string;
952
+ "red": string;
953
+ "green": string;
864
954
  "rank": number;
865
955
  }
866
956
  export interface LeaderboardLeaderboardIndexGetResponseDataNeighbors extends JsonObject {
@@ -868,10 +958,10 @@ export interface LeaderboardLeaderboardIndexGetResponseDataNeighbors extends Jso
868
958
  "profile_id": string;
869
959
  "name"?: string | null;
870
960
  "level": number;
871
- "coin": number;
872
- "blue": number;
873
- "red": number;
874
- "green": number;
961
+ "coin": string;
962
+ "blue": string;
963
+ "red": string;
964
+ "green": string;
875
965
  "rank": number;
876
966
  }
877
967
  export interface LeaderboardLeaderboardIndexGetResponseData extends JsonObject {
@@ -895,7 +985,7 @@ export interface LlmUsagePlansIndexGetResponseItem extends JsonObject {
895
985
  "profile_id": string;
896
986
  "tier": string;
897
987
  "expires_at"?: string | null;
898
- "plan_points": number;
988
+ "plan_points": string;
899
989
  "created_at": string;
900
990
  "updated_at": string;
901
991
  }
@@ -919,7 +1009,7 @@ export interface LlmUsagePlanShowGetResponseData extends JsonObject {
919
1009
  "profile_id": string;
920
1010
  "tier": string;
921
1011
  "expires_at"?: string | null;
922
- "plan_points": number;
1012
+ "plan_points": string;
923
1013
  "created_at": string;
924
1014
  "updated_at": string;
925
1015
  }
@@ -934,7 +1024,7 @@ export interface LlmUsagePlanSetPutResponseData extends JsonObject {
934
1024
  "profile_id": string;
935
1025
  "tier": string;
936
1026
  "expires_at"?: string | null;
937
- "plan_points": number;
1027
+ "plan_points": string;
938
1028
  "created_at": string;
939
1029
  "updated_at": string;
940
1030
  }
@@ -965,7 +1055,7 @@ export interface WalletMeAssetHistoryGetResponseItem extends JsonObject {
965
1055
  "asset_type"?: WalletMeAssetHistoryGetResponseItemAssetType | null;
966
1056
  "subject_type": string;
967
1057
  "subject_id"?: string | null;
968
- "quantity": number;
1058
+ "quantity": string;
969
1059
  "transaction_type": string;
970
1060
  "created_at": string;
971
1061
  }
@@ -986,25 +1076,25 @@ export interface WalletMeAssetsShowGetResponseDataCoin extends JsonObject {
986
1076
  "asset_id": string;
987
1077
  "asset_name": string;
988
1078
  "title"?: string | null;
989
- "balance": number;
1079
+ "balance": string;
990
1080
  }
991
1081
  export interface WalletMeAssetsShowGetResponseDataXp extends JsonObject {
992
1082
  "asset_id": string;
993
1083
  "asset_name": string;
994
1084
  "title"?: string | null;
995
- "balance": number;
1085
+ "balance": string;
996
1086
  }
997
1087
  export interface WalletMeAssetsShowGetResponseDataCharge extends JsonObject {
998
1088
  "asset_id": string;
999
1089
  "asset_name": string;
1000
1090
  "title"?: string | null;
1001
- "balance": number;
1091
+ "balance": string;
1002
1092
  }
1003
1093
  export interface WalletMeAssetsShowGetResponseDataGems extends JsonObject {
1004
1094
  "asset_id": string;
1005
1095
  "asset_name": string;
1006
1096
  "title"?: string | null;
1007
- "balance": number;
1097
+ "balance": string;
1008
1098
  }
1009
1099
  export interface WalletMeAssetsShowGetResponseDataBadges extends JsonObject {
1010
1100
  "asset_id": string;
@@ -1013,7 +1103,7 @@ export interface WalletMeAssetsShowGetResponseDataBadges extends JsonObject {
1013
1103
  "description"?: string | null;
1014
1104
  "subject_type": string;
1015
1105
  "metadata": JsonValue;
1016
- "balance": number;
1106
+ "balance": string;
1017
1107
  "earned_at"?: string | null;
1018
1108
  }
1019
1109
  export interface WalletMeAssetsShowGetResponseData extends JsonObject {
@@ -1023,9 +1113,9 @@ export interface WalletMeAssetsShowGetResponseData extends JsonObject {
1023
1113
  "charge": WalletMeAssetsShowGetResponseDataCharge;
1024
1114
  "gems": WalletMeAssetsShowGetResponseDataGems[];
1025
1115
  "badges": WalletMeAssetsShowGetResponseDataBadges[];
1026
- "max_charge"?: number | null;
1027
- "recharge_period"?: number | null;
1028
- "xp_to_next_rank"?: number | null;
1116
+ "max_charge"?: string | null;
1117
+ "recharge_period"?: string | null;
1118
+ "xp_to_next_rank"?: string | null;
1029
1119
  }
1030
1120
  export interface WalletMeAssetsShowGetResponse extends ApiEnvelope<WalletMeAssetsShowGetResponseData> {
1031
1121
  }
@@ -1042,7 +1132,7 @@ export interface WalletMeBadgesShowGetResponseDataBadges extends JsonObject {
1042
1132
  "description"?: string | null;
1043
1133
  "subject_type": string;
1044
1134
  "metadata": JsonValue;
1045
- "balance": number;
1135
+ "balance": string;
1046
1136
  "earned_at"?: string | null;
1047
1137
  }
1048
1138
  export interface WalletMeBadgesShowGetResponseData extends JsonObject {
@@ -1099,33 +1189,33 @@ export interface WalletMeLlmUsageGetQuery extends QueryParams {
1099
1189
  /** Backend response type: crate::llm_usage::models::UsageSummary. */
1100
1190
  export interface WalletMeLlmUsageGetResponseDataChart extends JsonObject {
1101
1191
  "start": string;
1102
- "input_tokens": number;
1103
- "output_tokens": number;
1104
- "points_cost": number;
1192
+ "inputTokens": number;
1193
+ "outputTokens": number;
1194
+ "pointsCost": string;
1105
1195
  }
1106
1196
  export interface WalletMeLlmUsageGetResponseDataBuckets extends JsonObject {
1107
1197
  "start": string;
1108
- "input_tokens": number;
1109
- "output_tokens": number;
1110
- "points_cost": number;
1198
+ "inputTokens": number;
1199
+ "outputTokens": number;
1200
+ "pointsCost": string;
1111
1201
  }
1112
1202
  export interface WalletMeLlmUsageGetResponseDataLast24Hours extends JsonObject {
1113
- "input_tokens": number;
1114
- "output_tokens": number;
1115
- "points_cost": number;
1203
+ "inputTokens": number;
1204
+ "outputTokens": number;
1205
+ "pointsCost": string;
1116
1206
  }
1117
1207
  export interface WalletMeLlmUsageGetResponseDataRangeTotals extends JsonObject {
1118
- "input_tokens": number;
1119
- "output_tokens": number;
1120
- "points_cost": number;
1208
+ "inputTokens": number;
1209
+ "outputTokens": number;
1210
+ "pointsCost": string;
1121
1211
  }
1122
1212
  export interface WalletMeLlmUsageGetResponseData extends JsonObject {
1123
1213
  "currency": string;
1124
1214
  "range": string;
1125
1215
  "chart": WalletMeLlmUsageGetResponseDataChart[];
1126
1216
  "buckets": WalletMeLlmUsageGetResponseDataBuckets[];
1127
- "last_24_hours": WalletMeLlmUsageGetResponseDataLast24Hours;
1128
- "range_totals": WalletMeLlmUsageGetResponseDataRangeTotals;
1217
+ "last_24Hours": WalletMeLlmUsageGetResponseDataLast24Hours;
1218
+ "rangeTotals": WalletMeLlmUsageGetResponseDataRangeTotals;
1129
1219
  }
1130
1220
  export interface WalletMeLlmUsageGetResponse extends ApiEnvelope<WalletMeLlmUsageGetResponseData> {
1131
1221
  }
@@ -1145,11 +1235,11 @@ export interface WalletMeTransactionsGetResponseDataItems extends JsonObject {
1145
1235
  "id": string;
1146
1236
  "profile_id": string;
1147
1237
  "direction": string;
1148
- "amount": number;
1238
+ "amount": string;
1149
1239
  "reason": string;
1150
1240
  "ref_type"?: string | null;
1151
1241
  "ref_id"?: string | null;
1152
- "balance_after": number;
1242
+ "balance_after": string;
1153
1243
  "created_at": string;
1154
1244
  }
1155
1245
  export interface WalletMeTransactionsGetResponseData extends JsonObject {
@@ -1165,11 +1255,11 @@ export interface WalletMeTransactionShowGetResponseData extends JsonObject {
1165
1255
  "id": string;
1166
1256
  "profile_id": string;
1167
1257
  "direction": string;
1168
- "amount": number;
1258
+ "amount": string;
1169
1259
  "reason": string;
1170
1260
  "ref_type"?: string | null;
1171
1261
  "ref_id"?: string | null;
1172
- "balance_after": number;
1262
+ "balance_after": string;
1173
1263
  "created_at": string;
1174
1264
  }
1175
1265
  export interface WalletMeTransactionShowGetResponse extends ApiEnvelope<WalletMeTransactionShowGetResponseData> {
@@ -1185,17 +1275,17 @@ export interface WalletMeTransactionDaysGetQuery extends QueryParams {
1185
1275
  /** Backend response type: UsageDaysPage. */
1186
1276
  export interface WalletMeTransactionDaysGetResponseDataItems extends JsonObject {
1187
1277
  "date": string;
1188
- "resource_cost": number;
1189
- "llm_cost": number;
1190
- "total_cost": number;
1191
- "transaction_count": number;
1278
+ "resourceCost": string;
1279
+ "llmCost": string;
1280
+ "totalCost": string;
1281
+ "transactionCount": number;
1192
1282
  "currency": string;
1193
1283
  }
1194
1284
  export interface WalletMeTransactionDaysGetResponseData extends JsonObject {
1195
1285
  "items": WalletMeTransactionDaysGetResponseDataItems[];
1196
1286
  "total": number;
1197
1287
  "page": number;
1198
- "page_size": number;
1288
+ "pageSize": number;
1199
1289
  }
1200
1290
  export interface WalletMeTransactionDaysGetResponse extends ApiEnvelope<WalletMeTransactionDaysGetResponseData> {
1201
1291
  }
@@ -1206,25 +1296,29 @@ export interface WalletMeTransactionDayGetQuery extends QueryParams {
1206
1296
  /** Backend response type: UsageDayDetail. */
1207
1297
  export interface WalletMeTransactionDayGetResponseDataResources extends JsonObject {
1208
1298
  "project": string;
1209
- "amount": number;
1210
- "transaction_count": number;
1299
+ "amount": string;
1300
+ "transactionCount": number;
1211
1301
  }
1212
1302
  export interface WalletMeTransactionDayGetResponseDataLlm extends JsonObject {
1213
1303
  "id": string;
1304
+ "project"?: string | null;
1305
+ "provider"?: string | null;
1306
+ "cachedInputTokens": number;
1307
+ "cacheWriteTokens": number;
1214
1308
  "model": string;
1215
- "input_tokens": number;
1216
- "output_tokens": number;
1217
- "amount": number;
1309
+ "inputTokens": number;
1310
+ "outputTokens": number;
1311
+ "amount": string;
1218
1312
  "currency": string;
1219
- "request_id"?: string | null;
1220
- "created_at": string;
1313
+ "requestId"?: string | null;
1314
+ "createdAt": string;
1221
1315
  }
1222
1316
  export interface WalletMeTransactionDayGetResponseData extends JsonObject {
1223
1317
  "date": string;
1224
1318
  "currency": string;
1225
- "resource_cost": number;
1226
- "llm_cost": number;
1227
- "total_cost": number;
1319
+ "resourceCost": string;
1320
+ "llmCost": string;
1321
+ "totalCost": string;
1228
1322
  "resources": WalletMeTransactionDayGetResponseDataResources[];
1229
1323
  "llm": WalletMeTransactionDayGetResponseDataLlm[];
1230
1324
  }
@@ -1235,10 +1329,10 @@ export interface WalletBillingPlansIndexGetResponseItem extends JsonObject {
1235
1329
  "tier": string;
1236
1330
  "name": string;
1237
1331
  "description"?: string | null;
1238
- "price": number;
1332
+ "price": string;
1239
1333
  "currency": string;
1240
1334
  "duration_days": number;
1241
- "points": number;
1335
+ "points": string;
1242
1336
  "storage_gb": number;
1243
1337
  "product_id"?: string | null;
1244
1338
  "metadata": JsonValue;
@@ -1249,9 +1343,9 @@ export interface WalletBillingPlansIndexGetResponse extends ApiEnvelope<WalletBi
1249
1343
  /** Backend response type: methods::CurrentPlan. */
1250
1344
  export interface WalletBillingCurrentPlanGetResponseData extends JsonObject {
1251
1345
  "tier": string;
1252
- "expires_at"?: string | null;
1253
- "days_remaining": number;
1254
- "renewal_allowed": boolean;
1346
+ "expiresAt"?: string | null;
1347
+ "daysRemaining": number;
1348
+ "renewalAllowed": boolean;
1255
1349
  }
1256
1350
  export interface WalletBillingCurrentPlanGetResponse extends ApiEnvelope<WalletBillingCurrentPlanGetResponseData> {
1257
1351
  }
@@ -1269,15 +1363,15 @@ export interface WalletBillingPlansPurchasePostResponse extends ApiEnvelope<Wall
1269
1363
  /** Backend response type: Vec<methods::PointsPack>. */
1270
1364
  export interface WalletBillingPointsPacksIndexGetResponseItem extends JsonObject {
1271
1365
  "id": string;
1272
- "price": number;
1273
- "points": number;
1366
+ "price": string;
1367
+ "points": string;
1274
1368
  }
1275
1369
  export interface WalletBillingPointsPacksIndexGetResponse extends ApiEnvelope<WalletBillingPointsPacksIndexGetResponseItem[]> {
1276
1370
  }
1277
1371
  /** Backend request type: PackPurchaseBody. */
1278
1372
  export interface WalletBillingPointsPacksPurchasePostInput extends JsonObject {
1279
1373
  "pack_id"?: string | null;
1280
- "points"?: number | null;
1374
+ "points"?: string | number | null;
1281
1375
  }
1282
1376
  /** Backend response type: PurchaseInitResponse. */
1283
1377
  export interface WalletBillingPointsPacksPurchasePostResponseData extends JsonObject {
@@ -1300,7 +1394,7 @@ export interface RankRanksIndexGetResponseItem extends JsonObject {
1300
1394
  "name": string;
1301
1395
  "title"?: string | null;
1302
1396
  "description"?: string | null;
1303
- "min_xp": number;
1397
+ "min_xp": string;
1304
1398
  "status": number;
1305
1399
  }
1306
1400
  export interface RankRanksIndexGetResponsePageMeta extends JsonObject {
@@ -1320,7 +1414,7 @@ export interface RankRanksCreatePostInput extends JsonObject {
1320
1414
  "name": string;
1321
1415
  "title"?: string | null;
1322
1416
  "description"?: string | null;
1323
- "min_xp": number;
1417
+ "min_xp": string | number;
1324
1418
  "status"?: number | null;
1325
1419
  }
1326
1420
  /** Backend response type: RankResponse. */
@@ -1329,7 +1423,7 @@ export interface RankRanksCreatePostResponseData extends JsonObject {
1329
1423
  "name": string;
1330
1424
  "title"?: string | null;
1331
1425
  "description"?: string | null;
1332
- "min_xp": number;
1426
+ "min_xp": string;
1333
1427
  "status": number;
1334
1428
  }
1335
1429
  export interface RankRanksCreatePostResponse extends ApiEnvelope<RankRanksCreatePostResponseData> {
@@ -1343,7 +1437,7 @@ export interface RankRanksShowGetResponseData extends JsonObject {
1343
1437
  "name": string;
1344
1438
  "title"?: string | null;
1345
1439
  "description"?: string | null;
1346
- "min_xp": number;
1440
+ "min_xp": string;
1347
1441
  "status": number;
1348
1442
  }
1349
1443
  export interface RankRanksShowGetResponse extends ApiEnvelope<RankRanksShowGetResponseData> {
@@ -1353,7 +1447,7 @@ export interface RankRanksUpdatePatchInput extends JsonObject {
1353
1447
  "name"?: string | null;
1354
1448
  "title"?: string | null;
1355
1449
  "description"?: string | null;
1356
- "min_xp"?: number | null;
1450
+ "min_xp"?: string | number | null;
1357
1451
  "status"?: number | null;
1358
1452
  }
1359
1453
  /** Backend response type: RankResponse. */
@@ -1362,7 +1456,7 @@ export interface RankRanksUpdatePatchResponseData extends JsonObject {
1362
1456
  "name": string;
1363
1457
  "title"?: string | null;
1364
1458
  "description"?: string | null;
1365
- "min_xp": number;
1459
+ "min_xp": string;
1366
1460
  "status": number;
1367
1461
  }
1368
1462
  export interface RankRanksUpdatePatchResponse extends ApiEnvelope<RankRanksUpdatePatchResponseData> {
@@ -1375,21 +1469,21 @@ export interface SandboxBillingPurgeDeleteResponseData extends JsonObject {
1375
1469
  export type SandboxBillingPurgeDeleteResponse = SandboxBillingPurgeDeleteResponseData;
1376
1470
  /** Backend response type: AllocationView. */
1377
1471
  export interface SandboxBillingShowGetResponseDataPrice extends JsonObject {
1378
- "cpu": number;
1379
- "ram": number;
1380
- "database_storage": number;
1381
- "minio_storage": number;
1382
- "app_storage": number;
1383
- "disk": number;
1384
- "services": number;
1385
- "resource_total": number;
1386
- "total": number;
1472
+ "cpu": string;
1473
+ "ram": string;
1474
+ "database_storage": string;
1475
+ "minio_storage": string;
1476
+ "app_storage": string;
1477
+ "disk": string;
1478
+ "services": string;
1479
+ "resource_total": string;
1480
+ "total": string;
1387
1481
  "currency": string;
1388
1482
  }
1389
1483
  export interface SandboxBillingShowGetResponseDataUnitPrices extends JsonObject {
1390
- "cpu_millicore_hour": number;
1391
- "ram_mb_hour": number;
1392
- "disk_mb_hour": number;
1484
+ "cpu_millicore_hour": string;
1485
+ "ram_mb_hour": string;
1486
+ "disk_mb_hour": string;
1393
1487
  "currency": string;
1394
1488
  }
1395
1489
  export interface SandboxBillingShowGetResponseData extends JsonObject {
@@ -1403,7 +1497,7 @@ export interface SandboxBillingShowGetResponseData extends JsonObject {
1403
1497
  "app_storage_mb": number;
1404
1498
  "volume_storage_mb": BackendJson<"Json">;
1405
1499
  "bundle_id"?: string | null;
1406
- "monthly_price_override"?: number | null;
1500
+ "monthly_price_override"?: string | null;
1407
1501
  "status": string;
1408
1502
  "paused_at"?: string | null;
1409
1503
  "purge_at"?: string | null;
@@ -1414,40 +1508,42 @@ export interface SandboxBillingShowGetResponseData extends JsonObject {
1414
1508
  "price": SandboxBillingShowGetResponseDataPrice;
1415
1509
  "unit_prices": SandboxBillingShowGetResponseDataUnitPrices;
1416
1510
  "currency": string;
1417
- "hourly_price": number;
1418
- "daily_estimate": number;
1419
- "monthly_estimate": number;
1511
+ "hourly_price": string;
1512
+ "daily_estimate": string;
1513
+ "monthly_estimate": string;
1420
1514
  "next_charge_at": string;
1421
1515
  }
1422
1516
  export interface SandboxBillingShowGetResponse extends ApiEnvelope<SandboxBillingShowGetResponseData> {
1423
1517
  }
1424
1518
  /** Backend request type: AllocationInput. */
1425
1519
  export interface SandboxBillingUpdatePutInput extends JsonObject {
1520
+ "max_hourly_amount"?: string | number | null;
1521
+ "accepted_currency"?: string | null;
1426
1522
  "bundle_id"?: string | null;
1427
1523
  "cpu_millicores": number;
1428
1524
  "ram_mb": number;
1429
1525
  "database_storage_mb": number;
1430
1526
  "minio_storage_mb"?: number;
1431
1527
  "app_storage_mb"?: number;
1432
- "volume_storage_mb"?: Record<string, JsonValue>;
1528
+ "volume_storage_mb"?: Record<string, number>;
1433
1529
  }
1434
1530
  /** Backend response type: AllocationView. */
1435
1531
  export interface SandboxBillingUpdatePutResponseDataPrice extends JsonObject {
1436
- "cpu": number;
1437
- "ram": number;
1438
- "database_storage": number;
1439
- "minio_storage": number;
1440
- "app_storage": number;
1441
- "disk": number;
1442
- "services": number;
1443
- "resource_total": number;
1444
- "total": number;
1532
+ "cpu": string;
1533
+ "ram": string;
1534
+ "database_storage": string;
1535
+ "minio_storage": string;
1536
+ "app_storage": string;
1537
+ "disk": string;
1538
+ "services": string;
1539
+ "resource_total": string;
1540
+ "total": string;
1445
1541
  "currency": string;
1446
1542
  }
1447
1543
  export interface SandboxBillingUpdatePutResponseDataUnitPrices extends JsonObject {
1448
- "cpu_millicore_hour": number;
1449
- "ram_mb_hour": number;
1450
- "disk_mb_hour": number;
1544
+ "cpu_millicore_hour": string;
1545
+ "ram_mb_hour": string;
1546
+ "disk_mb_hour": string;
1451
1547
  "currency": string;
1452
1548
  }
1453
1549
  export interface SandboxBillingUpdatePutResponseData extends JsonObject {
@@ -1461,7 +1557,7 @@ export interface SandboxBillingUpdatePutResponseData extends JsonObject {
1461
1557
  "app_storage_mb": number;
1462
1558
  "volume_storage_mb": BackendJson<"Json">;
1463
1559
  "bundle_id"?: string | null;
1464
- "monthly_price_override"?: number | null;
1560
+ "monthly_price_override"?: string | null;
1465
1561
  "status": string;
1466
1562
  "paused_at"?: string | null;
1467
1563
  "purge_at"?: string | null;
@@ -1472,30 +1568,30 @@ export interface SandboxBillingUpdatePutResponseData extends JsonObject {
1472
1568
  "price": SandboxBillingUpdatePutResponseDataPrice;
1473
1569
  "unit_prices": SandboxBillingUpdatePutResponseDataUnitPrices;
1474
1570
  "currency": string;
1475
- "hourly_price": number;
1476
- "daily_estimate": number;
1477
- "monthly_estimate": number;
1571
+ "hourly_price": string;
1572
+ "daily_estimate": string;
1573
+ "monthly_estimate": string;
1478
1574
  "next_charge_at": string;
1479
1575
  }
1480
1576
  export interface SandboxBillingUpdatePutResponse extends ApiEnvelope<SandboxBillingUpdatePutResponseData> {
1481
1577
  }
1482
1578
  /** Backend response type: AllocationView. */
1483
1579
  export interface SandboxBillingPausePostResponseDataPrice extends JsonObject {
1484
- "cpu": number;
1485
- "ram": number;
1486
- "database_storage": number;
1487
- "minio_storage": number;
1488
- "app_storage": number;
1489
- "disk": number;
1490
- "services": number;
1491
- "resource_total": number;
1492
- "total": number;
1580
+ "cpu": string;
1581
+ "ram": string;
1582
+ "database_storage": string;
1583
+ "minio_storage": string;
1584
+ "app_storage": string;
1585
+ "disk": string;
1586
+ "services": string;
1587
+ "resource_total": string;
1588
+ "total": string;
1493
1589
  "currency": string;
1494
1590
  }
1495
1591
  export interface SandboxBillingPausePostResponseDataUnitPrices extends JsonObject {
1496
- "cpu_millicore_hour": number;
1497
- "ram_mb_hour": number;
1498
- "disk_mb_hour": number;
1592
+ "cpu_millicore_hour": string;
1593
+ "ram_mb_hour": string;
1594
+ "disk_mb_hour": string;
1499
1595
  "currency": string;
1500
1596
  }
1501
1597
  export interface SandboxBillingPausePostResponseData extends JsonObject {
@@ -1509,7 +1605,7 @@ export interface SandboxBillingPausePostResponseData extends JsonObject {
1509
1605
  "app_storage_mb": number;
1510
1606
  "volume_storage_mb": BackendJson<"Json">;
1511
1607
  "bundle_id"?: string | null;
1512
- "monthly_price_override"?: number | null;
1608
+ "monthly_price_override"?: string | null;
1513
1609
  "status": string;
1514
1610
  "paused_at"?: string | null;
1515
1611
  "purge_at"?: string | null;
@@ -1520,9 +1616,9 @@ export interface SandboxBillingPausePostResponseData extends JsonObject {
1520
1616
  "price": SandboxBillingPausePostResponseDataPrice;
1521
1617
  "unit_prices": SandboxBillingPausePostResponseDataUnitPrices;
1522
1618
  "currency": string;
1523
- "hourly_price": number;
1524
- "daily_estimate": number;
1525
- "monthly_estimate": number;
1619
+ "hourly_price": string;
1620
+ "daily_estimate": string;
1621
+ "monthly_estimate": string;
1526
1622
  "next_charge_at": string;
1527
1623
  }
1528
1624
  export interface SandboxBillingPausePostResponse extends ApiEnvelope<SandboxBillingPausePostResponseData> {
@@ -1531,30 +1627,30 @@ export interface SandboxBillingPausePostResponse extends ApiEnvelope<SandboxBill
1531
1627
  export interface SandboxBillingShowPricingGetResponseData extends JsonObject {
1532
1628
  "project": string;
1533
1629
  "currency": string;
1534
- "fixed_monthly_price"?: number | null;
1535
- "hourly_price": number;
1536
- "daily_estimate": number;
1537
- "monthly_estimate": number;
1630
+ "fixed_monthly_price"?: string | null;
1631
+ "hourly_price": string;
1632
+ "daily_estimate": string;
1633
+ "monthly_estimate": string;
1538
1634
  }
1539
1635
  export interface SandboxBillingShowPricingGetResponse extends ApiEnvelope<SandboxBillingShowPricingGetResponseData> {
1540
1636
  }
1541
1637
  /** Backend response type: AllocationView. */
1542
1638
  export interface SandboxBillingResumePostResponseDataPrice extends JsonObject {
1543
- "cpu": number;
1544
- "ram": number;
1545
- "database_storage": number;
1546
- "minio_storage": number;
1547
- "app_storage": number;
1548
- "disk": number;
1549
- "services": number;
1550
- "resource_total": number;
1551
- "total": number;
1639
+ "cpu": string;
1640
+ "ram": string;
1641
+ "database_storage": string;
1642
+ "minio_storage": string;
1643
+ "app_storage": string;
1644
+ "disk": string;
1645
+ "services": string;
1646
+ "resource_total": string;
1647
+ "total": string;
1552
1648
  "currency": string;
1553
1649
  }
1554
1650
  export interface SandboxBillingResumePostResponseDataUnitPrices extends JsonObject {
1555
- "cpu_millicore_hour": number;
1556
- "ram_mb_hour": number;
1557
- "disk_mb_hour": number;
1651
+ "cpu_millicore_hour": string;
1652
+ "ram_mb_hour": string;
1653
+ "disk_mb_hour": string;
1558
1654
  "currency": string;
1559
1655
  }
1560
1656
  export interface SandboxBillingResumePostResponseData extends JsonObject {
@@ -1568,7 +1664,7 @@ export interface SandboxBillingResumePostResponseData extends JsonObject {
1568
1664
  "app_storage_mb": number;
1569
1665
  "volume_storage_mb": BackendJson<"Json">;
1570
1666
  "bundle_id"?: string | null;
1571
- "monthly_price_override"?: number | null;
1667
+ "monthly_price_override"?: string | null;
1572
1668
  "status": string;
1573
1669
  "paused_at"?: string | null;
1574
1670
  "purge_at"?: string | null;
@@ -1579,13 +1675,27 @@ export interface SandboxBillingResumePostResponseData extends JsonObject {
1579
1675
  "price": SandboxBillingResumePostResponseDataPrice;
1580
1676
  "unit_prices": SandboxBillingResumePostResponseDataUnitPrices;
1581
1677
  "currency": string;
1582
- "hourly_price": number;
1583
- "daily_estimate": number;
1584
- "monthly_estimate": number;
1678
+ "hourly_price": string;
1679
+ "daily_estimate": string;
1680
+ "monthly_estimate": string;
1585
1681
  "next_charge_at": string;
1586
1682
  }
1587
1683
  export interface SandboxBillingResumePostResponse extends ApiEnvelope<SandboxBillingResumePostResponseData> {
1588
1684
  }
1685
+ /** Backend request type: AllocationInput. */
1686
+ export interface SandboxBillingQuoteResourcesPostInput extends JsonObject {
1687
+ "max_hourly_amount"?: string | number | null;
1688
+ "accepted_currency"?: string | null;
1689
+ "bundle_id"?: string | null;
1690
+ "cpu_millicores": number;
1691
+ "ram_mb": number;
1692
+ "database_storage_mb": number;
1693
+ "minio_storage_mb"?: number;
1694
+ "app_storage_mb"?: number;
1695
+ "volume_storage_mb"?: Record<string, number>;
1696
+ }
1697
+ /** Backend response type: serde_json::Value. */
1698
+ export type SandboxBillingQuoteResourcesPostResponse = import("./contracts.types.js").ResourceQuoteResponse;
1589
1699
  /** Backend query type: SubscriptionListQuery. */
1590
1700
  export interface WalletBillingSubscriptionsIndexGetQuery extends QueryParams {
1591
1701
  "project"?: string | null;
@@ -1597,7 +1707,7 @@ export interface WalletBillingSubscriptionsIndexGetResponseDataSubscriptions ext
1597
1707
  "project": string;
1598
1708
  "service_name": string;
1599
1709
  "period": string;
1600
- "unit_price": number;
1710
+ "unit_price": string;
1601
1711
  "currency": string;
1602
1712
  "status": string;
1603
1713
  "purchase_id"?: string | null;
@@ -1689,7 +1799,7 @@ export interface LogsUserActionLogsIndexGetResponseItem extends JsonObject {
1689
1799
  "event_id"?: string | null;
1690
1800
  "subject_type": string;
1691
1801
  "subject_id"?: string | null;
1692
- "value"?: number | null;
1802
+ "value"?: string | null;
1693
1803
  "metadata": JsonValue;
1694
1804
  "occurred_at": string;
1695
1805
  "status": number;
@@ -1737,7 +1847,7 @@ export interface LogsUserAssetLogsIndexGetResponseItem extends JsonObject {
1737
1847
  "asset_type"?: LogsUserAssetLogsIndexGetResponseItemAssetType | null;
1738
1848
  "subject_type": string;
1739
1849
  "subject_id"?: string | null;
1740
- "quantity": number;
1850
+ "quantity": string;
1741
1851
  "transaction_type": string;
1742
1852
  "created_at": string;
1743
1853
  }
@@ -1756,14 +1866,31 @@ export interface LogsUserAssetLogsIndexGetResponse extends ApiEnvelope<LogsUserA
1756
1866
  /** Backend response type: WalletResponse. */
1757
1867
  export interface WalletBillingWalletShowGetResponseData extends JsonObject {
1758
1868
  "profile_id": string;
1759
- "balance": number;
1869
+ "balance": string;
1760
1870
  "currency": string;
1761
1871
  }
1762
1872
  export interface WalletBillingWalletShowGetResponse extends ApiEnvelope<WalletBillingWalletShowGetResponseData> {
1763
1873
  }
1874
+ /** Backend response type: serde_json::Value. */
1875
+ export type WalletBillingWalletPurchaseShowGetResponse = import("./contracts.types.js").WalletPurchaseReceiptResponse;
1876
+ /** Backend request type: WalletSubscriptionPurchaseRequest. */
1877
+ export interface WalletBillingWalletSubscriptionsPostInputItems extends JsonObject {
1878
+ "service_name": string;
1879
+ "period": string;
1880
+ }
1881
+ export interface WalletBillingWalletSubscriptionsPostInput extends JsonObject {
1882
+ "request_id": string;
1883
+ "project": string;
1884
+ "items": WalletBillingWalletSubscriptionsPostInputItems[];
1885
+ "currency": string;
1886
+ "max_amount": string | number;
1887
+ }
1888
+ /** Backend response type: serde_json::Value. */
1889
+ export type WalletBillingWalletSubscriptionsPostResponse = import("./contracts.types.js").WalletSubscriptionReceiptResponse;
1764
1890
  /** Backend request type: TopupRequest. */
1765
1891
  export interface WalletBillingWalletTopupPostInput extends JsonObject {
1766
- "amount": number;
1892
+ "request_id"?: string | null;
1893
+ "amount": string | number;
1767
1894
  "currency"?: string | null;
1768
1895
  }
1769
1896
  /** Backend response type: PurchaseInitResponse. */