@faiber/faiber-asset 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/operations.d.ts +530 -66
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +532 -66
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +545 -199
- 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 +2 -2
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import type { ApiEnvelope, 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: response
|
|
3
|
+
/** Backend response type: handler-defined response. */
|
|
4
4
|
export interface RouterStatusRouteGetResponse extends ApiEnvelope<JsonValue> {
|
|
5
5
|
}
|
|
6
|
-
/** Backend response type: response
|
|
6
|
+
/** Backend response type: handler-defined response. */
|
|
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
23
|
"criteria": JsonValue;
|
|
24
24
|
"achievement_assets": JsonValue;
|
|
@@ -39,21 +39,21 @@ 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"?: JsonValue;
|
|
47
|
-
"achievement_assets"?: JsonValue;
|
|
48
|
-
"status"?: number;
|
|
42
|
+
"title"?: string | null;
|
|
43
|
+
"description"?: string | null;
|
|
44
|
+
"season_id"?: string | null;
|
|
45
|
+
"public"?: boolean | null;
|
|
46
|
+
"criteria"?: JsonValue | null;
|
|
47
|
+
"achievement_assets"?: JsonValue | 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
58
|
"criteria": JsonValue;
|
|
59
59
|
"achievement_assets": JsonValue;
|
|
@@ -68,9 +68,9 @@ 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
75
|
"criteria": JsonValue;
|
|
76
76
|
"achievement_assets": JsonValue;
|
|
@@ -80,22 +80,22 @@ export interface ActionActionsShowGetResponse extends ApiEnvelope<ActionActionsS
|
|
|
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"?: JsonValue;
|
|
89
|
-
"achievement_assets"?: JsonValue;
|
|
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"?: JsonValue | null;
|
|
89
|
+
"achievement_assets"?: JsonValue | 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
100
|
"criteria": JsonValue;
|
|
101
101
|
"achievement_assets": JsonValue;
|
|
@@ -109,34 +109,69 @@ 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
|
+
}
|
|
112
119
|
export interface ActionActionsCompletePostResponseData extends JsonObject {
|
|
113
120
|
"action_log_id": string;
|
|
114
121
|
"action_count": number;
|
|
115
|
-
"grants":
|
|
122
|
+
"grants": ActionActionsCompletePostResponseDataGrants[];
|
|
116
123
|
}
|
|
117
124
|
export interface ActionActionsCompletePostResponse extends ApiEnvelope<ActionActionsCompletePostResponseData> {
|
|
118
125
|
}
|
|
119
126
|
/** Backend response type: Vec<methods::PlanProduct>. */
|
|
120
127
|
export interface WalletBillingAdminPlanProductsIndexGetResponseItem extends JsonObject {
|
|
121
128
|
"tier": string;
|
|
129
|
+
"name": string;
|
|
130
|
+
"description"?: string | null;
|
|
122
131
|
"price": number;
|
|
132
|
+
"currency": string;
|
|
133
|
+
"duration_days": number;
|
|
123
134
|
"points": number;
|
|
124
135
|
"storage_gb": number;
|
|
136
|
+
"product_id"?: string | null;
|
|
137
|
+
"metadata": JsonValue;
|
|
138
|
+
"status": number;
|
|
125
139
|
}
|
|
126
140
|
export interface WalletBillingAdminPlanProductsIndexGetResponse extends ApiEnvelope<WalletBillingAdminPlanProductsIndexGetResponseItem[]> {
|
|
127
141
|
}
|
|
128
142
|
/** Backend request type: AdminPlanProductBody. */
|
|
129
143
|
export interface WalletBillingAdminPlanProductsUpdatePutInput extends JsonObject {
|
|
144
|
+
"tier": string;
|
|
145
|
+
"name": string;
|
|
146
|
+
"description"?: string | null;
|
|
147
|
+
"price": number;
|
|
148
|
+
"currency"?: string;
|
|
149
|
+
"duration_days": number;
|
|
150
|
+
"points": number;
|
|
151
|
+
"storage_gb": number;
|
|
152
|
+
"product_id"?: string | null;
|
|
153
|
+
"metadata"?: JsonValue;
|
|
154
|
+
"status"?: number;
|
|
130
155
|
}
|
|
131
156
|
/** Backend response type: methods::PlanProduct. */
|
|
132
157
|
export interface WalletBillingAdminPlanProductsUpdatePutResponseData extends JsonObject {
|
|
133
158
|
"tier": string;
|
|
159
|
+
"name": string;
|
|
160
|
+
"description"?: string | null;
|
|
134
161
|
"price": number;
|
|
162
|
+
"currency": string;
|
|
163
|
+
"duration_days": number;
|
|
135
164
|
"points": number;
|
|
136
165
|
"storage_gb": number;
|
|
166
|
+
"product_id"?: string | null;
|
|
167
|
+
"metadata": JsonValue;
|
|
168
|
+
"status": number;
|
|
137
169
|
}
|
|
138
170
|
export interface WalletBillingAdminPlanProductsUpdatePutResponse extends ApiEnvelope<WalletBillingAdminPlanProductsUpdatePutResponseData> {
|
|
139
171
|
}
|
|
172
|
+
/** Backend response type: handler-defined response. */
|
|
173
|
+
export interface WalletBillingAdminPlanProductsDeleteDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
174
|
+
}
|
|
140
175
|
/** Backend response type: UnitPrices. */
|
|
141
176
|
export interface SandboxBillingAdminPricesGetResponseData extends JsonObject {
|
|
142
177
|
"cpu_millicore_hour": number;
|
|
@@ -164,10 +199,28 @@ export interface SandboxBillingAdminPricesUpdatePutResponse extends ApiEnvelope<
|
|
|
164
199
|
}
|
|
165
200
|
/** Backend query type: AdminSubscriptionListQuery. */
|
|
166
201
|
export interface WalletBillingAdminSubscriptionsIndexGetQuery extends QueryParams {
|
|
202
|
+
"project"?: string | null;
|
|
203
|
+
"profile_id"?: string | null;
|
|
167
204
|
}
|
|
168
205
|
/** 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
|
+
}
|
|
169
222
|
export interface WalletBillingAdminSubscriptionsIndexGetResponseData extends JsonObject {
|
|
170
|
-
"subscriptions":
|
|
223
|
+
"subscriptions": WalletBillingAdminSubscriptionsIndexGetResponseDataSubscriptions[];
|
|
171
224
|
}
|
|
172
225
|
export interface WalletBillingAdminSubscriptionsIndexGetResponse extends ApiEnvelope<WalletBillingAdminSubscriptionsIndexGetResponseData> {
|
|
173
226
|
}
|
|
@@ -175,23 +228,25 @@ export interface WalletBillingAdminSubscriptionsIndexGetResponse extends ApiEnve
|
|
|
175
228
|
export interface WalletBillingAdminUserPlansIndexGetResponseItem extends JsonObject {
|
|
176
229
|
"profile_id": string;
|
|
177
230
|
"tier": string;
|
|
178
|
-
"expires_at"?: string;
|
|
231
|
+
"expires_at"?: string | null;
|
|
179
232
|
"days_remaining": number;
|
|
180
233
|
"enabled": boolean;
|
|
181
234
|
}
|
|
182
235
|
export interface WalletBillingAdminUserPlansIndexGetResponse extends ApiEnvelope<WalletBillingAdminUserPlansIndexGetResponseItem[]> {
|
|
183
236
|
}
|
|
184
|
-
/** Backend response type: response
|
|
237
|
+
/** Backend response type: handler-defined response. */
|
|
185
238
|
export interface WalletBillingAdminUserPlanDeleteDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
186
239
|
}
|
|
187
240
|
/** Backend request type: AdminUserPlanBody. */
|
|
188
241
|
export interface WalletBillingAdminUserPlanUpdatePutInput extends JsonObject {
|
|
242
|
+
"tier": string;
|
|
243
|
+
"days"?: number;
|
|
189
244
|
}
|
|
190
245
|
/** Backend response type: methods::AdminUserPlan. */
|
|
191
246
|
export interface WalletBillingAdminUserPlanUpdatePutResponseData extends JsonObject {
|
|
192
247
|
"profile_id": string;
|
|
193
248
|
"tier": string;
|
|
194
|
-
"expires_at"?: string;
|
|
249
|
+
"expires_at"?: string | null;
|
|
195
250
|
"days_remaining": number;
|
|
196
251
|
"enabled": boolean;
|
|
197
252
|
}
|
|
@@ -201,7 +256,7 @@ export interface WalletBillingAdminUserPlanUpdatePutResponse extends ApiEnvelope
|
|
|
201
256
|
export interface WalletBillingAdminUserPlanDisablePutResponseData extends JsonObject {
|
|
202
257
|
"profile_id": string;
|
|
203
258
|
"tier": string;
|
|
204
|
-
"expires_at"?: string;
|
|
259
|
+
"expires_at"?: string | null;
|
|
205
260
|
"days_remaining": number;
|
|
206
261
|
"enabled": boolean;
|
|
207
262
|
}
|
|
@@ -209,20 +264,21 @@ export interface WalletBillingAdminUserPlanDisablePutResponse extends ApiEnvelop
|
|
|
209
264
|
}
|
|
210
265
|
/** Backend query type: AssetListQuery. */
|
|
211
266
|
export interface CatalogAssetsIndexGetQuery extends QueryParams {
|
|
212
|
-
"page[number]"?: number;
|
|
213
|
-
"page[size]"?: number;
|
|
214
|
-
"asset_type"?: string;
|
|
215
|
-
"search"?: string;
|
|
267
|
+
"page[number]"?: number | null;
|
|
268
|
+
"page[size]"?: number | null;
|
|
269
|
+
"asset_type"?: string | null;
|
|
270
|
+
"search"?: string | null;
|
|
216
271
|
}
|
|
217
272
|
/** Backend response type: PagedResult<AssetResponse>. */
|
|
273
|
+
export type CatalogAssetsIndexGetResponseItemAssetType = "Coin" | "Badge" | "XP" | "Charge" | "Gem";
|
|
218
274
|
export interface CatalogAssetsIndexGetResponseItem extends JsonObject {
|
|
219
275
|
"id": string;
|
|
220
276
|
"name": string;
|
|
221
|
-
"title"?: string;
|
|
222
|
-
"description"?: string;
|
|
277
|
+
"title"?: string | null;
|
|
278
|
+
"description"?: string | null;
|
|
223
279
|
"subject_type": string;
|
|
224
280
|
"metadata": JsonValue;
|
|
225
|
-
"asset_type":
|
|
281
|
+
"asset_type": CatalogAssetsIndexGetResponseItemAssetType;
|
|
226
282
|
"max_quantity": number;
|
|
227
283
|
"status": number;
|
|
228
284
|
}
|
|
@@ -239,25 +295,27 @@ export interface CatalogAssetsIndexGetResponseData extends JsonObject {
|
|
|
239
295
|
export interface CatalogAssetsIndexGetResponse extends ApiEnvelope<CatalogAssetsIndexGetResponseData> {
|
|
240
296
|
}
|
|
241
297
|
/** Backend request type: CreateAssetRequest. */
|
|
298
|
+
export type CatalogAssetsCreatePostInputAssetType = "Coin" | "Badge" | "XP" | "Charge" | "Gem";
|
|
242
299
|
export interface CatalogAssetsCreatePostInput extends JsonObject {
|
|
243
300
|
"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;
|
|
301
|
+
"title"?: string | null;
|
|
302
|
+
"description"?: string | null;
|
|
303
|
+
"subject_type"?: string | null;
|
|
304
|
+
"metadata"?: JsonValue | null;
|
|
305
|
+
"asset_type": CatalogAssetsCreatePostInputAssetType;
|
|
306
|
+
"max_quantity"?: number | null;
|
|
307
|
+
"status"?: number | null;
|
|
251
308
|
}
|
|
252
309
|
/** Backend response type: AssetResponse. */
|
|
310
|
+
export type CatalogAssetsCreatePostResponseDataAssetType = "Coin" | "Badge" | "XP" | "Charge" | "Gem";
|
|
253
311
|
export interface CatalogAssetsCreatePostResponseData extends JsonObject {
|
|
254
312
|
"id": string;
|
|
255
313
|
"name": string;
|
|
256
|
-
"title"?: string;
|
|
257
|
-
"description"?: string;
|
|
314
|
+
"title"?: string | null;
|
|
315
|
+
"description"?: string | null;
|
|
258
316
|
"subject_type": string;
|
|
259
317
|
"metadata": JsonValue;
|
|
260
|
-
"asset_type":
|
|
318
|
+
"asset_type": CatalogAssetsCreatePostResponseDataAssetType;
|
|
261
319
|
"max_quantity": number;
|
|
262
320
|
"status": number;
|
|
263
321
|
}
|
|
@@ -267,14 +325,15 @@ export interface CatalogAssetsCreatePostResponse extends ApiEnvelope<CatalogAsse
|
|
|
267
325
|
export interface CatalogAssetsDeleteDeleteResponse extends ApiEnvelope<JsonObject> {
|
|
268
326
|
}
|
|
269
327
|
/** Backend response type: AssetResponse. */
|
|
328
|
+
export type CatalogAssetsShowGetResponseDataAssetType = "Coin" | "Badge" | "XP" | "Charge" | "Gem";
|
|
270
329
|
export interface CatalogAssetsShowGetResponseData extends JsonObject {
|
|
271
330
|
"id": string;
|
|
272
331
|
"name": string;
|
|
273
|
-
"title"?: string;
|
|
274
|
-
"description"?: string;
|
|
332
|
+
"title"?: string | null;
|
|
333
|
+
"description"?: string | null;
|
|
275
334
|
"subject_type": string;
|
|
276
335
|
"metadata": JsonValue;
|
|
277
|
-
"asset_type":
|
|
336
|
+
"asset_type": CatalogAssetsShowGetResponseDataAssetType;
|
|
278
337
|
"max_quantity": number;
|
|
279
338
|
"status": number;
|
|
280
339
|
}
|
|
@@ -282,23 +341,24 @@ export interface CatalogAssetsShowGetResponse extends ApiEnvelope<CatalogAssetsS
|
|
|
282
341
|
}
|
|
283
342
|
/** Backend request type: UpdateAssetRequest. */
|
|
284
343
|
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;
|
|
344
|
+
"name"?: string | null;
|
|
345
|
+
"title"?: string | null;
|
|
346
|
+
"description"?: string | null;
|
|
347
|
+
"subject_type"?: string | null;
|
|
348
|
+
"metadata"?: JsonValue | null;
|
|
349
|
+
"max_quantity"?: number | null;
|
|
350
|
+
"status"?: number | null;
|
|
292
351
|
}
|
|
293
352
|
/** Backend response type: AssetResponse. */
|
|
353
|
+
export type CatalogAssetsUpdatePatchResponseDataAssetType = "Coin" | "Badge" | "XP" | "Charge" | "Gem";
|
|
294
354
|
export interface CatalogAssetsUpdatePatchResponseData extends JsonObject {
|
|
295
355
|
"id": string;
|
|
296
356
|
"name": string;
|
|
297
|
-
"title"?: string;
|
|
298
|
-
"description"?: string;
|
|
357
|
+
"title"?: string | null;
|
|
358
|
+
"description"?: string | null;
|
|
299
359
|
"subject_type": string;
|
|
300
360
|
"metadata": JsonValue;
|
|
301
|
-
"asset_type":
|
|
361
|
+
"asset_type": CatalogAssetsUpdatePatchResponseDataAssetType;
|
|
302
362
|
"max_quantity": number;
|
|
303
363
|
"status": number;
|
|
304
364
|
}
|
|
@@ -312,19 +372,20 @@ export interface BankBankSummaryShowGetResponse extends ApiEnvelope<BankBankSumm
|
|
|
312
372
|
}
|
|
313
373
|
/** Backend query type: BankTransactionListQuery. */
|
|
314
374
|
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;
|
|
375
|
+
"page[number]"?: number | null;
|
|
376
|
+
"page[size]"?: number | null;
|
|
377
|
+
"profile_id"?: string | null;
|
|
378
|
+
"bank_transaction_type"?: QueryValue | null;
|
|
379
|
+
"search"?: string | null;
|
|
320
380
|
}
|
|
321
381
|
/** Backend response type: PagedResult<BankTransactionResponse>. */
|
|
382
|
+
export type BankBankTransactionsIndexGetResponseItemBankTransactionType = "Deposit" | "Withdraw" | "Refund";
|
|
322
383
|
export interface BankBankTransactionsIndexGetResponseItem extends JsonObject {
|
|
323
384
|
"id": string;
|
|
324
385
|
"profile_id": string;
|
|
325
|
-
"profile_name"?: string;
|
|
386
|
+
"profile_name"?: string | null;
|
|
326
387
|
"bank_id": string;
|
|
327
|
-
"bank_transaction_type":
|
|
388
|
+
"bank_transaction_type": BankBankTransactionsIndexGetResponseItemBankTransactionType;
|
|
328
389
|
"amount": number;
|
|
329
390
|
"metadata": JsonValue;
|
|
330
391
|
"status": number;
|
|
@@ -347,43 +408,88 @@ export interface BankBankTransactionsIndexGetResponse extends ApiEnvelope<BankBa
|
|
|
347
408
|
export interface BankBankTransactionsCreatePostInput extends JsonObject {
|
|
348
409
|
"amount": number;
|
|
349
410
|
"profile_id": string;
|
|
350
|
-
"bank_id"?: string;
|
|
351
|
-
"metadata"?: JsonValue;
|
|
411
|
+
"bank_id"?: string | null;
|
|
412
|
+
"metadata"?: JsonValue | null;
|
|
352
413
|
}
|
|
353
414
|
/** Backend response type: entity::bank_transaction::Model. */
|
|
354
415
|
export interface BankBankTransactionsCreatePostResponseData extends JsonObject {
|
|
355
416
|
"id": string;
|
|
356
417
|
"name": string;
|
|
357
|
-
"title"?: string;
|
|
358
|
-
"description"?: string;
|
|
359
|
-
"season_id"?: string;
|
|
418
|
+
"title"?: string | null;
|
|
419
|
+
"description"?: string | null;
|
|
420
|
+
"season_id"?: string | null;
|
|
360
421
|
"public": boolean;
|
|
361
|
-
"criteria"?: JsonValue;
|
|
362
|
-
"achievement_assets"?: JsonValue;
|
|
422
|
+
"criteria"?: JsonValue | null;
|
|
423
|
+
"achievement_assets"?: JsonValue | null;
|
|
363
424
|
"status": number;
|
|
364
425
|
"created_at": string;
|
|
365
|
-
"updated_at"?: string;
|
|
366
|
-
"deleted_at"?: string;
|
|
426
|
+
"updated_at"?: string | null;
|
|
427
|
+
"deleted_at"?: string | null;
|
|
367
428
|
}
|
|
368
429
|
export interface BankBankTransactionsCreatePostResponse extends ApiEnvelope<BankBankTransactionsCreatePostResponseData> {
|
|
369
430
|
}
|
|
370
431
|
/** 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
|
+
}
|
|
371
447
|
export interface ChargeChargeSettingsShowGetResponseData extends JsonObject {
|
|
372
448
|
"id": JsonValue;
|
|
373
|
-
"mapping_rules":
|
|
449
|
+
"mapping_rules": ChargeChargeSettingsShowGetResponseDataMappingRules;
|
|
374
450
|
"status": number;
|
|
375
451
|
}
|
|
376
452
|
export interface ChargeChargeSettingsShowGetResponse extends ApiEnvelope<ChargeChargeSettingsShowGetResponseData> {
|
|
377
453
|
}
|
|
378
454
|
/** 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
|
+
}
|
|
379
470
|
export interface ChargeChargeSettingsUpdatePatchInput extends JsonObject {
|
|
380
|
-
"mapping_rules":
|
|
381
|
-
"status"?: number;
|
|
471
|
+
"mapping_rules": ChargeChargeSettingsUpdatePatchInputMappingRules;
|
|
472
|
+
"status"?: number | null;
|
|
382
473
|
}
|
|
383
474
|
/** 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
|
+
}
|
|
384
490
|
export interface ChargeChargeSettingsUpdatePatchResponseData extends JsonObject {
|
|
385
491
|
"id": JsonValue;
|
|
386
|
-
"mapping_rules":
|
|
492
|
+
"mapping_rules": ChargeChargeSettingsUpdatePatchResponseDataMappingRules;
|
|
387
493
|
"status": number;
|
|
388
494
|
}
|
|
389
495
|
export interface ChargeChargeSettingsUpdatePatchResponse extends ApiEnvelope<ChargeChargeSettingsUpdatePatchResponseData> {
|
|
@@ -402,8 +508,8 @@ export interface BankCoinSettingsShowGetResponse extends ApiEnvelope<BankCoinSet
|
|
|
402
508
|
}
|
|
403
509
|
/** Backend request type: UpdateCoinSettingsRequest. */
|
|
404
510
|
export interface BankCoinSettingsUpdatePatchInput extends JsonObject {
|
|
405
|
-
"total_coins"?: number;
|
|
406
|
-
"allocation_percent"?: number;
|
|
511
|
+
"total_coins"?: number | null;
|
|
512
|
+
"allocation_percent"?: number | null;
|
|
407
513
|
}
|
|
408
514
|
/** Backend response type: CoinSettingsResponse. */
|
|
409
515
|
export interface BankCoinSettingsUpdatePatchResponseData extends JsonObject {
|
|
@@ -419,7 +525,7 @@ export interface BankCoinSettingsUpdatePatchResponse extends ApiEnvelope<BankCoi
|
|
|
419
525
|
}
|
|
420
526
|
/** Backend query type: DashboardQuery. */
|
|
421
527
|
export interface DashboardDashboardShowGetQuery extends QueryParams {
|
|
422
|
-
"month"?: string;
|
|
528
|
+
"month"?: string | null;
|
|
423
529
|
}
|
|
424
530
|
/** Backend response type: DashboardResponse. */
|
|
425
531
|
export interface DashboardDashboardShowGetResponseData extends JsonObject {
|
|
@@ -436,9 +542,34 @@ export interface DashboardDashboardShowGetResponseData extends JsonObject {
|
|
|
436
542
|
export interface DashboardDashboardShowGetResponse extends ApiEnvelope<DashboardDashboardShowGetResponseData> {
|
|
437
543
|
}
|
|
438
544
|
/** 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
|
+
}
|
|
439
570
|
export interface IntegrationIntegrationDocsShowGetResponseData extends JsonObject {
|
|
440
|
-
"direct":
|
|
441
|
-
"sdk":
|
|
571
|
+
"direct": IntegrationIntegrationDocsShowGetResponseDataDirect;
|
|
572
|
+
"sdk": IntegrationIntegrationDocsShowGetResponseDataSdk[];
|
|
442
573
|
}
|
|
443
574
|
export interface IntegrationIntegrationDocsShowGetResponse extends ApiEnvelope<IntegrationIntegrationDocsShowGetResponseData> {
|
|
444
575
|
}
|
|
@@ -446,17 +577,35 @@ export interface IntegrationIntegrationDocsShowGetResponse extends ApiEnvelope<I
|
|
|
446
577
|
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<JsonValue> {
|
|
447
578
|
}
|
|
448
579
|
/** 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
|
+
}
|
|
449
590
|
export interface IntegrationRabbitmqIntegrationShowGetResponseData extends JsonObject {
|
|
450
591
|
"queue": string;
|
|
451
592
|
"broker_url_hint": string;
|
|
452
593
|
"sample_profile_id": string;
|
|
453
|
-
"events":
|
|
594
|
+
"events": IntegrationRabbitmqIntegrationShowGetResponseDataEvents[];
|
|
454
595
|
}
|
|
455
596
|
export interface IntegrationRabbitmqIntegrationShowGetResponse extends ApiEnvelope<IntegrationRabbitmqIntegrationShowGetResponseData> {
|
|
456
597
|
}
|
|
457
598
|
/** 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
|
+
}
|
|
458
607
|
export interface LlmUsagePlansIndexGetResponseData extends JsonObject {
|
|
459
|
-
"plans":
|
|
608
|
+
"plans": LlmUsagePlansIndexGetResponseDataPlans[];
|
|
460
609
|
}
|
|
461
610
|
export interface LlmUsagePlansIndexGetResponse extends ApiEnvelope<LlmUsagePlansIndexGetResponseData> {
|
|
462
611
|
}
|
|
@@ -464,7 +613,7 @@ export interface LlmUsagePlansIndexGetResponse extends ApiEnvelope<LlmUsagePlans
|
|
|
464
613
|
export interface LlmUsagePlanShowGetResponseData extends JsonObject {
|
|
465
614
|
"profile_id": string;
|
|
466
615
|
"tier": string;
|
|
467
|
-
"expires_at"?: string;
|
|
616
|
+
"expires_at"?: string | null;
|
|
468
617
|
"plan_points": number;
|
|
469
618
|
"created_at": string;
|
|
470
619
|
"updated_at": string;
|
|
@@ -479,7 +628,7 @@ export interface LlmUsagePlanSetPutInput extends JsonObject {
|
|
|
479
628
|
export interface LlmUsagePlanSetPutResponseData extends JsonObject {
|
|
480
629
|
"profile_id": string;
|
|
481
630
|
"tier": string;
|
|
482
|
-
"expires_at"?: string;
|
|
631
|
+
"expires_at"?: string | null;
|
|
483
632
|
"plan_points": number;
|
|
484
633
|
"created_at": string;
|
|
485
634
|
"updated_at": string;
|
|
@@ -487,64 +636,166 @@ export interface LlmUsagePlanSetPutResponseData extends JsonObject {
|
|
|
487
636
|
export interface LlmUsagePlanSetPutResponse extends ApiEnvelope<LlmUsagePlanSetPutResponseData> {
|
|
488
637
|
}
|
|
489
638
|
/** 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
|
+
}
|
|
490
673
|
export interface WalletMeAssetsShowGetResponseData extends JsonObject {
|
|
491
674
|
"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;
|
|
675
|
+
"coin": WalletMeAssetsShowGetResponseDataCoin;
|
|
676
|
+
"xp": WalletMeAssetsShowGetResponseDataXp;
|
|
677
|
+
"charge": WalletMeAssetsShowGetResponseDataCharge;
|
|
678
|
+
"gems": WalletMeAssetsShowGetResponseDataGems[];
|
|
679
|
+
"badges": WalletMeAssetsShowGetResponseDataBadges[];
|
|
680
|
+
"max_charge"?: number | null;
|
|
681
|
+
"recharge_period"?: number | null;
|
|
682
|
+
"xp_to_next_rank"?: number | null;
|
|
500
683
|
}
|
|
501
684
|
export interface WalletMeAssetsShowGetResponse extends ApiEnvelope<WalletMeAssetsShowGetResponseData> {
|
|
502
685
|
}
|
|
503
686
|
/** Backend query type: SubjectBadgeQuery. */
|
|
504
687
|
export interface WalletMeBadgesShowGetQuery extends QueryParams {
|
|
688
|
+
"subject_type"?: string | null;
|
|
689
|
+
"subject_id"?: string | null;
|
|
505
690
|
}
|
|
506
691
|
/** 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
|
+
}
|
|
507
702
|
export interface WalletMeBadgesShowGetResponseData extends JsonObject {
|
|
508
703
|
"profile_id": string;
|
|
509
704
|
"subject_type": string;
|
|
510
|
-
"subject_id"?: string;
|
|
511
|
-
"badges":
|
|
705
|
+
"subject_id"?: string | null;
|
|
706
|
+
"badges": WalletMeBadgesShowGetResponseDataBadges[];
|
|
512
707
|
}
|
|
513
708
|
export interface WalletMeBadgesShowGetResponse extends ApiEnvelope<WalletMeBadgesShowGetResponseData> {
|
|
514
709
|
}
|
|
515
710
|
/** Backend query type: UsageQuery. */
|
|
516
711
|
export interface WalletMeLlmUsageGetQuery extends QueryParams {
|
|
712
|
+
"range"?: string | null;
|
|
517
713
|
}
|
|
518
714
|
/** 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
|
+
}
|
|
519
737
|
export interface WalletMeLlmUsageGetResponseData extends JsonObject {
|
|
520
738
|
"currency": string;
|
|
521
739
|
"range": string;
|
|
522
|
-
"chart":
|
|
523
|
-
"buckets":
|
|
524
|
-
"last_24_hours":
|
|
525
|
-
"range_totals":
|
|
740
|
+
"chart": WalletMeLlmUsageGetResponseDataChart[];
|
|
741
|
+
"buckets": WalletMeLlmUsageGetResponseDataBuckets[];
|
|
742
|
+
"last_24_hours": WalletMeLlmUsageGetResponseDataLast24Hours;
|
|
743
|
+
"range_totals": WalletMeLlmUsageGetResponseDataRangeTotals;
|
|
526
744
|
}
|
|
527
745
|
export interface WalletMeLlmUsageGetResponse extends ApiEnvelope<WalletMeLlmUsageGetResponseData> {
|
|
528
746
|
}
|
|
529
747
|
/** Backend query type: TxQuery. */
|
|
530
748
|
export interface WalletMeTransactionsGetQuery extends QueryParams {
|
|
749
|
+
"ref_type"?: string | null;
|
|
750
|
+
"exclude_ref_type"?: string | null;
|
|
751
|
+
"page"?: number | null;
|
|
752
|
+
"page_size"?: number | null;
|
|
753
|
+
"from"?: string | null;
|
|
754
|
+
"to"?: string | null;
|
|
531
755
|
}
|
|
532
756
|
/** Backend response type: TxPage. */
|
|
533
|
-
export interface
|
|
757
|
+
export interface WalletMeTransactionsGetResponseDataItems extends JsonObject {
|
|
758
|
+
"id": string;
|
|
759
|
+
"name": string;
|
|
760
|
+
"title"?: string | null;
|
|
761
|
+
"description"?: string | null;
|
|
762
|
+
"season_id"?: string | null;
|
|
763
|
+
"public": boolean;
|
|
764
|
+
"criteria"?: JsonValue | null;
|
|
765
|
+
"achievement_assets"?: JsonValue | null;
|
|
766
|
+
"status": number;
|
|
767
|
+
"created_at": string;
|
|
768
|
+
"updated_at"?: string | null;
|
|
769
|
+
"deleted_at"?: string | null;
|
|
770
|
+
}
|
|
771
|
+
export interface WalletMeTransactionsGetResponseData extends JsonObject {
|
|
772
|
+
"items": WalletMeTransactionsGetResponseDataItems[];
|
|
773
|
+
"total": number;
|
|
774
|
+
"page": number;
|
|
775
|
+
"page_size": number;
|
|
776
|
+
}
|
|
777
|
+
export interface WalletMeTransactionsGetResponse extends ApiEnvelope<WalletMeTransactionsGetResponseData> {
|
|
534
778
|
}
|
|
535
779
|
/** Backend response type: Vec<methods::PlanProduct>. */
|
|
536
780
|
export interface WalletBillingPlansIndexGetResponseItem extends JsonObject {
|
|
537
781
|
"tier": string;
|
|
782
|
+
"name": string;
|
|
783
|
+
"description"?: string | null;
|
|
538
784
|
"price": number;
|
|
785
|
+
"currency": string;
|
|
786
|
+
"duration_days": number;
|
|
539
787
|
"points": number;
|
|
540
788
|
"storage_gb": number;
|
|
789
|
+
"product_id"?: string | null;
|
|
790
|
+
"metadata": JsonValue;
|
|
791
|
+
"status": number;
|
|
541
792
|
}
|
|
542
793
|
export interface WalletBillingPlansIndexGetResponse extends ApiEnvelope<WalletBillingPlansIndexGetResponseItem[]> {
|
|
543
794
|
}
|
|
544
795
|
/** Backend response type: methods::CurrentPlan. */
|
|
545
796
|
export interface WalletBillingCurrentPlanGetResponseData extends JsonObject {
|
|
546
797
|
"tier": string;
|
|
547
|
-
"expires_at"?: string;
|
|
798
|
+
"expires_at"?: string | null;
|
|
548
799
|
"days_remaining": number;
|
|
549
800
|
"renewal_allowed": boolean;
|
|
550
801
|
}
|
|
@@ -552,6 +803,7 @@ export interface WalletBillingCurrentPlanGetResponse extends ApiEnvelope<WalletB
|
|
|
552
803
|
}
|
|
553
804
|
/** Backend request type: PlanPurchaseBody. */
|
|
554
805
|
export interface WalletBillingPlansPurchasePostInput extends JsonObject {
|
|
806
|
+
"tier": string;
|
|
555
807
|
}
|
|
556
808
|
/** Backend response type: PurchaseInitResponse. */
|
|
557
809
|
export interface WalletBillingPlansPurchasePostResponseData extends JsonObject {
|
|
@@ -570,6 +822,8 @@ export interface WalletBillingPointsPacksIndexGetResponse extends ApiEnvelope<Wa
|
|
|
570
822
|
}
|
|
571
823
|
/** Backend request type: PackPurchaseBody. */
|
|
572
824
|
export interface WalletBillingPointsPacksPurchasePostInput extends JsonObject {
|
|
825
|
+
"pack_id"?: string | null;
|
|
826
|
+
"points"?: number | null;
|
|
573
827
|
}
|
|
574
828
|
/** Backend response type: PurchaseInitResponse. */
|
|
575
829
|
export interface WalletBillingPointsPacksPurchasePostResponseData extends JsonObject {
|
|
@@ -580,16 +834,16 @@ export interface WalletBillingPointsPacksPurchasePostResponse extends ApiEnvelop
|
|
|
580
834
|
}
|
|
581
835
|
/** Backend query type: RankListQuery. */
|
|
582
836
|
export interface RankRanksIndexGetQuery extends QueryParams {
|
|
583
|
-
"page[number]"?: number;
|
|
584
|
-
"page[size]"?: number;
|
|
585
|
-
"search"?: string;
|
|
837
|
+
"page[number]"?: number | null;
|
|
838
|
+
"page[size]"?: number | null;
|
|
839
|
+
"search"?: string | null;
|
|
586
840
|
}
|
|
587
841
|
/** Backend response type: PagedResult<RankResponse>. */
|
|
588
842
|
export interface RankRanksIndexGetResponseItem extends JsonObject {
|
|
589
843
|
"id": string;
|
|
590
844
|
"name": string;
|
|
591
|
-
"title"?: string;
|
|
592
|
-
"description"?: string;
|
|
845
|
+
"title"?: string | null;
|
|
846
|
+
"description"?: string | null;
|
|
593
847
|
"min_xp": number;
|
|
594
848
|
"status": number;
|
|
595
849
|
}
|
|
@@ -608,17 +862,17 @@ export interface RankRanksIndexGetResponse extends ApiEnvelope<RankRanksIndexGet
|
|
|
608
862
|
/** Backend request type: CreateRankRequest. */
|
|
609
863
|
export interface RankRanksCreatePostInput extends JsonObject {
|
|
610
864
|
"name": string;
|
|
611
|
-
"title"?: string;
|
|
612
|
-
"description"?: string;
|
|
865
|
+
"title"?: string | null;
|
|
866
|
+
"description"?: string | null;
|
|
613
867
|
"min_xp": number;
|
|
614
|
-
"status"?: number;
|
|
868
|
+
"status"?: number | null;
|
|
615
869
|
}
|
|
616
870
|
/** Backend response type: RankResponse. */
|
|
617
871
|
export interface RankRanksCreatePostResponseData extends JsonObject {
|
|
618
872
|
"id": string;
|
|
619
873
|
"name": string;
|
|
620
|
-
"title"?: string;
|
|
621
|
-
"description"?: string;
|
|
874
|
+
"title"?: string | null;
|
|
875
|
+
"description"?: string | null;
|
|
622
876
|
"min_xp": number;
|
|
623
877
|
"status": number;
|
|
624
878
|
}
|
|
@@ -631,8 +885,8 @@ export interface RankRanksDeleteDeleteResponse extends ApiEnvelope<JsonObject> {
|
|
|
631
885
|
export interface RankRanksShowGetResponseData extends JsonObject {
|
|
632
886
|
"id": string;
|
|
633
887
|
"name": string;
|
|
634
|
-
"title"?: string;
|
|
635
|
-
"description"?: string;
|
|
888
|
+
"title"?: string | null;
|
|
889
|
+
"description"?: string | null;
|
|
636
890
|
"min_xp": number;
|
|
637
891
|
"status": number;
|
|
638
892
|
}
|
|
@@ -640,42 +894,60 @@ export interface RankRanksShowGetResponse extends ApiEnvelope<RankRanksShowGetRe
|
|
|
640
894
|
}
|
|
641
895
|
/** Backend request type: UpdateRankRequest. */
|
|
642
896
|
export interface RankRanksUpdatePatchInput extends JsonObject {
|
|
643
|
-
"name"?: string;
|
|
644
|
-
"title"?: string;
|
|
645
|
-
"description"?: string;
|
|
646
|
-
"min_xp"?: number;
|
|
647
|
-
"status"?: number;
|
|
897
|
+
"name"?: string | null;
|
|
898
|
+
"title"?: string | null;
|
|
899
|
+
"description"?: string | null;
|
|
900
|
+
"min_xp"?: number | null;
|
|
901
|
+
"status"?: number | null;
|
|
648
902
|
}
|
|
649
903
|
/** Backend response type: RankResponse. */
|
|
650
904
|
export interface RankRanksUpdatePatchResponseData extends JsonObject {
|
|
651
905
|
"id": string;
|
|
652
906
|
"name": string;
|
|
653
|
-
"title"?: string;
|
|
654
|
-
"description"?: string;
|
|
907
|
+
"title"?: string | null;
|
|
908
|
+
"description"?: string | null;
|
|
655
909
|
"min_xp": number;
|
|
656
910
|
"status": number;
|
|
657
911
|
}
|
|
658
912
|
export interface RankRanksUpdatePatchResponse extends ApiEnvelope<RankRanksUpdatePatchResponseData> {
|
|
659
913
|
}
|
|
660
|
-
/** Backend response type: response
|
|
914
|
+
/** Backend response type: handler-defined response. */
|
|
661
915
|
export interface SandboxBillingPurgeDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
662
916
|
}
|
|
663
917
|
/** 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
|
+
}
|
|
664
936
|
export interface SandboxBillingShowGetResponseData extends JsonObject {
|
|
665
937
|
"id": string;
|
|
666
938
|
"name": string;
|
|
667
|
-
"title"?: string;
|
|
668
|
-
"description"?: string;
|
|
669
|
-
"season_id"?: string;
|
|
939
|
+
"title"?: string | null;
|
|
940
|
+
"description"?: string | null;
|
|
941
|
+
"season_id"?: string | null;
|
|
670
942
|
"public": boolean;
|
|
671
|
-
"criteria"?: JsonValue;
|
|
672
|
-
"achievement_assets"?: JsonValue;
|
|
943
|
+
"criteria"?: JsonValue | null;
|
|
944
|
+
"achievement_assets"?: JsonValue | null;
|
|
673
945
|
"status": number;
|
|
674
946
|
"created_at": string;
|
|
675
|
-
"updated_at"?: string;
|
|
676
|
-
"deleted_at"?: string;
|
|
677
|
-
"price":
|
|
678
|
-
"unit_prices":
|
|
947
|
+
"updated_at"?: string | null;
|
|
948
|
+
"deleted_at"?: string | null;
|
|
949
|
+
"price": SandboxBillingShowGetResponseDataPrice;
|
|
950
|
+
"unit_prices": SandboxBillingShowGetResponseDataUnitPrices;
|
|
679
951
|
"currency": string;
|
|
680
952
|
"hourly_price": number;
|
|
681
953
|
"daily_estimate": number;
|
|
@@ -686,7 +958,7 @@ export interface SandboxBillingShowGetResponse extends ApiEnvelope<SandboxBillin
|
|
|
686
958
|
}
|
|
687
959
|
/** Backend request type: AllocationInput. */
|
|
688
960
|
export interface SandboxBillingUpdatePutInput extends JsonObject {
|
|
689
|
-
"bundle_id"?: string;
|
|
961
|
+
"bundle_id"?: string | null;
|
|
690
962
|
"cpu_millicores": number;
|
|
691
963
|
"ram_mb": number;
|
|
692
964
|
"database_storage_mb": number;
|
|
@@ -694,21 +966,39 @@ export interface SandboxBillingUpdatePutInput extends JsonObject {
|
|
|
694
966
|
"app_storage_mb": number;
|
|
695
967
|
}
|
|
696
968
|
/** 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
|
+
}
|
|
697
987
|
export interface SandboxBillingUpdatePutResponseData extends JsonObject {
|
|
698
988
|
"id": string;
|
|
699
989
|
"name": string;
|
|
700
|
-
"title"?: string;
|
|
701
|
-
"description"?: string;
|
|
702
|
-
"season_id"?: string;
|
|
990
|
+
"title"?: string | null;
|
|
991
|
+
"description"?: string | null;
|
|
992
|
+
"season_id"?: string | null;
|
|
703
993
|
"public": boolean;
|
|
704
|
-
"criteria"?: JsonValue;
|
|
705
|
-
"achievement_assets"?: JsonValue;
|
|
994
|
+
"criteria"?: JsonValue | null;
|
|
995
|
+
"achievement_assets"?: JsonValue | null;
|
|
706
996
|
"status": number;
|
|
707
997
|
"created_at": string;
|
|
708
|
-
"updated_at"?: string;
|
|
709
|
-
"deleted_at"?: string;
|
|
710
|
-
"price":
|
|
711
|
-
"unit_prices":
|
|
998
|
+
"updated_at"?: string | null;
|
|
999
|
+
"deleted_at"?: string | null;
|
|
1000
|
+
"price": SandboxBillingUpdatePutResponseDataPrice;
|
|
1001
|
+
"unit_prices": SandboxBillingUpdatePutResponseDataUnitPrices;
|
|
712
1002
|
"currency": string;
|
|
713
1003
|
"hourly_price": number;
|
|
714
1004
|
"daily_estimate": number;
|
|
@@ -718,21 +1008,39 @@ export interface SandboxBillingUpdatePutResponseData extends JsonObject {
|
|
|
718
1008
|
export interface SandboxBillingUpdatePutResponse extends ApiEnvelope<SandboxBillingUpdatePutResponseData> {
|
|
719
1009
|
}
|
|
720
1010
|
/** 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
|
+
}
|
|
721
1029
|
export interface SandboxBillingPausePostResponseData extends JsonObject {
|
|
722
1030
|
"id": string;
|
|
723
1031
|
"name": string;
|
|
724
|
-
"title"?: string;
|
|
725
|
-
"description"?: string;
|
|
726
|
-
"season_id"?: string;
|
|
1032
|
+
"title"?: string | null;
|
|
1033
|
+
"description"?: string | null;
|
|
1034
|
+
"season_id"?: string | null;
|
|
727
1035
|
"public": boolean;
|
|
728
|
-
"criteria"?: JsonValue;
|
|
729
|
-
"achievement_assets"?: JsonValue;
|
|
1036
|
+
"criteria"?: JsonValue | null;
|
|
1037
|
+
"achievement_assets"?: JsonValue | null;
|
|
730
1038
|
"status": number;
|
|
731
1039
|
"created_at": string;
|
|
732
|
-
"updated_at"?: string;
|
|
733
|
-
"deleted_at"?: string;
|
|
734
|
-
"price":
|
|
735
|
-
"unit_prices":
|
|
1040
|
+
"updated_at"?: string | null;
|
|
1041
|
+
"deleted_at"?: string | null;
|
|
1042
|
+
"price": SandboxBillingPausePostResponseDataPrice;
|
|
1043
|
+
"unit_prices": SandboxBillingPausePostResponseDataUnitPrices;
|
|
736
1044
|
"currency": string;
|
|
737
1045
|
"hourly_price": number;
|
|
738
1046
|
"daily_estimate": number;
|
|
@@ -742,21 +1050,39 @@ export interface SandboxBillingPausePostResponseData extends JsonObject {
|
|
|
742
1050
|
export interface SandboxBillingPausePostResponse extends ApiEnvelope<SandboxBillingPausePostResponseData> {
|
|
743
1051
|
}
|
|
744
1052
|
/** 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
|
+
}
|
|
745
1071
|
export interface SandboxBillingResumePostResponseData extends JsonObject {
|
|
746
1072
|
"id": string;
|
|
747
1073
|
"name": string;
|
|
748
|
-
"title"?: string;
|
|
749
|
-
"description"?: string;
|
|
750
|
-
"season_id"?: string;
|
|
1074
|
+
"title"?: string | null;
|
|
1075
|
+
"description"?: string | null;
|
|
1076
|
+
"season_id"?: string | null;
|
|
751
1077
|
"public": boolean;
|
|
752
|
-
"criteria"?: JsonValue;
|
|
753
|
-
"achievement_assets"?: JsonValue;
|
|
1078
|
+
"criteria"?: JsonValue | null;
|
|
1079
|
+
"achievement_assets"?: JsonValue | null;
|
|
754
1080
|
"status": number;
|
|
755
1081
|
"created_at": string;
|
|
756
|
-
"updated_at"?: string;
|
|
757
|
-
"deleted_at"?: string;
|
|
758
|
-
"price":
|
|
759
|
-
"unit_prices":
|
|
1082
|
+
"updated_at"?: string | null;
|
|
1083
|
+
"deleted_at"?: string | null;
|
|
1084
|
+
"price": SandboxBillingResumePostResponseDataPrice;
|
|
1085
|
+
"unit_prices": SandboxBillingResumePostResponseDataUnitPrices;
|
|
760
1086
|
"currency": string;
|
|
761
1087
|
"hourly_price": number;
|
|
762
1088
|
"daily_estimate": number;
|
|
@@ -767,34 +1093,54 @@ export interface SandboxBillingResumePostResponse extends ApiEnvelope<SandboxBil
|
|
|
767
1093
|
}
|
|
768
1094
|
/** Backend query type: SubscriptionListQuery. */
|
|
769
1095
|
export interface WalletBillingSubscriptionsIndexGetQuery extends QueryParams {
|
|
770
|
-
"project"?: string;
|
|
1096
|
+
"project"?: string | null;
|
|
771
1097
|
}
|
|
772
1098
|
/** 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
|
+
}
|
|
773
1115
|
export interface WalletBillingSubscriptionsIndexGetResponseData extends JsonObject {
|
|
774
|
-
"subscriptions":
|
|
1116
|
+
"subscriptions": WalletBillingSubscriptionsIndexGetResponseDataSubscriptions[];
|
|
775
1117
|
}
|
|
776
1118
|
export interface WalletBillingSubscriptionsIndexGetResponse extends ApiEnvelope<WalletBillingSubscriptionsIndexGetResponseData> {
|
|
777
1119
|
}
|
|
778
|
-
/** Backend response type: response
|
|
1120
|
+
/** Backend response type: handler-defined response. */
|
|
779
1121
|
export interface WalletBillingSubscriptionsCancelPostResponse extends ApiEnvelope<JsonValue> {
|
|
780
1122
|
}
|
|
781
|
-
/** Backend response type: response
|
|
1123
|
+
/** Backend response type: handler-defined response. */
|
|
782
1124
|
export interface ServiceLifecycleDeletePermanentlyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
783
1125
|
}
|
|
784
|
-
/** Backend response type: response
|
|
1126
|
+
/** Backend response type: handler-defined response. */
|
|
785
1127
|
export interface ServiceLifecyclePausePostResponse extends ApiEnvelope<JsonValue> {
|
|
786
1128
|
}
|
|
787
|
-
/** Backend response type: response
|
|
1129
|
+
/** Backend response type: handler-defined response. */
|
|
788
1130
|
export interface ServiceLifecycleRemovePostResponse extends ApiEnvelope<JsonValue> {
|
|
789
1131
|
}
|
|
790
|
-
/** Backend response type: response
|
|
1132
|
+
/** Backend response type: handler-defined response. */
|
|
791
1133
|
export interface ServiceLifecycleResumePostResponse extends ApiEnvelope<JsonValue> {
|
|
792
1134
|
}
|
|
793
1135
|
/** Backend request type: SubscriptionPurchaseRequest. */
|
|
1136
|
+
export interface WalletBillingSubscriptionsPurchasePostInputItems extends JsonObject {
|
|
1137
|
+
"service_name": string;
|
|
1138
|
+
"period": string;
|
|
1139
|
+
}
|
|
794
1140
|
export interface WalletBillingSubscriptionsPurchasePostInput extends JsonObject {
|
|
795
1141
|
"project": string;
|
|
796
|
-
"items":
|
|
797
|
-
"currency"?: string;
|
|
1142
|
+
"items": WalletBillingSubscriptionsPurchasePostInputItems[];
|
|
1143
|
+
"currency"?: string | null;
|
|
798
1144
|
}
|
|
799
1145
|
/** Backend response type: PurchaseInitResponse. */
|
|
800
1146
|
export interface WalletBillingSubscriptionsPurchasePostResponseData extends JsonObject {
|
|
@@ -805,21 +1151,21 @@ export interface WalletBillingSubscriptionsPurchasePostResponse extends ApiEnvel
|
|
|
805
1151
|
}
|
|
806
1152
|
/** Backend query type: LogListQuery. */
|
|
807
1153
|
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;
|
|
1154
|
+
"page[number]"?: number | null;
|
|
1155
|
+
"page[size]"?: number | null;
|
|
1156
|
+
"profile_id"?: string | null;
|
|
1157
|
+
"action_id"?: string | null;
|
|
1158
|
+
"asset_id"?: string | null;
|
|
1159
|
+
"from"?: string | null;
|
|
1160
|
+
"to"?: string | null;
|
|
1161
|
+
"search"?: string | null;
|
|
816
1162
|
}
|
|
817
1163
|
/** Backend response type: crate::models::PagedResult<crate::logs::models::UserActionLogResponse>. */
|
|
818
1164
|
export interface LogsUserActionLogsIndexGetResponseItem extends JsonObject {
|
|
819
1165
|
"id": string;
|
|
820
1166
|
"profile_id": string;
|
|
821
1167
|
"action_id": string;
|
|
822
|
-
"action_name"?: string;
|
|
1168
|
+
"action_name"?: string | null;
|
|
823
1169
|
"status": number;
|
|
824
1170
|
"created_at": string;
|
|
825
1171
|
}
|
|
@@ -837,14 +1183,14 @@ export interface LogsUserActionLogsIndexGetResponse extends ApiEnvelope<LogsUser
|
|
|
837
1183
|
}
|
|
838
1184
|
/** Backend query type: LogListQuery. */
|
|
839
1185
|
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;
|
|
1186
|
+
"page[number]"?: number | null;
|
|
1187
|
+
"page[size]"?: number | null;
|
|
1188
|
+
"profile_id"?: string | null;
|
|
1189
|
+
"action_id"?: string | null;
|
|
1190
|
+
"asset_id"?: string | null;
|
|
1191
|
+
"from"?: string | null;
|
|
1192
|
+
"to"?: string | null;
|
|
1193
|
+
"search"?: string | null;
|
|
848
1194
|
}
|
|
849
1195
|
/** Backend response type: crate::models::PagedResult<crate::logs::models::UserAssetLogResponse>. */
|
|
850
1196
|
export interface LogsUserAssetLogsIndexGetResponseItem extends JsonObject {
|
|
@@ -852,8 +1198,8 @@ export interface LogsUserAssetLogsIndexGetResponseItem extends JsonObject {
|
|
|
852
1198
|
"profile_id": string;
|
|
853
1199
|
"action_id": string;
|
|
854
1200
|
"asset_id": string;
|
|
855
|
-
"action_name"?: string;
|
|
856
|
-
"asset_name"?: string;
|
|
1201
|
+
"action_name"?: string | null;
|
|
1202
|
+
"asset_name"?: string | null;
|
|
857
1203
|
"quantity": number;
|
|
858
1204
|
"transaction_type": string;
|
|
859
1205
|
"created_at": string;
|
|
@@ -881,7 +1227,7 @@ export interface WalletBillingWalletShowGetResponse extends ApiEnvelope<WalletBi
|
|
|
881
1227
|
/** Backend request type: TopupRequest. */
|
|
882
1228
|
export interface WalletBillingWalletTopupPostInput extends JsonObject {
|
|
883
1229
|
"amount": number;
|
|
884
|
-
"currency"?: string;
|
|
1230
|
+
"currency"?: string | null;
|
|
885
1231
|
}
|
|
886
1232
|
/** Backend response type: PurchaseInitResponse. */
|
|
887
1233
|
export interface WalletBillingWalletTopupPostResponseData extends JsonObject {
|