forked from Increase/increase-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocuments.ts
More file actions
26 lines (22 loc) · 839 Bytes
/
documents.ts
File metadata and controls
26 lines (22 loc) · 839 Bytes
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
26
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from '../../resource';
import * as Core from '../../core';
import * as SimulationsDocumentsAPI from './documents';
import * as DocumentsAPI from '../documents';
export class Documents extends APIResource {
/**
* Simulates an tax document being created for an account.
*/
create(body: DocumentCreateParams, options?: Core.RequestOptions): Core.APIPromise<DocumentsAPI.Document> {
return this._client.post('/simulations/documents', { body, ...options });
}
}
export interface DocumentCreateParams {
/**
* The identifier of the Account the tax document is for.
*/
account_id: string;
}
export namespace Documents {
export import DocumentCreateParams = SimulationsDocumentsAPI.DocumentCreateParams;
}