@randock/nameshift-api-client 0.0.89 → 0.0.91
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/.openapi-generator/FILES +3 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +35 -1
- package/dist/apis/BuyersApi.js +160 -0
- package/dist/models/AccountSettingsInput.d.ts +3 -3
- package/dist/models/AccountSettingsInput.js +3 -3
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.d.ts +14 -2
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +8 -0
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +23 -2
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +15 -0
- package/dist/models/LeadDomainDto.d.ts +43 -0
- package/dist/models/LeadDomainDto.js +54 -0
- package/dist/models/LeadDto.d.ts +96 -0
- package/dist/models/LeadDto.js +96 -0
- package/dist/models/LeadMessageDto.d.ts +2 -0
- package/dist/models/LeadMessageDto.js +2 -0
- package/dist/models/PutBuyerLeadOfferInput.d.ts +32 -0
- package/dist/models/PutBuyerLeadOfferInput.js +47 -0
- package/dist/models/UpdateDomainInput.d.ts +5 -5
- package/dist/models/UpdateDomainInput.js +5 -5
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +150 -0
- package/src/apis/LeadsApi.ts +3 -0
- package/src/models/AccountSettingsInput.ts +9 -9
- package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +20 -2
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +37 -2
- package/src/models/LeadDomainDto.ts +79 -0
- package/src/models/LeadDto.ts +162 -0
- package/src/models/LeadMessageDto.ts +2 -0
- package/src/models/PutBuyerLeadOfferInput.ts +68 -0
- package/src/models/UpdateDomainInput.ts +13 -13
- package/src/models/index.ts +3 -1
- package/dist/models/MoneyInput.d.ts +0 -37
- package/dist/models/MoneyInput.js +0 -50
- package/src/models/MoneyInput.ts +0 -70
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Nameshift
|
|
6
|
-
* Nameshift API
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfMoneyInput = instanceOfMoneyInput;
|
|
17
|
-
exports.MoneyInputFromJSON = MoneyInputFromJSON;
|
|
18
|
-
exports.MoneyInputFromJSONTyped = MoneyInputFromJSONTyped;
|
|
19
|
-
exports.MoneyInputToJSON = MoneyInputToJSON;
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the MoneyInput interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfMoneyInput(value) {
|
|
24
|
-
if (!('amount' in value) || value['amount'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function MoneyInputFromJSON(json) {
|
|
31
|
-
return MoneyInputFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function MoneyInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'amount': json['amount'],
|
|
39
|
-
'currencyCode': json['currencyCode'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function MoneyInputToJSON(value) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'amount': value['amount'],
|
|
48
|
-
'currencyCode': value['currencyCode'],
|
|
49
|
-
};
|
|
50
|
-
}
|
package/src/models/MoneyInput.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface MoneyInput
|
|
20
|
-
*/
|
|
21
|
-
export interface MoneyInput {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof MoneyInput
|
|
26
|
-
*/
|
|
27
|
-
amount: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof MoneyInput
|
|
32
|
-
*/
|
|
33
|
-
currencyCode: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the MoneyInput interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfMoneyInput(value: object): value is MoneyInput {
|
|
40
|
-
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
41
|
-
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function MoneyInputFromJSON(json: any): MoneyInput {
|
|
46
|
-
return MoneyInputFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function MoneyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoneyInput {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'amount': json['amount'],
|
|
56
|
-
'currencyCode': json['currencyCode'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function MoneyInputToJSON(value?: MoneyInput | null): any {
|
|
61
|
-
if (value == null) {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
|
|
66
|
-
'amount': value['amount'],
|
|
67
|
-
'currencyCode': value['currencyCode'],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|