@@ -452,6 +452,14 @@ client.users.pre_register_users(
452452<dl >
453453<dd >
454454
455+ ** account_id:** ` typing.Optional[str] ` — Account ID to add the user to
456+
457+ </dd >
458+ </dl >
459+
460+ <dl >
461+ <dd >
462+
455463** request_options:** ` typing.Optional[RequestOptions] ` — Request-specific configuration.
456464
457465</dd >
@@ -754,6 +762,14 @@ client.users.invite_user(
754762<dl >
755763<dd >
756764
765+ ** account_id:** ` typing.Optional[str] ` — Account ID to add the user to
766+
767+ </dd >
768+ </dl >
769+
770+ <dl >
771+ <dd >
772+
757773** request_options:** ` typing.Optional[RequestOptions] ` — Request-specific configuration.
758774
759775</dd >
@@ -1612,6 +1628,14 @@ client.personal_access_tokens.create(
16121628<dl >
16131629<dd >
16141630
1631+ ** account_name:** ` typing.Optional[str] ` — Account name that owns this PAT
1632+
1633+ </dd >
1634+ </dl >
1635+
1636+ <dl >
1637+ <dd >
1638+
16151639** request_options:** ` typing.Optional[RequestOptions] ` — Request-specific configuration.
16161640
16171641</dd >
@@ -2220,6 +2244,237 @@ client.virtual_accounts.get_token(
22202244</dl >
22212245
22222246
2247+ </dd >
2248+ </dl >
2249+ </details >
2250+
2251+ <details ><summary ><code >client.virtual_accounts.<a href =" src/truefoundry_sdk/virtual_accounts/client.py " >sync_to_secret_store</a >(...)</code ></summary >
2252+ <dl >
2253+ <dd >
2254+
2255+ #### 📝 Description
2256+
2257+ <dl >
2258+ <dd >
2259+
2260+ <dl >
2261+ <dd >
2262+
2263+ Syncs the virtual account token to the configured secret store. Returns the updated JWT with sync metadata including timestamp and error (if any).
2264+ </dd >
2265+ </dl >
2266+ </dd >
2267+ </dl >
2268+
2269+ #### 🔌 Usage
2270+
2271+ <dl >
2272+ <dd >
2273+
2274+ <dl >
2275+ <dd >
2276+
2277+ ``` python
2278+ from truefoundry_sdk import TrueFoundry
2279+
2280+ client = TrueFoundry(
2281+ api_key = " YOUR_API_KEY" ,
2282+ base_url = " https://yourhost.com/path/to/api" ,
2283+ )
2284+ client.virtual_accounts.sync_to_secret_store(
2285+ id = " id" ,
2286+ )
2287+
2288+ ```
2289+ </dd >
2290+ </dl >
2291+ </dd >
2292+ </dl >
2293+
2294+ #### ⚙️ Parameters
2295+
2296+ <dl >
2297+ <dd >
2298+
2299+ <dl >
2300+ <dd >
2301+
2302+ ** id:** ` str ` — serviceaccount id
2303+
2304+ </dd >
2305+ </dl >
2306+
2307+ <dl >
2308+ <dd >
2309+
2310+ ** request_options:** ` typing.Optional[RequestOptions] ` — Request-specific configuration.
2311+
2312+ </dd >
2313+ </dl >
2314+ </dd >
2315+ </dl >
2316+
2317+
2318+ </dd >
2319+ </dl >
2320+ </details >
2321+
2322+ <details ><summary ><code >client.virtual_accounts.<a href =" src/truefoundry_sdk/virtual_accounts/client.py " >regenerate_token</a >(...)</code ></summary >
2323+ <dl >
2324+ <dd >
2325+
2326+ #### 📝 Description
2327+
2328+ <dl >
2329+ <dd >
2330+
2331+ <dl >
2332+ <dd >
2333+
2334+ Regenerate token for a virtual account by id. The old token will remain valid for the specified grace period.
2335+ </dd >
2336+ </dl >
2337+ </dd >
2338+ </dl >
2339+
2340+ #### 🔌 Usage
2341+
2342+ <dl >
2343+ <dd >
2344+
2345+ <dl >
2346+ <dd >
2347+
2348+ ``` python
2349+ from truefoundry_sdk import TrueFoundry
2350+
2351+ client = TrueFoundry(
2352+ api_key = " YOUR_API_KEY" ,
2353+ base_url = " https://yourhost.com/path/to/api" ,
2354+ )
2355+ client.virtual_accounts.regenerate_token(
2356+ id = " id" ,
2357+ grace_period_in_days = 30.0 ,
2358+ )
2359+
2360+ ```
2361+ </dd >
2362+ </dl >
2363+ </dd >
2364+ </dl >
2365+
2366+ #### ⚙️ Parameters
2367+
2368+ <dl >
2369+ <dd >
2370+
2371+ <dl >
2372+ <dd >
2373+
2374+ ** id:** ` str ` — serviceaccount id
2375+
2376+ </dd >
2377+ </dl >
2378+
2379+ <dl >
2380+ <dd >
2381+
2382+ ** grace_period_in_days:** ` float ` — Grace period in days for which the old token will remain valid after regeneration
2383+
2384+ </dd >
2385+ </dl >
2386+
2387+ <dl >
2388+ <dd >
2389+
2390+ ** request_options:** ` typing.Optional[RequestOptions] ` — Request-specific configuration.
2391+
2392+ </dd >
2393+ </dl >
2394+ </dd >
2395+ </dl >
2396+
2397+
2398+ </dd >
2399+ </dl >
2400+ </details >
2401+
2402+ <details ><summary ><code >client.virtual_accounts.<a href =" src/truefoundry_sdk/virtual_accounts/client.py " >delete_jwt</a >(...)</code ></summary >
2403+ <dl >
2404+ <dd >
2405+
2406+ #### 📝 Description
2407+
2408+ <dl >
2409+ <dd >
2410+
2411+ <dl >
2412+ <dd >
2413+
2414+ Delete a JWT for a virtual account by id
2415+ </dd >
2416+ </dl >
2417+ </dd >
2418+ </dl >
2419+
2420+ #### 🔌 Usage
2421+
2422+ <dl >
2423+ <dd >
2424+
2425+ <dl >
2426+ <dd >
2427+
2428+ ``` python
2429+ from truefoundry_sdk import TrueFoundry
2430+
2431+ client = TrueFoundry(
2432+ api_key = " YOUR_API_KEY" ,
2433+ base_url = " https://yourhost.com/path/to/api" ,
2434+ )
2435+ client.virtual_accounts.delete_jwt(
2436+ id = " id" ,
2437+ jwt_id = " jwtId" ,
2438+ )
2439+
2440+ ```
2441+ </dd >
2442+ </dl >
2443+ </dd >
2444+ </dl >
2445+
2446+ #### ⚙️ Parameters
2447+
2448+ <dl >
2449+ <dd >
2450+
2451+ <dl >
2452+ <dd >
2453+
2454+ ** id:** ` str ` — virtual account id
2455+
2456+ </dd >
2457+ </dl >
2458+
2459+ <dl >
2460+ <dd >
2461+
2462+ ** jwt_id:** ` str ` — JWT id
2463+
2464+ </dd >
2465+ </dl >
2466+
2467+ <dl >
2468+ <dd >
2469+
2470+ ** request_options:** ` typing.Optional[RequestOptions] ` — Request-specific configuration.
2471+
2472+ </dd >
2473+ </dl >
2474+ </dd >
2475+ </dl >
2476+
2477+
22232478</dd >
22242479</dl >
22252480</details >
@@ -6294,7 +6549,7 @@ for page in response.iter_pages():
62946549<dl >
62956550<dd >
62966551
6297- ** created_by_subject_types:** ` typing.Optional[typing.Sequence[TracesSubjectType ]] ` — Array of subject types to filter by
6552+ ** created_by_subject_types:** ` typing.Optional[typing.Sequence[SubjectType ]] ` — Array of subject types to filter by
62986553
62996554</dd >
63006555</dl >
@@ -6334,7 +6589,15 @@ for page in response.iter_pages():
63346589<dl >
63356590<dd >
63366591
6337- ** page_token:** ` typing.Optional[str] ` — Cursor token for pagination. This is an opaque string that should be passed as-is from the previous response
6592+ ** page_token:** ` typing.Optional[str] ` — An opaque string that should be passed as-is from previous response for fetching the next page. Pass ` $response.pagination.nextPageToken ` from previous response for fetching the next page.
6593+
6594+ </dd >
6595+ </dl >
6596+
6597+ <dl >
6598+ <dd >
6599+
6600+ ** filters:** ` typing.Optional[typing.Sequence[QuerySpansRequestFiltersItem]] ` — Array of filters
63386601
63396602</dd >
63406603</dl >
0 commit comments