File size: 727 Bytes
c211499
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// File generated from our OpenAPI spec by Stainless.

import type { Anthropic } from './index';

export class APIResource {
  protected client: Anthropic;
  constructor(client: Anthropic) {
    this.client = client;

    this.get = client.get.bind(client);
    this.post = client.post.bind(client);
    this.patch = client.patch.bind(client);
    this.put = client.put.bind(client);
    this.delete = client.delete.bind(client);
    this.getAPIList = client.getAPIList.bind(client);
  }

  protected get: Anthropic['get'];
  protected post: Anthropic['post'];
  protected patch: Anthropic['patch'];
  protected put: Anthropic['put'];
  protected delete: Anthropic['delete'];
  protected getAPIList: Anthropic['getAPIList'];
}