@randock/nameshift-api-client 0.0.421 → 0.0.423
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 -0
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +13 -1
- package/dist/apis/BuyersApi.js +56 -0
- package/dist/apis/MandrillPublicApi.d.ts +25 -0
- package/dist/apis/MandrillPublicApi.js +118 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/BuyerNotificationDto.d.ts +2 -0
- package/dist/models/BuyerNotificationDto.js +2 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +2 -0
- package/dist/models/BuyerNotificationListItemDto.js +2 -0
- package/dist/models/DomainTransferDetailWorkflowStepDto.d.ts +1 -0
- package/dist/models/DomainTransferDetailWorkflowStepDto.js +1 -0
- package/dist/models/InvoiceDto.d.ts +7 -0
- package/dist/models/InvoiceDto.js +5 -0
- package/dist/models/InvoiceDtoTransaction.d.ts +53 -0
- package/dist/models/InvoiceDtoTransaction.js +68 -0
- package/dist/models/OrderCompanyInfoDto.d.ts +6 -0
- package/dist/models/OrderCompanyInfoDto.js +4 -0
- package/dist/models/SubscriptionCompanyInfoDto.d.ts +6 -0
- package/dist/models/SubscriptionCompanyInfoDto.js +4 -0
- package/dist/models/TaskDataDomainTransferDto.d.ts +2 -0
- package/dist/models/TaskDataDomainTransferDto.js +3 -1
- package/dist/models/UpdateBuyerDomainTransferBuyerInfoInput.d.ts +32 -0
- package/dist/models/UpdateBuyerDomainTransferBuyerInfoInput.js +49 -0
- package/dist/models/UserNotificationDto.d.ts +2 -0
- package/dist/models/UserNotificationDto.js +2 -0
- package/dist/models/UserNotificationListItemDto.d.ts +2 -0
- package/dist/models/UserNotificationListItemDto.js +2 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +58 -0
- package/src/apis/MandrillPublicApi.ts +55 -0
- package/src/apis/index.ts +1 -0
- package/src/models/BuyerNotificationDto.ts +2 -0
- package/src/models/BuyerNotificationListItemDto.ts +2 -0
- package/src/models/DomainTransferDetailWorkflowStepDto.ts +1 -0
- package/src/models/InvoiceDto.ts +16 -0
- package/src/models/InvoiceDtoTransaction.ts +96 -0
- package/src/models/OrderCompanyInfoDto.ts +9 -0
- package/src/models/SubscriptionCompanyInfoDto.ts +9 -0
- package/src/models/TaskDataDomainTransferDto.ts +3 -1
- package/src/models/UpdateBuyerDomainTransferBuyerInfoInput.ts +65 -0
- package/src/models/UserNotificationDto.ts +2 -0
- package/src/models/UserNotificationListItemDto.ts +2 -0
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -20,6 +20,7 @@ src/apis/EppApi.ts
|
|
|
20
20
|
src/apis/InvoicesApi.ts
|
|
21
21
|
src/apis/LeadsApi.ts
|
|
22
22
|
src/apis/LeadsPublicApi.ts
|
|
23
|
+
src/apis/MandrillPublicApi.ts
|
|
23
24
|
src/apis/MolliePublicApi.ts
|
|
24
25
|
src/apis/NickyPublicApi.ts
|
|
25
26
|
src/apis/NotificationsApi.ts
|
|
@@ -278,6 +279,7 @@ src/models/IntersectionTaskListTaskDto.ts
|
|
|
278
279
|
src/models/IntersectionTaskListTaskDtoData.ts
|
|
279
280
|
src/models/InvoiceDomainDto.ts
|
|
280
281
|
src/models/InvoiceDto.ts
|
|
282
|
+
src/models/InvoiceDtoTransaction.ts
|
|
281
283
|
src/models/InvoiceItemDto.ts
|
|
282
284
|
src/models/InvoiceItemTaxDto.ts
|
|
283
285
|
src/models/InvoiceSellerAccountDto.ts
|
|
@@ -474,6 +476,7 @@ src/models/UkBankAccountDetails.ts
|
|
|
474
476
|
src/models/UpdateAccountBillingInformationInput.ts
|
|
475
477
|
src/models/UpdateAccountChallengeRewardBalanceInput.ts
|
|
476
478
|
src/models/UpdateAuctionMuteStatusInput.ts
|
|
479
|
+
src/models/UpdateBuyerDomainTransferBuyerInfoInput.ts
|
|
477
480
|
src/models/UpdateBuyerDomainTransferIpsTagInputDto.ts
|
|
478
481
|
src/models/UpdateBuyerNotificationSettingsInput.ts
|
|
479
482
|
src/models/UpdateChallengeInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.423
|
|
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.423 --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
|
+
5a3fefca05659001d06b5e91c7f7f190393e4e1487d211bdcbb6c20ea014afcd54130a8d93307787405b56d06e4ce64b
|
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 { AddSubscriptionDomainRecordInput, AuctionBidInput, AuctionBuyerDto, BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BulkMarkBuyerNotificationsAsReadInputDto, BuyerAccessTokenDto, BuyerAuctionDetailDto, BuyerDomainRecordsDto, BuyerDomainTransferAuthCodeDto, BuyerNotificationDto, BuyerNotificationSettingsDto, BuyerSessionDto, BuyerTaskDetailsDto, CreateBuyerLeadMessageInput, GetBuyerAuctions200Response, GetBuyerInvoices200Response, GetBuyerLeads200Response, GetBuyerSubscriptions200Response, GetBuyerTransfers200Response, LeadDto, LeadLeaseToOwnAndRentConfigurationPresetsDto, LeadMessageDto, ListBuyerNotifications200Response, ObjectId, PutBuyerLeadOfferInput, RegisterAuctionBuyerPhoneInput, RegisterInput, RemoveSubscriptionDomainRecordInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput, UpdateAuctionMuteStatusInput, UpdateBuyerDomainTransferIpsTagInputDto, UpdateBuyerNotificationSettingsInput, UpdateLeadMuteStatusForBuyerInput, UpdateSubscriptionDomainNameserversInput, UpdateSubscriptionDomainRecordInput, UpdateTaskMuteStatusForBuyerInput, VerifyPhoneOtpInput } from '../models/index';
|
|
13
|
+
import type { AddSubscriptionDomainRecordInput, AuctionBidInput, AuctionBuyerDto, BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BulkMarkBuyerNotificationsAsReadInputDto, BuyerAccessTokenDto, BuyerAuctionDetailDto, BuyerDomainRecordsDto, BuyerDomainTransferAuthCodeDto, BuyerNotificationDto, BuyerNotificationSettingsDto, BuyerSessionDto, BuyerTaskDetailsDto, CreateBuyerLeadMessageInput, GetBuyerAuctions200Response, GetBuyerInvoices200Response, GetBuyerLeads200Response, GetBuyerSubscriptions200Response, GetBuyerTransfers200Response, LeadDto, LeadLeaseToOwnAndRentConfigurationPresetsDto, LeadMessageDto, ListBuyerNotifications200Response, ObjectId, PutBuyerLeadOfferInput, RegisterAuctionBuyerPhoneInput, RegisterInput, RemoveSubscriptionDomainRecordInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput, UpdateAuctionMuteStatusInput, UpdateBuyerDomainTransferBuyerInfoInput, UpdateBuyerDomainTransferIpsTagInputDto, UpdateBuyerNotificationSettingsInput, UpdateLeadMuteStatusForBuyerInput, UpdateSubscriptionDomainNameserversInput, UpdateSubscriptionDomainRecordInput, UpdateTaskMuteStatusForBuyerInput, VerifyPhoneOtpInput } from '../models/index';
|
|
14
14
|
export interface BuyersApiAcceptBuyerLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
}
|
|
@@ -134,6 +134,10 @@ export interface BuyersApiUpdateAuctionMuteStatusRequest {
|
|
|
134
134
|
auctionId: string;
|
|
135
135
|
updateAuctionMuteStatusInput: UpdateAuctionMuteStatusInput;
|
|
136
136
|
}
|
|
137
|
+
export interface BuyersApiUpdateBuyerDomainTransferBuyerInfoRequest {
|
|
138
|
+
transferId: string;
|
|
139
|
+
updateBuyerDomainTransferBuyerInfoInput: UpdateBuyerDomainTransferBuyerInfoInput;
|
|
140
|
+
}
|
|
137
141
|
export interface BuyersApiUpdateBuyerNotificationSettingsRequest {
|
|
138
142
|
updateBuyerNotificationSettingsInput: UpdateBuyerNotificationSettingsInput;
|
|
139
143
|
}
|
|
@@ -467,6 +471,14 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
467
471
|
*
|
|
468
472
|
*/
|
|
469
473
|
updateAuctionMuteStatus(requestParameters: BuyersApiUpdateAuctionMuteStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
*/
|
|
477
|
+
updateBuyerDomainTransferBuyerInfoRaw(requestParameters: BuyersApiUpdateBuyerDomainTransferBuyerInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
478
|
+
/**
|
|
479
|
+
*
|
|
480
|
+
*/
|
|
481
|
+
updateBuyerDomainTransferBuyerInfo(requestParameters: BuyersApiUpdateBuyerDomainTransferBuyerInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
470
482
|
/**
|
|
471
483
|
*
|
|
472
484
|
*/
|
package/dist/apis/BuyersApi.js
CHANGED
|
@@ -2106,6 +2106,62 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
2106
2106
|
});
|
|
2107
2107
|
});
|
|
2108
2108
|
};
|
|
2109
|
+
/**
|
|
2110
|
+
*
|
|
2111
|
+
*/
|
|
2112
|
+
BuyersApi.prototype.updateBuyerDomainTransferBuyerInfoRaw = function (requestParameters, initOverrides) {
|
|
2113
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2114
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
2115
|
+
return __generator(this, function (_a) {
|
|
2116
|
+
switch (_a.label) {
|
|
2117
|
+
case 0:
|
|
2118
|
+
if (requestParameters['transferId'] == null) {
|
|
2119
|
+
throw new runtime.RequiredError('transferId', 'Required parameter "transferId" was null or undefined when calling updateBuyerDomainTransferBuyerInfo().');
|
|
2120
|
+
}
|
|
2121
|
+
if (requestParameters['updateBuyerDomainTransferBuyerInfoInput'] == null) {
|
|
2122
|
+
throw new runtime.RequiredError('updateBuyerDomainTransferBuyerInfoInput', 'Required parameter "updateBuyerDomainTransferBuyerInfoInput" was null or undefined when calling updateBuyerDomainTransferBuyerInfo().');
|
|
2123
|
+
}
|
|
2124
|
+
queryParameters = {};
|
|
2125
|
+
headerParameters = {};
|
|
2126
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2127
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
2128
|
+
token = this.configuration.accessToken;
|
|
2129
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
2130
|
+
case 1:
|
|
2131
|
+
tokenString = _a.sent();
|
|
2132
|
+
if (tokenString) {
|
|
2133
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
2134
|
+
}
|
|
2135
|
+
_a.label = 2;
|
|
2136
|
+
case 2: return [4 /*yield*/, this.request({
|
|
2137
|
+
path: "/buyers/private/transfers/{transferId}/buyer-info".replace("{".concat("transferId", "}"), encodeURIComponent(String(requestParameters['transferId']))),
|
|
2138
|
+
method: 'PATCH',
|
|
2139
|
+
headers: headerParameters,
|
|
2140
|
+
query: queryParameters,
|
|
2141
|
+
body: (0, index_1.UpdateBuyerDomainTransferBuyerInfoInputToJSON)(requestParameters['updateBuyerDomainTransferBuyerInfoInput']),
|
|
2142
|
+
}, initOverrides)];
|
|
2143
|
+
case 3:
|
|
2144
|
+
response = _a.sent();
|
|
2145
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
2146
|
+
}
|
|
2147
|
+
});
|
|
2148
|
+
});
|
|
2149
|
+
};
|
|
2150
|
+
/**
|
|
2151
|
+
*
|
|
2152
|
+
*/
|
|
2153
|
+
BuyersApi.prototype.updateBuyerDomainTransferBuyerInfo = function (requestParameters, initOverrides) {
|
|
2154
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2155
|
+
return __generator(this, function (_a) {
|
|
2156
|
+
switch (_a.label) {
|
|
2157
|
+
case 0: return [4 /*yield*/, this.updateBuyerDomainTransferBuyerInfoRaw(requestParameters, initOverrides)];
|
|
2158
|
+
case 1:
|
|
2159
|
+
_a.sent();
|
|
2160
|
+
return [2 /*return*/];
|
|
2161
|
+
}
|
|
2162
|
+
});
|
|
2163
|
+
});
|
|
2164
|
+
};
|
|
2109
2165
|
/**
|
|
2110
2166
|
*
|
|
2111
2167
|
*/
|
|
@@ -0,0 +1,25 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export declare class MandrillPublicApi extends runtime.BaseAPI {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
postMandrillWebhookRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
postMandrillWebhook(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
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
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
41
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.MandrillPublicApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
var MandrillPublicApi = /** @class */ (function (_super) {
|
|
73
|
+
__extends(MandrillPublicApi, _super);
|
|
74
|
+
function MandrillPublicApi() {
|
|
75
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
MandrillPublicApi.prototype.postMandrillWebhookRaw = function (initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
+
var queryParameters, headerParameters, response;
|
|
83
|
+
return __generator(this, function (_a) {
|
|
84
|
+
switch (_a.label) {
|
|
85
|
+
case 0:
|
|
86
|
+
queryParameters = {};
|
|
87
|
+
headerParameters = {};
|
|
88
|
+
return [4 /*yield*/, this.request({
|
|
89
|
+
path: "/mandrill/webhook",
|
|
90
|
+
method: 'POST',
|
|
91
|
+
headers: headerParameters,
|
|
92
|
+
query: queryParameters,
|
|
93
|
+
}, initOverrides)];
|
|
94
|
+
case 1:
|
|
95
|
+
response = _a.sent();
|
|
96
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
});
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
MandrillPublicApi.prototype.postMandrillWebhook = function (initOverrides) {
|
|
105
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
106
|
+
return __generator(this, function (_a) {
|
|
107
|
+
switch (_a.label) {
|
|
108
|
+
case 0: return [4 /*yield*/, this.postMandrillWebhookRaw(initOverrides)];
|
|
109
|
+
case 1:
|
|
110
|
+
_a.sent();
|
|
111
|
+
return [2 /*return*/];
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
};
|
|
116
|
+
return MandrillPublicApi;
|
|
117
|
+
}(runtime.BaseAPI));
|
|
118
|
+
exports.MandrillPublicApi = MandrillPublicApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from './EppApi';
|
|
|
15
15
|
export * from './InvoicesApi';
|
|
16
16
|
export * from './LeadsApi';
|
|
17
17
|
export * from './LeadsPublicApi';
|
|
18
|
+
export * from './MandrillPublicApi';
|
|
18
19
|
export * from './MolliePublicApi';
|
|
19
20
|
export * from './NickyPublicApi';
|
|
20
21
|
export * from './NotificationsApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __exportStar(require("./EppApi"), exports);
|
|
|
33
33
|
__exportStar(require("./InvoicesApi"), exports);
|
|
34
34
|
__exportStar(require("./LeadsApi"), exports);
|
|
35
35
|
__exportStar(require("./LeadsPublicApi"), exports);
|
|
36
|
+
__exportStar(require("./MandrillPublicApi"), exports);
|
|
36
37
|
__exportStar(require("./MolliePublicApi"), exports);
|
|
37
38
|
__exportStar(require("./NickyPublicApi"), exports);
|
|
38
39
|
__exportStar(require("./NotificationsApi"), exports);
|
|
@@ -81,12 +81,14 @@ export declare const BuyerNotificationDtoTypeEnum: {
|
|
|
81
81
|
readonly DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER: "domain_transfer.send_ips_tag_instructions_to_seller";
|
|
82
82
|
readonly DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER_REMINDER: "domain_transfer.send_ips_tag_instructions_to_seller_reminder";
|
|
83
83
|
readonly DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_BUYER: "domain_transfer.send_ips_tag_instructions_to_buyer";
|
|
84
|
+
readonly DOMAIN_TRANSFER_REQUEST_BUYER_TRANSFER_INFO_TO_BUYER: "domain_transfer.request_buyer_transfer_info_to_buyer";
|
|
84
85
|
readonly DOMAIN_TRANSFER_RECREATE_DOMAIN_IN_SELLER_ACCOUNT_ERROR: "domain_transfer.recreate_domain_in_seller_account_error";
|
|
85
86
|
readonly DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_START_TRANSFER_TO_SELLER: "domain_transfer.send_ips_tag_instructions_to_start_transfer_to_seller";
|
|
86
87
|
readonly DOMAIN_TRANSFER_RENT_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: "domain_transfer.rent_subscription_send_owned_domain_auth_code_to_seller";
|
|
87
88
|
readonly DOMAIN_TRANSFER_LEASE_TO_OWN_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: "domain_transfer.lease_to_own_subscription_send_owned_domain_auth_code_to_seller";
|
|
88
89
|
readonly DOMAIN_TRANSFER_SEND_AUTH_CODE_TO_BUYER: "domain_transfer.send_auth_code_to_buyer";
|
|
89
90
|
readonly DOMAIN_TRANSFER_SEND_AUTH_CODE_TO_BUYER_WITH_HOLDERCHANGE_SE_NU_FILE: "domain_transfer.send_auth_code_to_buyer_with_holderchange_se_nu_file";
|
|
91
|
+
readonly DOMAIN_TRANSFER_FORWARD_INBOUND_REGISTRY_EMAIL_TO_BUYER: "domain_transfer.forward_inbound_registry_email_to_buyer";
|
|
90
92
|
readonly REQUEST_IPS_TAG_TO_BUYER_IPS_TAG_INVALID: "request_ips_tag_to_buyer_ips_tag_invalid";
|
|
91
93
|
readonly REQUEST_IPS_TAG_TO_SELLER_IPS_TAG_INVALID: "request_ips_tag_to_seller_ips_tag_invalid";
|
|
92
94
|
readonly EXPORT_COMPLETED: "export_completed";
|
|
@@ -42,12 +42,14 @@ exports.BuyerNotificationDtoTypeEnum = {
|
|
|
42
42
|
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER: 'domain_transfer.send_ips_tag_instructions_to_seller',
|
|
43
43
|
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER_REMINDER: 'domain_transfer.send_ips_tag_instructions_to_seller_reminder',
|
|
44
44
|
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_BUYER: 'domain_transfer.send_ips_tag_instructions_to_buyer',
|
|
45
|
+
DOMAIN_TRANSFER_REQUEST_BUYER_TRANSFER_INFO_TO_BUYER: 'domain_transfer.request_buyer_transfer_info_to_buyer',
|
|
45
46
|
DOMAIN_TRANSFER_RECREATE_DOMAIN_IN_SELLER_ACCOUNT_ERROR: 'domain_transfer.recreate_domain_in_seller_account_error',
|
|
46
47
|
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_START_TRANSFER_TO_SELLER: 'domain_transfer.send_ips_tag_instructions_to_start_transfer_to_seller',
|
|
47
48
|
DOMAIN_TRANSFER_RENT_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: 'domain_transfer.rent_subscription_send_owned_domain_auth_code_to_seller',
|
|
48
49
|
DOMAIN_TRANSFER_LEASE_TO_OWN_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: 'domain_transfer.lease_to_own_subscription_send_owned_domain_auth_code_to_seller',
|
|
49
50
|
DOMAIN_TRANSFER_SEND_AUTH_CODE_TO_BUYER: 'domain_transfer.send_auth_code_to_buyer',
|
|
50
51
|
DOMAIN_TRANSFER_SEND_AUTH_CODE_TO_BUYER_WITH_HOLDERCHANGE_SE_NU_FILE: 'domain_transfer.send_auth_code_to_buyer_with_holderchange_se_nu_file',
|
|
52
|
+
DOMAIN_TRANSFER_FORWARD_INBOUND_REGISTRY_EMAIL_TO_BUYER: 'domain_transfer.forward_inbound_registry_email_to_buyer',
|
|
51
53
|
REQUEST_IPS_TAG_TO_BUYER_IPS_TAG_INVALID: 'request_ips_tag_to_buyer_ips_tag_invalid',
|
|
52
54
|
REQUEST_IPS_TAG_TO_SELLER_IPS_TAG_INVALID: 'request_ips_tag_to_seller_ips_tag_invalid',
|
|
53
55
|
EXPORT_COMPLETED: 'export_completed',
|
|
@@ -74,12 +74,14 @@ export declare const BuyerNotificationListItemDtoTypeEnum: {
|
|
|
74
74
|
readonly DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER: "domain_transfer.send_ips_tag_instructions_to_seller";
|
|
75
75
|
readonly DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER_REMINDER: "domain_transfer.send_ips_tag_instructions_to_seller_reminder";
|
|
76
76
|
readonly DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_BUYER: "domain_transfer.send_ips_tag_instructions_to_buyer";
|
|
77
|
+
readonly DOMAIN_TRANSFER_REQUEST_BUYER_TRANSFER_INFO_TO_BUYER: "domain_transfer.request_buyer_transfer_info_to_buyer";
|
|
77
78
|
readonly DOMAIN_TRANSFER_RECREATE_DOMAIN_IN_SELLER_ACCOUNT_ERROR: "domain_transfer.recreate_domain_in_seller_account_error";
|
|
78
79
|
readonly DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_START_TRANSFER_TO_SELLER: "domain_transfer.send_ips_tag_instructions_to_start_transfer_to_seller";
|
|
79
80
|
readonly DOMAIN_TRANSFER_RENT_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: "domain_transfer.rent_subscription_send_owned_domain_auth_code_to_seller";
|
|
80
81
|
readonly DOMAIN_TRANSFER_LEASE_TO_OWN_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: "domain_transfer.lease_to_own_subscription_send_owned_domain_auth_code_to_seller";
|
|
81
82
|
readonly DOMAIN_TRANSFER_SEND_AUTH_CODE_TO_BUYER: "domain_transfer.send_auth_code_to_buyer";
|
|
82
83
|
readonly DOMAIN_TRANSFER_SEND_AUTH_CODE_TO_BUYER_WITH_HOLDERCHANGE_SE_NU_FILE: "domain_transfer.send_auth_code_to_buyer_with_holderchange_se_nu_file";
|
|
84
|
+
readonly DOMAIN_TRANSFER_FORWARD_INBOUND_REGISTRY_EMAIL_TO_BUYER: "domain_transfer.forward_inbound_registry_email_to_buyer";
|
|
83
85
|
readonly REQUEST_IPS_TAG_TO_BUYER_IPS_TAG_INVALID: "request_ips_tag_to_buyer_ips_tag_invalid";
|
|
84
86
|
readonly REQUEST_IPS_TAG_TO_SELLER_IPS_TAG_INVALID: "request_ips_tag_to_seller_ips_tag_invalid";
|
|
85
87
|
readonly EXPORT_COMPLETED: "export_completed";
|
|
@@ -41,12 +41,14 @@ exports.BuyerNotificationListItemDtoTypeEnum = {
|
|
|
41
41
|
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER: 'domain_transfer.send_ips_tag_instructions_to_seller',
|
|
42
42
|
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER_REMINDER: 'domain_transfer.send_ips_tag_instructions_to_seller_reminder',
|
|
43
43
|
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_BUYER: 'domain_transfer.send_ips_tag_instructions_to_buyer',
|
|
44
|
+
DOMAIN_TRANSFER_REQUEST_BUYER_TRANSFER_INFO_TO_BUYER: 'domain_transfer.request_buyer_transfer_info_to_buyer',
|
|
44
45
|
DOMAIN_TRANSFER_RECREATE_DOMAIN_IN_SELLER_ACCOUNT_ERROR: 'domain_transfer.recreate_domain_in_seller_account_error',
|
|
45
46
|
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_START_TRANSFER_TO_SELLER: 'domain_transfer.send_ips_tag_instructions_to_start_transfer_to_seller',
|
|
46
47
|
DOMAIN_TRANSFER_RENT_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: 'domain_transfer.rent_subscription_send_owned_domain_auth_code_to_seller',
|
|
47
48
|
DOMAIN_TRANSFER_LEASE_TO_OWN_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: 'domain_transfer.lease_to_own_subscription_send_owned_domain_auth_code_to_seller',
|
|
48
49
|
DOMAIN_TRANSFER_SEND_AUTH_CODE_TO_BUYER: 'domain_transfer.send_auth_code_to_buyer',
|
|
49
50
|
DOMAIN_TRANSFER_SEND_AUTH_CODE_TO_BUYER_WITH_HOLDERCHANGE_SE_NU_FILE: 'domain_transfer.send_auth_code_to_buyer_with_holderchange_se_nu_file',
|
|
51
|
+
DOMAIN_TRANSFER_FORWARD_INBOUND_REGISTRY_EMAIL_TO_BUYER: 'domain_transfer.forward_inbound_registry_email_to_buyer',
|
|
50
52
|
REQUEST_IPS_TAG_TO_BUYER_IPS_TAG_INVALID: 'request_ips_tag_to_buyer_ips_tag_invalid',
|
|
51
53
|
REQUEST_IPS_TAG_TO_SELLER_IPS_TAG_INVALID: 'request_ips_tag_to_seller_ips_tag_invalid',
|
|
52
54
|
EXPORT_COMPLETED: 'export_completed',
|
|
@@ -90,6 +90,7 @@ export interface DomainTransferDetailWorkflowStepDto {
|
|
|
90
90
|
export declare const DomainTransferDetailWorkflowStepDtoStatusEnum: {
|
|
91
91
|
readonly PENDING: "pending";
|
|
92
92
|
readonly FINISHED: "finished";
|
|
93
|
+
readonly SKIPPED: "skipped";
|
|
93
94
|
readonly WAITING_INTERACTION: "waitingInteraction";
|
|
94
95
|
readonly ERROR: "error";
|
|
95
96
|
};
|
|
@@ -27,6 +27,7 @@ var DomainTransferDetailsValidationDto_1 = require("./DomainTransferDetailsValid
|
|
|
27
27
|
exports.DomainTransferDetailWorkflowStepDtoStatusEnum = {
|
|
28
28
|
PENDING: 'pending',
|
|
29
29
|
FINISHED: 'finished',
|
|
30
|
+
SKIPPED: 'skipped',
|
|
30
31
|
WAITING_INTERACTION: 'waitingInteraction',
|
|
31
32
|
ERROR: 'error'
|
|
32
33
|
};
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { InvoiceDomainDto } from './InvoiceDomainDto';
|
|
13
13
|
import type { InvoiceSellerAccountDto } from './InvoiceSellerAccountDto';
|
|
14
14
|
import type { MoneyDto } from './MoneyDto';
|
|
15
|
+
import type { InvoiceDtoTransaction } from './InvoiceDtoTransaction';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
@@ -90,6 +91,12 @@ export interface InvoiceDto {
|
|
|
90
91
|
* @memberof InvoiceDto
|
|
91
92
|
*/
|
|
92
93
|
buyerEmail: string | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {InvoiceDtoTransaction}
|
|
97
|
+
* @memberof InvoiceDto
|
|
98
|
+
*/
|
|
99
|
+
transaction: InvoiceDtoTransaction | null;
|
|
93
100
|
}
|
|
94
101
|
/**
|
|
95
102
|
* @export
|
|
@@ -22,6 +22,7 @@ exports.InvoiceDtoToJSONTyped = InvoiceDtoToJSONTyped;
|
|
|
22
22
|
var InvoiceDomainDto_1 = require("./InvoiceDomainDto");
|
|
23
23
|
var InvoiceSellerAccountDto_1 = require("./InvoiceSellerAccountDto");
|
|
24
24
|
var MoneyDto_1 = require("./MoneyDto");
|
|
25
|
+
var InvoiceDtoTransaction_1 = require("./InvoiceDtoTransaction");
|
|
25
26
|
/**
|
|
26
27
|
* @export
|
|
27
28
|
*/
|
|
@@ -66,6 +67,8 @@ function instanceOfInvoiceDto(value) {
|
|
|
66
67
|
return false;
|
|
67
68
|
if (!('buyerEmail' in value) || value['buyerEmail'] === undefined)
|
|
68
69
|
return false;
|
|
70
|
+
if (!('transaction' in value) || value['transaction'] === undefined)
|
|
71
|
+
return false;
|
|
69
72
|
return true;
|
|
70
73
|
}
|
|
71
74
|
function InvoiceDtoFromJSON(json) {
|
|
@@ -88,6 +91,7 @@ function InvoiceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
88
91
|
'hasChildren': json['hasChildren'],
|
|
89
92
|
'isAffiliateCommission': json['isAffiliateCommission'],
|
|
90
93
|
'buyerEmail': json['buyerEmail'],
|
|
94
|
+
'transaction': (0, InvoiceDtoTransaction_1.InvoiceDtoTransactionFromJSON)(json['transaction']),
|
|
91
95
|
};
|
|
92
96
|
}
|
|
93
97
|
function InvoiceDtoToJSON(json) {
|
|
@@ -111,5 +115,6 @@ function InvoiceDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
111
115
|
'hasChildren': value['hasChildren'],
|
|
112
116
|
'isAffiliateCommission': value['isAffiliateCommission'],
|
|
113
117
|
'buyerEmail': value['buyerEmail'],
|
|
118
|
+
'transaction': (0, InvoiceDtoTransaction_1.InvoiceDtoTransactionToJSON)(value['transaction']),
|
|
114
119
|
};
|
|
115
120
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 InvoiceDtoTransaction
|
|
16
|
+
*/
|
|
17
|
+
export interface InvoiceDtoTransaction {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof InvoiceDtoTransaction
|
|
22
|
+
*/
|
|
23
|
+
id: object;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InvoiceDtoTransaction
|
|
28
|
+
*/
|
|
29
|
+
gateway: InvoiceDtoTransactionGatewayEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InvoiceDtoTransaction
|
|
34
|
+
*/
|
|
35
|
+
gatewayCustomerId: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const InvoiceDtoTransactionGatewayEnum: {
|
|
41
|
+
readonly STRIPE: "stripe";
|
|
42
|
+
readonly MOLLIE: "mollie";
|
|
43
|
+
readonly NICKY: "nicky";
|
|
44
|
+
};
|
|
45
|
+
export type InvoiceDtoTransactionGatewayEnum = typeof InvoiceDtoTransactionGatewayEnum[keyof typeof InvoiceDtoTransactionGatewayEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the InvoiceDtoTransaction interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfInvoiceDtoTransaction(value: object): value is InvoiceDtoTransaction;
|
|
50
|
+
export declare function InvoiceDtoTransactionFromJSON(json: any): InvoiceDtoTransaction;
|
|
51
|
+
export declare function InvoiceDtoTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceDtoTransaction;
|
|
52
|
+
export declare function InvoiceDtoTransactionToJSON(json: any): InvoiceDtoTransaction;
|
|
53
|
+
export declare function InvoiceDtoTransactionToJSONTyped(value?: InvoiceDtoTransaction | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.InvoiceDtoTransactionGatewayEnum = void 0;
|
|
17
|
+
exports.instanceOfInvoiceDtoTransaction = instanceOfInvoiceDtoTransaction;
|
|
18
|
+
exports.InvoiceDtoTransactionFromJSON = InvoiceDtoTransactionFromJSON;
|
|
19
|
+
exports.InvoiceDtoTransactionFromJSONTyped = InvoiceDtoTransactionFromJSONTyped;
|
|
20
|
+
exports.InvoiceDtoTransactionToJSON = InvoiceDtoTransactionToJSON;
|
|
21
|
+
exports.InvoiceDtoTransactionToJSONTyped = InvoiceDtoTransactionToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.InvoiceDtoTransactionGatewayEnum = {
|
|
26
|
+
STRIPE: 'stripe',
|
|
27
|
+
MOLLIE: 'mollie',
|
|
28
|
+
NICKY: 'nicky'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the InvoiceDtoTransaction interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfInvoiceDtoTransaction(value) {
|
|
34
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('gateway' in value) || value['gateway'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('gatewayCustomerId' in value) || value['gatewayCustomerId'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function InvoiceDtoTransactionFromJSON(json) {
|
|
43
|
+
return InvoiceDtoTransactionFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function InvoiceDtoTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'gateway': json['gateway'],
|
|
52
|
+
'gatewayCustomerId': json['gatewayCustomerId'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function InvoiceDtoTransactionToJSON(json) {
|
|
56
|
+
return InvoiceDtoTransactionToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function InvoiceDtoTransactionToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value['id'],
|
|
65
|
+
'gateway': value['gateway'],
|
|
66
|
+
'gatewayCustomerId': value['gatewayCustomerId'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -28,6 +28,12 @@ export interface OrderCompanyInfoDto {
|
|
|
28
28
|
* @memberof OrderCompanyInfoDto
|
|
29
29
|
*/
|
|
30
30
|
taxId: OrderCompanyTaxIdDto | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof OrderCompanyInfoDto
|
|
35
|
+
*/
|
|
36
|
+
companyId: string | null;
|
|
31
37
|
}
|
|
32
38
|
/**
|
|
33
39
|
* Check if a given object implements the OrderCompanyInfoDto interface.
|
|
@@ -27,6 +27,8 @@ function instanceOfOrderCompanyInfoDto(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('taxId' in value) || value['taxId'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('companyId' in value) || value['companyId'] === undefined)
|
|
31
|
+
return false;
|
|
30
32
|
return true;
|
|
31
33
|
}
|
|
32
34
|
function OrderCompanyInfoDtoFromJSON(json) {
|
|
@@ -39,6 +41,7 @@ function OrderCompanyInfoDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
41
|
return {
|
|
40
42
|
'name': json['name'],
|
|
41
43
|
'taxId': (0, OrderCompanyTaxIdDto_1.OrderCompanyTaxIdDtoFromJSON)(json['taxId']),
|
|
44
|
+
'companyId': json['companyId'],
|
|
42
45
|
};
|
|
43
46
|
}
|
|
44
47
|
function OrderCompanyInfoDtoToJSON(json) {
|
|
@@ -52,5 +55,6 @@ function OrderCompanyInfoDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
52
55
|
return {
|
|
53
56
|
'name': value['name'],
|
|
54
57
|
'taxId': (0, OrderCompanyTaxIdDto_1.OrderCompanyTaxIdDtoToJSON)(value['taxId']),
|
|
58
|
+
'companyId': value['companyId'],
|
|
55
59
|
};
|
|
56
60
|
}
|
|
@@ -28,6 +28,12 @@ export interface SubscriptionCompanyInfoDto {
|
|
|
28
28
|
* @memberof SubscriptionCompanyInfoDto
|
|
29
29
|
*/
|
|
30
30
|
taxId: SubscriptionCompanyTaxIdDto | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SubscriptionCompanyInfoDto
|
|
35
|
+
*/
|
|
36
|
+
companyId: string | null;
|
|
31
37
|
}
|
|
32
38
|
/**
|
|
33
39
|
* Check if a given object implements the SubscriptionCompanyInfoDto interface.
|
|
@@ -27,6 +27,8 @@ function instanceOfSubscriptionCompanyInfoDto(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('taxId' in value) || value['taxId'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('companyId' in value) || value['companyId'] === undefined)
|
|
31
|
+
return false;
|
|
30
32
|
return true;
|
|
31
33
|
}
|
|
32
34
|
function SubscriptionCompanyInfoDtoFromJSON(json) {
|
|
@@ -39,6 +41,7 @@ function SubscriptionCompanyInfoDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
41
|
return {
|
|
40
42
|
'name': json['name'],
|
|
41
43
|
'taxId': (0, SubscriptionCompanyTaxIdDto_1.SubscriptionCompanyTaxIdDtoFromJSON)(json['taxId']),
|
|
44
|
+
'companyId': json['companyId'],
|
|
42
45
|
};
|
|
43
46
|
}
|
|
44
47
|
function SubscriptionCompanyInfoDtoToJSON(json) {
|
|
@@ -52,5 +55,6 @@ function SubscriptionCompanyInfoDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
52
55
|
return {
|
|
53
56
|
'name': value['name'],
|
|
54
57
|
'taxId': (0, SubscriptionCompanyTaxIdDto_1.SubscriptionCompanyTaxIdDtoToJSON)(value['taxId']),
|
|
58
|
+
'companyId': value['companyId'],
|
|
55
59
|
};
|
|
56
60
|
}
|