@raystack/frontier 0.38.0 → 0.40.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/api-client/dist/index.d.ts +161 -145
- package/api-client/dist/index.js +219 -202
- package/api-client/dist/index.mjs +219 -202
- package/dist/index.d.ts +161 -145
- package/dist/index.js +219 -202
- package/dist/index.mjs +219 -202
- package/package.json +2 -2
- package/react/dist/index.d.ts +250 -218
- package/react/dist/index.js +1854 -489
- package/react/dist/index.mjs +1785 -418
package/api-client/dist/index.js
CHANGED
|
@@ -322,6 +322,23 @@ var V1Beta1 = class extends HttpClient {
|
|
|
322
322
|
type: "application/json" /* Json */,
|
|
323
323
|
format: "json"
|
|
324
324
|
}, params));
|
|
325
|
+
/**
|
|
326
|
+
* @description Update billing account limits.
|
|
327
|
+
*
|
|
328
|
+
* @tags Billing
|
|
329
|
+
* @name AdminServiceUpdateBillingAccountLimits
|
|
330
|
+
* @summary Update billing account limits
|
|
331
|
+
* @request PUT:/v1beta1/admin/organizations/{org_id}/billing/{id}/limits
|
|
332
|
+
* @secure
|
|
333
|
+
*/
|
|
334
|
+
this.adminServiceUpdateBillingAccountLimits = (orgId, id, body, params = {}) => this.request(__spreadValues({
|
|
335
|
+
path: `/v1beta1/admin/organizations/${orgId}/billing/${id}/limits`,
|
|
336
|
+
method: "PUT",
|
|
337
|
+
body,
|
|
338
|
+
secure: true,
|
|
339
|
+
type: "application/json" /* Json */,
|
|
340
|
+
format: "json"
|
|
341
|
+
}, params));
|
|
325
342
|
/**
|
|
326
343
|
* @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
|
|
327
344
|
*
|
|
@@ -2284,6 +2301,206 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2284
2301
|
secure: true,
|
|
2285
2302
|
format: "json"
|
|
2286
2303
|
}, params));
|
|
2304
|
+
/**
|
|
2305
|
+
* @description Create a service user.
|
|
2306
|
+
*
|
|
2307
|
+
* @tags ServiceUser
|
|
2308
|
+
* @name FrontierServiceCreateServiceUser
|
|
2309
|
+
* @summary Create service user
|
|
2310
|
+
* @request POST:/v1beta1/organizations/{org_id}/serviceusers
|
|
2311
|
+
* @secure
|
|
2312
|
+
*/
|
|
2313
|
+
this.frontierServiceCreateServiceUser = (orgId, body, params = {}) => this.request(__spreadValues({
|
|
2314
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers`,
|
|
2315
|
+
method: "POST",
|
|
2316
|
+
body,
|
|
2317
|
+
secure: true,
|
|
2318
|
+
type: "application/json" /* Json */,
|
|
2319
|
+
format: "json"
|
|
2320
|
+
}, params));
|
|
2321
|
+
/**
|
|
2322
|
+
* @description Get service user details by its id.
|
|
2323
|
+
*
|
|
2324
|
+
* @tags ServiceUser
|
|
2325
|
+
* @name FrontierServiceGetServiceUser
|
|
2326
|
+
* @summary Get service user
|
|
2327
|
+
* @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}
|
|
2328
|
+
* @secure
|
|
2329
|
+
*/
|
|
2330
|
+
this.frontierServiceGetServiceUser = (orgId, id, params = {}) => this.request(__spreadValues({
|
|
2331
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers/${id}`,
|
|
2332
|
+
method: "GET",
|
|
2333
|
+
secure: true,
|
|
2334
|
+
format: "json"
|
|
2335
|
+
}, params));
|
|
2336
|
+
/**
|
|
2337
|
+
* @description Delete a service user permanently and all of its relations (keys, organizations, roles, etc)
|
|
2338
|
+
*
|
|
2339
|
+
* @tags ServiceUser
|
|
2340
|
+
* @name FrontierServiceDeleteServiceUser
|
|
2341
|
+
* @summary Delete service user
|
|
2342
|
+
* @request DELETE:/v1beta1/organizations/{org_id}/serviceusers/{id}
|
|
2343
|
+
* @secure
|
|
2344
|
+
*/
|
|
2345
|
+
this.frontierServiceDeleteServiceUser = (orgId, id, params = {}) => this.request(__spreadValues({
|
|
2346
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers/${id}`,
|
|
2347
|
+
method: "DELETE",
|
|
2348
|
+
secure: true,
|
|
2349
|
+
format: "json"
|
|
2350
|
+
}, params));
|
|
2351
|
+
/**
|
|
2352
|
+
* @description List all the keys of a service user with its details except jwk.
|
|
2353
|
+
*
|
|
2354
|
+
* @tags ServiceUser
|
|
2355
|
+
* @name FrontierServiceListServiceUserJwKs
|
|
2356
|
+
* @summary List service user keys
|
|
2357
|
+
* @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}/keys
|
|
2358
|
+
* @secure
|
|
2359
|
+
*/
|
|
2360
|
+
this.frontierServiceListServiceUserJwKs = (orgId, id, params = {}) => this.request(__spreadValues({
|
|
2361
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers/${id}/keys`,
|
|
2362
|
+
method: "GET",
|
|
2363
|
+
secure: true,
|
|
2364
|
+
format: "json"
|
|
2365
|
+
}, params));
|
|
2366
|
+
/**
|
|
2367
|
+
* @description Generate a service user key and return it, the private key part of the response will not be persisted and should be kept securely by client.
|
|
2368
|
+
*
|
|
2369
|
+
* @tags ServiceUser
|
|
2370
|
+
* @name FrontierServiceCreateServiceUserJwk
|
|
2371
|
+
* @summary Create service user public/private key pair
|
|
2372
|
+
* @request POST:/v1beta1/organizations/{org_id}/serviceusers/{id}/keys
|
|
2373
|
+
* @secure
|
|
2374
|
+
*/
|
|
2375
|
+
this.frontierServiceCreateServiceUserJwk = (orgId, id, body, params = {}) => this.request(__spreadValues({
|
|
2376
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers/${id}/keys`,
|
|
2377
|
+
method: "POST",
|
|
2378
|
+
body,
|
|
2379
|
+
secure: true,
|
|
2380
|
+
format: "json"
|
|
2381
|
+
}, params));
|
|
2382
|
+
/**
|
|
2383
|
+
* @description Get a service user public RSA JWK set.
|
|
2384
|
+
*
|
|
2385
|
+
* @tags ServiceUser
|
|
2386
|
+
* @name FrontierServiceGetServiceUserJwk
|
|
2387
|
+
* @summary Get service user key
|
|
2388
|
+
* @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}/keys/{key_id}
|
|
2389
|
+
* @secure
|
|
2390
|
+
*/
|
|
2391
|
+
this.frontierServiceGetServiceUserJwk = (orgId, id, keyId, params = {}) => this.request(__spreadValues({
|
|
2392
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers/${id}/keys/${keyId}`,
|
|
2393
|
+
method: "GET",
|
|
2394
|
+
secure: true,
|
|
2395
|
+
format: "json"
|
|
2396
|
+
}, params));
|
|
2397
|
+
/**
|
|
2398
|
+
* @description Delete a service user key permanently.
|
|
2399
|
+
*
|
|
2400
|
+
* @tags ServiceUser
|
|
2401
|
+
* @name FrontierServiceDeleteServiceUserJwk
|
|
2402
|
+
* @summary Delete service user key
|
|
2403
|
+
* @request DELETE:/v1beta1/organizations/{org_id}/serviceusers/{id}/keys/{key_id}
|
|
2404
|
+
* @secure
|
|
2405
|
+
*/
|
|
2406
|
+
this.frontierServiceDeleteServiceUserJwk = (orgId, id, keyId, params = {}) => this.request(__spreadValues({
|
|
2407
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers/${id}/keys/${keyId}`,
|
|
2408
|
+
method: "DELETE",
|
|
2409
|
+
secure: true,
|
|
2410
|
+
format: "json"
|
|
2411
|
+
}, params));
|
|
2412
|
+
/**
|
|
2413
|
+
* @description List all the credentials of a service user.
|
|
2414
|
+
*
|
|
2415
|
+
* @tags ServiceUser
|
|
2416
|
+
* @name FrontierServiceListServiceUserCredentials
|
|
2417
|
+
* @summary List service user credentials
|
|
2418
|
+
* @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}/secrets
|
|
2419
|
+
* @secure
|
|
2420
|
+
*/
|
|
2421
|
+
this.frontierServiceListServiceUserCredentials = (orgId, id, params = {}) => this.request(__spreadValues({
|
|
2422
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers/${id}/secrets`,
|
|
2423
|
+
method: "GET",
|
|
2424
|
+
secure: true,
|
|
2425
|
+
format: "json"
|
|
2426
|
+
}, params));
|
|
2427
|
+
/**
|
|
2428
|
+
* @description Generate a service user credential and return it. The credential value will not be persisted and should be securely stored by client.
|
|
2429
|
+
*
|
|
2430
|
+
* @tags ServiceUser
|
|
2431
|
+
* @name FrontierServiceCreateServiceUserCredential
|
|
2432
|
+
* @summary Create service user client credentials
|
|
2433
|
+
* @request POST:/v1beta1/organizations/{org_id}/serviceusers/{id}/secrets
|
|
2434
|
+
* @secure
|
|
2435
|
+
*/
|
|
2436
|
+
this.frontierServiceCreateServiceUserCredential = (orgId, id, body, params = {}) => this.request(__spreadValues({
|
|
2437
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers/${id}/secrets`,
|
|
2438
|
+
method: "POST",
|
|
2439
|
+
body,
|
|
2440
|
+
secure: true,
|
|
2441
|
+
format: "json"
|
|
2442
|
+
}, params));
|
|
2443
|
+
/**
|
|
2444
|
+
* @description Delete a service user credential.
|
|
2445
|
+
*
|
|
2446
|
+
* @tags ServiceUser
|
|
2447
|
+
* @name FrontierServiceDeleteServiceUserCredential
|
|
2448
|
+
* @summary Delete service user credentials
|
|
2449
|
+
* @request DELETE:/v1beta1/organizations/{org_id}/serviceusers/{id}/secrets/{secret_id}
|
|
2450
|
+
* @secure
|
|
2451
|
+
*/
|
|
2452
|
+
this.frontierServiceDeleteServiceUserCredential = (orgId, id, secretId, params = {}) => this.request(__spreadValues({
|
|
2453
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers/${id}/secrets/${secretId}`,
|
|
2454
|
+
method: "DELETE",
|
|
2455
|
+
secure: true,
|
|
2456
|
+
format: "json"
|
|
2457
|
+
}, params));
|
|
2458
|
+
/**
|
|
2459
|
+
* @description List all the tokens of a service user.
|
|
2460
|
+
*
|
|
2461
|
+
* @tags ServiceUser
|
|
2462
|
+
* @name FrontierServiceListServiceUserTokens
|
|
2463
|
+
* @summary List service user tokens
|
|
2464
|
+
* @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}/tokens
|
|
2465
|
+
* @secure
|
|
2466
|
+
*/
|
|
2467
|
+
this.frontierServiceListServiceUserTokens = (orgId, id, params = {}) => this.request(__spreadValues({
|
|
2468
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers/${id}/tokens`,
|
|
2469
|
+
method: "GET",
|
|
2470
|
+
secure: true,
|
|
2471
|
+
format: "json"
|
|
2472
|
+
}, params));
|
|
2473
|
+
/**
|
|
2474
|
+
* @description Generate a service user token and return it. The token value will not be persisted and should be securely stored by client.
|
|
2475
|
+
*
|
|
2476
|
+
* @tags ServiceUser
|
|
2477
|
+
* @name FrontierServiceCreateServiceUserToken
|
|
2478
|
+
* @summary Create service user token
|
|
2479
|
+
* @request POST:/v1beta1/organizations/{org_id}/serviceusers/{id}/tokens
|
|
2480
|
+
* @secure
|
|
2481
|
+
*/
|
|
2482
|
+
this.frontierServiceCreateServiceUserToken = (orgId, id, body, params = {}) => this.request(__spreadValues({
|
|
2483
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers/${id}/tokens`,
|
|
2484
|
+
method: "POST",
|
|
2485
|
+
body,
|
|
2486
|
+
secure: true,
|
|
2487
|
+
format: "json"
|
|
2488
|
+
}, params));
|
|
2489
|
+
/**
|
|
2490
|
+
* @description Delete a service user token.
|
|
2491
|
+
*
|
|
2492
|
+
* @tags ServiceUser
|
|
2493
|
+
* @name FrontierServiceDeleteServiceUserToken
|
|
2494
|
+
* @summary Delete service user token
|
|
2495
|
+
* @request DELETE:/v1beta1/organizations/{org_id}/serviceusers/{id}/tokens/{token_id}
|
|
2496
|
+
* @secure
|
|
2497
|
+
*/
|
|
2498
|
+
this.frontierServiceDeleteServiceUserToken = (orgId, id, tokenId, params = {}) => this.request(__spreadValues({
|
|
2499
|
+
path: `/v1beta1/organizations/${orgId}/serviceusers/${id}/tokens/${tokenId}`,
|
|
2500
|
+
method: "DELETE",
|
|
2501
|
+
secure: true,
|
|
2502
|
+
format: "json"
|
|
2503
|
+
}, params));
|
|
2287
2504
|
/**
|
|
2288
2505
|
* @description Check if a billing account is entitled to a feature.
|
|
2289
2506
|
*
|
|
@@ -2949,207 +3166,6 @@ var V1Beta1 = class extends HttpClient {
|
|
|
2949
3166
|
secure: true,
|
|
2950
3167
|
format: "json"
|
|
2951
3168
|
}, params));
|
|
2952
|
-
/**
|
|
2953
|
-
* @description Create a service user.
|
|
2954
|
-
*
|
|
2955
|
-
* @tags ServiceUser
|
|
2956
|
-
* @name FrontierServiceCreateServiceUser
|
|
2957
|
-
* @summary Create service user
|
|
2958
|
-
* @request POST:/v1beta1/serviceusers
|
|
2959
|
-
* @secure
|
|
2960
|
-
*/
|
|
2961
|
-
this.frontierServiceCreateServiceUser = (body, params = {}) => this.request(__spreadValues({
|
|
2962
|
-
path: `/v1beta1/serviceusers`,
|
|
2963
|
-
method: "POST",
|
|
2964
|
-
body,
|
|
2965
|
-
secure: true,
|
|
2966
|
-
type: "application/json" /* Json */,
|
|
2967
|
-
format: "json"
|
|
2968
|
-
}, params));
|
|
2969
|
-
/**
|
|
2970
|
-
* @description Get service user details by its id.
|
|
2971
|
-
*
|
|
2972
|
-
* @tags ServiceUser
|
|
2973
|
-
* @name FrontierServiceGetServiceUser
|
|
2974
|
-
* @summary Get service user
|
|
2975
|
-
* @request GET:/v1beta1/serviceusers/{id}
|
|
2976
|
-
* @secure
|
|
2977
|
-
*/
|
|
2978
|
-
this.frontierServiceGetServiceUser = (id, params = {}) => this.request(__spreadValues({
|
|
2979
|
-
path: `/v1beta1/serviceusers/${id}`,
|
|
2980
|
-
method: "GET",
|
|
2981
|
-
secure: true,
|
|
2982
|
-
format: "json"
|
|
2983
|
-
}, params));
|
|
2984
|
-
/**
|
|
2985
|
-
* @description Delete a service user permanently and all of its relations (keys, organizations, roles, etc)
|
|
2986
|
-
*
|
|
2987
|
-
* @tags ServiceUser
|
|
2988
|
-
* @name FrontierServiceDeleteServiceUser
|
|
2989
|
-
* @summary Delete service user
|
|
2990
|
-
* @request DELETE:/v1beta1/serviceusers/{id}
|
|
2991
|
-
* @secure
|
|
2992
|
-
*/
|
|
2993
|
-
this.frontierServiceDeleteServiceUser = (id, query, params = {}) => this.request(__spreadValues({
|
|
2994
|
-
path: `/v1beta1/serviceusers/${id}`,
|
|
2995
|
-
method: "DELETE",
|
|
2996
|
-
query,
|
|
2997
|
-
secure: true,
|
|
2998
|
-
format: "json"
|
|
2999
|
-
}, params));
|
|
3000
|
-
/**
|
|
3001
|
-
* @description List all the keys of a service user with its details except jwk.
|
|
3002
|
-
*
|
|
3003
|
-
* @tags ServiceUser
|
|
3004
|
-
* @name FrontierServiceListServiceUserJwKs
|
|
3005
|
-
* @summary List service user keys
|
|
3006
|
-
* @request GET:/v1beta1/serviceusers/{id}/keys
|
|
3007
|
-
* @secure
|
|
3008
|
-
*/
|
|
3009
|
-
this.frontierServiceListServiceUserJwKs = (id, params = {}) => this.request(__spreadValues({
|
|
3010
|
-
path: `/v1beta1/serviceusers/${id}/keys`,
|
|
3011
|
-
method: "GET",
|
|
3012
|
-
secure: true,
|
|
3013
|
-
format: "json"
|
|
3014
|
-
}, params));
|
|
3015
|
-
/**
|
|
3016
|
-
* @description Generate a service user key and return it, the private key part of the response will not be persisted and should be kept securely by client.
|
|
3017
|
-
*
|
|
3018
|
-
* @tags ServiceUser
|
|
3019
|
-
* @name FrontierServiceCreateServiceUserJwk
|
|
3020
|
-
* @summary Create service user public/private key pair
|
|
3021
|
-
* @request POST:/v1beta1/serviceusers/{id}/keys
|
|
3022
|
-
* @secure
|
|
3023
|
-
*/
|
|
3024
|
-
this.frontierServiceCreateServiceUserJwk = (id, body, params = {}) => this.request(__spreadValues({
|
|
3025
|
-
path: `/v1beta1/serviceusers/${id}/keys`,
|
|
3026
|
-
method: "POST",
|
|
3027
|
-
body,
|
|
3028
|
-
secure: true,
|
|
3029
|
-
format: "json"
|
|
3030
|
-
}, params));
|
|
3031
|
-
/**
|
|
3032
|
-
* @description Get a service user public RSA JWK set.
|
|
3033
|
-
*
|
|
3034
|
-
* @tags ServiceUser
|
|
3035
|
-
* @name FrontierServiceGetServiceUserJwk
|
|
3036
|
-
* @summary Get service user key
|
|
3037
|
-
* @request GET:/v1beta1/serviceusers/{id}/keys/{key_id}
|
|
3038
|
-
* @secure
|
|
3039
|
-
*/
|
|
3040
|
-
this.frontierServiceGetServiceUserJwk = (id, keyId, params = {}) => this.request(__spreadValues({
|
|
3041
|
-
path: `/v1beta1/serviceusers/${id}/keys/${keyId}`,
|
|
3042
|
-
method: "GET",
|
|
3043
|
-
secure: true,
|
|
3044
|
-
format: "json"
|
|
3045
|
-
}, params));
|
|
3046
|
-
/**
|
|
3047
|
-
* @description Delete a service user key permanently.
|
|
3048
|
-
*
|
|
3049
|
-
* @tags ServiceUser
|
|
3050
|
-
* @name FrontierServiceDeleteServiceUserJwk
|
|
3051
|
-
* @summary Delete service user key
|
|
3052
|
-
* @request DELETE:/v1beta1/serviceusers/{id}/keys/{key_id}
|
|
3053
|
-
* @secure
|
|
3054
|
-
*/
|
|
3055
|
-
this.frontierServiceDeleteServiceUserJwk = (id, keyId, params = {}) => this.request(__spreadValues({
|
|
3056
|
-
path: `/v1beta1/serviceusers/${id}/keys/${keyId}`,
|
|
3057
|
-
method: "DELETE",
|
|
3058
|
-
secure: true,
|
|
3059
|
-
format: "json"
|
|
3060
|
-
}, params));
|
|
3061
|
-
/**
|
|
3062
|
-
* @description List all the credentials of a service user.
|
|
3063
|
-
*
|
|
3064
|
-
* @tags ServiceUser
|
|
3065
|
-
* @name FrontierServiceListServiceUserCredentials
|
|
3066
|
-
* @summary List service user credentials
|
|
3067
|
-
* @request GET:/v1beta1/serviceusers/{id}/secrets
|
|
3068
|
-
* @secure
|
|
3069
|
-
*/
|
|
3070
|
-
this.frontierServiceListServiceUserCredentials = (id, params = {}) => this.request(__spreadValues({
|
|
3071
|
-
path: `/v1beta1/serviceusers/${id}/secrets`,
|
|
3072
|
-
method: "GET",
|
|
3073
|
-
secure: true,
|
|
3074
|
-
format: "json"
|
|
3075
|
-
}, params));
|
|
3076
|
-
/**
|
|
3077
|
-
* @description Generate a service user credential and return it. The credential value will not be persisted and should be securely stored by client.
|
|
3078
|
-
*
|
|
3079
|
-
* @tags ServiceUser
|
|
3080
|
-
* @name FrontierServiceCreateServiceUserCredential
|
|
3081
|
-
* @summary Create service user client credentials
|
|
3082
|
-
* @request POST:/v1beta1/serviceusers/{id}/secrets
|
|
3083
|
-
* @secure
|
|
3084
|
-
*/
|
|
3085
|
-
this.frontierServiceCreateServiceUserCredential = (id, body, params = {}) => this.request(__spreadValues({
|
|
3086
|
-
path: `/v1beta1/serviceusers/${id}/secrets`,
|
|
3087
|
-
method: "POST",
|
|
3088
|
-
body,
|
|
3089
|
-
secure: true,
|
|
3090
|
-
format: "json"
|
|
3091
|
-
}, params));
|
|
3092
|
-
/**
|
|
3093
|
-
* @description Delete a service user credential.
|
|
3094
|
-
*
|
|
3095
|
-
* @tags ServiceUser
|
|
3096
|
-
* @name FrontierServiceDeleteServiceUserCredential
|
|
3097
|
-
* @summary Delete service user credentials
|
|
3098
|
-
* @request DELETE:/v1beta1/serviceusers/{id}/secrets/{secret_id}
|
|
3099
|
-
* @secure
|
|
3100
|
-
*/
|
|
3101
|
-
this.frontierServiceDeleteServiceUserCredential = (id, secretId, params = {}) => this.request(__spreadValues({
|
|
3102
|
-
path: `/v1beta1/serviceusers/${id}/secrets/${secretId}`,
|
|
3103
|
-
method: "DELETE",
|
|
3104
|
-
secure: true,
|
|
3105
|
-
format: "json"
|
|
3106
|
-
}, params));
|
|
3107
|
-
/**
|
|
3108
|
-
* @description List all the tokens of a service user.
|
|
3109
|
-
*
|
|
3110
|
-
* @tags ServiceUser
|
|
3111
|
-
* @name FrontierServiceListServiceUserTokens
|
|
3112
|
-
* @summary List service user tokens
|
|
3113
|
-
* @request GET:/v1beta1/serviceusers/{id}/tokens
|
|
3114
|
-
* @secure
|
|
3115
|
-
*/
|
|
3116
|
-
this.frontierServiceListServiceUserTokens = (id, params = {}) => this.request(__spreadValues({
|
|
3117
|
-
path: `/v1beta1/serviceusers/${id}/tokens`,
|
|
3118
|
-
method: "GET",
|
|
3119
|
-
secure: true,
|
|
3120
|
-
format: "json"
|
|
3121
|
-
}, params));
|
|
3122
|
-
/**
|
|
3123
|
-
* @description Generate a service user token and return it. The token value will not be persisted and should be securely stored by client.
|
|
3124
|
-
*
|
|
3125
|
-
* @tags ServiceUser
|
|
3126
|
-
* @name FrontierServiceCreateServiceUserToken
|
|
3127
|
-
* @summary Create service user token
|
|
3128
|
-
* @request POST:/v1beta1/serviceusers/{id}/tokens
|
|
3129
|
-
* @secure
|
|
3130
|
-
*/
|
|
3131
|
-
this.frontierServiceCreateServiceUserToken = (id, body, params = {}) => this.request(__spreadValues({
|
|
3132
|
-
path: `/v1beta1/serviceusers/${id}/tokens`,
|
|
3133
|
-
method: "POST",
|
|
3134
|
-
body,
|
|
3135
|
-
secure: true,
|
|
3136
|
-
format: "json"
|
|
3137
|
-
}, params));
|
|
3138
|
-
/**
|
|
3139
|
-
* @description Delete a service user token.
|
|
3140
|
-
*
|
|
3141
|
-
* @tags ServiceUser
|
|
3142
|
-
* @name FrontierServiceDeleteServiceUserToken
|
|
3143
|
-
* @summary Delete service user token
|
|
3144
|
-
* @request DELETE:/v1beta1/serviceusers/{id}/tokens/{token_id}
|
|
3145
|
-
* @secure
|
|
3146
|
-
*/
|
|
3147
|
-
this.frontierServiceDeleteServiceUserToken = (id, tokenId, params = {}) => this.request(__spreadValues({
|
|
3148
|
-
path: `/v1beta1/serviceusers/${id}/tokens/${tokenId}`,
|
|
3149
|
-
method: "DELETE",
|
|
3150
|
-
secure: true,
|
|
3151
|
-
format: "json"
|
|
3152
|
-
}, params));
|
|
3153
3169
|
/**
|
|
3154
3170
|
* @description Returns the users from all the organizations in a Frontier instance. It can be filtered by keyword, organization, group and state. Additionally you can include page number and page size for pagination.
|
|
3155
3171
|
*
|
|
@@ -3298,9 +3314,10 @@ var V1Beta1 = class extends HttpClient {
|
|
|
3298
3314
|
* @request GET:/v1beta1/users/{id}/organizations
|
|
3299
3315
|
* @secure
|
|
3300
3316
|
*/
|
|
3301
|
-
this.frontierServiceListOrganizationsByUser = (id, params = {}) => this.request(__spreadValues({
|
|
3317
|
+
this.frontierServiceListOrganizationsByUser = (id, query, params = {}) => this.request(__spreadValues({
|
|
3302
3318
|
path: `/v1beta1/users/${id}/organizations`,
|
|
3303
3319
|
method: "GET",
|
|
3320
|
+
query,
|
|
3304
3321
|
secure: true,
|
|
3305
3322
|
format: "json"
|
|
3306
3323
|
}, params));
|