-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add new v2 endpoints to openapi.json
- Loading branch information
Showing
104 changed files
with
5,552 additions
and
780 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* generated using openapi-typescript-codegen -- do not edit */ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Information about the added File | ||
*/ | ||
export type AddFile = { | ||
/** | ||
* Role of the file | ||
*/ | ||
role?: AddFile.role; | ||
/** | ||
* Source URL where the file is to be downloaded from. The use of .ai, .psd, and .tiff files has been deprecated, if your application uses these file types or accepts these types from users you will need to add validation. | ||
*/ | ||
url: string; | ||
/** | ||
* If the filename is not provided, and something looking like a filename is present in the URL (e.g. "something.jpg"), it will be used. | ||
* Otherwise, it will default to `{file_id}.{file_extension}`, with file extension determined based on the media type of the file. | ||
* | ||
*/ | ||
filename?: string; | ||
/** | ||
* Show file in the Printfile Library | ||
*/ | ||
visible?: boolean; | ||
}; | ||
export namespace AddFile { | ||
/** | ||
* Role of the file | ||
*/ | ||
export enum role { | ||
PRINTFILE = 'printfile', | ||
LABEL = 'label', | ||
PREVIEW = 'preview', | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/* generated using openapi-typescript-codegen -- do not edit */ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Information about the address | ||
*/ | ||
export type AddressReadonly = { | ||
/** | ||
* Full name | ||
*/ | ||
name: string; | ||
/** | ||
* Company name | ||
*/ | ||
company: string; | ||
/** | ||
* Address line 1 | ||
*/ | ||
address1: string; | ||
/** | ||
* Address line 2 | ||
*/ | ||
address2: string; | ||
/** | ||
* City | ||
*/ | ||
city: string; | ||
/** | ||
* State code | ||
*/ | ||
state_code: string; | ||
/** | ||
* State name | ||
*/ | ||
state_name: string; | ||
/** | ||
* Country code | ||
*/ | ||
country_code: string; | ||
/** | ||
* Country name | ||
*/ | ||
country_name: string; | ||
/** | ||
* ZIP/Postal code | ||
*/ | ||
zip: string; | ||
/** | ||
* Phone number | ||
*/ | ||
phone: string; | ||
/** | ||
* Email address | ||
*/ | ||
email: string; | ||
/** | ||
* TAX number (`optional`, but in case of Brazil country this field becomes `required` and will be used as CPF/CNPJ number)<br> CPF format is 000.000.000-00 (14 characters);<br> CNPJ format is 00.000.000/0000-00 (18 characters). | ||
*/ | ||
tax_number: string; | ||
}; | ||
|
Oops, something went wrong.