tornapi-typescript 3.0.18 → 3.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -1
- package/dist/index.ts +2 -1
- package/dist/openapi.json +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -409,11 +409,12 @@ export interface UserCompany {
|
|
|
409
409
|
export interface UserJobResponse {
|
|
410
410
|
job: UserJob | UserCompany | null;
|
|
411
411
|
}
|
|
412
|
+
/** The property 'days_married' is not present if the status is 'Engaged' */
|
|
412
413
|
export interface ProfileSpouse {
|
|
413
414
|
id: UserId;
|
|
414
415
|
name: string;
|
|
415
416
|
status: UserMaritalStatusEnum;
|
|
416
|
-
days_married
|
|
417
|
+
days_married?: number;
|
|
417
418
|
}
|
|
418
419
|
export interface UserProfileResponse {
|
|
419
420
|
profile: {
|
package/dist/index.ts
CHANGED
|
@@ -5343,11 +5343,12 @@ export interface UserJobResponse {
|
|
|
5343
5343
|
job: UserJob | UserCompany | null;
|
|
5344
5344
|
}
|
|
5345
5345
|
|
|
5346
|
+
/** The property 'days_married' is not present if the status is 'Engaged' */
|
|
5346
5347
|
export interface ProfileSpouse {
|
|
5347
5348
|
id: UserId;
|
|
5348
5349
|
name: string;
|
|
5349
5350
|
status: UserMaritalStatusEnum;
|
|
5350
|
-
days_married
|
|
5351
|
+
days_married?: number;
|
|
5351
5352
|
}
|
|
5352
5353
|
|
|
5353
5354
|
export interface UserProfileResponse {
|
package/dist/openapi.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Torn API",
|
|
5
5
|
"description": "\n * The development of Torn's API v2 is still ongoing.\n * If selections remain unaltered, they will default to the API v1 version.\n * Unlike API v1, API v2 accepts both selections and IDs as path and query parameters.\n * If any discrepancies or errors are found, please submit a [bug report](https://www.torn.com/forums.php#/p=forums&f=19&b=0&a=0) on the Torn Forums.\n * In case you're using bots to check for changes on openapi.json file, make sure to specificy a custom user-agent header - CloudFlare sometimes prevents requests from default user-agents.",
|
|
6
|
-
"version": "3.0.
|
|
6
|
+
"version": "3.0.19"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -15259,11 +15259,11 @@
|
|
|
15259
15259
|
"type": "object"
|
|
15260
15260
|
},
|
|
15261
15261
|
"ProfileSpouse": {
|
|
15262
|
+
"description": "The property 'days_married' is not present if the status is 'Engaged'",
|
|
15262
15263
|
"required": [
|
|
15263
15264
|
"id",
|
|
15264
15265
|
"name",
|
|
15265
|
-
"status"
|
|
15266
|
-
"days_married"
|
|
15266
|
+
"status"
|
|
15267
15267
|
],
|
|
15268
15268
|
"properties": {
|
|
15269
15269
|
"id": {
|