package rainyun // listOptions returns the standard pagination query for Rainyun list endpoints. // Format verified via browser DevTools capture of the Rainyun web console: // // https://api.v2.rainyun.com/product/rcs/?options={url-encoded JSON} // // The decoded JSON is: {"columnFilters":{},"sort":[],"page":1,"perPage":20} func listOptions() map[string]string { return map[string]string{ "options": `{"columnFilters":{},"sort":[],"page":1,"perPage":50}`, } } // listResponse is the JSON envelope returned by Rainyun list endpoints. // API uses PascalCase: {"code":200,"data":{"Records":[...],"TotalRecords":N}} type listResponse struct { Records []any `json:"Records"` TotalRecords int `json:"TotalRecords"` }