@amerged/ohmyhost-sdk 0.1.57 → 0.1.58
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/README.md +1 -1
- package/dist/generated/sdk.gen.d.ts +3 -0
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +8 -1
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +6 -0
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/packages/sdk-ts/package.json +1 -1
- package/src/packages/sdk-ts/src/generated/sdk.gen.ts +14 -1
- package/src/packages/sdk-ts/src/generated/types.gen.ts +6 -0
package/package.json
CHANGED
|
@@ -1838,10 +1838,23 @@ export const getAccountProfile = <ThrowOnError extends boolean = true>(
|
|
|
1838
1838
|
export const recordSignupSource = <ThrowOnError extends boolean = true>(
|
|
1839
1839
|
parameters: {
|
|
1840
1840
|
source: string | null;
|
|
1841
|
+
utm?: {
|
|
1842
|
+
[key: string]: string;
|
|
1843
|
+
};
|
|
1841
1844
|
},
|
|
1842
1845
|
options?: Options<never, ThrowOnError>,
|
|
1843
1846
|
): RequestResult<RecordSignupSourceResponses, RecordSignupSourceErrors, ThrowOnError, "data"> => {
|
|
1844
|
-
const params = buildClientParams(
|
|
1847
|
+
const params = buildClientParams(
|
|
1848
|
+
[parameters],
|
|
1849
|
+
[
|
|
1850
|
+
{
|
|
1851
|
+
args: [
|
|
1852
|
+
{ in: "body", key: "source" },
|
|
1853
|
+
{ in: "body", key: "utm" },
|
|
1854
|
+
],
|
|
1855
|
+
},
|
|
1856
|
+
],
|
|
1857
|
+
);
|
|
1845
1858
|
return (options?.client ?? client).put<
|
|
1846
1859
|
RecordSignupSourceResponses,
|
|
1847
1860
|
RecordSignupSourceErrors,
|
|
@@ -4498,6 +4498,12 @@ export type GetAccountProfileResponse =
|
|
|
4498
4498
|
export type RecordSignupSourceData = {
|
|
4499
4499
|
body: {
|
|
4500
4500
|
source: string | null;
|
|
4501
|
+
/**
|
|
4502
|
+
* Optional first campaign snapshot; empty freezes an empty snapshot. Up to 20 lowercase utm_ keys, values up to 256 Unicode characters, and at most 1024 UTF-8 bytes as JSON.
|
|
4503
|
+
*/
|
|
4504
|
+
utm?: {
|
|
4505
|
+
[key: string]: string;
|
|
4506
|
+
};
|
|
4501
4507
|
};
|
|
4502
4508
|
path?: never;
|
|
4503
4509
|
query?: never;
|