@faiber/faiber-asset 0.5.0 → 0.5.1
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/.tsbuildinfo +1 -1
- package/dist/operations.d.ts +36 -8
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +34 -0
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +155 -362
- package/dist/operations.types.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { ApiEnvelope, JsonObject, JsonValue, QueryParams, QueryValue } from "@faiber/sdk-core";
|
|
1
|
+
import type { ApiEnvelope, BackendJson, JsonObject, JsonValue, QueryParams, QueryValue } from "@faiber/sdk-core";
|
|
2
2
|
/** Generated route contracts. Dynamic payload members remain JSON-safe and are documented with their Rust source type. */
|
|
3
|
-
/** Backend response type:
|
|
3
|
+
/** Backend response type: api. */
|
|
4
4
|
export interface RouterStatusRouteGetResponse extends ApiEnvelope<JsonValue> {
|
|
5
5
|
}
|
|
6
|
-
/** Backend response type:
|
|
6
|
+
/** Backend response type: api. */
|
|
7
7
|
export interface RouterOpenapiJsonGetResponse extends ApiEnvelope<JsonValue> {
|
|
8
8
|
}
|
|
9
9
|
/** Backend query type: ActionListQuery. */
|
|
@@ -20,8 +20,8 @@ export interface ActionActionsIndexGetResponseItem extends JsonObject {
|
|
|
20
20
|
"description"?: string | null;
|
|
21
21
|
"season_id"?: string | null;
|
|
22
22
|
"public": boolean;
|
|
23
|
-
"criteria":
|
|
24
|
-
"achievement_assets":
|
|
23
|
+
"criteria": BackendJson<"Json">;
|
|
24
|
+
"achievement_assets": BackendJson<"Json">;
|
|
25
25
|
"status": number;
|
|
26
26
|
}
|
|
27
27
|
export interface ActionActionsIndexGetResponsePageMeta extends JsonObject {
|
|
@@ -43,8 +43,8 @@ export interface ActionActionsCreatePostInput extends JsonObject {
|
|
|
43
43
|
"description"?: string | null;
|
|
44
44
|
"season_id"?: string | null;
|
|
45
45
|
"public"?: boolean | null;
|
|
46
|
-
"criteria"?:
|
|
47
|
-
"achievement_assets"?:
|
|
46
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
47
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
48
48
|
"status"?: number | null;
|
|
49
49
|
}
|
|
50
50
|
/** Backend response type: ActionResponse. */
|
|
@@ -55,8 +55,8 @@ export interface ActionActionsCreatePostResponseData extends JsonObject {
|
|
|
55
55
|
"description"?: string | null;
|
|
56
56
|
"season_id"?: string | null;
|
|
57
57
|
"public": boolean;
|
|
58
|
-
"criteria":
|
|
59
|
-
"achievement_assets":
|
|
58
|
+
"criteria": BackendJson<"Json">;
|
|
59
|
+
"achievement_assets": BackendJson<"Json">;
|
|
60
60
|
"status": number;
|
|
61
61
|
}
|
|
62
62
|
export interface ActionActionsCreatePostResponse extends ApiEnvelope<ActionActionsCreatePostResponseData> {
|
|
@@ -72,8 +72,8 @@ export interface ActionActionsShowGetResponseData extends JsonObject {
|
|
|
72
72
|
"description"?: string | null;
|
|
73
73
|
"season_id"?: string | null;
|
|
74
74
|
"public": boolean;
|
|
75
|
-
"criteria":
|
|
76
|
-
"achievement_assets":
|
|
75
|
+
"criteria": BackendJson<"Json">;
|
|
76
|
+
"achievement_assets": BackendJson<"Json">;
|
|
77
77
|
"status": number;
|
|
78
78
|
}
|
|
79
79
|
export interface ActionActionsShowGetResponse extends ApiEnvelope<ActionActionsShowGetResponseData> {
|
|
@@ -85,8 +85,8 @@ export interface ActionActionsUpdatePatchInput extends JsonObject {
|
|
|
85
85
|
"description"?: string | null;
|
|
86
86
|
"season_id"?: string | null;
|
|
87
87
|
"public"?: boolean | null;
|
|
88
|
-
"criteria"?:
|
|
89
|
-
"achievement_assets"?:
|
|
88
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
89
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
90
90
|
"status"?: number | null;
|
|
91
91
|
}
|
|
92
92
|
/** Backend response type: ActionResponse. */
|
|
@@ -97,8 +97,8 @@ export interface ActionActionsUpdatePatchResponseData extends JsonObject {
|
|
|
97
97
|
"description"?: string | null;
|
|
98
98
|
"season_id"?: string | null;
|
|
99
99
|
"public": boolean;
|
|
100
|
-
"criteria":
|
|
101
|
-
"achievement_assets":
|
|
100
|
+
"criteria": BackendJson<"Json">;
|
|
101
|
+
"achievement_assets": BackendJson<"Json">;
|
|
102
102
|
"status": number;
|
|
103
103
|
}
|
|
104
104
|
export interface ActionActionsUpdatePatchResponse extends ApiEnvelope<ActionActionsUpdatePatchResponseData> {
|
|
@@ -109,17 +109,10 @@ export interface ActionActionsCompletePostInput extends JsonObject {
|
|
|
109
109
|
"profile_id": string;
|
|
110
110
|
}
|
|
111
111
|
/** Backend response type: crate::reward::engine::CompleteActionResult. */
|
|
112
|
-
export type ActionActionsCompletePostResponseDataGrantsAssetType = "Coin" | "Badge" | "XP" | "Charge" | "Gem";
|
|
113
|
-
export interface ActionActionsCompletePostResponseDataGrants extends JsonObject {
|
|
114
|
-
"asset_id": string;
|
|
115
|
-
"asset_name": string;
|
|
116
|
-
"asset_type": ActionActionsCompletePostResponseDataGrantsAssetType;
|
|
117
|
-
"quantity": number;
|
|
118
|
-
}
|
|
119
112
|
export interface ActionActionsCompletePostResponseData extends JsonObject {
|
|
120
113
|
"action_log_id": string;
|
|
121
114
|
"action_count": number;
|
|
122
|
-
"grants":
|
|
115
|
+
"grants": BackendJson<"RewardGrant">[];
|
|
123
116
|
}
|
|
124
117
|
export interface ActionActionsCompletePostResponse extends ApiEnvelope<ActionActionsCompletePostResponseData> {
|
|
125
118
|
}
|
|
@@ -169,9 +162,12 @@ export interface WalletBillingAdminPlanProductsUpdatePutResponseData extends Jso
|
|
|
169
162
|
}
|
|
170
163
|
export interface WalletBillingAdminPlanProductsUpdatePutResponse extends ApiEnvelope<WalletBillingAdminPlanProductsUpdatePutResponseData> {
|
|
171
164
|
}
|
|
172
|
-
/** Backend response type:
|
|
173
|
-
export interface
|
|
165
|
+
/** Backend response type: APIEmptyResponse. */
|
|
166
|
+
export interface WalletBillingAdminPlanProductsDeleteDeleteResponseData extends JsonObject {
|
|
167
|
+
"status": string;
|
|
168
|
+
"message": string;
|
|
174
169
|
}
|
|
170
|
+
export type WalletBillingAdminPlanProductsDeleteDeleteResponse = WalletBillingAdminPlanProductsDeleteDeleteResponseData;
|
|
175
171
|
/** Backend response type: UnitPrices. */
|
|
176
172
|
export interface SandboxBillingAdminPricesGetResponseData extends JsonObject {
|
|
177
173
|
"cpu_millicore_hour": number;
|
|
@@ -203,24 +199,8 @@ export interface WalletBillingAdminSubscriptionsIndexGetQuery extends QueryParam
|
|
|
203
199
|
"profile_id"?: string | null;
|
|
204
200
|
}
|
|
205
201
|
/** Backend response type: SubscriptionListResponse. */
|
|
206
|
-
export interface WalletBillingAdminSubscriptionsIndexGetResponseDataSubscriptions extends JsonObject {
|
|
207
|
-
"id": string;
|
|
208
|
-
"profile_id": string;
|
|
209
|
-
"project": string;
|
|
210
|
-
"service_name": string;
|
|
211
|
-
"period": string;
|
|
212
|
-
"unit_price": number;
|
|
213
|
-
"currency": string;
|
|
214
|
-
"status": string;
|
|
215
|
-
"purchase_id"?: string | null;
|
|
216
|
-
"current_period_start"?: string | null;
|
|
217
|
-
"current_period_end"?: string | null;
|
|
218
|
-
"next_charge_at"?: string | null;
|
|
219
|
-
"created_at": string;
|
|
220
|
-
"updated_at": string;
|
|
221
|
-
}
|
|
222
202
|
export interface WalletBillingAdminSubscriptionsIndexGetResponseData extends JsonObject {
|
|
223
|
-
"subscriptions":
|
|
203
|
+
"subscriptions": BackendJson<"SubscriptionDTO">[];
|
|
224
204
|
}
|
|
225
205
|
export interface WalletBillingAdminSubscriptionsIndexGetResponse extends ApiEnvelope<WalletBillingAdminSubscriptionsIndexGetResponseData> {
|
|
226
206
|
}
|
|
@@ -234,9 +214,12 @@ export interface WalletBillingAdminUserPlansIndexGetResponseItem extends JsonObj
|
|
|
234
214
|
}
|
|
235
215
|
export interface WalletBillingAdminUserPlansIndexGetResponse extends ApiEnvelope<WalletBillingAdminUserPlansIndexGetResponseItem[]> {
|
|
236
216
|
}
|
|
237
|
-
/** Backend response type:
|
|
238
|
-
export interface
|
|
217
|
+
/** Backend response type: APIEmptyResponse. */
|
|
218
|
+
export interface WalletBillingAdminUserPlanDeleteDeleteResponseData extends JsonObject {
|
|
219
|
+
"status": string;
|
|
220
|
+
"message": string;
|
|
239
221
|
}
|
|
222
|
+
export type WalletBillingAdminUserPlanDeleteDeleteResponse = WalletBillingAdminUserPlanDeleteDeleteResponseData;
|
|
240
223
|
/** Backend request type: AdminUserPlanBody. */
|
|
241
224
|
export interface WalletBillingAdminUserPlanUpdatePutInput extends JsonObject {
|
|
242
225
|
"tier": string;
|
|
@@ -270,7 +253,6 @@ export interface CatalogAssetsIndexGetQuery extends QueryParams {
|
|
|
270
253
|
"search"?: string | null;
|
|
271
254
|
}
|
|
272
255
|
/** Backend response type: PagedResult<AssetResponse>. */
|
|
273
|
-
export type CatalogAssetsIndexGetResponseItemAssetType = "Coin" | "Badge" | "XP" | "Charge" | "Gem";
|
|
274
256
|
export interface CatalogAssetsIndexGetResponseItem extends JsonObject {
|
|
275
257
|
"id": string;
|
|
276
258
|
"name": string;
|
|
@@ -278,7 +260,7 @@ export interface CatalogAssetsIndexGetResponseItem extends JsonObject {
|
|
|
278
260
|
"description"?: string | null;
|
|
279
261
|
"subject_type": string;
|
|
280
262
|
"metadata": JsonValue;
|
|
281
|
-
"asset_type":
|
|
263
|
+
"asset_type": BackendJson<"AssetType">;
|
|
282
264
|
"max_quantity": number;
|
|
283
265
|
"status": number;
|
|
284
266
|
}
|
|
@@ -295,19 +277,17 @@ export interface CatalogAssetsIndexGetResponseData extends JsonObject {
|
|
|
295
277
|
export interface CatalogAssetsIndexGetResponse extends ApiEnvelope<CatalogAssetsIndexGetResponseData> {
|
|
296
278
|
}
|
|
297
279
|
/** Backend request type: CreateAssetRequest. */
|
|
298
|
-
export type CatalogAssetsCreatePostInputAssetType = "Coin" | "Badge" | "XP" | "Charge" | "Gem";
|
|
299
280
|
export interface CatalogAssetsCreatePostInput extends JsonObject {
|
|
300
281
|
"name": string;
|
|
301
282
|
"title"?: string | null;
|
|
302
283
|
"description"?: string | null;
|
|
303
284
|
"subject_type"?: string | null;
|
|
304
285
|
"metadata"?: JsonValue | null;
|
|
305
|
-
"asset_type":
|
|
286
|
+
"asset_type": BackendJson<"AssetType">;
|
|
306
287
|
"max_quantity"?: number | null;
|
|
307
288
|
"status"?: number | null;
|
|
308
289
|
}
|
|
309
290
|
/** Backend response type: AssetResponse. */
|
|
310
|
-
export type CatalogAssetsCreatePostResponseDataAssetType = "Coin" | "Badge" | "XP" | "Charge" | "Gem";
|
|
311
291
|
export interface CatalogAssetsCreatePostResponseData extends JsonObject {
|
|
312
292
|
"id": string;
|
|
313
293
|
"name": string;
|
|
@@ -315,7 +295,7 @@ export interface CatalogAssetsCreatePostResponseData extends JsonObject {
|
|
|
315
295
|
"description"?: string | null;
|
|
316
296
|
"subject_type": string;
|
|
317
297
|
"metadata": JsonValue;
|
|
318
|
-
"asset_type":
|
|
298
|
+
"asset_type": BackendJson<"AssetType">;
|
|
319
299
|
"max_quantity": number;
|
|
320
300
|
"status": number;
|
|
321
301
|
}
|
|
@@ -325,7 +305,6 @@ export interface CatalogAssetsCreatePostResponse extends ApiEnvelope<CatalogAsse
|
|
|
325
305
|
export interface CatalogAssetsDeleteDeleteResponse extends ApiEnvelope<JsonObject> {
|
|
326
306
|
}
|
|
327
307
|
/** Backend response type: AssetResponse. */
|
|
328
|
-
export type CatalogAssetsShowGetResponseDataAssetType = "Coin" | "Badge" | "XP" | "Charge" | "Gem";
|
|
329
308
|
export interface CatalogAssetsShowGetResponseData extends JsonObject {
|
|
330
309
|
"id": string;
|
|
331
310
|
"name": string;
|
|
@@ -333,7 +312,7 @@ export interface CatalogAssetsShowGetResponseData extends JsonObject {
|
|
|
333
312
|
"description"?: string | null;
|
|
334
313
|
"subject_type": string;
|
|
335
314
|
"metadata": JsonValue;
|
|
336
|
-
"asset_type":
|
|
315
|
+
"asset_type": BackendJson<"AssetType">;
|
|
337
316
|
"max_quantity": number;
|
|
338
317
|
"status": number;
|
|
339
318
|
}
|
|
@@ -350,7 +329,6 @@ export interface CatalogAssetsUpdatePatchInput extends JsonObject {
|
|
|
350
329
|
"status"?: number | null;
|
|
351
330
|
}
|
|
352
331
|
/** Backend response type: AssetResponse. */
|
|
353
|
-
export type CatalogAssetsUpdatePatchResponseDataAssetType = "Coin" | "Badge" | "XP" | "Charge" | "Gem";
|
|
354
332
|
export interface CatalogAssetsUpdatePatchResponseData extends JsonObject {
|
|
355
333
|
"id": string;
|
|
356
334
|
"name": string;
|
|
@@ -358,7 +336,7 @@ export interface CatalogAssetsUpdatePatchResponseData extends JsonObject {
|
|
|
358
336
|
"description"?: string | null;
|
|
359
337
|
"subject_type": string;
|
|
360
338
|
"metadata": JsonValue;
|
|
361
|
-
"asset_type":
|
|
339
|
+
"asset_type": BackendJson<"AssetType">;
|
|
362
340
|
"max_quantity": number;
|
|
363
341
|
"status": number;
|
|
364
342
|
}
|
|
@@ -379,15 +357,14 @@ export interface BankBankTransactionsIndexGetQuery extends QueryParams {
|
|
|
379
357
|
"search"?: string | null;
|
|
380
358
|
}
|
|
381
359
|
/** Backend response type: PagedResult<BankTransactionResponse>. */
|
|
382
|
-
export type BankBankTransactionsIndexGetResponseItemBankTransactionType = "Deposit" | "Withdraw" | "Refund";
|
|
383
360
|
export interface BankBankTransactionsIndexGetResponseItem extends JsonObject {
|
|
384
361
|
"id": string;
|
|
385
362
|
"profile_id": string;
|
|
386
363
|
"profile_name"?: string | null;
|
|
387
364
|
"bank_id": string;
|
|
388
|
-
"bank_transaction_type":
|
|
365
|
+
"bank_transaction_type": BackendJson<"BankTransctionType">;
|
|
389
366
|
"amount": number;
|
|
390
|
-
"metadata":
|
|
367
|
+
"metadata": BackendJson<"Json">;
|
|
391
368
|
"status": number;
|
|
392
369
|
"created_at": string;
|
|
393
370
|
"profile_deposit_total": number;
|
|
@@ -409,7 +386,7 @@ export interface BankBankTransactionsCreatePostInput extends JsonObject {
|
|
|
409
386
|
"amount": number;
|
|
410
387
|
"profile_id": string;
|
|
411
388
|
"bank_id"?: string | null;
|
|
412
|
-
"metadata"?:
|
|
389
|
+
"metadata"?: BackendJson<"Json"> | null;
|
|
413
390
|
}
|
|
414
391
|
/** Backend response type: entity::bank_transaction::Model. */
|
|
415
392
|
export interface BankBankTransactionsCreatePostResponseData extends JsonObject {
|
|
@@ -419,8 +396,8 @@ export interface BankBankTransactionsCreatePostResponseData extends JsonObject {
|
|
|
419
396
|
"description"?: string | null;
|
|
420
397
|
"season_id"?: string | null;
|
|
421
398
|
"public": boolean;
|
|
422
|
-
"criteria"?:
|
|
423
|
-
"achievement_assets"?:
|
|
399
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
400
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
424
401
|
"status": number;
|
|
425
402
|
"created_at": string;
|
|
426
403
|
"updated_at"?: string | null;
|
|
@@ -429,67 +406,22 @@ export interface BankBankTransactionsCreatePostResponseData extends JsonObject {
|
|
|
429
406
|
export interface BankBankTransactionsCreatePostResponse extends ApiEnvelope<BankBankTransactionsCreatePostResponseData> {
|
|
430
407
|
}
|
|
431
408
|
/** Backend response type: crate::charge::models::ChargeSettingsResponse. */
|
|
432
|
-
export type ChargeChargeSettingsShowGetResponseDataMappingRulesRulesCondition = "always" | "xp_balance" | "coin_balance" | "xp_rank" | "action_count";
|
|
433
|
-
export interface ChargeChargeSettingsShowGetResponseDataMappingRulesRulesValues extends JsonObject {
|
|
434
|
-
"max_charge": number;
|
|
435
|
-
"recharge_period": number;
|
|
436
|
-
"recharge_amount": number;
|
|
437
|
-
}
|
|
438
|
-
export interface ChargeChargeSettingsShowGetResponseDataMappingRulesRules extends JsonObject {
|
|
439
|
-
"label"?: string | null;
|
|
440
|
-
"condition": ChargeChargeSettingsShowGetResponseDataMappingRulesRulesCondition;
|
|
441
|
-
"values": ChargeChargeSettingsShowGetResponseDataMappingRulesRulesValues;
|
|
442
|
-
}
|
|
443
|
-
export interface ChargeChargeSettingsShowGetResponseDataMappingRules extends JsonObject {
|
|
444
|
-
"rules"?: ChargeChargeSettingsShowGetResponseDataMappingRulesRules[];
|
|
445
|
-
"match"?: string;
|
|
446
|
-
}
|
|
447
409
|
export interface ChargeChargeSettingsShowGetResponseData extends JsonObject {
|
|
448
|
-
"id":
|
|
449
|
-
"mapping_rules":
|
|
410
|
+
"id": BackendJson<"uuid::Uuid">;
|
|
411
|
+
"mapping_rules": BackendJson<"ChargeMappingRules">;
|
|
450
412
|
"status": number;
|
|
451
413
|
}
|
|
452
414
|
export interface ChargeChargeSettingsShowGetResponse extends ApiEnvelope<ChargeChargeSettingsShowGetResponseData> {
|
|
453
415
|
}
|
|
454
416
|
/** Backend request type: UpdateChargeSettingsRequest. */
|
|
455
|
-
export type ChargeChargeSettingsUpdatePatchInputMappingRulesRulesCondition = "always" | "xp_balance" | "coin_balance" | "xp_rank" | "action_count";
|
|
456
|
-
export interface ChargeChargeSettingsUpdatePatchInputMappingRulesRulesValues extends JsonObject {
|
|
457
|
-
"max_charge": number;
|
|
458
|
-
"recharge_period": number;
|
|
459
|
-
"recharge_amount": number;
|
|
460
|
-
}
|
|
461
|
-
export interface ChargeChargeSettingsUpdatePatchInputMappingRulesRules extends JsonObject {
|
|
462
|
-
"label"?: string | null;
|
|
463
|
-
"condition": ChargeChargeSettingsUpdatePatchInputMappingRulesRulesCondition;
|
|
464
|
-
"values": ChargeChargeSettingsUpdatePatchInputMappingRulesRulesValues;
|
|
465
|
-
}
|
|
466
|
-
export interface ChargeChargeSettingsUpdatePatchInputMappingRules extends JsonObject {
|
|
467
|
-
"rules"?: ChargeChargeSettingsUpdatePatchInputMappingRulesRules[];
|
|
468
|
-
"match"?: string;
|
|
469
|
-
}
|
|
470
417
|
export interface ChargeChargeSettingsUpdatePatchInput extends JsonObject {
|
|
471
|
-
"mapping_rules":
|
|
418
|
+
"mapping_rules": BackendJson<"ChargeMappingRules">;
|
|
472
419
|
"status"?: number | null;
|
|
473
420
|
}
|
|
474
421
|
/** Backend response type: crate::charge::models::ChargeSettingsResponse. */
|
|
475
|
-
export type ChargeChargeSettingsUpdatePatchResponseDataMappingRulesRulesCondition = "always" | "xp_balance" | "coin_balance" | "xp_rank" | "action_count";
|
|
476
|
-
export interface ChargeChargeSettingsUpdatePatchResponseDataMappingRulesRulesValues extends JsonObject {
|
|
477
|
-
"max_charge": number;
|
|
478
|
-
"recharge_period": number;
|
|
479
|
-
"recharge_amount": number;
|
|
480
|
-
}
|
|
481
|
-
export interface ChargeChargeSettingsUpdatePatchResponseDataMappingRulesRules extends JsonObject {
|
|
482
|
-
"label"?: string | null;
|
|
483
|
-
"condition": ChargeChargeSettingsUpdatePatchResponseDataMappingRulesRulesCondition;
|
|
484
|
-
"values": ChargeChargeSettingsUpdatePatchResponseDataMappingRulesRulesValues;
|
|
485
|
-
}
|
|
486
|
-
export interface ChargeChargeSettingsUpdatePatchResponseDataMappingRules extends JsonObject {
|
|
487
|
-
"rules"?: ChargeChargeSettingsUpdatePatchResponseDataMappingRulesRules[];
|
|
488
|
-
"match"?: string;
|
|
489
|
-
}
|
|
490
422
|
export interface ChargeChargeSettingsUpdatePatchResponseData extends JsonObject {
|
|
491
|
-
"id":
|
|
492
|
-
"mapping_rules":
|
|
423
|
+
"id": BackendJson<"uuid::Uuid">;
|
|
424
|
+
"mapping_rules": BackendJson<"ChargeMappingRules">;
|
|
493
425
|
"status": number;
|
|
494
426
|
}
|
|
495
427
|
export interface ChargeChargeSettingsUpdatePatchResponse extends ApiEnvelope<ChargeChargeSettingsUpdatePatchResponseData> {
|
|
@@ -542,70 +474,27 @@ export interface DashboardDashboardShowGetResponseData extends JsonObject {
|
|
|
542
474
|
export interface DashboardDashboardShowGetResponse extends ApiEnvelope<DashboardDashboardShowGetResponseData> {
|
|
543
475
|
}
|
|
544
476
|
/** Backend response type: crate::integration::models::IntegrationDocsResponse. */
|
|
545
|
-
export interface IntegrationIntegrationDocsShowGetResponseDataDirectEventsPayloadFields extends JsonObject {
|
|
546
|
-
"name": string;
|
|
547
|
-
"field_type": string;
|
|
548
|
-
"required": boolean;
|
|
549
|
-
"description": string;
|
|
550
|
-
}
|
|
551
|
-
export interface IntegrationIntegrationDocsShowGetResponseDataDirectEvents extends JsonObject {
|
|
552
|
-
"event_name": string;
|
|
553
|
-
"payload_fields": IntegrationIntegrationDocsShowGetResponseDataDirectEventsPayloadFields[];
|
|
554
|
-
}
|
|
555
|
-
export interface IntegrationIntegrationDocsShowGetResponseDataDirect extends JsonObject {
|
|
556
|
-
"transport": string;
|
|
557
|
-
"queue"?: string | null;
|
|
558
|
-
"base_url"?: string | null;
|
|
559
|
-
"broker_url_hint"?: string | null;
|
|
560
|
-
"sample_profile_id"?: string | null;
|
|
561
|
-
"events": IntegrationIntegrationDocsShowGetResponseDataDirectEvents[];
|
|
562
|
-
}
|
|
563
|
-
export interface IntegrationIntegrationDocsShowGetResponseDataSdk extends JsonObject {
|
|
564
|
-
"event_name": string;
|
|
565
|
-
"method": string;
|
|
566
|
-
"language": string;
|
|
567
|
-
"cargo_dep": string;
|
|
568
|
-
"code": string;
|
|
569
|
-
}
|
|
570
477
|
export interface IntegrationIntegrationDocsShowGetResponseData extends JsonObject {
|
|
571
|
-
"direct":
|
|
572
|
-
"sdk":
|
|
478
|
+
"direct": BackendJson<"DirectIntegrationMeta">;
|
|
479
|
+
"sdk": BackendJson<"SdkIntegrationSnippet">[];
|
|
573
480
|
}
|
|
574
481
|
export interface IntegrationIntegrationDocsShowGetResponse extends ApiEnvelope<IntegrationIntegrationDocsShowGetResponseData> {
|
|
575
482
|
}
|
|
576
483
|
/** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
|
|
577
|
-
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<
|
|
484
|
+
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<BackendJson<"infera_flow_sdk::FlowIntegrationResponse">> {
|
|
578
485
|
}
|
|
579
486
|
/** Backend response type: crate::integration::models::RabbitMqIntegrationResponse. */
|
|
580
|
-
export interface IntegrationRabbitmqIntegrationShowGetResponseDataEventsPayloadFields extends JsonObject {
|
|
581
|
-
"name": string;
|
|
582
|
-
"field_type": string;
|
|
583
|
-
"required": boolean;
|
|
584
|
-
"description": string;
|
|
585
|
-
}
|
|
586
|
-
export interface IntegrationRabbitmqIntegrationShowGetResponseDataEvents extends JsonObject {
|
|
587
|
-
"event_name": string;
|
|
588
|
-
"payload_fields": IntegrationRabbitmqIntegrationShowGetResponseDataEventsPayloadFields[];
|
|
589
|
-
}
|
|
590
487
|
export interface IntegrationRabbitmqIntegrationShowGetResponseData extends JsonObject {
|
|
591
488
|
"queue": string;
|
|
592
489
|
"broker_url_hint": string;
|
|
593
490
|
"sample_profile_id": string;
|
|
594
|
-
"events":
|
|
491
|
+
"events": BackendJson<"IntegrationEventMeta">[];
|
|
595
492
|
}
|
|
596
493
|
export interface IntegrationRabbitmqIntegrationShowGetResponse extends ApiEnvelope<IntegrationRabbitmqIntegrationShowGetResponseData> {
|
|
597
494
|
}
|
|
598
495
|
/** Backend response type: PlanListResponse. */
|
|
599
|
-
export interface LlmUsagePlansIndexGetResponseDataPlans extends JsonObject {
|
|
600
|
-
"profile_id": string;
|
|
601
|
-
"tier": string;
|
|
602
|
-
"expires_at"?: string | null;
|
|
603
|
-
"plan_points": number;
|
|
604
|
-
"created_at": string;
|
|
605
|
-
"updated_at": string;
|
|
606
|
-
}
|
|
607
496
|
export interface LlmUsagePlansIndexGetResponseData extends JsonObject {
|
|
608
|
-
"plans":
|
|
497
|
+
"plans": BackendJson<"PlanResponse">[];
|
|
609
498
|
}
|
|
610
499
|
export interface LlmUsagePlansIndexGetResponse extends ApiEnvelope<LlmUsagePlansIndexGetResponseData> {
|
|
611
500
|
}
|
|
@@ -636,47 +525,13 @@ export interface LlmUsagePlanSetPutResponseData extends JsonObject {
|
|
|
636
525
|
export interface LlmUsagePlanSetPutResponse extends ApiEnvelope<LlmUsagePlanSetPutResponseData> {
|
|
637
526
|
}
|
|
638
527
|
/** Backend response type: crate::wallet::models::UserWalletResponse. */
|
|
639
|
-
export interface WalletMeAssetsShowGetResponseDataCoin extends JsonObject {
|
|
640
|
-
"asset_id": string;
|
|
641
|
-
"asset_name": string;
|
|
642
|
-
"title"?: string | null;
|
|
643
|
-
"balance": number;
|
|
644
|
-
}
|
|
645
|
-
export interface WalletMeAssetsShowGetResponseDataXp extends JsonObject {
|
|
646
|
-
"asset_id": string;
|
|
647
|
-
"asset_name": string;
|
|
648
|
-
"title"?: string | null;
|
|
649
|
-
"balance": number;
|
|
650
|
-
}
|
|
651
|
-
export interface WalletMeAssetsShowGetResponseDataCharge extends JsonObject {
|
|
652
|
-
"asset_id": string;
|
|
653
|
-
"asset_name": string;
|
|
654
|
-
"title"?: string | null;
|
|
655
|
-
"balance": number;
|
|
656
|
-
}
|
|
657
|
-
export interface WalletMeAssetsShowGetResponseDataGems extends JsonObject {
|
|
658
|
-
"asset_id": string;
|
|
659
|
-
"asset_name": string;
|
|
660
|
-
"title"?: string | null;
|
|
661
|
-
"balance": number;
|
|
662
|
-
}
|
|
663
|
-
export interface WalletMeAssetsShowGetResponseDataBadges extends JsonObject {
|
|
664
|
-
"asset_id": string;
|
|
665
|
-
"asset_name": string;
|
|
666
|
-
"title"?: string | null;
|
|
667
|
-
"description"?: string | null;
|
|
668
|
-
"subject_type": string;
|
|
669
|
-
"metadata": JsonValue;
|
|
670
|
-
"balance": number;
|
|
671
|
-
"earned_at"?: string | null;
|
|
672
|
-
}
|
|
673
528
|
export interface WalletMeAssetsShowGetResponseData extends JsonObject {
|
|
674
529
|
"profile_id": string;
|
|
675
|
-
"coin":
|
|
676
|
-
"xp":
|
|
677
|
-
"charge":
|
|
678
|
-
"gems":
|
|
679
|
-
"badges":
|
|
530
|
+
"coin": BackendJson<"WalletAssetBalance">;
|
|
531
|
+
"xp": BackendJson<"WalletAssetBalance">;
|
|
532
|
+
"charge": BackendJson<"WalletAssetBalance">;
|
|
533
|
+
"gems": BackendJson<"WalletAssetBalance">[];
|
|
534
|
+
"badges": BackendJson<"WalletBadgeBalance">[];
|
|
680
535
|
"max_charge"?: number | null;
|
|
681
536
|
"recharge_period"?: number | null;
|
|
682
537
|
"xp_to_next_rank"?: number | null;
|
|
@@ -689,21 +544,11 @@ export interface WalletMeBadgesShowGetQuery extends QueryParams {
|
|
|
689
544
|
"subject_id"?: string | null;
|
|
690
545
|
}
|
|
691
546
|
/** Backend response type: crate::wallet::models::SubjectBadgesResponse. */
|
|
692
|
-
export interface WalletMeBadgesShowGetResponseDataBadges extends JsonObject {
|
|
693
|
-
"asset_id": string;
|
|
694
|
-
"asset_name": string;
|
|
695
|
-
"title"?: string | null;
|
|
696
|
-
"description"?: string | null;
|
|
697
|
-
"subject_type": string;
|
|
698
|
-
"metadata": JsonValue;
|
|
699
|
-
"balance": number;
|
|
700
|
-
"earned_at"?: string | null;
|
|
701
|
-
}
|
|
702
547
|
export interface WalletMeBadgesShowGetResponseData extends JsonObject {
|
|
703
548
|
"profile_id": string;
|
|
704
549
|
"subject_type": string;
|
|
705
550
|
"subject_id"?: string | null;
|
|
706
|
-
"badges":
|
|
551
|
+
"badges": BackendJson<"WalletBadgeBalance">[];
|
|
707
552
|
}
|
|
708
553
|
export interface WalletMeBadgesShowGetResponse extends ApiEnvelope<WalletMeBadgesShowGetResponseData> {
|
|
709
554
|
}
|
|
@@ -712,35 +557,13 @@ export interface WalletMeLlmUsageGetQuery extends QueryParams {
|
|
|
712
557
|
"range"?: string | null;
|
|
713
558
|
}
|
|
714
559
|
/** Backend response type: crate::llm_usage::models::UsageSummary. */
|
|
715
|
-
export interface WalletMeLlmUsageGetResponseDataChart extends JsonObject {
|
|
716
|
-
"start": string;
|
|
717
|
-
"input_tokens": number;
|
|
718
|
-
"output_tokens": number;
|
|
719
|
-
"points_cost": number;
|
|
720
|
-
}
|
|
721
|
-
export interface WalletMeLlmUsageGetResponseDataBuckets extends JsonObject {
|
|
722
|
-
"start": string;
|
|
723
|
-
"input_tokens": number;
|
|
724
|
-
"output_tokens": number;
|
|
725
|
-
"points_cost": number;
|
|
726
|
-
}
|
|
727
|
-
export interface WalletMeLlmUsageGetResponseDataLast24Hours extends JsonObject {
|
|
728
|
-
"input_tokens": number;
|
|
729
|
-
"output_tokens": number;
|
|
730
|
-
"points_cost": number;
|
|
731
|
-
}
|
|
732
|
-
export interface WalletMeLlmUsageGetResponseDataRangeTotals extends JsonObject {
|
|
733
|
-
"input_tokens": number;
|
|
734
|
-
"output_tokens": number;
|
|
735
|
-
"points_cost": number;
|
|
736
|
-
}
|
|
737
560
|
export interface WalletMeLlmUsageGetResponseData extends JsonObject {
|
|
738
561
|
"currency": string;
|
|
739
562
|
"range": string;
|
|
740
|
-
"chart":
|
|
741
|
-
"buckets":
|
|
742
|
-
"last_24_hours":
|
|
743
|
-
"range_totals":
|
|
563
|
+
"chart": BackendJson<"UsageBucket">[];
|
|
564
|
+
"buckets": BackendJson<"UsageBucket">[];
|
|
565
|
+
"last_24_hours": BackendJson<"UsageTotals">;
|
|
566
|
+
"range_totals": BackendJson<"UsageTotals">;
|
|
744
567
|
}
|
|
745
568
|
export interface WalletMeLlmUsageGetResponse extends ApiEnvelope<WalletMeLlmUsageGetResponseData> {
|
|
746
569
|
}
|
|
@@ -752,29 +575,67 @@ export interface WalletMeTransactionsGetQuery extends QueryParams {
|
|
|
752
575
|
"page_size"?: number | null;
|
|
753
576
|
"from"?: string | null;
|
|
754
577
|
"to"?: string | null;
|
|
578
|
+
"rollup_usage_daily"?: boolean | null;
|
|
579
|
+
"tz_offset_minutes"?: number | null;
|
|
755
580
|
}
|
|
756
581
|
/** Backend response type: TxPage. */
|
|
757
|
-
export interface
|
|
582
|
+
export interface WalletMeTransactionsGetResponseData extends JsonObject {
|
|
583
|
+
"items": BackendJson<"entity::wallet_transaction::Model">[];
|
|
584
|
+
"total": number;
|
|
585
|
+
"page": number;
|
|
586
|
+
"page_size": number;
|
|
587
|
+
}
|
|
588
|
+
export interface WalletMeTransactionsGetResponse extends ApiEnvelope<WalletMeTransactionsGetResponseData> {
|
|
589
|
+
}
|
|
590
|
+
/** Backend response type: entity::wallet_transaction::Model. */
|
|
591
|
+
export interface WalletMeTransactionShowGetResponseData extends JsonObject {
|
|
758
592
|
"id": string;
|
|
759
593
|
"name": string;
|
|
760
594
|
"title"?: string | null;
|
|
761
595
|
"description"?: string | null;
|
|
762
596
|
"season_id"?: string | null;
|
|
763
597
|
"public": boolean;
|
|
764
|
-
"criteria"?:
|
|
765
|
-
"achievement_assets"?:
|
|
598
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
599
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
766
600
|
"status": number;
|
|
767
601
|
"created_at": string;
|
|
768
602
|
"updated_at"?: string | null;
|
|
769
603
|
"deleted_at"?: string | null;
|
|
770
604
|
}
|
|
771
|
-
export interface
|
|
772
|
-
|
|
605
|
+
export interface WalletMeTransactionShowGetResponse extends ApiEnvelope<WalletMeTransactionShowGetResponseData> {
|
|
606
|
+
}
|
|
607
|
+
/** Backend query type: UsageDaysQuery. */
|
|
608
|
+
export interface WalletMeTransactionDaysGetQuery extends QueryParams {
|
|
609
|
+
"page"?: number | null;
|
|
610
|
+
"page_size"?: number | null;
|
|
611
|
+
"from"?: string | null;
|
|
612
|
+
"to"?: string | null;
|
|
613
|
+
"tz_offset_minutes"?: number | null;
|
|
614
|
+
}
|
|
615
|
+
/** Backend response type: UsageDaysPage. */
|
|
616
|
+
export interface WalletMeTransactionDaysGetResponseData extends JsonObject {
|
|
617
|
+
"items": BackendJson<"UsageDaySummary">[];
|
|
773
618
|
"total": number;
|
|
774
619
|
"page": number;
|
|
775
620
|
"page_size": number;
|
|
776
621
|
}
|
|
777
|
-
export interface
|
|
622
|
+
export interface WalletMeTransactionDaysGetResponse extends ApiEnvelope<WalletMeTransactionDaysGetResponseData> {
|
|
623
|
+
}
|
|
624
|
+
/** Backend query type: UsageDayQuery. */
|
|
625
|
+
export interface WalletMeTransactionDayGetQuery extends QueryParams {
|
|
626
|
+
"tz_offset_minutes"?: number | null;
|
|
627
|
+
}
|
|
628
|
+
/** Backend response type: UsageDayDetail. */
|
|
629
|
+
export interface WalletMeTransactionDayGetResponseData extends JsonObject {
|
|
630
|
+
"date": string;
|
|
631
|
+
"currency": string;
|
|
632
|
+
"resource_cost": number;
|
|
633
|
+
"llm_cost": number;
|
|
634
|
+
"total_cost": number;
|
|
635
|
+
"resources": BackendJson<"ResourceUsageGroup">[];
|
|
636
|
+
"llm": BackendJson<"LlmUsageLine">[];
|
|
637
|
+
}
|
|
638
|
+
export interface WalletMeTransactionDayGetResponse extends ApiEnvelope<WalletMeTransactionDayGetResponseData> {
|
|
778
639
|
}
|
|
779
640
|
/** Backend response type: Vec<methods::PlanProduct>. */
|
|
780
641
|
export interface WalletBillingPlansIndexGetResponseItem extends JsonObject {
|
|
@@ -911,28 +772,13 @@ export interface RankRanksUpdatePatchResponseData extends JsonObject {
|
|
|
911
772
|
}
|
|
912
773
|
export interface RankRanksUpdatePatchResponse extends ApiEnvelope<RankRanksUpdatePatchResponseData> {
|
|
913
774
|
}
|
|
914
|
-
/** Backend response type:
|
|
915
|
-
export interface
|
|
775
|
+
/** Backend response type: APIEmptyResponse. */
|
|
776
|
+
export interface SandboxBillingPurgeDeleteResponseData extends JsonObject {
|
|
777
|
+
"status": string;
|
|
778
|
+
"message": string;
|
|
916
779
|
}
|
|
780
|
+
export type SandboxBillingPurgeDeleteResponse = SandboxBillingPurgeDeleteResponseData;
|
|
917
781
|
/** Backend response type: AllocationView. */
|
|
918
|
-
export interface SandboxBillingShowGetResponseDataPrice extends JsonObject {
|
|
919
|
-
"cpu": number;
|
|
920
|
-
"ram": number;
|
|
921
|
-
"database_storage": number;
|
|
922
|
-
"minio_storage": number;
|
|
923
|
-
"app_storage": number;
|
|
924
|
-
"disk": number;
|
|
925
|
-
"services": number;
|
|
926
|
-
"resource_total": number;
|
|
927
|
-
"total": number;
|
|
928
|
-
"currency": string;
|
|
929
|
-
}
|
|
930
|
-
export interface SandboxBillingShowGetResponseDataUnitPrices extends JsonObject {
|
|
931
|
-
"cpu_millicore_hour": number;
|
|
932
|
-
"ram_mb_hour": number;
|
|
933
|
-
"disk_mb_hour": number;
|
|
934
|
-
"currency": string;
|
|
935
|
-
}
|
|
936
782
|
export interface SandboxBillingShowGetResponseData extends JsonObject {
|
|
937
783
|
"id": string;
|
|
938
784
|
"name": string;
|
|
@@ -940,14 +786,14 @@ export interface SandboxBillingShowGetResponseData extends JsonObject {
|
|
|
940
786
|
"description"?: string | null;
|
|
941
787
|
"season_id"?: string | null;
|
|
942
788
|
"public": boolean;
|
|
943
|
-
"criteria"?:
|
|
944
|
-
"achievement_assets"?:
|
|
789
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
790
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
945
791
|
"status": number;
|
|
946
792
|
"created_at": string;
|
|
947
793
|
"updated_at"?: string | null;
|
|
948
794
|
"deleted_at"?: string | null;
|
|
949
|
-
"price":
|
|
950
|
-
"unit_prices":
|
|
795
|
+
"price": BackendJson<"PriceBreakdown">;
|
|
796
|
+
"unit_prices": BackendJson<"UnitPrices">;
|
|
951
797
|
"currency": string;
|
|
952
798
|
"hourly_price": number;
|
|
953
799
|
"daily_estimate": number;
|
|
@@ -966,24 +812,6 @@ export interface SandboxBillingUpdatePutInput extends JsonObject {
|
|
|
966
812
|
"app_storage_mb": number;
|
|
967
813
|
}
|
|
968
814
|
/** Backend response type: AllocationView. */
|
|
969
|
-
export interface SandboxBillingUpdatePutResponseDataPrice extends JsonObject {
|
|
970
|
-
"cpu": number;
|
|
971
|
-
"ram": number;
|
|
972
|
-
"database_storage": number;
|
|
973
|
-
"minio_storage": number;
|
|
974
|
-
"app_storage": number;
|
|
975
|
-
"disk": number;
|
|
976
|
-
"services": number;
|
|
977
|
-
"resource_total": number;
|
|
978
|
-
"total": number;
|
|
979
|
-
"currency": string;
|
|
980
|
-
}
|
|
981
|
-
export interface SandboxBillingUpdatePutResponseDataUnitPrices extends JsonObject {
|
|
982
|
-
"cpu_millicore_hour": number;
|
|
983
|
-
"ram_mb_hour": number;
|
|
984
|
-
"disk_mb_hour": number;
|
|
985
|
-
"currency": string;
|
|
986
|
-
}
|
|
987
815
|
export interface SandboxBillingUpdatePutResponseData extends JsonObject {
|
|
988
816
|
"id": string;
|
|
989
817
|
"name": string;
|
|
@@ -991,14 +819,14 @@ export interface SandboxBillingUpdatePutResponseData extends JsonObject {
|
|
|
991
819
|
"description"?: string | null;
|
|
992
820
|
"season_id"?: string | null;
|
|
993
821
|
"public": boolean;
|
|
994
|
-
"criteria"?:
|
|
995
|
-
"achievement_assets"?:
|
|
822
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
823
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
996
824
|
"status": number;
|
|
997
825
|
"created_at": string;
|
|
998
826
|
"updated_at"?: string | null;
|
|
999
827
|
"deleted_at"?: string | null;
|
|
1000
|
-
"price":
|
|
1001
|
-
"unit_prices":
|
|
828
|
+
"price": BackendJson<"PriceBreakdown">;
|
|
829
|
+
"unit_prices": BackendJson<"UnitPrices">;
|
|
1002
830
|
"currency": string;
|
|
1003
831
|
"hourly_price": number;
|
|
1004
832
|
"daily_estimate": number;
|
|
@@ -1008,24 +836,6 @@ export interface SandboxBillingUpdatePutResponseData extends JsonObject {
|
|
|
1008
836
|
export interface SandboxBillingUpdatePutResponse extends ApiEnvelope<SandboxBillingUpdatePutResponseData> {
|
|
1009
837
|
}
|
|
1010
838
|
/** Backend response type: AllocationView. */
|
|
1011
|
-
export interface SandboxBillingPausePostResponseDataPrice extends JsonObject {
|
|
1012
|
-
"cpu": number;
|
|
1013
|
-
"ram": number;
|
|
1014
|
-
"database_storage": number;
|
|
1015
|
-
"minio_storage": number;
|
|
1016
|
-
"app_storage": number;
|
|
1017
|
-
"disk": number;
|
|
1018
|
-
"services": number;
|
|
1019
|
-
"resource_total": number;
|
|
1020
|
-
"total": number;
|
|
1021
|
-
"currency": string;
|
|
1022
|
-
}
|
|
1023
|
-
export interface SandboxBillingPausePostResponseDataUnitPrices extends JsonObject {
|
|
1024
|
-
"cpu_millicore_hour": number;
|
|
1025
|
-
"ram_mb_hour": number;
|
|
1026
|
-
"disk_mb_hour": number;
|
|
1027
|
-
"currency": string;
|
|
1028
|
-
}
|
|
1029
839
|
export interface SandboxBillingPausePostResponseData extends JsonObject {
|
|
1030
840
|
"id": string;
|
|
1031
841
|
"name": string;
|
|
@@ -1033,14 +843,14 @@ export interface SandboxBillingPausePostResponseData extends JsonObject {
|
|
|
1033
843
|
"description"?: string | null;
|
|
1034
844
|
"season_id"?: string | null;
|
|
1035
845
|
"public": boolean;
|
|
1036
|
-
"criteria"?:
|
|
1037
|
-
"achievement_assets"?:
|
|
846
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
847
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
1038
848
|
"status": number;
|
|
1039
849
|
"created_at": string;
|
|
1040
850
|
"updated_at"?: string | null;
|
|
1041
851
|
"deleted_at"?: string | null;
|
|
1042
|
-
"price":
|
|
1043
|
-
"unit_prices":
|
|
852
|
+
"price": BackendJson<"PriceBreakdown">;
|
|
853
|
+
"unit_prices": BackendJson<"UnitPrices">;
|
|
1044
854
|
"currency": string;
|
|
1045
855
|
"hourly_price": number;
|
|
1046
856
|
"daily_estimate": number;
|
|
@@ -1050,24 +860,6 @@ export interface SandboxBillingPausePostResponseData extends JsonObject {
|
|
|
1050
860
|
export interface SandboxBillingPausePostResponse extends ApiEnvelope<SandboxBillingPausePostResponseData> {
|
|
1051
861
|
}
|
|
1052
862
|
/** Backend response type: AllocationView. */
|
|
1053
|
-
export interface SandboxBillingResumePostResponseDataPrice extends JsonObject {
|
|
1054
|
-
"cpu": number;
|
|
1055
|
-
"ram": number;
|
|
1056
|
-
"database_storage": number;
|
|
1057
|
-
"minio_storage": number;
|
|
1058
|
-
"app_storage": number;
|
|
1059
|
-
"disk": number;
|
|
1060
|
-
"services": number;
|
|
1061
|
-
"resource_total": number;
|
|
1062
|
-
"total": number;
|
|
1063
|
-
"currency": string;
|
|
1064
|
-
}
|
|
1065
|
-
export interface SandboxBillingResumePostResponseDataUnitPrices extends JsonObject {
|
|
1066
|
-
"cpu_millicore_hour": number;
|
|
1067
|
-
"ram_mb_hour": number;
|
|
1068
|
-
"disk_mb_hour": number;
|
|
1069
|
-
"currency": string;
|
|
1070
|
-
}
|
|
1071
863
|
export interface SandboxBillingResumePostResponseData extends JsonObject {
|
|
1072
864
|
"id": string;
|
|
1073
865
|
"name": string;
|
|
@@ -1075,14 +867,14 @@ export interface SandboxBillingResumePostResponseData extends JsonObject {
|
|
|
1075
867
|
"description"?: string | null;
|
|
1076
868
|
"season_id"?: string | null;
|
|
1077
869
|
"public": boolean;
|
|
1078
|
-
"criteria"?:
|
|
1079
|
-
"achievement_assets"?:
|
|
870
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
871
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
1080
872
|
"status": number;
|
|
1081
873
|
"created_at": string;
|
|
1082
874
|
"updated_at"?: string | null;
|
|
1083
875
|
"deleted_at"?: string | null;
|
|
1084
|
-
"price":
|
|
1085
|
-
"unit_prices":
|
|
876
|
+
"price": BackendJson<"PriceBreakdown">;
|
|
877
|
+
"unit_prices": BackendJson<"UnitPrices">;
|
|
1086
878
|
"currency": string;
|
|
1087
879
|
"hourly_price": number;
|
|
1088
880
|
"daily_estimate": number;
|
|
@@ -1096,50 +888,51 @@ export interface WalletBillingSubscriptionsIndexGetQuery extends QueryParams {
|
|
|
1096
888
|
"project"?: string | null;
|
|
1097
889
|
}
|
|
1098
890
|
/** Backend response type: SubscriptionListResponse. */
|
|
1099
|
-
export interface WalletBillingSubscriptionsIndexGetResponseDataSubscriptions extends JsonObject {
|
|
1100
|
-
"id": string;
|
|
1101
|
-
"profile_id": string;
|
|
1102
|
-
"project": string;
|
|
1103
|
-
"service_name": string;
|
|
1104
|
-
"period": string;
|
|
1105
|
-
"unit_price": number;
|
|
1106
|
-
"currency": string;
|
|
1107
|
-
"status": string;
|
|
1108
|
-
"purchase_id"?: string | null;
|
|
1109
|
-
"current_period_start"?: string | null;
|
|
1110
|
-
"current_period_end"?: string | null;
|
|
1111
|
-
"next_charge_at"?: string | null;
|
|
1112
|
-
"created_at": string;
|
|
1113
|
-
"updated_at": string;
|
|
1114
|
-
}
|
|
1115
891
|
export interface WalletBillingSubscriptionsIndexGetResponseData extends JsonObject {
|
|
1116
|
-
"subscriptions":
|
|
892
|
+
"subscriptions": BackendJson<"SubscriptionDTO">[];
|
|
1117
893
|
}
|
|
1118
894
|
export interface WalletBillingSubscriptionsIndexGetResponse extends ApiEnvelope<WalletBillingSubscriptionsIndexGetResponseData> {
|
|
1119
895
|
}
|
|
1120
|
-
/** Backend response type:
|
|
1121
|
-
export interface
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
export interface ServiceLifecycleDeletePermanentlyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
896
|
+
/** Backend response type: APIEmptyResponse. */
|
|
897
|
+
export interface WalletBillingSubscriptionsCancelPostResponseData extends JsonObject {
|
|
898
|
+
"status": string;
|
|
899
|
+
"message": string;
|
|
1125
900
|
}
|
|
1126
|
-
|
|
1127
|
-
|
|
901
|
+
export type WalletBillingSubscriptionsCancelPostResponse = WalletBillingSubscriptionsCancelPostResponseData;
|
|
902
|
+
/** Backend response type: APIEmptyResponse. */
|
|
903
|
+
export interface ServiceLifecycleDeletePermanentlyDeleteResponseData extends JsonObject {
|
|
904
|
+
"status": string;
|
|
905
|
+
"message": string;
|
|
1128
906
|
}
|
|
1129
|
-
|
|
1130
|
-
|
|
907
|
+
export type ServiceLifecycleDeletePermanentlyDeleteResponse = ServiceLifecycleDeletePermanentlyDeleteResponseData;
|
|
908
|
+
/** Backend response type: ServiceLifecycleView. */
|
|
909
|
+
export interface ServiceLifecyclePausePostResponseData extends JsonObject {
|
|
910
|
+
"service_name": string;
|
|
911
|
+
"status": string;
|
|
912
|
+
"paused_at"?: string | null;
|
|
913
|
+
"purge_at"?: string | null;
|
|
1131
914
|
}
|
|
1132
|
-
|
|
1133
|
-
|
|
915
|
+
export type ServiceLifecyclePausePostResponse = ServiceLifecyclePausePostResponseData;
|
|
916
|
+
/** Backend response type: ServiceLifecycleView. */
|
|
917
|
+
export interface ServiceLifecycleRemovePostResponseData extends JsonObject {
|
|
918
|
+
"service_name": string;
|
|
919
|
+
"status": string;
|
|
920
|
+
"paused_at"?: string | null;
|
|
921
|
+
"purge_at"?: string | null;
|
|
1134
922
|
}
|
|
1135
|
-
|
|
1136
|
-
|
|
923
|
+
export type ServiceLifecycleRemovePostResponse = ServiceLifecycleRemovePostResponseData;
|
|
924
|
+
/** Backend response type: ServiceLifecycleView. */
|
|
925
|
+
export interface ServiceLifecycleResumePostResponseData extends JsonObject {
|
|
1137
926
|
"service_name": string;
|
|
1138
|
-
"
|
|
927
|
+
"status": string;
|
|
928
|
+
"paused_at"?: string | null;
|
|
929
|
+
"purge_at"?: string | null;
|
|
1139
930
|
}
|
|
931
|
+
export type ServiceLifecycleResumePostResponse = ServiceLifecycleResumePostResponseData;
|
|
932
|
+
/** Backend request type: SubscriptionPurchaseRequest. */
|
|
1140
933
|
export interface WalletBillingSubscriptionsPurchasePostInput extends JsonObject {
|
|
1141
934
|
"project": string;
|
|
1142
|
-
"items":
|
|
935
|
+
"items": BackendJson<"SubscriptionItemRequest">[];
|
|
1143
936
|
"currency"?: string | null;
|
|
1144
937
|
}
|
|
1145
938
|
/** Backend response type: PurchaseInitResponse. */
|