Skip to content

Profile mapping APIs are bugged #456

@rkaleta1

Description

@rkaleta1

Describe the bug

getProfileMapping and updateProfileMapping methods don't return properties of the mapping, they are always undefined. This is what properties key looks like.

{
  expression: undefined,
  pushStatus: undefined,
}

Furthermore, ProfileMappingRequest type is wrong.
'properties' should be Record<ProfileMappingProperty>

Reproduction Steps?

const mapping = await client.profileMappingApi.getProfileMapping({ mappingId });
console.log(JSON.stringify(mapping)

SDK Versions

7.3.0

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions