@faiber/faiber-profile 0.2.1 → 0.3.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 +45 -13
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.ts +10 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -13
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +235 -0
- package/dist/operations.d.ts.map +1 -0
- package/dist/operations.js +464 -0
- package/dist/operations.js.map +1 -0
- package/dist/operations.types.d.ts +998 -0
- package/dist/operations.types.d.ts.map +1 -0
- package/dist/operations.types.js +2 -0
- package/dist/operations.types.js.map +1 -0
- package/dist/types.d.ts +107 -18
- package/dist/types.d.ts.map +1 -1
- package/package.json +20 -1
|
@@ -0,0 +1,998 @@
|
|
|
1
|
+
import type { ApiEnvelope, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
|
|
2
|
+
/** Generated route contracts. Dynamic payload members remain JSON-safe and are documented with their Rust source type. */
|
|
3
|
+
/** Backend response type: response without a declared JSON model. */
|
|
4
|
+
export interface RouterOpenapiJsonGetResponse extends ApiEnvelope<JsonValue> {
|
|
5
|
+
}
|
|
6
|
+
/** Backend request type: BulkAddressGet. */
|
|
7
|
+
export interface OptionAddressGetPostInput extends JsonObject {
|
|
8
|
+
}
|
|
9
|
+
/** Backend response type: Value. */
|
|
10
|
+
export interface OptionAddressGetPostResponse extends ApiEnvelope<JsonValue> {
|
|
11
|
+
}
|
|
12
|
+
/** Backend response type: SessionResponse. */
|
|
13
|
+
export interface SessionGetSelfGetResponseData extends JsonObject {
|
|
14
|
+
"user_id": string;
|
|
15
|
+
"roles": string[];
|
|
16
|
+
"permissions": string[];
|
|
17
|
+
}
|
|
18
|
+
export interface SessionGetSelfGetResponse extends ApiEnvelope<SessionGetSelfGetResponseData> {
|
|
19
|
+
}
|
|
20
|
+
/** Backend query type: models::ListQuery. */
|
|
21
|
+
export interface CityIndexGetQuery extends QueryParams {
|
|
22
|
+
"page"?: string;
|
|
23
|
+
"per_page"?: string;
|
|
24
|
+
"filter[search]"?: string;
|
|
25
|
+
"filter[status]"?: string;
|
|
26
|
+
"filter[active]"?: string;
|
|
27
|
+
"filter[name]"?: string;
|
|
28
|
+
"filter[province_id]"?: string;
|
|
29
|
+
"filter[trashed]"?: string;
|
|
30
|
+
}
|
|
31
|
+
/** Backend response type: models::ListData. */
|
|
32
|
+
export interface CityIndexGetResponseData extends JsonObject {
|
|
33
|
+
"cities": JsonValue[];
|
|
34
|
+
}
|
|
35
|
+
export interface CityIndexGetMetaData extends JsonObject {
|
|
36
|
+
"current_page": number;
|
|
37
|
+
"per_page": number;
|
|
38
|
+
"total": number;
|
|
39
|
+
"last_page": number;
|
|
40
|
+
}
|
|
41
|
+
export interface CityIndexGetResponse extends ApiEnvelope<CityIndexGetResponseData> {
|
|
42
|
+
meta: CityIndexGetMetaData;
|
|
43
|
+
}
|
|
44
|
+
/** Backend request type: models::Create. */
|
|
45
|
+
export interface CityStorePostInput extends JsonObject {
|
|
46
|
+
"province_id": string;
|
|
47
|
+
"name": string;
|
|
48
|
+
"latitude"?: number;
|
|
49
|
+
"longitude"?: number;
|
|
50
|
+
}
|
|
51
|
+
/** Backend response type: models::SingleData. */
|
|
52
|
+
export interface CityStorePostResponseData extends JsonObject {
|
|
53
|
+
"city": JsonValue;
|
|
54
|
+
}
|
|
55
|
+
export interface CityStorePostResponse extends ApiEnvelope<CityStorePostResponseData> {
|
|
56
|
+
}
|
|
57
|
+
/** Backend response type: serde_json::Value. */
|
|
58
|
+
export interface CityDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
59
|
+
}
|
|
60
|
+
/** Backend response type: models::SingleData. */
|
|
61
|
+
export interface CityShowGetResponseData extends JsonObject {
|
|
62
|
+
"city": JsonValue;
|
|
63
|
+
}
|
|
64
|
+
export interface CityShowGetResponse extends ApiEnvelope<CityShowGetResponseData> {
|
|
65
|
+
}
|
|
66
|
+
/** Backend request type: models::Update. */
|
|
67
|
+
export interface CityUpdatePatchInput extends JsonObject {
|
|
68
|
+
"province_id"?: string;
|
|
69
|
+
"name"?: string;
|
|
70
|
+
"latitude"?: number;
|
|
71
|
+
"longitude"?: number;
|
|
72
|
+
"status"?: string;
|
|
73
|
+
}
|
|
74
|
+
/** Backend response type: models::SingleData. */
|
|
75
|
+
export interface CityUpdatePatchResponseData extends JsonObject {
|
|
76
|
+
"city": JsonValue;
|
|
77
|
+
}
|
|
78
|
+
export interface CityUpdatePatchResponse extends ApiEnvelope<CityUpdatePatchResponseData> {
|
|
79
|
+
}
|
|
80
|
+
/** Backend request type: models::Update. */
|
|
81
|
+
export interface CityUpdatePutInput extends JsonObject {
|
|
82
|
+
"province_id"?: string;
|
|
83
|
+
"name"?: string;
|
|
84
|
+
"latitude"?: number;
|
|
85
|
+
"longitude"?: number;
|
|
86
|
+
"status"?: string;
|
|
87
|
+
}
|
|
88
|
+
/** Backend response type: models::SingleData. */
|
|
89
|
+
export interface CityUpdatePutResponseData extends JsonObject {
|
|
90
|
+
"city": JsonValue;
|
|
91
|
+
}
|
|
92
|
+
export interface CityUpdatePutResponse extends ApiEnvelope<CityUpdatePutResponseData> {
|
|
93
|
+
}
|
|
94
|
+
/** Backend response type: serde_json::Value. */
|
|
95
|
+
export interface CityForceDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
96
|
+
}
|
|
97
|
+
/** Backend response type: serde_json::Value. */
|
|
98
|
+
export interface CityRestoreGetResponse extends ApiEnvelope<JsonValue> {
|
|
99
|
+
}
|
|
100
|
+
/** Backend query type: models::ListQuery. */
|
|
101
|
+
export interface CountryIndexGetQuery extends QueryParams {
|
|
102
|
+
"page"?: string;
|
|
103
|
+
"per_page"?: string;
|
|
104
|
+
"filter[search]"?: string;
|
|
105
|
+
"filter[status]"?: string;
|
|
106
|
+
"filter[active]"?: string;
|
|
107
|
+
"filter[name]"?: string;
|
|
108
|
+
"filter[trashed]"?: string;
|
|
109
|
+
}
|
|
110
|
+
/** Backend response type: models::ListData. */
|
|
111
|
+
export interface CountryIndexGetResponseData extends JsonObject {
|
|
112
|
+
"countries": JsonValue[];
|
|
113
|
+
}
|
|
114
|
+
export interface CountryIndexGetMetaData extends JsonObject {
|
|
115
|
+
"current_page": number;
|
|
116
|
+
"per_page": number;
|
|
117
|
+
"total": number;
|
|
118
|
+
"last_page": number;
|
|
119
|
+
}
|
|
120
|
+
export interface CountryIndexGetResponse extends ApiEnvelope<CountryIndexGetResponseData> {
|
|
121
|
+
meta: CountryIndexGetMetaData;
|
|
122
|
+
}
|
|
123
|
+
/** Backend request type: models::Create. */
|
|
124
|
+
export interface CountryStorePostInput extends JsonObject {
|
|
125
|
+
"name": string;
|
|
126
|
+
"latitude"?: number;
|
|
127
|
+
"longitude"?: number;
|
|
128
|
+
}
|
|
129
|
+
/** Backend response type: models::SingleData. */
|
|
130
|
+
export interface CountryStorePostResponseData extends JsonObject {
|
|
131
|
+
"country": JsonValue;
|
|
132
|
+
}
|
|
133
|
+
export interface CountryStorePostResponse extends ApiEnvelope<CountryStorePostResponseData> {
|
|
134
|
+
}
|
|
135
|
+
/** Backend response type: serde_json::Value. */
|
|
136
|
+
export interface CountryDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
137
|
+
}
|
|
138
|
+
/** Backend response type: models::SingleData. */
|
|
139
|
+
export interface CountryShowGetResponseData extends JsonObject {
|
|
140
|
+
"country": JsonValue;
|
|
141
|
+
}
|
|
142
|
+
export interface CountryShowGetResponse extends ApiEnvelope<CountryShowGetResponseData> {
|
|
143
|
+
}
|
|
144
|
+
/** Backend request type: models::Update. */
|
|
145
|
+
export interface CountryUpdatePatchInput extends JsonObject {
|
|
146
|
+
"name"?: string;
|
|
147
|
+
"status"?: string;
|
|
148
|
+
"latitude"?: number;
|
|
149
|
+
"longitude"?: number;
|
|
150
|
+
}
|
|
151
|
+
/** Backend response type: models::SingleData. */
|
|
152
|
+
export interface CountryUpdatePatchResponseData extends JsonObject {
|
|
153
|
+
"country": JsonValue;
|
|
154
|
+
}
|
|
155
|
+
export interface CountryUpdatePatchResponse extends ApiEnvelope<CountryUpdatePatchResponseData> {
|
|
156
|
+
}
|
|
157
|
+
/** Backend request type: models::Update. */
|
|
158
|
+
export interface CountryUpdatePutInput extends JsonObject {
|
|
159
|
+
"name"?: string;
|
|
160
|
+
"status"?: string;
|
|
161
|
+
"latitude"?: number;
|
|
162
|
+
"longitude"?: number;
|
|
163
|
+
}
|
|
164
|
+
/** Backend response type: models::SingleData. */
|
|
165
|
+
export interface CountryUpdatePutResponseData extends JsonObject {
|
|
166
|
+
"country": JsonValue;
|
|
167
|
+
}
|
|
168
|
+
export interface CountryUpdatePutResponse extends ApiEnvelope<CountryUpdatePutResponseData> {
|
|
169
|
+
}
|
|
170
|
+
/** Backend response type: serde_json::Value. */
|
|
171
|
+
export interface CountryForceDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
172
|
+
}
|
|
173
|
+
/** Backend response type: serde_json::Value. */
|
|
174
|
+
export interface CountryRestoreGetResponse extends ApiEnvelope<JsonValue> {
|
|
175
|
+
}
|
|
176
|
+
/** Backend response type: Value. */
|
|
177
|
+
export interface OptionDependencyGetResponse extends ApiEnvelope<JsonValue> {
|
|
178
|
+
}
|
|
179
|
+
/** Backend response type: Value. */
|
|
180
|
+
export interface OptionIdentityGetResponse extends ApiEnvelope<JsonValue> {
|
|
181
|
+
}
|
|
182
|
+
/** Backend response type: crate::integration::models::IntegrationDocsResponse. */
|
|
183
|
+
export interface IntegrationIntegrationDocsShowGetResponseData extends JsonObject {
|
|
184
|
+
"direct": JsonValue;
|
|
185
|
+
"sdk": JsonValue[];
|
|
186
|
+
}
|
|
187
|
+
export interface IntegrationIntegrationDocsShowGetResponse extends ApiEnvelope<IntegrationIntegrationDocsShowGetResponseData> {
|
|
188
|
+
}
|
|
189
|
+
/** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
|
|
190
|
+
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<JsonValue> {
|
|
191
|
+
}
|
|
192
|
+
/** Backend request type: LogActionCreate. */
|
|
193
|
+
export interface LogActionStorePostInput extends JsonObject {
|
|
194
|
+
}
|
|
195
|
+
/** Backend response type: Value. */
|
|
196
|
+
export interface LogActionStorePostResponse extends ApiEnvelope<JsonValue> {
|
|
197
|
+
}
|
|
198
|
+
/** Backend request type: LogActionCreate. */
|
|
199
|
+
export interface LogActionStoreSlugPostInput extends JsonObject {
|
|
200
|
+
}
|
|
201
|
+
/** Backend response type: Value. */
|
|
202
|
+
export interface LogActionStoreSlugPostResponse extends ApiEnvelope<JsonValue> {
|
|
203
|
+
}
|
|
204
|
+
/** Backend request type: LogActionCreate. */
|
|
205
|
+
export interface LogActionStoreDirectPostInput extends JsonObject {
|
|
206
|
+
}
|
|
207
|
+
/** Backend response type: Value. */
|
|
208
|
+
export interface LogActionStoreDirectPostResponse extends ApiEnvelope<JsonValue> {
|
|
209
|
+
}
|
|
210
|
+
/** Backend response type: Value. */
|
|
211
|
+
export interface LoggerIndexGetResponse extends ApiEnvelope<JsonValue> {
|
|
212
|
+
}
|
|
213
|
+
/** Backend response type: Value. */
|
|
214
|
+
export interface LoggerShowGetResponse extends ApiEnvelope<JsonValue> {
|
|
215
|
+
}
|
|
216
|
+
/** Backend request type: BulkParentGet. */
|
|
217
|
+
export interface OptionParentGetPostInput extends JsonObject {
|
|
218
|
+
}
|
|
219
|
+
/** Backend response type: Value. */
|
|
220
|
+
export interface OptionParentGetPostResponse extends ApiEnvelope<JsonValue> {
|
|
221
|
+
}
|
|
222
|
+
/** Backend query type: models::ListQuery. */
|
|
223
|
+
export interface ProfileIndexGetQuery extends QueryParams {
|
|
224
|
+
"page"?: string;
|
|
225
|
+
"per_page"?: string;
|
|
226
|
+
"filter[search]"?: string;
|
|
227
|
+
"filter[status]"?: string;
|
|
228
|
+
"filter[active]"?: string;
|
|
229
|
+
"filter[role]"?: string;
|
|
230
|
+
"filter[trashed]"?: string;
|
|
231
|
+
}
|
|
232
|
+
/** Backend response type: models::ListData. */
|
|
233
|
+
export interface ProfileIndexGetResponseData extends JsonObject {
|
|
234
|
+
"profiles": JsonValue[];
|
|
235
|
+
}
|
|
236
|
+
export interface ProfileIndexGetMetaData extends JsonObject {
|
|
237
|
+
"current_page": number;
|
|
238
|
+
"per_page": number;
|
|
239
|
+
"total": number;
|
|
240
|
+
"last_page": number;
|
|
241
|
+
}
|
|
242
|
+
export interface ProfileIndexGetResponse extends ApiEnvelope<ProfileIndexGetResponseData> {
|
|
243
|
+
meta: ProfileIndexGetMetaData;
|
|
244
|
+
}
|
|
245
|
+
/** Backend query type: models::ListQuery. */
|
|
246
|
+
export interface ProfilePropertyIndexGetQuery extends QueryParams {
|
|
247
|
+
"page"?: string;
|
|
248
|
+
"per_page"?: string;
|
|
249
|
+
"filter[search]"?: string;
|
|
250
|
+
"filter[status]"?: string;
|
|
251
|
+
"filter[active]"?: string;
|
|
252
|
+
"filter[key]"?: string;
|
|
253
|
+
"filter[title]"?: string;
|
|
254
|
+
"filter[trashed]"?: string;
|
|
255
|
+
}
|
|
256
|
+
/** Backend response type: models::ListData. */
|
|
257
|
+
export interface ProfilePropertyIndexGetResponseData extends JsonObject {
|
|
258
|
+
"profile_property_definitions": JsonValue[];
|
|
259
|
+
}
|
|
260
|
+
export interface ProfilePropertyIndexGetMetaData extends JsonObject {
|
|
261
|
+
"current_page": number;
|
|
262
|
+
"per_page": number;
|
|
263
|
+
"total": number;
|
|
264
|
+
"last_page": number;
|
|
265
|
+
}
|
|
266
|
+
export interface ProfilePropertyIndexGetResponse extends ApiEnvelope<ProfilePropertyIndexGetResponseData> {
|
|
267
|
+
meta: ProfilePropertyIndexGetMetaData;
|
|
268
|
+
}
|
|
269
|
+
/** Backend request type: models::Create. */
|
|
270
|
+
export interface ProfilePropertyStorePostInput extends JsonObject {
|
|
271
|
+
"key": string;
|
|
272
|
+
"title": string;
|
|
273
|
+
"validator_type": string;
|
|
274
|
+
"validator_config"?: JsonValue;
|
|
275
|
+
"visible_in_list"?: boolean;
|
|
276
|
+
"visible_in_get"?: boolean;
|
|
277
|
+
"visible_in_full"?: boolean;
|
|
278
|
+
"filterable"?: boolean;
|
|
279
|
+
"index_value_kind"?: string;
|
|
280
|
+
"sort_order"?: number;
|
|
281
|
+
}
|
|
282
|
+
/** Backend response type: models::SingleData. */
|
|
283
|
+
export interface ProfilePropertyStorePostResponseData extends JsonObject {
|
|
284
|
+
"profile_property_definition": JsonValue;
|
|
285
|
+
}
|
|
286
|
+
export interface ProfilePropertyStorePostResponse extends ApiEnvelope<ProfilePropertyStorePostResponseData> {
|
|
287
|
+
}
|
|
288
|
+
/** Backend response type: serde_json::Value. */
|
|
289
|
+
export interface ProfilePropertyDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
290
|
+
}
|
|
291
|
+
/** Backend response type: models::SingleData. */
|
|
292
|
+
export interface ProfilePropertyShowGetResponseData extends JsonObject {
|
|
293
|
+
"profile_property_definition": JsonValue;
|
|
294
|
+
}
|
|
295
|
+
export interface ProfilePropertyShowGetResponse extends ApiEnvelope<ProfilePropertyShowGetResponseData> {
|
|
296
|
+
}
|
|
297
|
+
/** Backend request type: models::Update. */
|
|
298
|
+
export interface ProfilePropertyUpdatePatchInput extends JsonObject {
|
|
299
|
+
"key"?: string;
|
|
300
|
+
"title"?: string;
|
|
301
|
+
"validator_type"?: string;
|
|
302
|
+
"validator_config"?: JsonValue;
|
|
303
|
+
"visible_in_list"?: boolean;
|
|
304
|
+
"visible_in_get"?: boolean;
|
|
305
|
+
"visible_in_full"?: boolean;
|
|
306
|
+
"filterable"?: boolean;
|
|
307
|
+
"index_value_kind"?: string;
|
|
308
|
+
"sort_order"?: number;
|
|
309
|
+
"status"?: string;
|
|
310
|
+
}
|
|
311
|
+
/** Backend response type: models::SingleData. */
|
|
312
|
+
export interface ProfilePropertyUpdatePatchResponseData extends JsonObject {
|
|
313
|
+
"profile_property_definition": JsonValue;
|
|
314
|
+
}
|
|
315
|
+
export interface ProfilePropertyUpdatePatchResponse extends ApiEnvelope<ProfilePropertyUpdatePatchResponseData> {
|
|
316
|
+
}
|
|
317
|
+
/** Backend request type: models::Update. */
|
|
318
|
+
export interface ProfilePropertyUpdatePutInput extends JsonObject {
|
|
319
|
+
"key"?: string;
|
|
320
|
+
"title"?: string;
|
|
321
|
+
"validator_type"?: string;
|
|
322
|
+
"validator_config"?: JsonValue;
|
|
323
|
+
"visible_in_list"?: boolean;
|
|
324
|
+
"visible_in_get"?: boolean;
|
|
325
|
+
"visible_in_full"?: boolean;
|
|
326
|
+
"filterable"?: boolean;
|
|
327
|
+
"index_value_kind"?: string;
|
|
328
|
+
"sort_order"?: number;
|
|
329
|
+
"status"?: string;
|
|
330
|
+
}
|
|
331
|
+
/** Backend response type: models::SingleData. */
|
|
332
|
+
export interface ProfilePropertyUpdatePutResponseData extends JsonObject {
|
|
333
|
+
"profile_property_definition": JsonValue;
|
|
334
|
+
}
|
|
335
|
+
export interface ProfilePropertyUpdatePutResponse extends ApiEnvelope<ProfilePropertyUpdatePutResponseData> {
|
|
336
|
+
}
|
|
337
|
+
/** Backend response type: serde_json::Value. */
|
|
338
|
+
export interface ProfilePropertyForceDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
339
|
+
}
|
|
340
|
+
/** Backend response type: serde_json::Value. */
|
|
341
|
+
export interface ProfilePropertyRestoreGetResponse extends ApiEnvelope<JsonValue> {
|
|
342
|
+
}
|
|
343
|
+
/** Backend response type: serde_json::Value. */
|
|
344
|
+
export interface ProfileDeleteParentDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
345
|
+
}
|
|
346
|
+
/** Backend response type: serde_json::Value. */
|
|
347
|
+
export interface ProfileDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
348
|
+
}
|
|
349
|
+
/** Backend response type: models::SingleData. */
|
|
350
|
+
export interface ProfileShowGetResponseData extends JsonObject {
|
|
351
|
+
"profile": JsonValue;
|
|
352
|
+
}
|
|
353
|
+
export interface ProfileShowGetResponse extends ApiEnvelope<ProfileShowGetResponseData> {
|
|
354
|
+
}
|
|
355
|
+
/** Backend request type: models::ProfilePatch. */
|
|
356
|
+
export interface ProfileUpdatePatchInput extends JsonObject {
|
|
357
|
+
"email"?: string | null;
|
|
358
|
+
"phone"?: string | null;
|
|
359
|
+
"national_code"?: string | null;
|
|
360
|
+
"national_number"?: string | null;
|
|
361
|
+
"first_name"?: JsonValue;
|
|
362
|
+
"last_name"?: JsonValue;
|
|
363
|
+
"birthday"?: string | null;
|
|
364
|
+
"nationality"?: string | null;
|
|
365
|
+
"religion"?: string | null;
|
|
366
|
+
"gender"?: string | null;
|
|
367
|
+
"attendance_mode"?: string | null;
|
|
368
|
+
"level"?: string | null;
|
|
369
|
+
"referral_source"?: string | null;
|
|
370
|
+
"referrer_uuid"?: string | null;
|
|
371
|
+
"description"?: string | null;
|
|
372
|
+
"marital"?: string | null;
|
|
373
|
+
"nickname"?: string | null;
|
|
374
|
+
"country_id"?: string | null;
|
|
375
|
+
"province_id"?: string | null;
|
|
376
|
+
"city_id"?: string | null;
|
|
377
|
+
"status"?: string;
|
|
378
|
+
"employee_type"?: string | null;
|
|
379
|
+
"freemium_session_limit"?: number | null;
|
|
380
|
+
"meta"?: JsonValue;
|
|
381
|
+
"app"?: JsonValue;
|
|
382
|
+
"properties"?: Record<string, JsonValue>;
|
|
383
|
+
}
|
|
384
|
+
/** Backend response type: models::SingleData. */
|
|
385
|
+
export interface ProfileUpdatePatchResponseData extends JsonObject {
|
|
386
|
+
"profile": JsonValue;
|
|
387
|
+
}
|
|
388
|
+
export interface ProfileUpdatePatchResponse extends ApiEnvelope<ProfileUpdatePatchResponseData> {
|
|
389
|
+
}
|
|
390
|
+
/** Backend response type: models::SingleData. */
|
|
391
|
+
export interface ProfileShowAdminGetResponseData extends JsonObject {
|
|
392
|
+
"profile": JsonValue;
|
|
393
|
+
}
|
|
394
|
+
export interface ProfileShowAdminGetResponse extends ApiEnvelope<ProfileShowAdminGetResponseData> {
|
|
395
|
+
}
|
|
396
|
+
/** Backend response type: serde_json::Value. */
|
|
397
|
+
export interface ProfileAvatarDeleteDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
398
|
+
}
|
|
399
|
+
/** Backend request type: multipart/form-data. */
|
|
400
|
+
export interface ProfileAvatarStorePostInput extends JsonObject {
|
|
401
|
+
}
|
|
402
|
+
/** Backend response type: serde_json::Value. */
|
|
403
|
+
export interface ProfileAvatarStorePostResponse extends ApiEnvelope<JsonValue> {
|
|
404
|
+
}
|
|
405
|
+
/** Backend response type: serde_json::Value. */
|
|
406
|
+
export interface ProfileDeleteAddressDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
407
|
+
}
|
|
408
|
+
/** Backend request type: models::UpdateEmployeeType. */
|
|
409
|
+
export interface ProfileUpdateEmployeeTypePatchInput extends JsonObject {
|
|
410
|
+
"employee_type": string;
|
|
411
|
+
}
|
|
412
|
+
/** Backend response type: models::SingleData. */
|
|
413
|
+
export interface ProfileUpdateEmployeeTypePatchResponseData extends JsonObject {
|
|
414
|
+
"profile": JsonValue;
|
|
415
|
+
}
|
|
416
|
+
export interface ProfileUpdateEmployeeTypePatchResponse extends ApiEnvelope<ProfileUpdateEmployeeTypePatchResponseData> {
|
|
417
|
+
}
|
|
418
|
+
/** Backend request type: models::UpdateEmployeeType. */
|
|
419
|
+
export interface ProfileUpdateEmployeeTypePutInput extends JsonObject {
|
|
420
|
+
"employee_type": string;
|
|
421
|
+
}
|
|
422
|
+
/** Backend response type: models::SingleData. */
|
|
423
|
+
export interface ProfileUpdateEmployeeTypePutResponseData extends JsonObject {
|
|
424
|
+
"profile": JsonValue;
|
|
425
|
+
}
|
|
426
|
+
export interface ProfileUpdateEmployeeTypePutResponse extends ApiEnvelope<ProfileUpdateEmployeeTypePutResponseData> {
|
|
427
|
+
}
|
|
428
|
+
/** Backend request type: models::UpdateFreemiumLimit. */
|
|
429
|
+
export interface ProfileUpdateFreemiumPatchInput extends JsonObject {
|
|
430
|
+
"freemium_session_limit": number;
|
|
431
|
+
}
|
|
432
|
+
/** Backend response type: models::SingleData. */
|
|
433
|
+
export interface ProfileUpdateFreemiumPatchResponseData extends JsonObject {
|
|
434
|
+
"profile": JsonValue;
|
|
435
|
+
}
|
|
436
|
+
export interface ProfileUpdateFreemiumPatchResponse extends ApiEnvelope<ProfileUpdateFreemiumPatchResponseData> {
|
|
437
|
+
}
|
|
438
|
+
/** Backend request type: models::UpdateFreemiumLimit. */
|
|
439
|
+
export interface ProfileUpdateFreemiumPutInput extends JsonObject {
|
|
440
|
+
"freemium_session_limit": number;
|
|
441
|
+
}
|
|
442
|
+
/** Backend response type: models::SingleData. */
|
|
443
|
+
export interface ProfileUpdateFreemiumPutResponseData extends JsonObject {
|
|
444
|
+
"profile": JsonValue;
|
|
445
|
+
}
|
|
446
|
+
export interface ProfileUpdateFreemiumPutResponse extends ApiEnvelope<ProfileUpdateFreemiumPutResponseData> {
|
|
447
|
+
}
|
|
448
|
+
/** Backend response type: models::SingleData. */
|
|
449
|
+
export interface ProfileShowFullGetResponseData extends JsonObject {
|
|
450
|
+
"profile": JsonValue;
|
|
451
|
+
}
|
|
452
|
+
export interface ProfileShowFullGetResponse extends ApiEnvelope<ProfileShowFullGetResponseData> {
|
|
453
|
+
}
|
|
454
|
+
/** Backend query type: MediaQuery. */
|
|
455
|
+
export interface ProfileMediaShowGetQuery extends QueryParams {
|
|
456
|
+
}
|
|
457
|
+
/** Backend response type: response without a declared JSON model. */
|
|
458
|
+
export interface ProfileMediaShowGetResponse extends ApiEnvelope<JsonValue> {
|
|
459
|
+
}
|
|
460
|
+
/** Backend request type: property_models::PropertiesUpdate. */
|
|
461
|
+
export interface ProfileUpdatePropertiesPatchInput extends JsonObject {
|
|
462
|
+
"properties": Record<string, JsonValue>;
|
|
463
|
+
}
|
|
464
|
+
/** Backend response type: serde_json::Value. */
|
|
465
|
+
export interface ProfileUpdatePropertiesPatchResponse extends ApiEnvelope<JsonValue> {
|
|
466
|
+
}
|
|
467
|
+
/** Backend request type: property_models::PropertiesUpdate. */
|
|
468
|
+
export interface ProfileUpdatePropertiesPutInput extends JsonObject {
|
|
469
|
+
"properties": Record<string, JsonValue>;
|
|
470
|
+
}
|
|
471
|
+
/** Backend response type: serde_json::Value. */
|
|
472
|
+
export interface ProfileUpdatePropertiesPutResponse extends ApiEnvelope<JsonValue> {
|
|
473
|
+
}
|
|
474
|
+
/** Backend request type: models::UpdateStatus. */
|
|
475
|
+
export interface ProfileUpdateStatusPatchInput extends JsonObject {
|
|
476
|
+
"status": string;
|
|
477
|
+
}
|
|
478
|
+
/** Backend response type: models::SingleData. */
|
|
479
|
+
export interface ProfileUpdateStatusPatchResponseData extends JsonObject {
|
|
480
|
+
"profile": JsonValue;
|
|
481
|
+
}
|
|
482
|
+
export interface ProfileUpdateStatusPatchResponse extends ApiEnvelope<ProfileUpdateStatusPatchResponseData> {
|
|
483
|
+
}
|
|
484
|
+
/** Backend request type: models::UpdateStatus. */
|
|
485
|
+
export interface ProfileUpdateStatusPutInput extends JsonObject {
|
|
486
|
+
"status": string;
|
|
487
|
+
}
|
|
488
|
+
/** Backend response type: models::SingleData. */
|
|
489
|
+
export interface ProfileUpdateStatusPutResponseData extends JsonObject {
|
|
490
|
+
"profile": JsonValue;
|
|
491
|
+
}
|
|
492
|
+
export interface ProfileUpdateStatusPutResponse extends ApiEnvelope<ProfileUpdateStatusPutResponseData> {
|
|
493
|
+
}
|
|
494
|
+
/** Backend response type: response without a declared JSON model. */
|
|
495
|
+
export interface ProfileAccountantIndexGetResponse extends ApiEnvelope<JsonValue> {
|
|
496
|
+
}
|
|
497
|
+
/** Backend request type: models::AddressRequest. */
|
|
498
|
+
export interface ProfileAddAddressPatchInput extends JsonObject {
|
|
499
|
+
"title": string;
|
|
500
|
+
"country"?: string;
|
|
501
|
+
"province"?: string;
|
|
502
|
+
"city"?: string;
|
|
503
|
+
"postal_code"?: string;
|
|
504
|
+
"plate"?: string;
|
|
505
|
+
"detail"?: string;
|
|
506
|
+
}
|
|
507
|
+
/** Backend response type: serde_json::Value. */
|
|
508
|
+
export interface ProfileAddAddressPatchResponse extends ApiEnvelope<JsonValue> {
|
|
509
|
+
}
|
|
510
|
+
/** Backend request type: models::AddressRequest. */
|
|
511
|
+
export interface ProfileAddAddressPutInput extends JsonObject {
|
|
512
|
+
"title": string;
|
|
513
|
+
"country"?: string;
|
|
514
|
+
"province"?: string;
|
|
515
|
+
"city"?: string;
|
|
516
|
+
"postal_code"?: string;
|
|
517
|
+
"plate"?: string;
|
|
518
|
+
"detail"?: string;
|
|
519
|
+
}
|
|
520
|
+
/** Backend response type: serde_json::Value. */
|
|
521
|
+
export interface ProfileAddAddressPutResponse extends ApiEnvelope<JsonValue> {
|
|
522
|
+
}
|
|
523
|
+
/** Backend request type: models::AppUpdate. */
|
|
524
|
+
export interface ProfileAddAppPatchInput extends JsonObject {
|
|
525
|
+
"app": JsonValue;
|
|
526
|
+
}
|
|
527
|
+
/** Backend response type: serde_json::Value. */
|
|
528
|
+
export interface ProfileAddAppPatchResponse extends ApiEnvelope<JsonValue> {
|
|
529
|
+
}
|
|
530
|
+
/** Backend request type: models::AppUpdate. */
|
|
531
|
+
export interface ProfileAddAppPutInput extends JsonObject {
|
|
532
|
+
"app": JsonValue;
|
|
533
|
+
}
|
|
534
|
+
/** Backend response type: serde_json::Value. */
|
|
535
|
+
export interface ProfileAddAppPutResponse extends ApiEnvelope<JsonValue> {
|
|
536
|
+
}
|
|
537
|
+
/** Backend request type: models::ParentLinkRequest. */
|
|
538
|
+
export interface ProfileAddParentPatchInput extends JsonObject {
|
|
539
|
+
"user_id": string;
|
|
540
|
+
"parent_type"?: string;
|
|
541
|
+
}
|
|
542
|
+
/** Backend response type: serde_json::Value. */
|
|
543
|
+
export interface ProfileAddParentPatchResponse extends ApiEnvelope<JsonValue> {
|
|
544
|
+
}
|
|
545
|
+
/** Backend request type: models::ParentLinkRequest. */
|
|
546
|
+
export interface ProfileAddParentPutInput extends JsonObject {
|
|
547
|
+
"user_id": string;
|
|
548
|
+
"parent_type"?: string;
|
|
549
|
+
}
|
|
550
|
+
/** Backend response type: serde_json::Value. */
|
|
551
|
+
export interface ProfileAddParentPutResponse extends ApiEnvelope<JsonValue> {
|
|
552
|
+
}
|
|
553
|
+
/** Backend request type: models::GeoBulkGetRequest. */
|
|
554
|
+
export interface ProfileCityGetPostInput extends JsonObject {
|
|
555
|
+
"ids": string[];
|
|
556
|
+
"user_ids"?: string[];
|
|
557
|
+
}
|
|
558
|
+
/** Backend response type: models::ListData. */
|
|
559
|
+
export interface ProfileCityGetPostResponseData extends JsonObject {
|
|
560
|
+
"profiles": JsonValue[];
|
|
561
|
+
}
|
|
562
|
+
export interface ProfileCityGetPostResponse extends ApiEnvelope<ProfileCityGetPostResponseData> {
|
|
563
|
+
}
|
|
564
|
+
/** Backend response type: response without a declared JSON model. */
|
|
565
|
+
export interface ProfileConsultantIndexGetResponse extends ApiEnvelope<JsonValue> {
|
|
566
|
+
}
|
|
567
|
+
/** Backend request type: models::GeoBulkGetRequest. */
|
|
568
|
+
export interface ProfileCountryGetPostInput extends JsonObject {
|
|
569
|
+
"ids": string[];
|
|
570
|
+
"user_ids"?: string[];
|
|
571
|
+
}
|
|
572
|
+
/** Backend response type: models::ListData. */
|
|
573
|
+
export interface ProfileCountryGetPostResponseData extends JsonObject {
|
|
574
|
+
"profiles": JsonValue[];
|
|
575
|
+
}
|
|
576
|
+
export interface ProfileCountryGetPostResponse extends ApiEnvelope<ProfileCountryGetPostResponseData> {
|
|
577
|
+
}
|
|
578
|
+
/** Backend response type: serde_json::Value. */
|
|
579
|
+
export interface ProfileForceDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
580
|
+
}
|
|
581
|
+
/** Backend request type: models::BulkGetRequest. */
|
|
582
|
+
export interface ProfileBulkGetPostInput extends JsonObject {
|
|
583
|
+
"user_ids": string[];
|
|
584
|
+
}
|
|
585
|
+
/** Backend response type: models::ListData. */
|
|
586
|
+
export interface ProfileBulkGetPostResponseData extends JsonObject {
|
|
587
|
+
"profiles": JsonValue[];
|
|
588
|
+
}
|
|
589
|
+
export interface ProfileBulkGetPostResponse extends ApiEnvelope<ProfileBulkGetPostResponseData> {
|
|
590
|
+
}
|
|
591
|
+
/** Backend response type: serde_json::Value. */
|
|
592
|
+
export interface ProfileChatListGetResponse extends ApiEnvelope<JsonValue> {
|
|
593
|
+
}
|
|
594
|
+
/** Backend response type: serde_json::Value. */
|
|
595
|
+
export interface ProfileGetAddressGetResponse extends ApiEnvelope<JsonValue> {
|
|
596
|
+
}
|
|
597
|
+
/** Backend response type: serde_json::Value. */
|
|
598
|
+
export interface ProfileGetAppGetResponse extends ApiEnvelope<JsonValue> {
|
|
599
|
+
}
|
|
600
|
+
/** Backend response type: serde_json::Value. */
|
|
601
|
+
export interface ProfileGetParentGetResponse extends ApiEnvelope<JsonValue> {
|
|
602
|
+
}
|
|
603
|
+
/** Backend response type: response without a declared JSON model. */
|
|
604
|
+
export interface ProfileManagerIndexGetResponse extends ApiEnvelope<JsonValue> {
|
|
605
|
+
}
|
|
606
|
+
/** Backend response type: response without a declared JSON model. */
|
|
607
|
+
export interface ProfileOtherIndexGetResponse extends ApiEnvelope<JsonValue> {
|
|
608
|
+
}
|
|
609
|
+
/** Backend response type: response without a declared JSON model. */
|
|
610
|
+
export interface ProfileParentIndexGetResponse extends ApiEnvelope<JsonValue> {
|
|
611
|
+
}
|
|
612
|
+
/** Backend request type: models::GeoBulkGetRequest. */
|
|
613
|
+
export interface ProfileProvinceGetPostInput extends JsonObject {
|
|
614
|
+
"ids": string[];
|
|
615
|
+
"user_ids"?: string[];
|
|
616
|
+
}
|
|
617
|
+
/** Backend response type: models::ListData. */
|
|
618
|
+
export interface ProfileProvinceGetPostResponseData extends JsonObject {
|
|
619
|
+
"profiles": JsonValue[];
|
|
620
|
+
}
|
|
621
|
+
export interface ProfileProvinceGetPostResponse extends ApiEnvelope<ProfileProvinceGetPostResponseData> {
|
|
622
|
+
}
|
|
623
|
+
/** Backend request type: crate::profile_search::models::SearchRequest. */
|
|
624
|
+
export interface ProfileSearchSearchPostInput extends JsonObject {
|
|
625
|
+
"search"?: string;
|
|
626
|
+
"filters": JsonValue[];
|
|
627
|
+
"sort": JsonValue[];
|
|
628
|
+
"page"?: number;
|
|
629
|
+
"per_page"?: number;
|
|
630
|
+
"include": string[];
|
|
631
|
+
}
|
|
632
|
+
/** Backend response type: SearchData. */
|
|
633
|
+
export interface ProfileSearchSearchPostResponseData extends JsonObject {
|
|
634
|
+
"results": JsonValue[];
|
|
635
|
+
}
|
|
636
|
+
export interface ProfileSearchSearchPostMetaData extends JsonObject {
|
|
637
|
+
"current_page": number;
|
|
638
|
+
"per_page": number;
|
|
639
|
+
"total": number;
|
|
640
|
+
"last_page": number;
|
|
641
|
+
}
|
|
642
|
+
export interface ProfileSearchSearchPostResponse extends ApiEnvelope<ProfileSearchSearchPostResponseData> {
|
|
643
|
+
meta: ProfileSearchSearchPostMetaData;
|
|
644
|
+
}
|
|
645
|
+
/** Backend response type: response without a declared JSON model. */
|
|
646
|
+
export interface ProfileStudentIndexGetResponse extends ApiEnvelope<JsonValue> {
|
|
647
|
+
}
|
|
648
|
+
/** Backend response type: models::PesResponse. */
|
|
649
|
+
export interface ProfileStudentPesGetResponseData extends JsonObject {
|
|
650
|
+
"count": number;
|
|
651
|
+
"amount": number;
|
|
652
|
+
}
|
|
653
|
+
export interface ProfileStudentPesGetResponse extends ApiEnvelope<ProfileStudentPesGetResponseData> {
|
|
654
|
+
}
|
|
655
|
+
/** Backend response type: serde_json::Value. */
|
|
656
|
+
export interface ProfileStudentPesSchemaGetResponse extends ApiEnvelope<JsonValue> {
|
|
657
|
+
}
|
|
658
|
+
/** Backend response type: response without a declared JSON model. */
|
|
659
|
+
export interface ProfileSupportIndexGetResponse extends ApiEnvelope<JsonValue> {
|
|
660
|
+
}
|
|
661
|
+
/** Backend response type: models::PesResponse. */
|
|
662
|
+
export interface ProfileSupportPesGetResponseData extends JsonObject {
|
|
663
|
+
"count": number;
|
|
664
|
+
"amount": number;
|
|
665
|
+
}
|
|
666
|
+
export interface ProfileSupportPesGetResponse extends ApiEnvelope<ProfileSupportPesGetResponseData> {
|
|
667
|
+
}
|
|
668
|
+
/** Backend response type: serde_json::Value. */
|
|
669
|
+
export interface ProfileSupportPesSchemaGetResponse extends ApiEnvelope<JsonValue> {
|
|
670
|
+
}
|
|
671
|
+
/** Backend response type: response without a declared JSON model. */
|
|
672
|
+
export interface ProfileTeacherIndexGetResponse extends ApiEnvelope<JsonValue> {
|
|
673
|
+
}
|
|
674
|
+
/** Backend response type: serde_json::Value. */
|
|
675
|
+
export interface ProfileRestoreGetResponse extends ApiEnvelope<JsonValue> {
|
|
676
|
+
}
|
|
677
|
+
/** Backend request type: models::MetaUpdate. */
|
|
678
|
+
export interface ProfileAddMetaPatchInput extends JsonObject {
|
|
679
|
+
"meta": JsonValue;
|
|
680
|
+
}
|
|
681
|
+
/** Backend response type: serde_json::Value. */
|
|
682
|
+
export interface ProfileAddMetaPatchResponse extends ApiEnvelope<JsonValue> {
|
|
683
|
+
}
|
|
684
|
+
/** Backend request type: models::MetaUpdate. */
|
|
685
|
+
export interface ProfileAddMetaPutInput extends JsonObject {
|
|
686
|
+
"meta": JsonValue;
|
|
687
|
+
}
|
|
688
|
+
/** Backend response type: serde_json::Value. */
|
|
689
|
+
export interface ProfileAddMetaPutResponse extends ApiEnvelope<JsonValue> {
|
|
690
|
+
}
|
|
691
|
+
/** Backend request type: models::PersonalInformationUpdate. */
|
|
692
|
+
export interface ProfileUpdatePersonalPatchInput extends JsonObject {
|
|
693
|
+
"first_name"?: JsonValue;
|
|
694
|
+
"last_name"?: JsonValue;
|
|
695
|
+
"birthday"?: string;
|
|
696
|
+
"nationality"?: string;
|
|
697
|
+
"religion"?: string;
|
|
698
|
+
"gender"?: string;
|
|
699
|
+
"marital"?: string;
|
|
700
|
+
"nickname"?: string;
|
|
701
|
+
"national_number"?: string;
|
|
702
|
+
"description"?: string;
|
|
703
|
+
"referral_source"?: string;
|
|
704
|
+
"referrer_uuid"?: string;
|
|
705
|
+
"country_id"?: string;
|
|
706
|
+
"province_id"?: string;
|
|
707
|
+
"city_id"?: string;
|
|
708
|
+
}
|
|
709
|
+
/** Backend response type: models::SingleData. */
|
|
710
|
+
export interface ProfileUpdatePersonalPatchResponseData extends JsonObject {
|
|
711
|
+
"profile": JsonValue;
|
|
712
|
+
}
|
|
713
|
+
export interface ProfileUpdatePersonalPatchResponse extends ApiEnvelope<ProfileUpdatePersonalPatchResponseData> {
|
|
714
|
+
}
|
|
715
|
+
/** Backend request type: models::PersonalInformationUpdate. */
|
|
716
|
+
export interface ProfileUpdatePersonalPutInput extends JsonObject {
|
|
717
|
+
"first_name"?: JsonValue;
|
|
718
|
+
"last_name"?: JsonValue;
|
|
719
|
+
"birthday"?: string;
|
|
720
|
+
"nationality"?: string;
|
|
721
|
+
"religion"?: string;
|
|
722
|
+
"gender"?: string;
|
|
723
|
+
"marital"?: string;
|
|
724
|
+
"nickname"?: string;
|
|
725
|
+
"national_number"?: string;
|
|
726
|
+
"description"?: string;
|
|
727
|
+
"referral_source"?: string;
|
|
728
|
+
"referrer_uuid"?: string;
|
|
729
|
+
"country_id"?: string;
|
|
730
|
+
"province_id"?: string;
|
|
731
|
+
"city_id"?: string;
|
|
732
|
+
}
|
|
733
|
+
/** Backend response type: models::SingleData. */
|
|
734
|
+
export interface ProfileUpdatePersonalPutResponseData extends JsonObject {
|
|
735
|
+
"profile": JsonValue;
|
|
736
|
+
}
|
|
737
|
+
export interface ProfileUpdatePersonalPutResponse extends ApiEnvelope<ProfileUpdatePersonalPutResponseData> {
|
|
738
|
+
}
|
|
739
|
+
/** Backend query type: models::ListQuery. */
|
|
740
|
+
export interface ProvinceIndexGetQuery extends QueryParams {
|
|
741
|
+
"page"?: string;
|
|
742
|
+
"per_page"?: string;
|
|
743
|
+
"filter[search]"?: string;
|
|
744
|
+
"filter[status]"?: string;
|
|
745
|
+
"filter[active]"?: string;
|
|
746
|
+
"filter[name]"?: string;
|
|
747
|
+
"filter[country_id]"?: string;
|
|
748
|
+
"filter[trashed]"?: string;
|
|
749
|
+
}
|
|
750
|
+
/** Backend response type: models::ListData. */
|
|
751
|
+
export interface ProvinceIndexGetResponseData extends JsonObject {
|
|
752
|
+
"provinces": JsonValue[];
|
|
753
|
+
}
|
|
754
|
+
export interface ProvinceIndexGetMetaData extends JsonObject {
|
|
755
|
+
"current_page": number;
|
|
756
|
+
"per_page": number;
|
|
757
|
+
"total": number;
|
|
758
|
+
"last_page": number;
|
|
759
|
+
}
|
|
760
|
+
export interface ProvinceIndexGetResponse extends ApiEnvelope<ProvinceIndexGetResponseData> {
|
|
761
|
+
meta: ProvinceIndexGetMetaData;
|
|
762
|
+
}
|
|
763
|
+
/** Backend request type: models::Create. */
|
|
764
|
+
export interface ProvinceStorePostInput extends JsonObject {
|
|
765
|
+
"country_id": string;
|
|
766
|
+
"name": string;
|
|
767
|
+
"latitude"?: number;
|
|
768
|
+
"longitude"?: number;
|
|
769
|
+
}
|
|
770
|
+
/** Backend response type: models::SingleData. */
|
|
771
|
+
export interface ProvinceStorePostResponseData extends JsonObject {
|
|
772
|
+
"province": JsonValue;
|
|
773
|
+
}
|
|
774
|
+
export interface ProvinceStorePostResponse extends ApiEnvelope<ProvinceStorePostResponseData> {
|
|
775
|
+
}
|
|
776
|
+
/** Backend response type: serde_json::Value. */
|
|
777
|
+
export interface ProvinceDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
778
|
+
}
|
|
779
|
+
/** Backend response type: models::SingleData. */
|
|
780
|
+
export interface ProvinceShowGetResponseData extends JsonObject {
|
|
781
|
+
"province": JsonValue;
|
|
782
|
+
}
|
|
783
|
+
export interface ProvinceShowGetResponse extends ApiEnvelope<ProvinceShowGetResponseData> {
|
|
784
|
+
}
|
|
785
|
+
/** Backend request type: models::Update. */
|
|
786
|
+
export interface ProvinceUpdatePatchInput extends JsonObject {
|
|
787
|
+
"country_id"?: string;
|
|
788
|
+
"name"?: string;
|
|
789
|
+
"status"?: string;
|
|
790
|
+
"latitude"?: number;
|
|
791
|
+
"longitude"?: number;
|
|
792
|
+
}
|
|
793
|
+
/** Backend response type: models::SingleData. */
|
|
794
|
+
export interface ProvinceUpdatePatchResponseData extends JsonObject {
|
|
795
|
+
"province": JsonValue;
|
|
796
|
+
}
|
|
797
|
+
export interface ProvinceUpdatePatchResponse extends ApiEnvelope<ProvinceUpdatePatchResponseData> {
|
|
798
|
+
}
|
|
799
|
+
/** Backend request type: models::Update. */
|
|
800
|
+
export interface ProvinceUpdatePutInput extends JsonObject {
|
|
801
|
+
"country_id"?: string;
|
|
802
|
+
"name"?: string;
|
|
803
|
+
"status"?: string;
|
|
804
|
+
"latitude"?: number;
|
|
805
|
+
"longitude"?: number;
|
|
806
|
+
}
|
|
807
|
+
/** Backend response type: models::SingleData. */
|
|
808
|
+
export interface ProvinceUpdatePutResponseData extends JsonObject {
|
|
809
|
+
"province": JsonValue;
|
|
810
|
+
}
|
|
811
|
+
export interface ProvinceUpdatePutResponse extends ApiEnvelope<ProvinceUpdatePutResponseData> {
|
|
812
|
+
}
|
|
813
|
+
/** Backend response type: serde_json::Value. */
|
|
814
|
+
export interface ProvinceForceDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
815
|
+
}
|
|
816
|
+
/** Backend response type: serde_json::Value. */
|
|
817
|
+
export interface ProvinceRestoreGetResponse extends ApiEnvelope<JsonValue> {
|
|
818
|
+
}
|
|
819
|
+
/** Backend response type: models::ListData. */
|
|
820
|
+
export interface SettingIndexGetResponseData extends JsonObject {
|
|
821
|
+
"setting": JsonValue[];
|
|
822
|
+
}
|
|
823
|
+
export interface SettingIndexGetResponse extends ApiEnvelope<SettingIndexGetResponseData> {
|
|
824
|
+
}
|
|
825
|
+
/** Backend request type: models::Create. */
|
|
826
|
+
export interface SettingStorePostInput extends JsonObject {
|
|
827
|
+
"key": string;
|
|
828
|
+
"title": string;
|
|
829
|
+
"value": number;
|
|
830
|
+
}
|
|
831
|
+
/** Backend response type: models::SingleData. */
|
|
832
|
+
export interface SettingStorePostResponseData extends JsonObject {
|
|
833
|
+
"setting": JsonValue;
|
|
834
|
+
}
|
|
835
|
+
export interface SettingStorePostResponse extends ApiEnvelope<SettingStorePostResponseData> {
|
|
836
|
+
}
|
|
837
|
+
/** Backend response type: Value. */
|
|
838
|
+
export interface SurveyIndexGetResponse extends ApiEnvelope<JsonValue> {
|
|
839
|
+
}
|
|
840
|
+
/** Backend request type: CreateSurvey. */
|
|
841
|
+
export interface SurveyStorePostInput extends JsonObject {
|
|
842
|
+
}
|
|
843
|
+
/** Backend response type: Value. */
|
|
844
|
+
export interface SurveyStorePostResponse extends ApiEnvelope<JsonValue> {
|
|
845
|
+
}
|
|
846
|
+
/** Backend query type: models::ListQuery. */
|
|
847
|
+
export interface TrustedServiceIndexGetQuery extends QueryParams {
|
|
848
|
+
"page"?: string;
|
|
849
|
+
"per_page"?: string;
|
|
850
|
+
"filter[search]"?: string;
|
|
851
|
+
"filter[status]"?: string;
|
|
852
|
+
"filter[active]"?: string;
|
|
853
|
+
"filter[service_key]"?: string;
|
|
854
|
+
"filter[title]"?: string;
|
|
855
|
+
"filter[trashed]"?: string;
|
|
856
|
+
}
|
|
857
|
+
/** Backend response type: models::ListData. */
|
|
858
|
+
export interface TrustedServiceIndexGetResponseData extends JsonObject {
|
|
859
|
+
"trusted_services": JsonValue[];
|
|
860
|
+
}
|
|
861
|
+
export interface TrustedServiceIndexGetMetaData extends JsonObject {
|
|
862
|
+
"current_page": number;
|
|
863
|
+
"per_page": number;
|
|
864
|
+
"total": number;
|
|
865
|
+
"last_page": number;
|
|
866
|
+
}
|
|
867
|
+
export interface TrustedServiceIndexGetResponse extends ApiEnvelope<TrustedServiceIndexGetResponseData> {
|
|
868
|
+
meta: TrustedServiceIndexGetMetaData;
|
|
869
|
+
}
|
|
870
|
+
/** Backend request type: models::Create. */
|
|
871
|
+
export interface TrustedServiceStorePostInput extends JsonObject {
|
|
872
|
+
"service_key": string;
|
|
873
|
+
"title": string;
|
|
874
|
+
}
|
|
875
|
+
/** Backend response type: models::SingleData. */
|
|
876
|
+
export interface TrustedServiceStorePostResponseData extends JsonObject {
|
|
877
|
+
"trusted_service": JsonValue;
|
|
878
|
+
}
|
|
879
|
+
export interface TrustedServiceStorePostResponse extends ApiEnvelope<TrustedServiceStorePostResponseData> {
|
|
880
|
+
}
|
|
881
|
+
/** Backend response type: serde_json::Value. */
|
|
882
|
+
export interface TrustedServiceDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
883
|
+
}
|
|
884
|
+
/** Backend response type: models::SingleData. */
|
|
885
|
+
export interface TrustedServiceShowGetResponseData extends JsonObject {
|
|
886
|
+
"trusted_service": JsonValue;
|
|
887
|
+
}
|
|
888
|
+
export interface TrustedServiceShowGetResponse extends ApiEnvelope<TrustedServiceShowGetResponseData> {
|
|
889
|
+
}
|
|
890
|
+
/** Backend request type: models::Update. */
|
|
891
|
+
export interface TrustedServiceUpdatePatchInput extends JsonObject {
|
|
892
|
+
"service_key"?: string;
|
|
893
|
+
"title"?: string;
|
|
894
|
+
"status"?: string;
|
|
895
|
+
}
|
|
896
|
+
/** Backend response type: models::SingleData. */
|
|
897
|
+
export interface TrustedServiceUpdatePatchResponseData extends JsonObject {
|
|
898
|
+
"trusted_service": JsonValue;
|
|
899
|
+
}
|
|
900
|
+
export interface TrustedServiceUpdatePatchResponse extends ApiEnvelope<TrustedServiceUpdatePatchResponseData> {
|
|
901
|
+
}
|
|
902
|
+
/** Backend request type: models::Update. */
|
|
903
|
+
export interface TrustedServiceUpdatePutInput extends JsonObject {
|
|
904
|
+
"service_key"?: string;
|
|
905
|
+
"title"?: string;
|
|
906
|
+
"status"?: string;
|
|
907
|
+
}
|
|
908
|
+
/** Backend response type: models::SingleData. */
|
|
909
|
+
export interface TrustedServiceUpdatePutResponseData extends JsonObject {
|
|
910
|
+
"trusted_service": JsonValue;
|
|
911
|
+
}
|
|
912
|
+
export interface TrustedServiceUpdatePutResponse extends ApiEnvelope<TrustedServiceUpdatePutResponseData> {
|
|
913
|
+
}
|
|
914
|
+
/** Backend query type: models::EventListQuery. */
|
|
915
|
+
export interface TrustedServiceEventIndexGetQuery extends QueryParams {
|
|
916
|
+
"page"?: string;
|
|
917
|
+
"per_page"?: string;
|
|
918
|
+
"filter[search]"?: string;
|
|
919
|
+
"filter[status]"?: string;
|
|
920
|
+
"filter[active]"?: string;
|
|
921
|
+
"filter[event_name]"?: string;
|
|
922
|
+
"filter[title]"?: string;
|
|
923
|
+
"filter[trashed]"?: string;
|
|
924
|
+
}
|
|
925
|
+
/** Backend response type: models::EventListData. */
|
|
926
|
+
export interface TrustedServiceEventIndexGetResponseData extends JsonObject {
|
|
927
|
+
"trusted_service_events": JsonValue[];
|
|
928
|
+
}
|
|
929
|
+
export interface TrustedServiceEventIndexGetMetaData extends JsonObject {
|
|
930
|
+
"current_page": number;
|
|
931
|
+
"per_page": number;
|
|
932
|
+
"total": number;
|
|
933
|
+
"last_page": number;
|
|
934
|
+
}
|
|
935
|
+
export interface TrustedServiceEventIndexGetResponse extends ApiEnvelope<TrustedServiceEventIndexGetResponseData> {
|
|
936
|
+
meta: TrustedServiceEventIndexGetMetaData;
|
|
937
|
+
}
|
|
938
|
+
/** Backend request type: models::EventCreate. */
|
|
939
|
+
export interface TrustedServiceEventStorePostInput extends JsonObject {
|
|
940
|
+
"event_name": string;
|
|
941
|
+
"title": string;
|
|
942
|
+
"visible_in_list"?: boolean;
|
|
943
|
+
"visible_in_get"?: boolean;
|
|
944
|
+
"visible_in_full"?: boolean;
|
|
945
|
+
"payload_schema"?: JsonValue;
|
|
946
|
+
}
|
|
947
|
+
/** Backend response type: models::EventSingleData. */
|
|
948
|
+
export interface TrustedServiceEventStorePostResponseData extends JsonObject {
|
|
949
|
+
"trusted_service_event": JsonValue;
|
|
950
|
+
}
|
|
951
|
+
export interface TrustedServiceEventStorePostResponse extends ApiEnvelope<TrustedServiceEventStorePostResponseData> {
|
|
952
|
+
}
|
|
953
|
+
/** Backend response type: serde_json::Value. */
|
|
954
|
+
export interface TrustedServiceEventDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
955
|
+
}
|
|
956
|
+
/** Backend response type: models::EventSingleData. */
|
|
957
|
+
export interface TrustedServiceEventShowGetResponseData extends JsonObject {
|
|
958
|
+
"trusted_service_event": JsonValue;
|
|
959
|
+
}
|
|
960
|
+
export interface TrustedServiceEventShowGetResponse extends ApiEnvelope<TrustedServiceEventShowGetResponseData> {
|
|
961
|
+
}
|
|
962
|
+
/** Backend request type: models::EventUpdate. */
|
|
963
|
+
export interface TrustedServiceEventUpdatePatchInput extends JsonObject {
|
|
964
|
+
"event_name"?: string;
|
|
965
|
+
"title"?: string;
|
|
966
|
+
"visible_in_list"?: boolean;
|
|
967
|
+
"visible_in_get"?: boolean;
|
|
968
|
+
"visible_in_full"?: boolean;
|
|
969
|
+
"payload_schema"?: JsonValue;
|
|
970
|
+
}
|
|
971
|
+
/** Backend response type: models::EventSingleData. */
|
|
972
|
+
export interface TrustedServiceEventUpdatePatchResponseData extends JsonObject {
|
|
973
|
+
"trusted_service_event": JsonValue;
|
|
974
|
+
}
|
|
975
|
+
export interface TrustedServiceEventUpdatePatchResponse extends ApiEnvelope<TrustedServiceEventUpdatePatchResponseData> {
|
|
976
|
+
}
|
|
977
|
+
/** Backend request type: models::EventUpdate. */
|
|
978
|
+
export interface TrustedServiceEventUpdatePutInput extends JsonObject {
|
|
979
|
+
"event_name"?: string;
|
|
980
|
+
"title"?: string;
|
|
981
|
+
"visible_in_list"?: boolean;
|
|
982
|
+
"visible_in_get"?: boolean;
|
|
983
|
+
"visible_in_full"?: boolean;
|
|
984
|
+
"payload_schema"?: JsonValue;
|
|
985
|
+
}
|
|
986
|
+
/** Backend response type: models::EventSingleData. */
|
|
987
|
+
export interface TrustedServiceEventUpdatePutResponseData extends JsonObject {
|
|
988
|
+
"trusted_service_event": JsonValue;
|
|
989
|
+
}
|
|
990
|
+
export interface TrustedServiceEventUpdatePutResponse extends ApiEnvelope<TrustedServiceEventUpdatePutResponseData> {
|
|
991
|
+
}
|
|
992
|
+
/** Backend response type: serde_json::Value. */
|
|
993
|
+
export interface RouterHealthGetHealthResponse extends ApiEnvelope<JsonValue> {
|
|
994
|
+
}
|
|
995
|
+
/** Backend response type: serde_json::Value. */
|
|
996
|
+
export interface RouterHealthGetUpResponse extends ApiEnvelope<JsonValue> {
|
|
997
|
+
}
|
|
998
|
+
//# sourceMappingURL=operations.types.d.ts.map
|