@randock/nameshift-api-client 0.0.109 → 0.0.111
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 +6 -3
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +3 -3
- package/dist/apis/BuyersApi.js +1 -1
- package/dist/models/AccountDto.d.ts +7 -0
- package/dist/models/AccountDto.js +5 -0
- package/dist/models/BillingInformationDto.d.ts +79 -0
- package/dist/models/BillingInformationDto.js +82 -0
- package/dist/models/BuyerSecurityUserDto.d.ts +69 -0
- package/dist/models/{BuyerUserDto.js → BuyerSecurityUserDto.js} +29 -17
- package/dist/models/CompanyInformationDto.d.ts +44 -0
- package/dist/models/CompanyInformationDto.js +55 -0
- package/dist/models/CompanyTaxIdDto.d.ts +43 -0
- package/dist/models/CompanyTaxIdDto.js +54 -0
- package/dist/models/CreateAccountPaymentProviderInput.d.ts +3 -2
- package/dist/models/CreateAccountPaymentProviderInput.js +4 -3
- package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +7 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDto.js +5 -0
- package/dist/models/SellerSecurityUserAccountDto.d.ts +37 -0
- package/dist/models/{SecurityUserAccountDto.js → SellerSecurityUserAccountDto.js} +10 -10
- package/dist/models/SellerSecurityUserDto.d.ts +88 -0
- package/dist/models/{SecurityUserDto.js → SellerSecurityUserDto.js} +41 -25
- package/dist/models/index.d.ts +6 -3
- package/dist/models/index.js +6 -3
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +6 -6
- package/src/models/AccountDto.ts +15 -0
- package/src/models/BillingInformationDto.ts +141 -0
- package/src/models/BuyerSecurityUserDto.ts +117 -0
- package/src/models/CompanyInformationDto.ts +86 -0
- package/src/models/CompanyTaxIdDto.ts +79 -0
- package/src/models/CreateAccountPaymentProviderInput.ts +12 -5
- package/src/models/IntersectionAccountDtoWithSettingsDto.ts +15 -0
- package/src/models/{SecurityUserAccountDto.ts → SellerSecurityUserAccountDto.ts} +10 -10
- package/src/models/SellerSecurityUserDto.ts +151 -0
- package/src/models/index.ts +6 -3
- package/dist/models/BuyerUserDto.d.ts +0 -55
- package/dist/models/SecurityUserAccountDto.d.ts +0 -37
- package/dist/models/SecurityUserDto.d.ts +0 -68
- package/src/models/BuyerUserDto.ts +0 -97
- package/src/models/SecurityUserDto.ts +0 -122
package/.openapi-generator/FILES
CHANGED
|
@@ -28,14 +28,17 @@ src/models/BadRequestException.ts
|
|
|
28
28
|
src/models/BatchReadBuyerLeadMessageInput.ts
|
|
29
29
|
src/models/BatchReadSellerLeadMessageInput.ts
|
|
30
30
|
src/models/BatchUpdateDomainsInput.ts
|
|
31
|
+
src/models/BillingInformationDto.ts
|
|
31
32
|
src/models/BuyerDomainTransferAuthCodeDto.ts
|
|
32
33
|
src/models/BuyerDomainTransferListItemDomainDto.ts
|
|
33
34
|
src/models/BuyerDomainTransferListItemDto.ts
|
|
34
35
|
src/models/BuyerLeadListItemDomainDto.ts
|
|
35
36
|
src/models/BuyerLeadListItemDto.ts
|
|
36
|
-
src/models/
|
|
37
|
+
src/models/BuyerSecurityUserDto.ts
|
|
37
38
|
src/models/ChangeOrderStatusInput.ts
|
|
38
39
|
src/models/ChartDataPoint.ts
|
|
40
|
+
src/models/CompanyInformationDto.ts
|
|
41
|
+
src/models/CompanyTaxIdDto.ts
|
|
39
42
|
src/models/ConflictException.ts
|
|
40
43
|
src/models/CreateAccountPaymentProviderInput.ts
|
|
41
44
|
src/models/CreateBuyerLeadMessageInput.ts
|
|
@@ -114,13 +117,13 @@ src/models/PutLeadOfferInput.ts
|
|
|
114
117
|
src/models/RegisterAccountInput.ts
|
|
115
118
|
src/models/RelatedSellerDomain.ts
|
|
116
119
|
src/models/RequestAccessTokenInput.ts
|
|
117
|
-
src/models/SecurityUserAccountDto.ts
|
|
118
|
-
src/models/SecurityUserDto.ts
|
|
119
120
|
src/models/SellerDomainTransferAuthCodeDto.ts
|
|
120
121
|
src/models/SellerDomainTransferDomainDto.ts
|
|
121
122
|
src/models/SellerDomainTransferDto.ts
|
|
122
123
|
src/models/SellerDomainTransferListItemDomainDto.ts
|
|
123
124
|
src/models/SellerDomainTransferListItemDto.ts
|
|
125
|
+
src/models/SellerSecurityUserAccountDto.ts
|
|
126
|
+
src/models/SellerSecurityUserDto.ts
|
|
124
127
|
src/models/SetDomainTransferConfirmationInput.ts
|
|
125
128
|
src/models/SetNewPasswordInput.ts
|
|
126
129
|
src/models/StoreBuyerLocaleInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.111
|
|
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.111 --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
|
+
cb893df80cfccbe1d8b9b5493f3356dd4a841d0e639e1c0e07862955ab32146568e4c1b904c98914cde22610fe10bbd8
|
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 { BatchReadBuyerLeadMessageInput, BuyerDomainTransferAuthCodeDto,
|
|
13
|
+
import type { BatchReadBuyerLeadMessageInput, BuyerDomainTransferAuthCodeDto, BuyerSecurityUserDto, CreateBuyerLeadMessageInput, GetBuyerInvoices200Response, GetBuyerLeads200Response, GetBuyerTransfers200Response, LeadDto, LeadMessageDto, ObjectId, PutBuyerLeadOfferInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput } from '../models/index';
|
|
14
14
|
export interface BuyersApiAcceptBuyerLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
}
|
|
@@ -86,11 +86,11 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
88
|
*/
|
|
89
|
-
buyerMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
89
|
+
buyerMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerSecurityUserDto>>;
|
|
90
90
|
/**
|
|
91
91
|
*
|
|
92
92
|
*/
|
|
93
|
-
buyerMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
93
|
+
buyerMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerSecurityUserDto>;
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
96
|
*/
|
package/dist/apis/BuyersApi.js
CHANGED
|
@@ -210,7 +210,7 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
210
210
|
}, initOverrides)];
|
|
211
211
|
case 3:
|
|
212
212
|
response = _a.sent();
|
|
213
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
213
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.BuyerSecurityUserDtoFromJSON)(jsonValue); })];
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
});
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { PaymentProviderDto } from './PaymentProviderDto';
|
|
13
13
|
import type { AccountMetricsDto } from './AccountMetricsDto';
|
|
14
|
+
import type { BillingInformationDto } from './BillingInformationDto';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -47,6 +48,12 @@ export interface AccountDto {
|
|
|
47
48
|
* @memberof AccountDto
|
|
48
49
|
*/
|
|
49
50
|
paymentProvider: PaymentProviderDto | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {BillingInformationDto}
|
|
54
|
+
* @memberof AccountDto
|
|
55
|
+
*/
|
|
56
|
+
billingInformation: BillingInformationDto | null;
|
|
50
57
|
}
|
|
51
58
|
/**
|
|
52
59
|
* Check if a given object implements the AccountDto interface.
|
|
@@ -19,6 +19,7 @@ exports.AccountDtoFromJSONTyped = AccountDtoFromJSONTyped;
|
|
|
19
19
|
exports.AccountDtoToJSON = AccountDtoToJSON;
|
|
20
20
|
var PaymentProviderDto_1 = require("./PaymentProviderDto");
|
|
21
21
|
var AccountMetricsDto_1 = require("./AccountMetricsDto");
|
|
22
|
+
var BillingInformationDto_1 = require("./BillingInformationDto");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the AccountDto interface.
|
|
24
25
|
*/
|
|
@@ -33,6 +34,8 @@ function instanceOfAccountDto(value) {
|
|
|
33
34
|
return false;
|
|
34
35
|
if (!('paymentProvider' in value) || value['paymentProvider'] === undefined)
|
|
35
36
|
return false;
|
|
37
|
+
if (!('billingInformation' in value) || value['billingInformation'] === undefined)
|
|
38
|
+
return false;
|
|
36
39
|
return true;
|
|
37
40
|
}
|
|
38
41
|
function AccountDtoFromJSON(json) {
|
|
@@ -48,6 +51,7 @@ function AccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
51
|
'name': json['name'],
|
|
49
52
|
'metrics': (0, AccountMetricsDto_1.AccountMetricsDtoFromJSON)(json['metrics']),
|
|
50
53
|
'paymentProvider': (0, PaymentProviderDto_1.PaymentProviderDtoFromJSON)(json['paymentProvider']),
|
|
54
|
+
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
|
|
51
55
|
};
|
|
52
56
|
}
|
|
53
57
|
function AccountDtoToJSON(value) {
|
|
@@ -60,5 +64,6 @@ function AccountDtoToJSON(value) {
|
|
|
60
64
|
'name': value['name'],
|
|
61
65
|
'metrics': (0, AccountMetricsDto_1.AccountMetricsDtoToJSON)(value['metrics']),
|
|
62
66
|
'paymentProvider': (0, PaymentProviderDto_1.PaymentProviderDtoToJSON)(value['paymentProvider']),
|
|
67
|
+
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
|
|
63
68
|
};
|
|
64
69
|
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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 { CompanyInformationDto } from './CompanyInformationDto';
|
|
13
|
+
import type { AddressDto } from './AddressDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BillingInformationDto
|
|
18
|
+
*/
|
|
19
|
+
export interface BillingInformationDto {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof BillingInformationDto
|
|
24
|
+
*/
|
|
25
|
+
type: BillingInformationDtoTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof BillingInformationDto
|
|
30
|
+
*/
|
|
31
|
+
email: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof BillingInformationDto
|
|
36
|
+
*/
|
|
37
|
+
firstName: string | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof BillingInformationDto
|
|
42
|
+
*/
|
|
43
|
+
lastName: string | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof BillingInformationDto
|
|
48
|
+
*/
|
|
49
|
+
phone: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {AddressDto}
|
|
53
|
+
* @memberof BillingInformationDto
|
|
54
|
+
*/
|
|
55
|
+
address: AddressDto | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {CompanyInformationDto}
|
|
59
|
+
* @memberof BillingInformationDto
|
|
60
|
+
*/
|
|
61
|
+
companyInfo: CompanyInformationDto | null;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @export
|
|
65
|
+
*/
|
|
66
|
+
export declare const BillingInformationDtoTypeEnum: {
|
|
67
|
+
readonly COMPANY: "company";
|
|
68
|
+
readonly GOVERNMENT_ENTITY: "government_entity";
|
|
69
|
+
readonly INDIVIDUAL: "individual";
|
|
70
|
+
readonly NON_PROFIT: "non_profit";
|
|
71
|
+
};
|
|
72
|
+
export type BillingInformationDtoTypeEnum = typeof BillingInformationDtoTypeEnum[keyof typeof BillingInformationDtoTypeEnum];
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the BillingInformationDto interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfBillingInformationDto(value: object): value is BillingInformationDto;
|
|
77
|
+
export declare function BillingInformationDtoFromJSON(json: any): BillingInformationDto;
|
|
78
|
+
export declare function BillingInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingInformationDto;
|
|
79
|
+
export declare function BillingInformationDtoToJSON(value?: BillingInformationDto | null): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
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.BillingInformationDtoTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfBillingInformationDto = instanceOfBillingInformationDto;
|
|
18
|
+
exports.BillingInformationDtoFromJSON = BillingInformationDtoFromJSON;
|
|
19
|
+
exports.BillingInformationDtoFromJSONTyped = BillingInformationDtoFromJSONTyped;
|
|
20
|
+
exports.BillingInformationDtoToJSON = BillingInformationDtoToJSON;
|
|
21
|
+
var CompanyInformationDto_1 = require("./CompanyInformationDto");
|
|
22
|
+
var AddressDto_1 = require("./AddressDto");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.BillingInformationDtoTypeEnum = {
|
|
27
|
+
COMPANY: 'company',
|
|
28
|
+
GOVERNMENT_ENTITY: 'government_entity',
|
|
29
|
+
INDIVIDUAL: 'individual',
|
|
30
|
+
NON_PROFIT: 'non_profit'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the BillingInformationDto interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfBillingInformationDto(value) {
|
|
36
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('phone' in value) || value['phone'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('address' in value) || value['address'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('companyInfo' in value) || value['companyInfo'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function BillingInformationDtoFromJSON(json) {
|
|
53
|
+
return BillingInformationDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function BillingInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'type': json['type'],
|
|
61
|
+
'email': json['email'],
|
|
62
|
+
'firstName': json['firstName'],
|
|
63
|
+
'lastName': json['lastName'],
|
|
64
|
+
'phone': json['phone'],
|
|
65
|
+
'address': (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
|
|
66
|
+
'companyInfo': (0, CompanyInformationDto_1.CompanyInformationDtoFromJSON)(json['companyInfo']),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function BillingInformationDtoToJSON(value) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'type': value['type'],
|
|
75
|
+
'email': value['email'],
|
|
76
|
+
'firstName': value['firstName'],
|
|
77
|
+
'lastName': value['lastName'],
|
|
78
|
+
'phone': value['phone'],
|
|
79
|
+
'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
|
|
80
|
+
'companyInfo': (0, CompanyInformationDto_1.CompanyInformationDtoToJSON)(value['companyInfo']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 BuyerSecurityUserDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BuyerSecurityUserDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BuyerSecurityUserDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BuyerSecurityUserDto
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BuyerSecurityUserDto
|
|
34
|
+
*/
|
|
35
|
+
intercomHash: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BuyerSecurityUserDto
|
|
40
|
+
*/
|
|
41
|
+
locale: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof BuyerSecurityUserDto
|
|
46
|
+
*/
|
|
47
|
+
roles: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BuyerSecurityUserDto
|
|
52
|
+
*/
|
|
53
|
+
type: BuyerSecurityUserDtoTypeEnum;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const BuyerSecurityUserDtoTypeEnum: {
|
|
59
|
+
readonly BUYER: "buyer";
|
|
60
|
+
readonly SELLER: "seller";
|
|
61
|
+
};
|
|
62
|
+
export type BuyerSecurityUserDtoTypeEnum = typeof BuyerSecurityUserDtoTypeEnum[keyof typeof BuyerSecurityUserDtoTypeEnum];
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the BuyerSecurityUserDto interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfBuyerSecurityUserDto(value: object): value is BuyerSecurityUserDto;
|
|
67
|
+
export declare function BuyerSecurityUserDtoFromJSON(json: any): BuyerSecurityUserDto;
|
|
68
|
+
export declare function BuyerSecurityUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerSecurityUserDto;
|
|
69
|
+
export declare function BuyerSecurityUserDtoToJSON(value?: BuyerSecurityUserDto | null): any;
|
|
@@ -13,50 +13,62 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
16
|
+
exports.BuyerSecurityUserDtoTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfBuyerSecurityUserDto = instanceOfBuyerSecurityUserDto;
|
|
18
|
+
exports.BuyerSecurityUserDtoFromJSON = BuyerSecurityUserDtoFromJSON;
|
|
19
|
+
exports.BuyerSecurityUserDtoFromJSONTyped = BuyerSecurityUserDtoFromJSONTyped;
|
|
20
|
+
exports.BuyerSecurityUserDtoToJSON = BuyerSecurityUserDtoToJSON;
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
+
* @export
|
|
22
23
|
*/
|
|
23
|
-
|
|
24
|
+
exports.BuyerSecurityUserDtoTypeEnum = {
|
|
25
|
+
BUYER: 'buyer',
|
|
26
|
+
SELLER: 'seller'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the BuyerSecurityUserDto interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfBuyerSecurityUserDto(value) {
|
|
24
32
|
if (!('id' in value) || value['id'] === undefined)
|
|
25
33
|
return false;
|
|
26
|
-
if (!('
|
|
34
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('intercomHash' in value) || value['intercomHash'] === undefined)
|
|
27
37
|
return false;
|
|
28
38
|
if (!('locale' in value) || value['locale'] === undefined)
|
|
29
39
|
return false;
|
|
30
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
31
|
-
return false;
|
|
32
40
|
if (!('roles' in value) || value['roles'] === undefined)
|
|
33
41
|
return false;
|
|
42
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
43
|
+
return false;
|
|
34
44
|
return true;
|
|
35
45
|
}
|
|
36
|
-
function
|
|
37
|
-
return
|
|
46
|
+
function BuyerSecurityUserDtoFromJSON(json) {
|
|
47
|
+
return BuyerSecurityUserDtoFromJSONTyped(json, false);
|
|
38
48
|
}
|
|
39
|
-
function
|
|
49
|
+
function BuyerSecurityUserDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
50
|
if (json == null) {
|
|
41
51
|
return json;
|
|
42
52
|
}
|
|
43
53
|
return {
|
|
44
54
|
'id': json['id'],
|
|
45
|
-
'buyerId': json['buyerId'],
|
|
46
|
-
'locale': json['locale'],
|
|
47
55
|
'email': json['email'],
|
|
56
|
+
'intercomHash': json['intercomHash'],
|
|
57
|
+
'locale': json['locale'],
|
|
48
58
|
'roles': json['roles'],
|
|
59
|
+
'type': json['type'],
|
|
49
60
|
};
|
|
50
61
|
}
|
|
51
|
-
function
|
|
62
|
+
function BuyerSecurityUserDtoToJSON(value) {
|
|
52
63
|
if (value == null) {
|
|
53
64
|
return value;
|
|
54
65
|
}
|
|
55
66
|
return {
|
|
56
67
|
'id': value['id'],
|
|
57
|
-
'buyerId': value['buyerId'],
|
|
58
|
-
'locale': value['locale'],
|
|
59
68
|
'email': value['email'],
|
|
69
|
+
'intercomHash': value['intercomHash'],
|
|
70
|
+
'locale': value['locale'],
|
|
60
71
|
'roles': value['roles'],
|
|
72
|
+
'type': value['type'],
|
|
61
73
|
};
|
|
62
74
|
}
|
|
@@ -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
|
+
import type { CompanyTaxIdDto } from './CompanyTaxIdDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CompanyInformationDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CompanyInformationDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CompanyInformationDto
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {CompanyTaxIdDto}
|
|
28
|
+
* @memberof CompanyInformationDto
|
|
29
|
+
*/
|
|
30
|
+
taxId: CompanyTaxIdDto;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CompanyInformationDto
|
|
35
|
+
*/
|
|
36
|
+
companyId: string | null;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the CompanyInformationDto interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfCompanyInformationDto(value: object): value is CompanyInformationDto;
|
|
42
|
+
export declare function CompanyInformationDtoFromJSON(json: any): CompanyInformationDto;
|
|
43
|
+
export declare function CompanyInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompanyInformationDto;
|
|
44
|
+
export declare function CompanyInformationDtoToJSON(value?: CompanyInformationDto | null): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfCompanyInformationDto = instanceOfCompanyInformationDto;
|
|
17
|
+
exports.CompanyInformationDtoFromJSON = CompanyInformationDtoFromJSON;
|
|
18
|
+
exports.CompanyInformationDtoFromJSONTyped = CompanyInformationDtoFromJSONTyped;
|
|
19
|
+
exports.CompanyInformationDtoToJSON = CompanyInformationDtoToJSON;
|
|
20
|
+
var CompanyTaxIdDto_1 = require("./CompanyTaxIdDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CompanyInformationDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCompanyInformationDto(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('taxId' in value) || value['taxId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('companyId' in value) || value['companyId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function CompanyInformationDtoFromJSON(json) {
|
|
34
|
+
return CompanyInformationDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function CompanyInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'taxId': (0, CompanyTaxIdDto_1.CompanyTaxIdDtoFromJSON)(json['taxId']),
|
|
43
|
+
'companyId': json['companyId'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function CompanyInformationDtoToJSON(value) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
'taxId': (0, CompanyTaxIdDto_1.CompanyTaxIdDtoToJSON)(value['taxId']),
|
|
53
|
+
'companyId': value['companyId'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 CompanyTaxIdDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CompanyTaxIdDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CompanyTaxIdDto
|
|
22
|
+
*/
|
|
23
|
+
value: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CompanyTaxIdDto
|
|
28
|
+
*/
|
|
29
|
+
type: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CompanyTaxIdDto
|
|
34
|
+
*/
|
|
35
|
+
countryCode: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CompanyTaxIdDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCompanyTaxIdDto(value: object): value is CompanyTaxIdDto;
|
|
41
|
+
export declare function CompanyTaxIdDtoFromJSON(json: any): CompanyTaxIdDto;
|
|
42
|
+
export declare function CompanyTaxIdDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompanyTaxIdDto;
|
|
43
|
+
export declare function CompanyTaxIdDtoToJSON(value?: CompanyTaxIdDto | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfCompanyTaxIdDto = instanceOfCompanyTaxIdDto;
|
|
17
|
+
exports.CompanyTaxIdDtoFromJSON = CompanyTaxIdDtoFromJSON;
|
|
18
|
+
exports.CompanyTaxIdDtoFromJSONTyped = CompanyTaxIdDtoFromJSONTyped;
|
|
19
|
+
exports.CompanyTaxIdDtoToJSON = CompanyTaxIdDtoToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the CompanyTaxIdDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfCompanyTaxIdDto(value) {
|
|
24
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('countryCode' in value) || value['countryCode'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function CompanyTaxIdDtoFromJSON(json) {
|
|
33
|
+
return CompanyTaxIdDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function CompanyTaxIdDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'value': json['value'],
|
|
41
|
+
'type': json['type'],
|
|
42
|
+
'countryCode': json['countryCode'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function CompanyTaxIdDtoToJSON(value) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'value': value['value'],
|
|
51
|
+
'type': value['type'],
|
|
52
|
+
'countryCode': value['countryCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { BillingInformationDto } from './BillingInformationDto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -17,10 +18,10 @@
|
|
|
17
18
|
export interface CreateAccountPaymentProviderInput {
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
20
|
-
* @type {
|
|
21
|
+
* @type {BillingInformationDto}
|
|
21
22
|
* @memberof CreateAccountPaymentProviderInput
|
|
22
23
|
*/
|
|
23
|
-
|
|
24
|
+
billingInformation: BillingInformationDto;
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
26
27
|
* Check if a given object implements the CreateAccountPaymentProviderInput interface.
|