Returns the encoded target URL for the action without executing an HTTP request. Useful if the URL string is needed for custom actions outside the scope of the library.
Modifies the challengeId associated with the Action object it is called from.
The challenge ID to update the calling Action object with.
Modifies the region associated with the Action object it is called from. Note that associated runtime type checks are performed to ensure that the provided region matches one of the expected API regions.
The region to update the calling Action object with.
Sets multiple values in the Action payload simultaneously.
The payload with which the Action's payload is overwritten
The current Action (with the updated payload state).
Modifies the tier associated with the Action object it is called from. Note that associated runtime type checks are performed to ensure that the provided tier matches one of the expected queues for the corresponding game.
The tier to update the calling Action object with.
The payload containing the data (endpoint, request type, parameters, etc.) related to the associated Action. The type guards associated with setting certain properties of the payload are checked at runtime and may throw errors when provided invalid values.