enum HttpHeaderName {
  acceptLanguage = 'accept-language',
  adminUserId = 'x-admin-user-id',
  authorization = 'Authorization',
  authType = 'x-authorization-auth-type',
  consumer = 'x-consumer',
  consumerOs = 'x-consumer-os',
  consumerVersion = 'x-consumer-version',
  contentType = 'Content-Type',
  deviceUuid = 'x-device',
  forwardedFor = 'x-forwarded-for',
  hmacSignature = 'x-authorization-content-sha256',
  hmacTimestamp = 'x-authorization-timestamp',
  locale = 'x-locale',
  pushNotificationToken = 'x-pn-token',
  timezone = 'x-timezone',
  userId = 'x-user-id',
}

// type HttpHeaders = { [key in keyof typeof HttpHeaderName]?: string };
// type HttpHeaders = Partial<Record<keyof typeof HttpHeaderName, string>>;
type HttpHeaders = Partial<Record<HttpHeaderName, string>>;

const headers: HttpHeaders = {
  [HttpHeaderName.contentType]: 'application/json',
};

console.log(headers);
