UNPKG

1.68 kBTypeScriptView Raw
1/**
2 * @deprecated Since v1.32.2. Use functions from `@sap-cloud-sdk/util` instead.
3 * Converts a string to the format used by static properties. Use this for serialization.
4 * @param str - The string to be transformed.
5 * @returns The transformed string.
6 */
7export declare function toStaticPropertyFormat(str: string): string;
8/**
9 * @deprecated Since v1.32.2. Use functions from `@sap-cloud-sdk/util` instead.
10 * Converts a string to the format used by properties. Use this for serialization.
11 * @param str - The string to be transformed.
12 * @returns The transformed string.
13 */
14export declare function toPropertyFormat(str: string): string;
15/**
16 * @deprecated Since v1.32.2. Use functions from `@sap-cloud-sdk/util` instead.
17 * Converts a string to PascalCase format e.g. "MyNameInPascalCase".
18 * @param str - The string to be transformed.
19 * @returns The transformed string.
20 */
21export declare function toPascalCase(str: string): string;
22/**
23 * @deprecated Since v1.32.2. Use functions from `@sap-cloud-sdk/util` instead.
24 * Converts a string to a human readable format, e.g. it transforms `to_BusinessPartner` to `To Business Partner`. Use this for serialization.
25 * @param str - The string to be transformed.
26 * @returns The transformed string.
27 */
28export declare function toTitleFormat(str: string): string;
29/**
30 * @deprecated Since v1.32.2. Use functions from `@sap-cloud-sdk/util` instead.
31 * Converts a string to the format used by properties. Use this for serialization.
32 * @param str - The string to be transformed.
33 * @returns The transformed string.
34 */
35export declare function toTypeNameFormat(str: string): string;
36//# sourceMappingURL=name-converter.d.ts.map
\No newline at end of file