Hello,
I think something is wrong with the types for Authorization.createResource options here
export interface CreateOptionsWithParentResourceId extends BaseCreateAuthorizationResourceOptions {
parentResourceId: string;
}
export interface CreateOptionsWithParentExternalId extends BaseCreateAuthorizationResourceOptions {
parentResourceExternalId: string;
parentResourceTypeSlug: string;
}
export type CreateAuthorizationResourceOptions =
| CreateOptionsWithParentResourceId
| CreateOptionsWithParentExternalId;
Both types require setting a parent resource when the doc mentioned, it is optional. Ignoring the type error will result in a successful resource creation
Hello,
I think something is wrong with the types for
Authorization.createResourceoptions hereBoth types require setting a parent resource when the doc mentioned, it is optional. Ignoring the type error will result in a successful resource creation