@faiber/faiber-asset 0.3.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/README.md +2 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/operations.d.ts +565 -73
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +566 -66
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +363 -224
- package/dist/operations.types.d.ts.map +1 -1
- package/dist/types.d.ts +32 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -1,27 +1,27 @@
|
|
|
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. */
|
|
10
10
|
export interface ActionActionsIndexGetQuery extends QueryParams {
|
|
11
|
-
"page[number]"?: number;
|
|
12
|
-
"page[size]"?: number;
|
|
13
|
-
"search"?: string;
|
|
11
|
+
"page[number]"?: number | null;
|
|
12
|
+
"page[size]"?: number | null;
|
|
13
|
+
"search"?: string | null;
|
|
14
14
|
}
|
|
15
15
|
/** Backend response type: PagedResult<ActionResponse>. */
|
|
16
16
|
export interface ActionActionsIndexGetResponseItem extends JsonObject {
|
|
17
17
|
"id": string;
|
|
18
18
|
"name": string;
|
|
19
|
-
"title"?: string;
|
|
20
|
-
"description"?: string;
|
|
21
|
-
"season_id"?: string;
|
|
19
|
+
"title"?: string | null;
|
|
20
|
+
"description"?: string | null;
|
|
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 {
|
|
@@ -39,24 +39,24 @@ export interface ActionActionsIndexGetResponse extends ApiEnvelope<ActionActions
|
|
|
39
39
|
/** Backend request type: CreateActionRequest. */
|
|
40
40
|
export interface ActionActionsCreatePostInput extends JsonObject {
|
|
41
41
|
"name": string;
|
|
42
|
-
"title"?: string;
|
|
43
|
-
"description"?: string;
|
|
44
|
-
"season_id"?: string;
|
|
45
|
-
"public"?: boolean;
|
|
46
|
-
"criteria"?:
|
|
47
|
-
"achievement_assets"?:
|
|
48
|
-
"status"?: number;
|
|
42
|
+
"title"?: string | null;
|
|
43
|
+
"description"?: string | null;
|
|
44
|
+
"season_id"?: string | null;
|
|
45
|
+
"public"?: boolean | null;
|
|
46
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
47
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
48
|
+
"status"?: number | null;
|
|
49
49
|
}
|
|
50
50
|
/** Backend response type: ActionResponse. */
|
|
51
51
|
export interface ActionActionsCreatePostResponseData extends JsonObject {
|
|
52
52
|
"id": string;
|
|
53
53
|
"name": string;
|
|
54
|
-
"title"?: string;
|
|
55
|
-
"description"?: string;
|
|
56
|
-
"season_id"?: string;
|
|
54
|
+
"title"?: string | null;
|
|
55
|
+
"description"?: string | null;
|
|
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> {
|
|
@@ -68,37 +68,37 @@ export interface ActionActionsDeleteDeleteResponse extends ApiEnvelope<JsonObjec
|
|
|
68
68
|
export interface ActionActionsShowGetResponseData extends JsonObject {
|
|
69
69
|
"id": string;
|
|
70
70
|
"name": string;
|
|
71
|
-
"title"?: string;
|
|
72
|
-
"description"?: string;
|
|
73
|
-
"season_id"?: string;
|
|
71
|
+
"title"?: string | null;
|
|
72
|
+
"description"?: string | null;
|
|
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> {
|
|
80
80
|
}
|
|
81
81
|
/** Backend request type: UpdateActionRequest. */
|
|
82
82
|
export interface ActionActionsUpdatePatchInput extends JsonObject {
|
|
83
|
-
"name"?: string;
|
|
84
|
-
"title"?: string;
|
|
85
|
-
"description"?: string;
|
|
86
|
-
"season_id"?: string;
|
|
87
|
-
"public"?: boolean;
|
|
88
|
-
"criteria"?:
|
|
89
|
-
"achievement_assets"?:
|
|
90
|
-
"status"?: number;
|
|
83
|
+
"name"?: string | null;
|
|
84
|
+
"title"?: string | null;
|
|
85
|
+
"description"?: string | null;
|
|
86
|
+
"season_id"?: string | null;
|
|
87
|
+
"public"?: boolean | null;
|
|
88
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
89
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
90
|
+
"status"?: number | null;
|
|
91
91
|
}
|
|
92
92
|
/** Backend response type: ActionResponse. */
|
|
93
93
|
export interface ActionActionsUpdatePatchResponseData extends JsonObject {
|
|
94
94
|
"id": string;
|
|
95
95
|
"name": string;
|
|
96
|
-
"title"?: string;
|
|
97
|
-
"description"?: string;
|
|
98
|
-
"season_id"?: string;
|
|
96
|
+
"title"?: string | null;
|
|
97
|
+
"description"?: string | null;
|
|
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> {
|
|
@@ -112,31 +112,62 @@ export interface ActionActionsCompletePostInput extends JsonObject {
|
|
|
112
112
|
export interface ActionActionsCompletePostResponseData extends JsonObject {
|
|
113
113
|
"action_log_id": string;
|
|
114
114
|
"action_count": number;
|
|
115
|
-
"grants":
|
|
115
|
+
"grants": BackendJson<"RewardGrant">[];
|
|
116
116
|
}
|
|
117
117
|
export interface ActionActionsCompletePostResponse extends ApiEnvelope<ActionActionsCompletePostResponseData> {
|
|
118
118
|
}
|
|
119
119
|
/** Backend response type: Vec<methods::PlanProduct>. */
|
|
120
120
|
export interface WalletBillingAdminPlanProductsIndexGetResponseItem extends JsonObject {
|
|
121
121
|
"tier": string;
|
|
122
|
+
"name": string;
|
|
123
|
+
"description"?: string | null;
|
|
122
124
|
"price": number;
|
|
125
|
+
"currency": string;
|
|
126
|
+
"duration_days": number;
|
|
123
127
|
"points": number;
|
|
124
128
|
"storage_gb": number;
|
|
129
|
+
"product_id"?: string | null;
|
|
130
|
+
"metadata": JsonValue;
|
|
131
|
+
"status": number;
|
|
125
132
|
}
|
|
126
133
|
export interface WalletBillingAdminPlanProductsIndexGetResponse extends ApiEnvelope<WalletBillingAdminPlanProductsIndexGetResponseItem[]> {
|
|
127
134
|
}
|
|
128
135
|
/** Backend request type: AdminPlanProductBody. */
|
|
129
136
|
export interface WalletBillingAdminPlanProductsUpdatePutInput extends JsonObject {
|
|
137
|
+
"tier": string;
|
|
138
|
+
"name": string;
|
|
139
|
+
"description"?: string | null;
|
|
140
|
+
"price": number;
|
|
141
|
+
"currency"?: string;
|
|
142
|
+
"duration_days": number;
|
|
143
|
+
"points": number;
|
|
144
|
+
"storage_gb": number;
|
|
145
|
+
"product_id"?: string | null;
|
|
146
|
+
"metadata"?: JsonValue;
|
|
147
|
+
"status"?: number;
|
|
130
148
|
}
|
|
131
149
|
/** Backend response type: methods::PlanProduct. */
|
|
132
150
|
export interface WalletBillingAdminPlanProductsUpdatePutResponseData extends JsonObject {
|
|
133
151
|
"tier": string;
|
|
152
|
+
"name": string;
|
|
153
|
+
"description"?: string | null;
|
|
134
154
|
"price": number;
|
|
155
|
+
"currency": string;
|
|
156
|
+
"duration_days": number;
|
|
135
157
|
"points": number;
|
|
136
158
|
"storage_gb": number;
|
|
159
|
+
"product_id"?: string | null;
|
|
160
|
+
"metadata": JsonValue;
|
|
161
|
+
"status": number;
|
|
137
162
|
}
|
|
138
163
|
export interface WalletBillingAdminPlanProductsUpdatePutResponse extends ApiEnvelope<WalletBillingAdminPlanProductsUpdatePutResponseData> {
|
|
139
164
|
}
|
|
165
|
+
/** Backend response type: APIEmptyResponse. */
|
|
166
|
+
export interface WalletBillingAdminPlanProductsDeleteDeleteResponseData extends JsonObject {
|
|
167
|
+
"status": string;
|
|
168
|
+
"message": string;
|
|
169
|
+
}
|
|
170
|
+
export type WalletBillingAdminPlanProductsDeleteDeleteResponse = WalletBillingAdminPlanProductsDeleteDeleteResponseData;
|
|
140
171
|
/** Backend response type: UnitPrices. */
|
|
141
172
|
export interface SandboxBillingAdminPricesGetResponseData extends JsonObject {
|
|
142
173
|
"cpu_millicore_hour": number;
|
|
@@ -164,10 +195,12 @@ export interface SandboxBillingAdminPricesUpdatePutResponse extends ApiEnvelope<
|
|
|
164
195
|
}
|
|
165
196
|
/** Backend query type: AdminSubscriptionListQuery. */
|
|
166
197
|
export interface WalletBillingAdminSubscriptionsIndexGetQuery extends QueryParams {
|
|
198
|
+
"project"?: string | null;
|
|
199
|
+
"profile_id"?: string | null;
|
|
167
200
|
}
|
|
168
201
|
/** Backend response type: SubscriptionListResponse. */
|
|
169
202
|
export interface WalletBillingAdminSubscriptionsIndexGetResponseData extends JsonObject {
|
|
170
|
-
"subscriptions":
|
|
203
|
+
"subscriptions": BackendJson<"SubscriptionDTO">[];
|
|
171
204
|
}
|
|
172
205
|
export interface WalletBillingAdminSubscriptionsIndexGetResponse extends ApiEnvelope<WalletBillingAdminSubscriptionsIndexGetResponseData> {
|
|
173
206
|
}
|
|
@@ -175,23 +208,28 @@ export interface WalletBillingAdminSubscriptionsIndexGetResponse extends ApiEnve
|
|
|
175
208
|
export interface WalletBillingAdminUserPlansIndexGetResponseItem extends JsonObject {
|
|
176
209
|
"profile_id": string;
|
|
177
210
|
"tier": string;
|
|
178
|
-
"expires_at"?: string;
|
|
211
|
+
"expires_at"?: string | null;
|
|
179
212
|
"days_remaining": number;
|
|
180
213
|
"enabled": boolean;
|
|
181
214
|
}
|
|
182
215
|
export interface WalletBillingAdminUserPlansIndexGetResponse extends ApiEnvelope<WalletBillingAdminUserPlansIndexGetResponseItem[]> {
|
|
183
216
|
}
|
|
184
|
-
/** Backend response type:
|
|
185
|
-
export interface
|
|
217
|
+
/** Backend response type: APIEmptyResponse. */
|
|
218
|
+
export interface WalletBillingAdminUserPlanDeleteDeleteResponseData extends JsonObject {
|
|
219
|
+
"status": string;
|
|
220
|
+
"message": string;
|
|
186
221
|
}
|
|
222
|
+
export type WalletBillingAdminUserPlanDeleteDeleteResponse = WalletBillingAdminUserPlanDeleteDeleteResponseData;
|
|
187
223
|
/** Backend request type: AdminUserPlanBody. */
|
|
188
224
|
export interface WalletBillingAdminUserPlanUpdatePutInput extends JsonObject {
|
|
225
|
+
"tier": string;
|
|
226
|
+
"days"?: number;
|
|
189
227
|
}
|
|
190
228
|
/** Backend response type: methods::AdminUserPlan. */
|
|
191
229
|
export interface WalletBillingAdminUserPlanUpdatePutResponseData extends JsonObject {
|
|
192
230
|
"profile_id": string;
|
|
193
231
|
"tier": string;
|
|
194
|
-
"expires_at"?: string;
|
|
232
|
+
"expires_at"?: string | null;
|
|
195
233
|
"days_remaining": number;
|
|
196
234
|
"enabled": boolean;
|
|
197
235
|
}
|
|
@@ -201,7 +239,7 @@ export interface WalletBillingAdminUserPlanUpdatePutResponse extends ApiEnvelope
|
|
|
201
239
|
export interface WalletBillingAdminUserPlanDisablePutResponseData extends JsonObject {
|
|
202
240
|
"profile_id": string;
|
|
203
241
|
"tier": string;
|
|
204
|
-
"expires_at"?: string;
|
|
242
|
+
"expires_at"?: string | null;
|
|
205
243
|
"days_remaining": number;
|
|
206
244
|
"enabled": boolean;
|
|
207
245
|
}
|
|
@@ -209,20 +247,20 @@ export interface WalletBillingAdminUserPlanDisablePutResponse extends ApiEnvelop
|
|
|
209
247
|
}
|
|
210
248
|
/** Backend query type: AssetListQuery. */
|
|
211
249
|
export interface CatalogAssetsIndexGetQuery extends QueryParams {
|
|
212
|
-
"page[number]"?: number;
|
|
213
|
-
"page[size]"?: number;
|
|
214
|
-
"asset_type"?: string;
|
|
215
|
-
"search"?: string;
|
|
250
|
+
"page[number]"?: number | null;
|
|
251
|
+
"page[size]"?: number | null;
|
|
252
|
+
"asset_type"?: string | null;
|
|
253
|
+
"search"?: string | null;
|
|
216
254
|
}
|
|
217
255
|
/** Backend response type: PagedResult<AssetResponse>. */
|
|
218
256
|
export interface CatalogAssetsIndexGetResponseItem extends JsonObject {
|
|
219
257
|
"id": string;
|
|
220
258
|
"name": string;
|
|
221
|
-
"title"?: string;
|
|
222
|
-
"description"?: string;
|
|
259
|
+
"title"?: string | null;
|
|
260
|
+
"description"?: string | null;
|
|
223
261
|
"subject_type": string;
|
|
224
262
|
"metadata": JsonValue;
|
|
225
|
-
"asset_type":
|
|
263
|
+
"asset_type": BackendJson<"AssetType">;
|
|
226
264
|
"max_quantity": number;
|
|
227
265
|
"status": number;
|
|
228
266
|
}
|
|
@@ -241,23 +279,23 @@ export interface CatalogAssetsIndexGetResponse extends ApiEnvelope<CatalogAssets
|
|
|
241
279
|
/** Backend request type: CreateAssetRequest. */
|
|
242
280
|
export interface CatalogAssetsCreatePostInput extends JsonObject {
|
|
243
281
|
"name": string;
|
|
244
|
-
"title"?: string;
|
|
245
|
-
"description"?: string;
|
|
246
|
-
"subject_type"?: string;
|
|
247
|
-
"metadata"?: JsonValue;
|
|
248
|
-
"asset_type":
|
|
249
|
-
"max_quantity"?: number;
|
|
250
|
-
"status"?: number;
|
|
282
|
+
"title"?: string | null;
|
|
283
|
+
"description"?: string | null;
|
|
284
|
+
"subject_type"?: string | null;
|
|
285
|
+
"metadata"?: JsonValue | null;
|
|
286
|
+
"asset_type": BackendJson<"AssetType">;
|
|
287
|
+
"max_quantity"?: number | null;
|
|
288
|
+
"status"?: number | null;
|
|
251
289
|
}
|
|
252
290
|
/** Backend response type: AssetResponse. */
|
|
253
291
|
export interface CatalogAssetsCreatePostResponseData extends JsonObject {
|
|
254
292
|
"id": string;
|
|
255
293
|
"name": string;
|
|
256
|
-
"title"?: string;
|
|
257
|
-
"description"?: string;
|
|
294
|
+
"title"?: string | null;
|
|
295
|
+
"description"?: string | null;
|
|
258
296
|
"subject_type": string;
|
|
259
297
|
"metadata": JsonValue;
|
|
260
|
-
"asset_type":
|
|
298
|
+
"asset_type": BackendJson<"AssetType">;
|
|
261
299
|
"max_quantity": number;
|
|
262
300
|
"status": number;
|
|
263
301
|
}
|
|
@@ -270,11 +308,11 @@ export interface CatalogAssetsDeleteDeleteResponse extends ApiEnvelope<JsonObjec
|
|
|
270
308
|
export interface CatalogAssetsShowGetResponseData extends JsonObject {
|
|
271
309
|
"id": string;
|
|
272
310
|
"name": string;
|
|
273
|
-
"title"?: string;
|
|
274
|
-
"description"?: string;
|
|
311
|
+
"title"?: string | null;
|
|
312
|
+
"description"?: string | null;
|
|
275
313
|
"subject_type": string;
|
|
276
314
|
"metadata": JsonValue;
|
|
277
|
-
"asset_type":
|
|
315
|
+
"asset_type": BackendJson<"AssetType">;
|
|
278
316
|
"max_quantity": number;
|
|
279
317
|
"status": number;
|
|
280
318
|
}
|
|
@@ -282,23 +320,23 @@ export interface CatalogAssetsShowGetResponse extends ApiEnvelope<CatalogAssetsS
|
|
|
282
320
|
}
|
|
283
321
|
/** Backend request type: UpdateAssetRequest. */
|
|
284
322
|
export interface CatalogAssetsUpdatePatchInput extends JsonObject {
|
|
285
|
-
"name"?: string;
|
|
286
|
-
"title"?: string;
|
|
287
|
-
"description"?: string;
|
|
288
|
-
"subject_type"?: string;
|
|
289
|
-
"metadata"?: JsonValue;
|
|
290
|
-
"max_quantity"?: number;
|
|
291
|
-
"status"?: number;
|
|
323
|
+
"name"?: string | null;
|
|
324
|
+
"title"?: string | null;
|
|
325
|
+
"description"?: string | null;
|
|
326
|
+
"subject_type"?: string | null;
|
|
327
|
+
"metadata"?: JsonValue | null;
|
|
328
|
+
"max_quantity"?: number | null;
|
|
329
|
+
"status"?: number | null;
|
|
292
330
|
}
|
|
293
331
|
/** Backend response type: AssetResponse. */
|
|
294
332
|
export interface CatalogAssetsUpdatePatchResponseData extends JsonObject {
|
|
295
333
|
"id": string;
|
|
296
334
|
"name": string;
|
|
297
|
-
"title"?: string;
|
|
298
|
-
"description"?: string;
|
|
335
|
+
"title"?: string | null;
|
|
336
|
+
"description"?: string | null;
|
|
299
337
|
"subject_type": string;
|
|
300
338
|
"metadata": JsonValue;
|
|
301
|
-
"asset_type":
|
|
339
|
+
"asset_type": BackendJson<"AssetType">;
|
|
302
340
|
"max_quantity": number;
|
|
303
341
|
"status": number;
|
|
304
342
|
}
|
|
@@ -312,21 +350,21 @@ export interface BankBankSummaryShowGetResponse extends ApiEnvelope<BankBankSumm
|
|
|
312
350
|
}
|
|
313
351
|
/** Backend query type: BankTransactionListQuery. */
|
|
314
352
|
export interface BankBankTransactionsIndexGetQuery extends QueryParams {
|
|
315
|
-
"page[number]"?: number;
|
|
316
|
-
"page[size]"?: number;
|
|
317
|
-
"profile_id"?: string;
|
|
318
|
-
"bank_transaction_type"?: QueryValue;
|
|
319
|
-
"search"?: string;
|
|
353
|
+
"page[number]"?: number | null;
|
|
354
|
+
"page[size]"?: number | null;
|
|
355
|
+
"profile_id"?: string | null;
|
|
356
|
+
"bank_transaction_type"?: QueryValue | null;
|
|
357
|
+
"search"?: string | null;
|
|
320
358
|
}
|
|
321
359
|
/** Backend response type: PagedResult<BankTransactionResponse>. */
|
|
322
360
|
export interface BankBankTransactionsIndexGetResponseItem extends JsonObject {
|
|
323
361
|
"id": string;
|
|
324
362
|
"profile_id": string;
|
|
325
|
-
"profile_name"?: string;
|
|
363
|
+
"profile_name"?: string | null;
|
|
326
364
|
"bank_id": string;
|
|
327
|
-
"bank_transaction_type":
|
|
365
|
+
"bank_transaction_type": BackendJson<"BankTransctionType">;
|
|
328
366
|
"amount": number;
|
|
329
|
-
"metadata":
|
|
367
|
+
"metadata": BackendJson<"Json">;
|
|
330
368
|
"status": number;
|
|
331
369
|
"created_at": string;
|
|
332
370
|
"profile_deposit_total": number;
|
|
@@ -347,43 +385,43 @@ export interface BankBankTransactionsIndexGetResponse extends ApiEnvelope<BankBa
|
|
|
347
385
|
export interface BankBankTransactionsCreatePostInput extends JsonObject {
|
|
348
386
|
"amount": number;
|
|
349
387
|
"profile_id": string;
|
|
350
|
-
"bank_id"?: string;
|
|
351
|
-
"metadata"?:
|
|
388
|
+
"bank_id"?: string | null;
|
|
389
|
+
"metadata"?: BackendJson<"Json"> | null;
|
|
352
390
|
}
|
|
353
391
|
/** Backend response type: entity::bank_transaction::Model. */
|
|
354
392
|
export interface BankBankTransactionsCreatePostResponseData extends JsonObject {
|
|
355
393
|
"id": string;
|
|
356
394
|
"name": string;
|
|
357
|
-
"title"?: string;
|
|
358
|
-
"description"?: string;
|
|
359
|
-
"season_id"?: string;
|
|
395
|
+
"title"?: string | null;
|
|
396
|
+
"description"?: string | null;
|
|
397
|
+
"season_id"?: string | null;
|
|
360
398
|
"public": boolean;
|
|
361
|
-
"criteria"?:
|
|
362
|
-
"achievement_assets"?:
|
|
399
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
400
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
363
401
|
"status": number;
|
|
364
402
|
"created_at": string;
|
|
365
|
-
"updated_at"?: string;
|
|
366
|
-
"deleted_at"?: string;
|
|
403
|
+
"updated_at"?: string | null;
|
|
404
|
+
"deleted_at"?: string | null;
|
|
367
405
|
}
|
|
368
406
|
export interface BankBankTransactionsCreatePostResponse extends ApiEnvelope<BankBankTransactionsCreatePostResponseData> {
|
|
369
407
|
}
|
|
370
408
|
/** Backend response type: crate::charge::models::ChargeSettingsResponse. */
|
|
371
409
|
export interface ChargeChargeSettingsShowGetResponseData extends JsonObject {
|
|
372
|
-
"id":
|
|
373
|
-
"mapping_rules":
|
|
410
|
+
"id": BackendJson<"uuid::Uuid">;
|
|
411
|
+
"mapping_rules": BackendJson<"ChargeMappingRules">;
|
|
374
412
|
"status": number;
|
|
375
413
|
}
|
|
376
414
|
export interface ChargeChargeSettingsShowGetResponse extends ApiEnvelope<ChargeChargeSettingsShowGetResponseData> {
|
|
377
415
|
}
|
|
378
416
|
/** Backend request type: UpdateChargeSettingsRequest. */
|
|
379
417
|
export interface ChargeChargeSettingsUpdatePatchInput extends JsonObject {
|
|
380
|
-
"mapping_rules":
|
|
381
|
-
"status"?: number;
|
|
418
|
+
"mapping_rules": BackendJson<"ChargeMappingRules">;
|
|
419
|
+
"status"?: number | null;
|
|
382
420
|
}
|
|
383
421
|
/** Backend response type: crate::charge::models::ChargeSettingsResponse. */
|
|
384
422
|
export interface ChargeChargeSettingsUpdatePatchResponseData extends JsonObject {
|
|
385
|
-
"id":
|
|
386
|
-
"mapping_rules":
|
|
423
|
+
"id": BackendJson<"uuid::Uuid">;
|
|
424
|
+
"mapping_rules": BackendJson<"ChargeMappingRules">;
|
|
387
425
|
"status": number;
|
|
388
426
|
}
|
|
389
427
|
export interface ChargeChargeSettingsUpdatePatchResponse extends ApiEnvelope<ChargeChargeSettingsUpdatePatchResponseData> {
|
|
@@ -402,8 +440,8 @@ export interface BankCoinSettingsShowGetResponse extends ApiEnvelope<BankCoinSet
|
|
|
402
440
|
}
|
|
403
441
|
/** Backend request type: UpdateCoinSettingsRequest. */
|
|
404
442
|
export interface BankCoinSettingsUpdatePatchInput extends JsonObject {
|
|
405
|
-
"total_coins"?: number;
|
|
406
|
-
"allocation_percent"?: number;
|
|
443
|
+
"total_coins"?: number | null;
|
|
444
|
+
"allocation_percent"?: number | null;
|
|
407
445
|
}
|
|
408
446
|
/** Backend response type: CoinSettingsResponse. */
|
|
409
447
|
export interface BankCoinSettingsUpdatePatchResponseData extends JsonObject {
|
|
@@ -419,7 +457,7 @@ export interface BankCoinSettingsUpdatePatchResponse extends ApiEnvelope<BankCoi
|
|
|
419
457
|
}
|
|
420
458
|
/** Backend query type: DashboardQuery. */
|
|
421
459
|
export interface DashboardDashboardShowGetQuery extends QueryParams {
|
|
422
|
-
"month"?: string;
|
|
460
|
+
"month"?: string | null;
|
|
423
461
|
}
|
|
424
462
|
/** Backend response type: DashboardResponse. */
|
|
425
463
|
export interface DashboardDashboardShowGetResponseData extends JsonObject {
|
|
@@ -437,26 +475,26 @@ export interface DashboardDashboardShowGetResponse extends ApiEnvelope<Dashboard
|
|
|
437
475
|
}
|
|
438
476
|
/** Backend response type: crate::integration::models::IntegrationDocsResponse. */
|
|
439
477
|
export interface IntegrationIntegrationDocsShowGetResponseData extends JsonObject {
|
|
440
|
-
"direct":
|
|
441
|
-
"sdk":
|
|
478
|
+
"direct": BackendJson<"DirectIntegrationMeta">;
|
|
479
|
+
"sdk": BackendJson<"SdkIntegrationSnippet">[];
|
|
442
480
|
}
|
|
443
481
|
export interface IntegrationIntegrationDocsShowGetResponse extends ApiEnvelope<IntegrationIntegrationDocsShowGetResponseData> {
|
|
444
482
|
}
|
|
445
483
|
/** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
|
|
446
|
-
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<
|
|
484
|
+
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<BackendJson<"infera_flow_sdk::FlowIntegrationResponse">> {
|
|
447
485
|
}
|
|
448
486
|
/** Backend response type: crate::integration::models::RabbitMqIntegrationResponse. */
|
|
449
487
|
export interface IntegrationRabbitmqIntegrationShowGetResponseData extends JsonObject {
|
|
450
488
|
"queue": string;
|
|
451
489
|
"broker_url_hint": string;
|
|
452
490
|
"sample_profile_id": string;
|
|
453
|
-
"events":
|
|
491
|
+
"events": BackendJson<"IntegrationEventMeta">[];
|
|
454
492
|
}
|
|
455
493
|
export interface IntegrationRabbitmqIntegrationShowGetResponse extends ApiEnvelope<IntegrationRabbitmqIntegrationShowGetResponseData> {
|
|
456
494
|
}
|
|
457
495
|
/** Backend response type: PlanListResponse. */
|
|
458
496
|
export interface LlmUsagePlansIndexGetResponseData extends JsonObject {
|
|
459
|
-
"plans":
|
|
497
|
+
"plans": BackendJson<"PlanResponse">[];
|
|
460
498
|
}
|
|
461
499
|
export interface LlmUsagePlansIndexGetResponse extends ApiEnvelope<LlmUsagePlansIndexGetResponseData> {
|
|
462
500
|
}
|
|
@@ -464,7 +502,7 @@ export interface LlmUsagePlansIndexGetResponse extends ApiEnvelope<LlmUsagePlans
|
|
|
464
502
|
export interface LlmUsagePlanShowGetResponseData extends JsonObject {
|
|
465
503
|
"profile_id": string;
|
|
466
504
|
"tier": string;
|
|
467
|
-
"expires_at"?: string;
|
|
505
|
+
"expires_at"?: string | null;
|
|
468
506
|
"plan_points": number;
|
|
469
507
|
"created_at": string;
|
|
470
508
|
"updated_at": string;
|
|
@@ -479,7 +517,7 @@ export interface LlmUsagePlanSetPutInput extends JsonObject {
|
|
|
479
517
|
export interface LlmUsagePlanSetPutResponseData extends JsonObject {
|
|
480
518
|
"profile_id": string;
|
|
481
519
|
"tier": string;
|
|
482
|
-
"expires_at"?: string;
|
|
520
|
+
"expires_at"?: string | null;
|
|
483
521
|
"plan_points": number;
|
|
484
522
|
"created_at": string;
|
|
485
523
|
"updated_at": string;
|
|
@@ -489,62 +527,136 @@ export interface LlmUsagePlanSetPutResponse extends ApiEnvelope<LlmUsagePlanSetP
|
|
|
489
527
|
/** Backend response type: crate::wallet::models::UserWalletResponse. */
|
|
490
528
|
export interface WalletMeAssetsShowGetResponseData extends JsonObject {
|
|
491
529
|
"profile_id": string;
|
|
492
|
-
"coin":
|
|
493
|
-
"xp":
|
|
494
|
-
"charge":
|
|
495
|
-
"gems":
|
|
496
|
-
"badges":
|
|
497
|
-
"max_charge"?: number;
|
|
498
|
-
"recharge_period"?: number;
|
|
499
|
-
"xp_to_next_rank"?: number;
|
|
530
|
+
"coin": BackendJson<"WalletAssetBalance">;
|
|
531
|
+
"xp": BackendJson<"WalletAssetBalance">;
|
|
532
|
+
"charge": BackendJson<"WalletAssetBalance">;
|
|
533
|
+
"gems": BackendJson<"WalletAssetBalance">[];
|
|
534
|
+
"badges": BackendJson<"WalletBadgeBalance">[];
|
|
535
|
+
"max_charge"?: number | null;
|
|
536
|
+
"recharge_period"?: number | null;
|
|
537
|
+
"xp_to_next_rank"?: number | null;
|
|
500
538
|
}
|
|
501
539
|
export interface WalletMeAssetsShowGetResponse extends ApiEnvelope<WalletMeAssetsShowGetResponseData> {
|
|
502
540
|
}
|
|
503
541
|
/** Backend query type: SubjectBadgeQuery. */
|
|
504
542
|
export interface WalletMeBadgesShowGetQuery extends QueryParams {
|
|
543
|
+
"subject_type"?: string | null;
|
|
544
|
+
"subject_id"?: string | null;
|
|
505
545
|
}
|
|
506
546
|
/** Backend response type: crate::wallet::models::SubjectBadgesResponse. */
|
|
507
547
|
export interface WalletMeBadgesShowGetResponseData extends JsonObject {
|
|
508
548
|
"profile_id": string;
|
|
509
549
|
"subject_type": string;
|
|
510
|
-
"subject_id"?: string;
|
|
511
|
-
"badges":
|
|
550
|
+
"subject_id"?: string | null;
|
|
551
|
+
"badges": BackendJson<"WalletBadgeBalance">[];
|
|
512
552
|
}
|
|
513
553
|
export interface WalletMeBadgesShowGetResponse extends ApiEnvelope<WalletMeBadgesShowGetResponseData> {
|
|
514
554
|
}
|
|
515
555
|
/** Backend query type: UsageQuery. */
|
|
516
556
|
export interface WalletMeLlmUsageGetQuery extends QueryParams {
|
|
557
|
+
"range"?: string | null;
|
|
517
558
|
}
|
|
518
559
|
/** Backend response type: crate::llm_usage::models::UsageSummary. */
|
|
519
560
|
export interface WalletMeLlmUsageGetResponseData extends JsonObject {
|
|
520
561
|
"currency": string;
|
|
521
562
|
"range": string;
|
|
522
|
-
"chart":
|
|
523
|
-
"buckets":
|
|
524
|
-
"last_24_hours":
|
|
525
|
-
"range_totals":
|
|
563
|
+
"chart": BackendJson<"UsageBucket">[];
|
|
564
|
+
"buckets": BackendJson<"UsageBucket">[];
|
|
565
|
+
"last_24_hours": BackendJson<"UsageTotals">;
|
|
566
|
+
"range_totals": BackendJson<"UsageTotals">;
|
|
526
567
|
}
|
|
527
568
|
export interface WalletMeLlmUsageGetResponse extends ApiEnvelope<WalletMeLlmUsageGetResponseData> {
|
|
528
569
|
}
|
|
529
570
|
/** Backend query type: TxQuery. */
|
|
530
571
|
export interface WalletMeTransactionsGetQuery extends QueryParams {
|
|
572
|
+
"ref_type"?: string | null;
|
|
573
|
+
"exclude_ref_type"?: string | null;
|
|
574
|
+
"page"?: number | null;
|
|
575
|
+
"page_size"?: number | null;
|
|
576
|
+
"from"?: string | null;
|
|
577
|
+
"to"?: string | null;
|
|
578
|
+
"rollup_usage_daily"?: boolean | null;
|
|
579
|
+
"tz_offset_minutes"?: number | null;
|
|
531
580
|
}
|
|
532
581
|
/** Backend response type: TxPage. */
|
|
533
|
-
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 {
|
|
592
|
+
"id": string;
|
|
593
|
+
"name": string;
|
|
594
|
+
"title"?: string | null;
|
|
595
|
+
"description"?: string | null;
|
|
596
|
+
"season_id"?: string | null;
|
|
597
|
+
"public": boolean;
|
|
598
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
599
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
600
|
+
"status": number;
|
|
601
|
+
"created_at": string;
|
|
602
|
+
"updated_at"?: string | null;
|
|
603
|
+
"deleted_at"?: string | null;
|
|
604
|
+
}
|
|
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">[];
|
|
618
|
+
"total": number;
|
|
619
|
+
"page": number;
|
|
620
|
+
"page_size": number;
|
|
621
|
+
}
|
|
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> {
|
|
534
639
|
}
|
|
535
640
|
/** Backend response type: Vec<methods::PlanProduct>. */
|
|
536
641
|
export interface WalletBillingPlansIndexGetResponseItem extends JsonObject {
|
|
537
642
|
"tier": string;
|
|
643
|
+
"name": string;
|
|
644
|
+
"description"?: string | null;
|
|
538
645
|
"price": number;
|
|
646
|
+
"currency": string;
|
|
647
|
+
"duration_days": number;
|
|
539
648
|
"points": number;
|
|
540
649
|
"storage_gb": number;
|
|
650
|
+
"product_id"?: string | null;
|
|
651
|
+
"metadata": JsonValue;
|
|
652
|
+
"status": number;
|
|
541
653
|
}
|
|
542
654
|
export interface WalletBillingPlansIndexGetResponse extends ApiEnvelope<WalletBillingPlansIndexGetResponseItem[]> {
|
|
543
655
|
}
|
|
544
656
|
/** Backend response type: methods::CurrentPlan. */
|
|
545
657
|
export interface WalletBillingCurrentPlanGetResponseData extends JsonObject {
|
|
546
658
|
"tier": string;
|
|
547
|
-
"expires_at"?: string;
|
|
659
|
+
"expires_at"?: string | null;
|
|
548
660
|
"days_remaining": number;
|
|
549
661
|
"renewal_allowed": boolean;
|
|
550
662
|
}
|
|
@@ -552,6 +664,7 @@ export interface WalletBillingCurrentPlanGetResponse extends ApiEnvelope<WalletB
|
|
|
552
664
|
}
|
|
553
665
|
/** Backend request type: PlanPurchaseBody. */
|
|
554
666
|
export interface WalletBillingPlansPurchasePostInput extends JsonObject {
|
|
667
|
+
"tier": string;
|
|
555
668
|
}
|
|
556
669
|
/** Backend response type: PurchaseInitResponse. */
|
|
557
670
|
export interface WalletBillingPlansPurchasePostResponseData extends JsonObject {
|
|
@@ -570,6 +683,8 @@ export interface WalletBillingPointsPacksIndexGetResponse extends ApiEnvelope<Wa
|
|
|
570
683
|
}
|
|
571
684
|
/** Backend request type: PackPurchaseBody. */
|
|
572
685
|
export interface WalletBillingPointsPacksPurchasePostInput extends JsonObject {
|
|
686
|
+
"pack_id"?: string | null;
|
|
687
|
+
"points"?: number | null;
|
|
573
688
|
}
|
|
574
689
|
/** Backend response type: PurchaseInitResponse. */
|
|
575
690
|
export interface WalletBillingPointsPacksPurchasePostResponseData extends JsonObject {
|
|
@@ -580,16 +695,16 @@ export interface WalletBillingPointsPacksPurchasePostResponse extends ApiEnvelop
|
|
|
580
695
|
}
|
|
581
696
|
/** Backend query type: RankListQuery. */
|
|
582
697
|
export interface RankRanksIndexGetQuery extends QueryParams {
|
|
583
|
-
"page[number]"?: number;
|
|
584
|
-
"page[size]"?: number;
|
|
585
|
-
"search"?: string;
|
|
698
|
+
"page[number]"?: number | null;
|
|
699
|
+
"page[size]"?: number | null;
|
|
700
|
+
"search"?: string | null;
|
|
586
701
|
}
|
|
587
702
|
/** Backend response type: PagedResult<RankResponse>. */
|
|
588
703
|
export interface RankRanksIndexGetResponseItem extends JsonObject {
|
|
589
704
|
"id": string;
|
|
590
705
|
"name": string;
|
|
591
|
-
"title"?: string;
|
|
592
|
-
"description"?: string;
|
|
706
|
+
"title"?: string | null;
|
|
707
|
+
"description"?: string | null;
|
|
593
708
|
"min_xp": number;
|
|
594
709
|
"status": number;
|
|
595
710
|
}
|
|
@@ -608,17 +723,17 @@ export interface RankRanksIndexGetResponse extends ApiEnvelope<RankRanksIndexGet
|
|
|
608
723
|
/** Backend request type: CreateRankRequest. */
|
|
609
724
|
export interface RankRanksCreatePostInput extends JsonObject {
|
|
610
725
|
"name": string;
|
|
611
|
-
"title"?: string;
|
|
612
|
-
"description"?: string;
|
|
726
|
+
"title"?: string | null;
|
|
727
|
+
"description"?: string | null;
|
|
613
728
|
"min_xp": number;
|
|
614
|
-
"status"?: number;
|
|
729
|
+
"status"?: number | null;
|
|
615
730
|
}
|
|
616
731
|
/** Backend response type: RankResponse. */
|
|
617
732
|
export interface RankRanksCreatePostResponseData extends JsonObject {
|
|
618
733
|
"id": string;
|
|
619
734
|
"name": string;
|
|
620
|
-
"title"?: string;
|
|
621
|
-
"description"?: string;
|
|
735
|
+
"title"?: string | null;
|
|
736
|
+
"description"?: string | null;
|
|
622
737
|
"min_xp": number;
|
|
623
738
|
"status": number;
|
|
624
739
|
}
|
|
@@ -631,8 +746,8 @@ export interface RankRanksDeleteDeleteResponse extends ApiEnvelope<JsonObject> {
|
|
|
631
746
|
export interface RankRanksShowGetResponseData extends JsonObject {
|
|
632
747
|
"id": string;
|
|
633
748
|
"name": string;
|
|
634
|
-
"title"?: string;
|
|
635
|
-
"description"?: string;
|
|
749
|
+
"title"?: string | null;
|
|
750
|
+
"description"?: string | null;
|
|
636
751
|
"min_xp": number;
|
|
637
752
|
"status": number;
|
|
638
753
|
}
|
|
@@ -640,42 +755,45 @@ export interface RankRanksShowGetResponse extends ApiEnvelope<RankRanksShowGetRe
|
|
|
640
755
|
}
|
|
641
756
|
/** Backend request type: UpdateRankRequest. */
|
|
642
757
|
export interface RankRanksUpdatePatchInput extends JsonObject {
|
|
643
|
-
"name"?: string;
|
|
644
|
-
"title"?: string;
|
|
645
|
-
"description"?: string;
|
|
646
|
-
"min_xp"?: number;
|
|
647
|
-
"status"?: number;
|
|
758
|
+
"name"?: string | null;
|
|
759
|
+
"title"?: string | null;
|
|
760
|
+
"description"?: string | null;
|
|
761
|
+
"min_xp"?: number | null;
|
|
762
|
+
"status"?: number | null;
|
|
648
763
|
}
|
|
649
764
|
/** Backend response type: RankResponse. */
|
|
650
765
|
export interface RankRanksUpdatePatchResponseData extends JsonObject {
|
|
651
766
|
"id": string;
|
|
652
767
|
"name": string;
|
|
653
|
-
"title"?: string;
|
|
654
|
-
"description"?: string;
|
|
768
|
+
"title"?: string | null;
|
|
769
|
+
"description"?: string | null;
|
|
655
770
|
"min_xp": number;
|
|
656
771
|
"status": number;
|
|
657
772
|
}
|
|
658
773
|
export interface RankRanksUpdatePatchResponse extends ApiEnvelope<RankRanksUpdatePatchResponseData> {
|
|
659
774
|
}
|
|
660
|
-
/** Backend response type:
|
|
661
|
-
export interface
|
|
775
|
+
/** Backend response type: APIEmptyResponse. */
|
|
776
|
+
export interface SandboxBillingPurgeDeleteResponseData extends JsonObject {
|
|
777
|
+
"status": string;
|
|
778
|
+
"message": string;
|
|
662
779
|
}
|
|
780
|
+
export type SandboxBillingPurgeDeleteResponse = SandboxBillingPurgeDeleteResponseData;
|
|
663
781
|
/** Backend response type: AllocationView. */
|
|
664
782
|
export interface SandboxBillingShowGetResponseData extends JsonObject {
|
|
665
783
|
"id": string;
|
|
666
784
|
"name": string;
|
|
667
|
-
"title"?: string;
|
|
668
|
-
"description"?: string;
|
|
669
|
-
"season_id"?: string;
|
|
785
|
+
"title"?: string | null;
|
|
786
|
+
"description"?: string | null;
|
|
787
|
+
"season_id"?: string | null;
|
|
670
788
|
"public": boolean;
|
|
671
|
-
"criteria"?:
|
|
672
|
-
"achievement_assets"?:
|
|
789
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
790
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
673
791
|
"status": number;
|
|
674
792
|
"created_at": string;
|
|
675
|
-
"updated_at"?: string;
|
|
676
|
-
"deleted_at"?: string;
|
|
677
|
-
"price":
|
|
678
|
-
"unit_prices":
|
|
793
|
+
"updated_at"?: string | null;
|
|
794
|
+
"deleted_at"?: string | null;
|
|
795
|
+
"price": BackendJson<"PriceBreakdown">;
|
|
796
|
+
"unit_prices": BackendJson<"UnitPrices">;
|
|
679
797
|
"currency": string;
|
|
680
798
|
"hourly_price": number;
|
|
681
799
|
"daily_estimate": number;
|
|
@@ -686,7 +804,7 @@ export interface SandboxBillingShowGetResponse extends ApiEnvelope<SandboxBillin
|
|
|
686
804
|
}
|
|
687
805
|
/** Backend request type: AllocationInput. */
|
|
688
806
|
export interface SandboxBillingUpdatePutInput extends JsonObject {
|
|
689
|
-
"bundle_id"?: string;
|
|
807
|
+
"bundle_id"?: string | null;
|
|
690
808
|
"cpu_millicores": number;
|
|
691
809
|
"ram_mb": number;
|
|
692
810
|
"database_storage_mb": number;
|
|
@@ -697,18 +815,18 @@ export interface SandboxBillingUpdatePutInput extends JsonObject {
|
|
|
697
815
|
export interface SandboxBillingUpdatePutResponseData extends JsonObject {
|
|
698
816
|
"id": string;
|
|
699
817
|
"name": string;
|
|
700
|
-
"title"?: string;
|
|
701
|
-
"description"?: string;
|
|
702
|
-
"season_id"?: string;
|
|
818
|
+
"title"?: string | null;
|
|
819
|
+
"description"?: string | null;
|
|
820
|
+
"season_id"?: string | null;
|
|
703
821
|
"public": boolean;
|
|
704
|
-
"criteria"?:
|
|
705
|
-
"achievement_assets"?:
|
|
822
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
823
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
706
824
|
"status": number;
|
|
707
825
|
"created_at": string;
|
|
708
|
-
"updated_at"?: string;
|
|
709
|
-
"deleted_at"?: string;
|
|
710
|
-
"price":
|
|
711
|
-
"unit_prices":
|
|
826
|
+
"updated_at"?: string | null;
|
|
827
|
+
"deleted_at"?: string | null;
|
|
828
|
+
"price": BackendJson<"PriceBreakdown">;
|
|
829
|
+
"unit_prices": BackendJson<"UnitPrices">;
|
|
712
830
|
"currency": string;
|
|
713
831
|
"hourly_price": number;
|
|
714
832
|
"daily_estimate": number;
|
|
@@ -721,18 +839,18 @@ export interface SandboxBillingUpdatePutResponse extends ApiEnvelope<SandboxBill
|
|
|
721
839
|
export interface SandboxBillingPausePostResponseData extends JsonObject {
|
|
722
840
|
"id": string;
|
|
723
841
|
"name": string;
|
|
724
|
-
"title"?: string;
|
|
725
|
-
"description"?: string;
|
|
726
|
-
"season_id"?: string;
|
|
842
|
+
"title"?: string | null;
|
|
843
|
+
"description"?: string | null;
|
|
844
|
+
"season_id"?: string | null;
|
|
727
845
|
"public": boolean;
|
|
728
|
-
"criteria"?:
|
|
729
|
-
"achievement_assets"?:
|
|
846
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
847
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
730
848
|
"status": number;
|
|
731
849
|
"created_at": string;
|
|
732
|
-
"updated_at"?: string;
|
|
733
|
-
"deleted_at"?: string;
|
|
734
|
-
"price":
|
|
735
|
-
"unit_prices":
|
|
850
|
+
"updated_at"?: string | null;
|
|
851
|
+
"deleted_at"?: string | null;
|
|
852
|
+
"price": BackendJson<"PriceBreakdown">;
|
|
853
|
+
"unit_prices": BackendJson<"UnitPrices">;
|
|
736
854
|
"currency": string;
|
|
737
855
|
"hourly_price": number;
|
|
738
856
|
"daily_estimate": number;
|
|
@@ -745,18 +863,18 @@ export interface SandboxBillingPausePostResponse extends ApiEnvelope<SandboxBill
|
|
|
745
863
|
export interface SandboxBillingResumePostResponseData extends JsonObject {
|
|
746
864
|
"id": string;
|
|
747
865
|
"name": string;
|
|
748
|
-
"title"?: string;
|
|
749
|
-
"description"?: string;
|
|
750
|
-
"season_id"?: string;
|
|
866
|
+
"title"?: string | null;
|
|
867
|
+
"description"?: string | null;
|
|
868
|
+
"season_id"?: string | null;
|
|
751
869
|
"public": boolean;
|
|
752
|
-
"criteria"?:
|
|
753
|
-
"achievement_assets"?:
|
|
870
|
+
"criteria"?: BackendJson<"Json"> | null;
|
|
871
|
+
"achievement_assets"?: BackendJson<"Json"> | null;
|
|
754
872
|
"status": number;
|
|
755
873
|
"created_at": string;
|
|
756
|
-
"updated_at"?: string;
|
|
757
|
-
"deleted_at"?: string;
|
|
758
|
-
"price":
|
|
759
|
-
"unit_prices":
|
|
874
|
+
"updated_at"?: string | null;
|
|
875
|
+
"deleted_at"?: string | null;
|
|
876
|
+
"price": BackendJson<"PriceBreakdown">;
|
|
877
|
+
"unit_prices": BackendJson<"UnitPrices">;
|
|
760
878
|
"currency": string;
|
|
761
879
|
"hourly_price": number;
|
|
762
880
|
"daily_estimate": number;
|
|
@@ -767,34 +885,55 @@ export interface SandboxBillingResumePostResponse extends ApiEnvelope<SandboxBil
|
|
|
767
885
|
}
|
|
768
886
|
/** Backend query type: SubscriptionListQuery. */
|
|
769
887
|
export interface WalletBillingSubscriptionsIndexGetQuery extends QueryParams {
|
|
770
|
-
"project"?: string;
|
|
888
|
+
"project"?: string | null;
|
|
771
889
|
}
|
|
772
890
|
/** Backend response type: SubscriptionListResponse. */
|
|
773
891
|
export interface WalletBillingSubscriptionsIndexGetResponseData extends JsonObject {
|
|
774
|
-
"subscriptions":
|
|
892
|
+
"subscriptions": BackendJson<"SubscriptionDTO">[];
|
|
775
893
|
}
|
|
776
894
|
export interface WalletBillingSubscriptionsIndexGetResponse extends ApiEnvelope<WalletBillingSubscriptionsIndexGetResponseData> {
|
|
777
895
|
}
|
|
778
|
-
/** Backend response type:
|
|
779
|
-
export interface
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
/** Backend response type:
|
|
785
|
-
export interface
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
/** Backend response type:
|
|
791
|
-
export interface
|
|
792
|
-
|
|
896
|
+
/** Backend response type: APIEmptyResponse. */
|
|
897
|
+
export interface WalletBillingSubscriptionsCancelPostResponseData extends JsonObject {
|
|
898
|
+
"status": string;
|
|
899
|
+
"message": string;
|
|
900
|
+
}
|
|
901
|
+
export type WalletBillingSubscriptionsCancelPostResponse = WalletBillingSubscriptionsCancelPostResponseData;
|
|
902
|
+
/** Backend response type: APIEmptyResponse. */
|
|
903
|
+
export interface ServiceLifecycleDeletePermanentlyDeleteResponseData extends JsonObject {
|
|
904
|
+
"status": string;
|
|
905
|
+
"message": string;
|
|
906
|
+
}
|
|
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;
|
|
914
|
+
}
|
|
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;
|
|
922
|
+
}
|
|
923
|
+
export type ServiceLifecycleRemovePostResponse = ServiceLifecycleRemovePostResponseData;
|
|
924
|
+
/** Backend response type: ServiceLifecycleView. */
|
|
925
|
+
export interface ServiceLifecycleResumePostResponseData extends JsonObject {
|
|
926
|
+
"service_name": string;
|
|
927
|
+
"status": string;
|
|
928
|
+
"paused_at"?: string | null;
|
|
929
|
+
"purge_at"?: string | null;
|
|
930
|
+
}
|
|
931
|
+
export type ServiceLifecycleResumePostResponse = ServiceLifecycleResumePostResponseData;
|
|
793
932
|
/** Backend request type: SubscriptionPurchaseRequest. */
|
|
794
933
|
export interface WalletBillingSubscriptionsPurchasePostInput extends JsonObject {
|
|
795
934
|
"project": string;
|
|
796
|
-
"items":
|
|
797
|
-
"currency"?: string;
|
|
935
|
+
"items": BackendJson<"SubscriptionItemRequest">[];
|
|
936
|
+
"currency"?: string | null;
|
|
798
937
|
}
|
|
799
938
|
/** Backend response type: PurchaseInitResponse. */
|
|
800
939
|
export interface WalletBillingSubscriptionsPurchasePostResponseData extends JsonObject {
|
|
@@ -805,21 +944,21 @@ export interface WalletBillingSubscriptionsPurchasePostResponse extends ApiEnvel
|
|
|
805
944
|
}
|
|
806
945
|
/** Backend query type: LogListQuery. */
|
|
807
946
|
export interface LogsUserActionLogsIndexGetQuery extends QueryParams {
|
|
808
|
-
"page[number]"?: number;
|
|
809
|
-
"page[size]"?: number;
|
|
810
|
-
"profile_id"?: string;
|
|
811
|
-
"action_id"?: string;
|
|
812
|
-
"asset_id"?: string;
|
|
813
|
-
"from"?: string;
|
|
814
|
-
"to"?: string;
|
|
815
|
-
"search"?: string;
|
|
947
|
+
"page[number]"?: number | null;
|
|
948
|
+
"page[size]"?: number | null;
|
|
949
|
+
"profile_id"?: string | null;
|
|
950
|
+
"action_id"?: string | null;
|
|
951
|
+
"asset_id"?: string | null;
|
|
952
|
+
"from"?: string | null;
|
|
953
|
+
"to"?: string | null;
|
|
954
|
+
"search"?: string | null;
|
|
816
955
|
}
|
|
817
956
|
/** Backend response type: crate::models::PagedResult<crate::logs::models::UserActionLogResponse>. */
|
|
818
957
|
export interface LogsUserActionLogsIndexGetResponseItem extends JsonObject {
|
|
819
958
|
"id": string;
|
|
820
959
|
"profile_id": string;
|
|
821
960
|
"action_id": string;
|
|
822
|
-
"action_name"?: string;
|
|
961
|
+
"action_name"?: string | null;
|
|
823
962
|
"status": number;
|
|
824
963
|
"created_at": string;
|
|
825
964
|
}
|
|
@@ -837,14 +976,14 @@ export interface LogsUserActionLogsIndexGetResponse extends ApiEnvelope<LogsUser
|
|
|
837
976
|
}
|
|
838
977
|
/** Backend query type: LogListQuery. */
|
|
839
978
|
export interface LogsUserAssetLogsIndexGetQuery extends QueryParams {
|
|
840
|
-
"page[number]"?: number;
|
|
841
|
-
"page[size]"?: number;
|
|
842
|
-
"profile_id"?: string;
|
|
843
|
-
"action_id"?: string;
|
|
844
|
-
"asset_id"?: string;
|
|
845
|
-
"from"?: string;
|
|
846
|
-
"to"?: string;
|
|
847
|
-
"search"?: string;
|
|
979
|
+
"page[number]"?: number | null;
|
|
980
|
+
"page[size]"?: number | null;
|
|
981
|
+
"profile_id"?: string | null;
|
|
982
|
+
"action_id"?: string | null;
|
|
983
|
+
"asset_id"?: string | null;
|
|
984
|
+
"from"?: string | null;
|
|
985
|
+
"to"?: string | null;
|
|
986
|
+
"search"?: string | null;
|
|
848
987
|
}
|
|
849
988
|
/** Backend response type: crate::models::PagedResult<crate::logs::models::UserAssetLogResponse>. */
|
|
850
989
|
export interface LogsUserAssetLogsIndexGetResponseItem extends JsonObject {
|
|
@@ -852,8 +991,8 @@ export interface LogsUserAssetLogsIndexGetResponseItem extends JsonObject {
|
|
|
852
991
|
"profile_id": string;
|
|
853
992
|
"action_id": string;
|
|
854
993
|
"asset_id": string;
|
|
855
|
-
"action_name"?: string;
|
|
856
|
-
"asset_name"?: string;
|
|
994
|
+
"action_name"?: string | null;
|
|
995
|
+
"asset_name"?: string | null;
|
|
857
996
|
"quantity": number;
|
|
858
997
|
"transaction_type": string;
|
|
859
998
|
"created_at": string;
|
|
@@ -881,7 +1020,7 @@ export interface WalletBillingWalletShowGetResponse extends ApiEnvelope<WalletBi
|
|
|
881
1020
|
/** Backend request type: TopupRequest. */
|
|
882
1021
|
export interface WalletBillingWalletTopupPostInput extends JsonObject {
|
|
883
1022
|
"amount": number;
|
|
884
|
-
"currency"?: string;
|
|
1023
|
+
"currency"?: string | null;
|
|
885
1024
|
}
|
|
886
1025
|
/** Backend response type: PurchaseInitResponse. */
|
|
887
1026
|
export interface WalletBillingWalletTopupPostResponseData extends JsonObject {
|