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