title: Object literal may only specify known properties, and 'clientId' does not exist in type 'RatesWhereUniqueInput'
body: <p>I'm using typescript with prisma and typegraphql and getting this type error. RatesWhereUniqeInput is generated by prisma and is defining itself as a &quot;CompoundUniqueInput&quot; because the database I am referencing has 2 keys (clientId: string, employeeId: number).</p>
  <p>In my repository I want to use both of these to reference a specific database line using &quot;update()&quot; but because the type is generated within the prisma client as clientId_employeeId? I am getting a type error.</p>
  <p>repository function</p>
  <pre><code>    async update(model: Rates): Promise&lt;Rates&gt; {
          const { employeeId, clientId, ...data } = this.mapper.from(model);
  
          const entity = await this.db.rates.update({
              where: { employeeId, clientId },
              data: {
                  ...data,
              },
          });
  
          return this.mapper.to(entity);
      }
  </code></pre>
  <p>prisma index.d.ts</p>
  <pre><code>  export type RatesWhereUniqueInput = {
      clientId_employeeId?: RatesClientIdEmployeeIdCompoundUniqueInput
    }
  </code></pre>
  <p>ratesmapper.ts</p>
  <pre><code>@injectable()
  export class RatesMapper {
      public from(model: Rates): RatesEntity {
          return {
              employeeId: model.employeeId,
              clientId: model.clientId,
              rateFull: model.rateFull,
              rateQuarter: model.rateQuarter,
              rateLine: model.rateLine,
              rateWord: model.rateWord,
              createdAt: model.createdAt,
              updatedAt: model.updatedAt,
          };
      }
  
      public to(entity: RatesEntity): Rates {
          return new Rates({
              ...entity,
          });
      }
  }
  </code></pre>