Skip to main content

Utils

Description

Utils module provides utility functions for common operations within the SDK.

Methods

seed

Generates a random integer seed value that can be used for various purposes.

Props

This method takes no parameters.

Returns

number - A random integer between 0 and Number.MAX_SAFE_INTEGER (9007199254740991)

Example

await client.sdk.operations.create.generate({
input: {
seed: await client.utils.seed(),
},
});