@randock/nameshift-api-client 0.0.299 → 0.0.301
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 +9 -0
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +3 -3
- package/dist/apis/BuyersApi.js +1 -1
- package/dist/apis/InvoicesApi.d.ts +3 -3
- package/dist/apis/InvoicesApi.js +1 -1
- package/dist/models/BuyerDto.d.ts +12 -0
- package/dist/models/BuyerDto.js +8 -0
- package/dist/models/BuyerInvoiceDomainDto.d.ts +44 -0
- package/dist/models/BuyerInvoiceDomainDto.js +59 -0
- package/dist/models/BuyerInvoiceDto.d.ts +113 -0
- package/dist/models/BuyerInvoiceDto.js +111 -0
- package/dist/models/BuyerInvoiceSellerAccountDto.d.ts +64 -0
- package/dist/models/BuyerInvoiceSellerAccountDto.js +75 -0
- package/dist/models/CreateLeadInput.d.ts +12 -0
- package/dist/models/CreateLeadInput.js +4 -0
- package/dist/models/DomainSalesInformationDto.d.ts +7 -0
- package/dist/models/DomainSalesInformationDto.js +5 -0
- package/dist/models/GetBuyerInvoices200Response.d.ts +47 -0
- package/dist/models/GetBuyerInvoices200Response.js +62 -0
- package/dist/models/GetInvoices200Response.d.ts +47 -0
- package/dist/models/GetInvoices200Response.js +62 -0
- package/dist/models/InvoiceDto.d.ts +6 -0
- package/dist/models/InvoiceDto.js +4 -0
- package/dist/models/LandingPageInput.d.ts +12 -0
- package/dist/models/LandingPageInput.js +4 -0
- package/dist/models/LandingPageSettingsDto.d.ts +12 -0
- package/dist/models/LandingPageSettingsDto.js +8 -0
- package/dist/models/LeadBuyerConfigDto.d.ts +38 -0
- package/dist/models/LeadBuyerConfigDto.js +55 -0
- package/dist/models/PublicLeadBuyerDto.d.ts +6 -0
- package/dist/models/PublicLeadBuyerDto.js +4 -0
- package/dist/models/SellerInvoiceDomainDto.d.ts +44 -0
- package/dist/models/SellerInvoiceDomainDto.js +59 -0
- package/dist/models/SellerInvoiceDto.d.ts +113 -0
- package/dist/models/SellerInvoiceDto.js +111 -0
- package/dist/models/SellerInvoiceSellerAccountDto.d.ts +64 -0
- package/dist/models/SellerInvoiceSellerAccountDto.js +75 -0
- package/dist/models/UpdateLeadInput.d.ts +12 -0
- package/dist/models/UpdateLeadInput.js +4 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +6 -6
- package/src/apis/InvoicesApi.ts +6 -6
- package/src/models/BuyerDto.ts +18 -0
- package/src/models/BuyerInvoiceDomainDto.ts +84 -0
- package/src/models/BuyerInvoiceDto.ts +200 -0
- package/src/models/BuyerInvoiceSellerAccountDto.ts +113 -0
- package/src/models/CreateLeadInput.ts +16 -0
- package/src/models/DomainSalesInformationDto.ts +16 -0
- package/src/models/GetBuyerInvoices200Response.ts +106 -0
- package/src/models/GetInvoices200Response.ts +106 -0
- package/src/models/InvoiceDto.ts +9 -0
- package/src/models/LandingPageInput.ts +16 -0
- package/src/models/LandingPageSettingsDto.ts +18 -0
- package/src/models/LeadBuyerConfigDto.ts +75 -0
- package/src/models/PublicLeadBuyerDto.ts +9 -0
- package/src/models/SellerInvoiceDomainDto.ts +84 -0
- package/src/models/SellerInvoiceDto.ts +200 -0
- package/src/models/SellerInvoiceSellerAccountDto.ts +113 -0
- package/src/models/UpdateLeadInput.ts +16 -0
- package/src/models/index.ts +9 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -75,6 +75,9 @@ src/models/BuyerDomainTransferAuthCodeDto.ts
|
|
|
75
75
|
src/models/BuyerDomainTransferListItemDomainDto.ts
|
|
76
76
|
src/models/BuyerDomainTransferListItemDto.ts
|
|
77
77
|
src/models/BuyerDto.ts
|
|
78
|
+
src/models/BuyerInvoiceDomainDto.ts
|
|
79
|
+
src/models/BuyerInvoiceDto.ts
|
|
80
|
+
src/models/BuyerInvoiceSellerAccountDto.ts
|
|
78
81
|
src/models/BuyerLeadListItemDomainDto.ts
|
|
79
82
|
src/models/BuyerLeadListItemDto.ts
|
|
80
83
|
src/models/BuyerSecurityUserDto.ts
|
|
@@ -140,9 +143,11 @@ src/models/GetAllOwnedDomains200Response.ts
|
|
|
140
143
|
src/models/GetAllReferrals200Response.ts
|
|
141
144
|
src/models/GetAllSubscriptions200Response.ts
|
|
142
145
|
src/models/GetAllSubscriptions200Response1.ts
|
|
146
|
+
src/models/GetBuyerInvoices200Response.ts
|
|
143
147
|
src/models/GetBuyerLeads200Response.ts
|
|
144
148
|
src/models/GetBuyerSubscriptions200Response.ts
|
|
145
149
|
src/models/GetBuyerTransfers200Response.ts
|
|
150
|
+
src/models/GetInvoices200Response.ts
|
|
146
151
|
src/models/HistoricalMetrics.ts
|
|
147
152
|
src/models/HttpException.ts
|
|
148
153
|
src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
|
|
@@ -161,6 +166,7 @@ src/models/InvoiceSellerAccountDto.ts
|
|
|
161
166
|
src/models/InvoiceTransactionDto.ts
|
|
162
167
|
src/models/LandingPageInput.ts
|
|
163
168
|
src/models/LandingPageSettingsDto.ts
|
|
169
|
+
src/models/LeadBuyerConfigDto.ts
|
|
164
170
|
src/models/LeadDomainDto.ts
|
|
165
171
|
src/models/LeadDto.ts
|
|
166
172
|
src/models/LeadLeaseToOwnAndRentConfigurationPresetsDto.ts
|
|
@@ -238,6 +244,9 @@ src/models/SellerDomainTransferDto.ts
|
|
|
238
244
|
src/models/SellerDomainTransferListItemAuthCodeDto.ts
|
|
239
245
|
src/models/SellerDomainTransferListItemDomainDto.ts
|
|
240
246
|
src/models/SellerDomainTransferListItemDto.ts
|
|
247
|
+
src/models/SellerInvoiceDomainDto.ts
|
|
248
|
+
src/models/SellerInvoiceDto.ts
|
|
249
|
+
src/models/SellerInvoiceSellerAccountDto.ts
|
|
241
250
|
src/models/SellerSecurityUserAccountDto.ts
|
|
242
251
|
src/models/SellerSecurityUserDto.ts
|
|
243
252
|
src/models/SellerSubscriptionListItemDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.301
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.301 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
8e398ccecc56f25d0555edfb4d9431212376b36635e4b257ea783261b5f1f6bbb00f61fca5d1ead306d1a63aec2a2400
|
package/dist/apis/BuyersApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BuyerDomainTransferAuthCodeDto, BuyerSessionDto, CreateBuyerLeadMessageInput,
|
|
13
|
+
import type { BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BuyerDomainTransferAuthCodeDto, BuyerSessionDto, CreateBuyerLeadMessageInput, GetBuyerInvoices200Response, GetBuyerLeads200Response, GetBuyerSubscriptions200Response, GetBuyerTransfers200Response, LeadDto, LeadMessageDto, ObjectId, PutBuyerLeadOfferInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput, UpdateBuyerDomainTransferIpsTagInputDto } from '../models/index';
|
|
14
14
|
export interface BuyersApiAcceptBuyerLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
}
|
|
@@ -167,11 +167,11 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
167
167
|
/**
|
|
168
168
|
*
|
|
169
169
|
*/
|
|
170
|
-
getBuyerInvoicesRaw(requestParameters: BuyersApiGetBuyerInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
170
|
+
getBuyerInvoicesRaw(requestParameters: BuyersApiGetBuyerInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetBuyerInvoices200Response>>;
|
|
171
171
|
/**
|
|
172
172
|
*
|
|
173
173
|
*/
|
|
174
|
-
getBuyerInvoices(requestParameters?: BuyersApiGetBuyerInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
174
|
+
getBuyerInvoices(requestParameters?: BuyersApiGetBuyerInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetBuyerInvoices200Response>;
|
|
175
175
|
/**
|
|
176
176
|
*
|
|
177
177
|
*/
|
package/dist/apis/BuyersApi.js
CHANGED
|
@@ -588,7 +588,7 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
588
588
|
}, initOverrides)];
|
|
589
589
|
case 3:
|
|
590
590
|
response = _a.sent();
|
|
591
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
591
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetBuyerInvoices200ResponseFromJSON)(jsonValue); })];
|
|
592
592
|
}
|
|
593
593
|
});
|
|
594
594
|
});
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { GetInvoices200Response } from '../models/index';
|
|
14
14
|
export interface InvoicesApiDownloadInvoiceRequest {
|
|
15
15
|
invoiceId: string;
|
|
16
16
|
}
|
|
@@ -35,9 +35,9 @@ export declare class InvoicesApi extends runtime.BaseAPI {
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
|
-
getInvoicesRaw(requestParameters: InvoicesApiGetInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
38
|
+
getInvoicesRaw(requestParameters: InvoicesApiGetInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetInvoices200Response>>;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
*/
|
|
42
|
-
getInvoices(requestParameters?: InvoicesApiGetInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
42
|
+
getInvoices(requestParameters?: InvoicesApiGetInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetInvoices200Response>;
|
|
43
43
|
}
|
package/dist/apis/InvoicesApi.js
CHANGED
|
@@ -168,7 +168,7 @@ var InvoicesApi = /** @class */ (function (_super) {
|
|
|
168
168
|
}, initOverrides)];
|
|
169
169
|
case 3:
|
|
170
170
|
response = _a.sent();
|
|
171
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
171
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetInvoices200ResponseFromJSON)(jsonValue); })];
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
});
|
|
@@ -33,6 +33,18 @@ export interface BuyerDto {
|
|
|
33
33
|
* @memberof BuyerDto
|
|
34
34
|
*/
|
|
35
35
|
ipCountryCode: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BuyerDto
|
|
40
|
+
*/
|
|
41
|
+
companyName: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BuyerDto
|
|
46
|
+
*/
|
|
47
|
+
buyerName: string;
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* Check if a given object implements the BuyerDto interface.
|
package/dist/models/BuyerDto.js
CHANGED
|
@@ -28,6 +28,10 @@ function instanceOfBuyerDto(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('ipCountryCode' in value) || value['ipCountryCode'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('buyerName' in value) || value['buyerName'] === undefined)
|
|
34
|
+
return false;
|
|
31
35
|
return true;
|
|
32
36
|
}
|
|
33
37
|
function BuyerDtoFromJSON(json) {
|
|
@@ -41,6 +45,8 @@ function BuyerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
45
|
'initials': json['initials'],
|
|
42
46
|
'name': json['name'],
|
|
43
47
|
'ipCountryCode': json['ipCountryCode'],
|
|
48
|
+
'companyName': json['companyName'],
|
|
49
|
+
'buyerName': json['buyerName'],
|
|
44
50
|
};
|
|
45
51
|
}
|
|
46
52
|
function BuyerDtoToJSON(json) {
|
|
@@ -55,5 +61,7 @@ function BuyerDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
61
|
'initials': value['initials'],
|
|
56
62
|
'name': value['name'],
|
|
57
63
|
'ipCountryCode': value['ipCountryCode'],
|
|
64
|
+
'companyName': value['companyName'],
|
|
65
|
+
'buyerName': value['buyerName'],
|
|
58
66
|
};
|
|
59
67
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BuyerInvoiceDomainDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BuyerInvoiceDomainDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof BuyerInvoiceDomainDto
|
|
22
|
+
*/
|
|
23
|
+
id: object;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BuyerInvoiceDomainDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BuyerInvoiceDomainDto
|
|
34
|
+
*/
|
|
35
|
+
displayName: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the BuyerInvoiceDomainDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfBuyerInvoiceDomainDto(value: object): value is BuyerInvoiceDomainDto;
|
|
41
|
+
export declare function BuyerInvoiceDomainDtoFromJSON(json: any): BuyerInvoiceDomainDto;
|
|
42
|
+
export declare function BuyerInvoiceDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerInvoiceDomainDto;
|
|
43
|
+
export declare function BuyerInvoiceDomainDtoToJSON(json: any): BuyerInvoiceDomainDto;
|
|
44
|
+
export declare function BuyerInvoiceDomainDtoToJSONTyped(value?: BuyerInvoiceDomainDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfBuyerInvoiceDomainDto = instanceOfBuyerInvoiceDomainDto;
|
|
17
|
+
exports.BuyerInvoiceDomainDtoFromJSON = BuyerInvoiceDomainDtoFromJSON;
|
|
18
|
+
exports.BuyerInvoiceDomainDtoFromJSONTyped = BuyerInvoiceDomainDtoFromJSONTyped;
|
|
19
|
+
exports.BuyerInvoiceDomainDtoToJSON = BuyerInvoiceDomainDtoToJSON;
|
|
20
|
+
exports.BuyerInvoiceDomainDtoToJSONTyped = BuyerInvoiceDomainDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BuyerInvoiceDomainDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBuyerInvoiceDomainDto(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function BuyerInvoiceDomainDtoFromJSON(json) {
|
|
34
|
+
return BuyerInvoiceDomainDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function BuyerInvoiceDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'displayName': json['displayName'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function BuyerInvoiceDomainDtoToJSON(json) {
|
|
47
|
+
return BuyerInvoiceDomainDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function BuyerInvoiceDomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'displayName': value['displayName'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { MoneyDto } from './MoneyDto';
|
|
13
|
+
import type { BuyerInvoiceSellerAccountDto } from './BuyerInvoiceSellerAccountDto';
|
|
14
|
+
import type { BuyerInvoiceDomainDto } from './BuyerInvoiceDomainDto';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface BuyerInvoiceDto
|
|
19
|
+
*/
|
|
20
|
+
export interface BuyerInvoiceDto {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {object}
|
|
24
|
+
* @memberof BuyerInvoiceDto
|
|
25
|
+
*/
|
|
26
|
+
id: object;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof BuyerInvoiceDto
|
|
31
|
+
*/
|
|
32
|
+
invoiceNumber: string | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {BuyerInvoiceDomainDto}
|
|
36
|
+
* @memberof BuyerInvoiceDto
|
|
37
|
+
*/
|
|
38
|
+
domain: BuyerInvoiceDomainDto | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Date}
|
|
42
|
+
* @memberof BuyerInvoiceDto
|
|
43
|
+
*/
|
|
44
|
+
date: Date | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof BuyerInvoiceDto
|
|
49
|
+
*/
|
|
50
|
+
status: BuyerInvoiceDtoStatusEnum;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {MoneyDto}
|
|
54
|
+
* @memberof BuyerInvoiceDto
|
|
55
|
+
*/
|
|
56
|
+
totalPrice: MoneyDto;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof BuyerInvoiceDto
|
|
61
|
+
*/
|
|
62
|
+
target: BuyerInvoiceDtoTargetEnum;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {BuyerInvoiceSellerAccountDto}
|
|
66
|
+
* @memberof BuyerInvoiceDto
|
|
67
|
+
*/
|
|
68
|
+
sellerAccount: BuyerInvoiceSellerAccountDto;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {object}
|
|
72
|
+
* @memberof BuyerInvoiceDto
|
|
73
|
+
*/
|
|
74
|
+
parent: object | null;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {boolean}
|
|
78
|
+
* @memberof BuyerInvoiceDto
|
|
79
|
+
*/
|
|
80
|
+
hasChildren: boolean;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {boolean}
|
|
84
|
+
* @memberof BuyerInvoiceDto
|
|
85
|
+
*/
|
|
86
|
+
isAffiliateCommission: boolean;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* @export
|
|
90
|
+
*/
|
|
91
|
+
export declare const BuyerInvoiceDtoStatusEnum: {
|
|
92
|
+
readonly DRAFT: "draft";
|
|
93
|
+
readonly PENDING_PAYMENT: "pending_payment";
|
|
94
|
+
readonly PAID: "paid";
|
|
95
|
+
readonly CANCELLED: "cancelled";
|
|
96
|
+
};
|
|
97
|
+
export type BuyerInvoiceDtoStatusEnum = typeof BuyerInvoiceDtoStatusEnum[keyof typeof BuyerInvoiceDtoStatusEnum];
|
|
98
|
+
/**
|
|
99
|
+
* @export
|
|
100
|
+
*/
|
|
101
|
+
export declare const BuyerInvoiceDtoTargetEnum: {
|
|
102
|
+
readonly SELLER: "seller";
|
|
103
|
+
readonly BUYER: "buyer";
|
|
104
|
+
};
|
|
105
|
+
export type BuyerInvoiceDtoTargetEnum = typeof BuyerInvoiceDtoTargetEnum[keyof typeof BuyerInvoiceDtoTargetEnum];
|
|
106
|
+
/**
|
|
107
|
+
* Check if a given object implements the BuyerInvoiceDto interface.
|
|
108
|
+
*/
|
|
109
|
+
export declare function instanceOfBuyerInvoiceDto(value: object): value is BuyerInvoiceDto;
|
|
110
|
+
export declare function BuyerInvoiceDtoFromJSON(json: any): BuyerInvoiceDto;
|
|
111
|
+
export declare function BuyerInvoiceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerInvoiceDto;
|
|
112
|
+
export declare function BuyerInvoiceDtoToJSON(json: any): BuyerInvoiceDto;
|
|
113
|
+
export declare function BuyerInvoiceDtoToJSONTyped(value?: BuyerInvoiceDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,111 @@
|
|
|
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.BuyerInvoiceDtoTargetEnum = exports.BuyerInvoiceDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfBuyerInvoiceDto = instanceOfBuyerInvoiceDto;
|
|
18
|
+
exports.BuyerInvoiceDtoFromJSON = BuyerInvoiceDtoFromJSON;
|
|
19
|
+
exports.BuyerInvoiceDtoFromJSONTyped = BuyerInvoiceDtoFromJSONTyped;
|
|
20
|
+
exports.BuyerInvoiceDtoToJSON = BuyerInvoiceDtoToJSON;
|
|
21
|
+
exports.BuyerInvoiceDtoToJSONTyped = BuyerInvoiceDtoToJSONTyped;
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
var BuyerInvoiceSellerAccountDto_1 = require("./BuyerInvoiceSellerAccountDto");
|
|
24
|
+
var BuyerInvoiceDomainDto_1 = require("./BuyerInvoiceDomainDto");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.BuyerInvoiceDtoStatusEnum = {
|
|
29
|
+
DRAFT: 'draft',
|
|
30
|
+
PENDING_PAYMENT: 'pending_payment',
|
|
31
|
+
PAID: 'paid',
|
|
32
|
+
CANCELLED: 'cancelled'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
exports.BuyerInvoiceDtoTargetEnum = {
|
|
38
|
+
SELLER: 'seller',
|
|
39
|
+
BUYER: 'buyer'
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the BuyerInvoiceDto interface.
|
|
43
|
+
*/
|
|
44
|
+
function instanceOfBuyerInvoiceDto(value) {
|
|
45
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('invoiceNumber' in value) || value['invoiceNumber'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('date' in value) || value['date'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('totalPrice' in value) || value['totalPrice'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('target' in value) || value['target'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
if (!('sellerAccount' in value) || value['sellerAccount'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
if (!('parent' in value) || value['parent'] === undefined)
|
|
62
|
+
return false;
|
|
63
|
+
if (!('hasChildren' in value) || value['hasChildren'] === undefined)
|
|
64
|
+
return false;
|
|
65
|
+
if (!('isAffiliateCommission' in value) || value['isAffiliateCommission'] === undefined)
|
|
66
|
+
return false;
|
|
67
|
+
return true;
|
|
68
|
+
}
|
|
69
|
+
function BuyerInvoiceDtoFromJSON(json) {
|
|
70
|
+
return BuyerInvoiceDtoFromJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function BuyerInvoiceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
73
|
+
if (json == null) {
|
|
74
|
+
return json;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
'id': json['id'],
|
|
78
|
+
'invoiceNumber': json['invoiceNumber'],
|
|
79
|
+
'domain': (0, BuyerInvoiceDomainDto_1.BuyerInvoiceDomainDtoFromJSON)(json['domain']),
|
|
80
|
+
'date': (json['date'] == null ? null : new Date(json['date'])),
|
|
81
|
+
'status': json['status'],
|
|
82
|
+
'totalPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['totalPrice']),
|
|
83
|
+
'target': json['target'],
|
|
84
|
+
'sellerAccount': (0, BuyerInvoiceSellerAccountDto_1.BuyerInvoiceSellerAccountDtoFromJSON)(json['sellerAccount']),
|
|
85
|
+
'parent': json['parent'],
|
|
86
|
+
'hasChildren': json['hasChildren'],
|
|
87
|
+
'isAffiliateCommission': json['isAffiliateCommission'],
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
function BuyerInvoiceDtoToJSON(json) {
|
|
91
|
+
return BuyerInvoiceDtoToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
function BuyerInvoiceDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
94
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
return {
|
|
99
|
+
'id': value['id'],
|
|
100
|
+
'invoiceNumber': value['invoiceNumber'],
|
|
101
|
+
'domain': (0, BuyerInvoiceDomainDto_1.BuyerInvoiceDomainDtoToJSON)(value['domain']),
|
|
102
|
+
'date': (value['date'] == null ? null : value['date'].toISOString()),
|
|
103
|
+
'status': value['status'],
|
|
104
|
+
'totalPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['totalPrice']),
|
|
105
|
+
'target': value['target'],
|
|
106
|
+
'sellerAccount': (0, BuyerInvoiceSellerAccountDto_1.BuyerInvoiceSellerAccountDtoToJSON)(value['sellerAccount']),
|
|
107
|
+
'parent': value['parent'],
|
|
108
|
+
'hasChildren': value['hasChildren'],
|
|
109
|
+
'isAffiliateCommission': value['isAffiliateCommission'],
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BuyerInvoiceSellerAccountDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BuyerInvoiceSellerAccountDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof BuyerInvoiceSellerAccountDto
|
|
22
|
+
*/
|
|
23
|
+
id: object;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof BuyerInvoiceSellerAccountDto
|
|
28
|
+
*/
|
|
29
|
+
identifier: object;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BuyerInvoiceSellerAccountDto
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof BuyerInvoiceSellerAccountDto
|
|
40
|
+
*/
|
|
41
|
+
isBusiness: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BuyerInvoiceSellerAccountDto
|
|
46
|
+
*/
|
|
47
|
+
payoutProvider: BuyerInvoiceSellerAccountDtoPayoutProviderEnum;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const BuyerInvoiceSellerAccountDtoPayoutProviderEnum: {
|
|
53
|
+
readonly STRIPE: "stripe";
|
|
54
|
+
readonly BANK_ACCOUNT: "bank_account";
|
|
55
|
+
};
|
|
56
|
+
export type BuyerInvoiceSellerAccountDtoPayoutProviderEnum = typeof BuyerInvoiceSellerAccountDtoPayoutProviderEnum[keyof typeof BuyerInvoiceSellerAccountDtoPayoutProviderEnum];
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the BuyerInvoiceSellerAccountDto interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfBuyerInvoiceSellerAccountDto(value: object): value is BuyerInvoiceSellerAccountDto;
|
|
61
|
+
export declare function BuyerInvoiceSellerAccountDtoFromJSON(json: any): BuyerInvoiceSellerAccountDto;
|
|
62
|
+
export declare function BuyerInvoiceSellerAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerInvoiceSellerAccountDto;
|
|
63
|
+
export declare function BuyerInvoiceSellerAccountDtoToJSON(json: any): BuyerInvoiceSellerAccountDto;
|
|
64
|
+
export declare function BuyerInvoiceSellerAccountDtoToJSONTyped(value?: BuyerInvoiceSellerAccountDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
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.BuyerInvoiceSellerAccountDtoPayoutProviderEnum = void 0;
|
|
17
|
+
exports.instanceOfBuyerInvoiceSellerAccountDto = instanceOfBuyerInvoiceSellerAccountDto;
|
|
18
|
+
exports.BuyerInvoiceSellerAccountDtoFromJSON = BuyerInvoiceSellerAccountDtoFromJSON;
|
|
19
|
+
exports.BuyerInvoiceSellerAccountDtoFromJSONTyped = BuyerInvoiceSellerAccountDtoFromJSONTyped;
|
|
20
|
+
exports.BuyerInvoiceSellerAccountDtoToJSON = BuyerInvoiceSellerAccountDtoToJSON;
|
|
21
|
+
exports.BuyerInvoiceSellerAccountDtoToJSONTyped = BuyerInvoiceSellerAccountDtoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.BuyerInvoiceSellerAccountDtoPayoutProviderEnum = {
|
|
26
|
+
STRIPE: 'stripe',
|
|
27
|
+
BANK_ACCOUNT: 'bank_account'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the BuyerInvoiceSellerAccountDto interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfBuyerInvoiceSellerAccountDto(value) {
|
|
33
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('isBusiness' in value) || value['isBusiness'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('payoutProvider' in value) || value['payoutProvider'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function BuyerInvoiceSellerAccountDtoFromJSON(json) {
|
|
46
|
+
return BuyerInvoiceSellerAccountDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function BuyerInvoiceSellerAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': json['id'],
|
|
54
|
+
'identifier': json['identifier'],
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'isBusiness': json['isBusiness'],
|
|
57
|
+
'payoutProvider': json['payoutProvider'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function BuyerInvoiceSellerAccountDtoToJSON(json) {
|
|
61
|
+
return BuyerInvoiceSellerAccountDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function BuyerInvoiceSellerAccountDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
64
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'id': value['id'],
|
|
70
|
+
'identifier': value['identifier'],
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'isBusiness': value['isBusiness'],
|
|
73
|
+
'payoutProvider': value['payoutProvider'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -58,6 +58,18 @@ export interface CreateLeadInput {
|
|
|
58
58
|
* @memberof CreateLeadInput
|
|
59
59
|
*/
|
|
60
60
|
email: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CreateLeadInput
|
|
65
|
+
*/
|
|
66
|
+
companyName?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof CreateLeadInput
|
|
71
|
+
*/
|
|
72
|
+
phoneNumber?: string | null;
|
|
61
73
|
}
|
|
62
74
|
/**
|
|
63
75
|
* @export
|
|
@@ -64,6 +64,8 @@ function CreateLeadInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
64
64
|
'firstname': json['firstname'],
|
|
65
65
|
'lastname': json['lastname'],
|
|
66
66
|
'email': json['email'],
|
|
67
|
+
'companyName': json['companyName'] == null ? undefined : json['companyName'],
|
|
68
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
67
69
|
};
|
|
68
70
|
}
|
|
69
71
|
function CreateLeadInputToJSON(json) {
|
|
@@ -82,5 +84,7 @@ function CreateLeadInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
82
84
|
'firstname': value['firstname'],
|
|
83
85
|
'lastname': value['lastname'],
|
|
84
86
|
'email': value['email'],
|
|
87
|
+
'companyName': value['companyName'],
|
|
88
|
+
'phoneNumber': value['phoneNumber'],
|
|
85
89
|
};
|
|
86
90
|
}
|