@randock/nameshift-api-client 0.0.553 → 0.0.555
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 +5 -0
- package/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +1 -0
- package/dist/apis/AccountsApi.js +2 -1
- package/dist/models/AccountPaymentMethodProfileDto.d.ts +1 -0
- package/dist/models/AccountPaymentMethodProfileDto.js +2 -1
- package/dist/models/AutomationActionDelayDto.d.ts +45 -0
- package/dist/models/AutomationActionDelayDto.js +60 -0
- package/dist/models/AutomationActionDelayInput.d.ts +45 -0
- package/dist/models/AutomationActionDelayInput.js +60 -0
- package/dist/models/AutomationActionDelayUnitEnum.d.ts +25 -0
- package/dist/models/AutomationActionDelayUnitEnum.js +51 -0
- package/dist/models/AutomationActionDto.d.ts +7 -0
- package/dist/models/AutomationActionDto.js +5 -0
- package/dist/models/AutomationActionInput.d.ts +7 -0
- package/dist/models/AutomationActionInput.js +3 -0
- package/dist/models/AutomationActionStatusEnum.d.ts +2 -0
- package/dist/models/AutomationActionStatusEnum.js +3 -1
- package/dist/models/AutomationActionTypeEnum.d.ts +1 -0
- package/dist/models/AutomationActionTypeEnum.js +2 -1
- package/dist/models/AutomationCatalogActionDelayUnitDto.d.ts +45 -0
- package/dist/models/AutomationCatalogActionDelayUnitDto.js +60 -0
- package/dist/models/AutomationCatalogDto.d.ts +14 -0
- package/dist/models/AutomationCatalogDto.js +10 -0
- package/dist/models/AutomationRunActionDto.d.ts +7 -1
- package/dist/models/AutomationRunActionDto.js +4 -0
- package/dist/models/AutomationSimulationDelayedActionDto.d.ts +40 -0
- package/dist/models/AutomationSimulationDelayedActionDto.js +57 -0
- package/dist/models/AutomationSimulationDto.d.ts +7 -0
- package/dist/models/AutomationSimulationDto.js +5 -0
- package/dist/models/InvoiceDtoTransaction.d.ts +1 -0
- package/dist/models/InvoiceDtoTransaction.js +2 -1
- package/dist/models/InvoiceTransactionDto.d.ts +1 -0
- package/dist/models/InvoiceTransactionDto.js +2 -1
- package/dist/models/OrderListItemDtoTransaction.d.ts +1 -0
- package/dist/models/OrderListItemDtoTransaction.js +2 -1
- package/dist/models/SubscriptionListItemDtoTransaction.d.ts +1 -0
- package/dist/models/SubscriptionListItemDtoTransaction.js +2 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +2 -1
- package/src/models/AccountPaymentMethodProfileDto.ts +2 -1
- package/src/models/AutomationActionDelayDto.ts +94 -0
- package/src/models/AutomationActionDelayInput.ts +94 -0
- package/src/models/AutomationActionDelayUnitEnum.ts +53 -0
- package/src/models/AutomationActionDto.ts +16 -0
- package/src/models/AutomationActionInput.ts +15 -0
- package/src/models/AutomationActionStatusEnum.ts +3 -1
- package/src/models/AutomationActionTypeEnum.ts +2 -1
- package/src/models/AutomationCatalogActionDelayUnitDto.ts +94 -0
- package/src/models/AutomationCatalogDto.ts +32 -0
- package/src/models/AutomationRunActionDto.ts +10 -1
- package/src/models/AutomationSimulationDelayedActionDto.ts +92 -0
- package/src/models/AutomationSimulationDto.ts +16 -0
- package/src/models/InvoiceDtoTransaction.ts +2 -1
- package/src/models/InvoiceTransactionDto.ts +2 -1
- package/src/models/OrderListItemDtoTransaction.ts +2 -1
- package/src/models/SubscriptionListItemDtoTransaction.ts +2 -1
- package/src/models/index.ts +5 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -155,11 +155,15 @@ src/models/AuctionListItemDto.ts
|
|
|
155
155
|
src/models/AuctionListItemDtoDomainInformation.ts
|
|
156
156
|
src/models/AuctionListItemDtoSellerAccount.ts
|
|
157
157
|
src/models/AuctionsStatsDto.ts
|
|
158
|
+
src/models/AutomationActionDelayDto.ts
|
|
159
|
+
src/models/AutomationActionDelayInput.ts
|
|
160
|
+
src/models/AutomationActionDelayUnitEnum.ts
|
|
158
161
|
src/models/AutomationActionDto.ts
|
|
159
162
|
src/models/AutomationActionInput.ts
|
|
160
163
|
src/models/AutomationActionStatusEnum.ts
|
|
161
164
|
src/models/AutomationActionTypeEnum.ts
|
|
162
165
|
src/models/AutomationAggregateEnum.ts
|
|
166
|
+
src/models/AutomationCatalogActionDelayUnitDto.ts
|
|
163
167
|
src/models/AutomationCatalogDelayUnitDto.ts
|
|
164
168
|
src/models/AutomationCatalogDto.ts
|
|
165
169
|
src/models/AutomationCatalogFactDto.ts
|
|
@@ -187,6 +191,7 @@ src/models/AutomationRunActionDto.ts
|
|
|
187
191
|
src/models/AutomationRunAutomationDto.ts
|
|
188
192
|
src/models/AutomationRunDto.ts
|
|
189
193
|
src/models/AutomationRunLeadDto.ts
|
|
194
|
+
src/models/AutomationSimulationDelayedActionDto.ts
|
|
190
195
|
src/models/AutomationSimulationDto.ts
|
|
191
196
|
src/models/AutomationStatusInput.ts
|
|
192
197
|
src/models/AutomationTriggerEnum.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.555
|
|
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.555 --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
|
+
c6e9d63b61944221cc24ca2fe9eb7640fdbbb566542e1ba49f68865afed8dfaa168d1399d297c63eb384d25f2d8809b1
|
|
@@ -286,5 +286,6 @@ export declare const GetAccountPaymentMethodsGatewayEnum: {
|
|
|
286
286
|
readonly MOLLIE: "mollie";
|
|
287
287
|
readonly NICKY: "nicky";
|
|
288
288
|
readonly AIRWALLEX: "airwallex";
|
|
289
|
+
readonly RADOM: "radom";
|
|
289
290
|
};
|
|
290
291
|
export type GetAccountPaymentMethodsGatewayEnum = typeof GetAccountPaymentMethodsGatewayEnum[keyof typeof GetAccountPaymentMethodsGatewayEnum];
|
package/dist/apis/AccountsApi.js
CHANGED
|
@@ -61,6 +61,7 @@ export declare const AccountPaymentMethodProfileDtoGatewayEnum: {
|
|
|
61
61
|
readonly MOLLIE: "mollie";
|
|
62
62
|
readonly NICKY: "nicky";
|
|
63
63
|
readonly AIRWALLEX: "airwallex";
|
|
64
|
+
readonly RADOM: "radom";
|
|
64
65
|
};
|
|
65
66
|
export type AccountPaymentMethodProfileDtoGatewayEnum = typeof AccountPaymentMethodProfileDtoGatewayEnum[keyof typeof AccountPaymentMethodProfileDtoGatewayEnum];
|
|
66
67
|
/**
|
|
@@ -27,7 +27,8 @@ exports.AccountPaymentMethodProfileDtoGatewayEnum = {
|
|
|
27
27
|
STRIPE: 'stripe',
|
|
28
28
|
MOLLIE: 'mollie',
|
|
29
29
|
NICKY: 'nicky',
|
|
30
|
-
AIRWALLEX: 'airwallex'
|
|
30
|
+
AIRWALLEX: 'airwallex',
|
|
31
|
+
RADOM: 'radom'
|
|
31
32
|
};
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the AccountPaymentMethodProfileDto interface.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 { AutomationActionDelayUnitEnum } from './AutomationActionDelayUnitEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AutomationActionDelayDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AutomationActionDelayDto {
|
|
19
|
+
/**
|
|
20
|
+
* Shortest time the action waits.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof AutomationActionDelayDto
|
|
23
|
+
*/
|
|
24
|
+
min: number;
|
|
25
|
+
/**
|
|
26
|
+
* Longest time the action waits; the same as the shortest for a fixed wait.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof AutomationActionDelayDto
|
|
29
|
+
*/
|
|
30
|
+
max: number;
|
|
31
|
+
/**
|
|
32
|
+
* Unit of both times.
|
|
33
|
+
* @type {AutomationActionDelayUnitEnum}
|
|
34
|
+
* @memberof AutomationActionDelayDto
|
|
35
|
+
*/
|
|
36
|
+
unit: AutomationActionDelayUnitEnum;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AutomationActionDelayDto interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfAutomationActionDelayDto(value: object): value is AutomationActionDelayDto;
|
|
42
|
+
export declare function AutomationActionDelayDtoFromJSON(json: any): AutomationActionDelayDto;
|
|
43
|
+
export declare function AutomationActionDelayDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationActionDelayDto;
|
|
44
|
+
export declare function AutomationActionDelayDtoToJSON(json: any): AutomationActionDelayDto;
|
|
45
|
+
export declare function AutomationActionDelayDtoToJSONTyped(value?: AutomationActionDelayDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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.instanceOfAutomationActionDelayDto = instanceOfAutomationActionDelayDto;
|
|
17
|
+
exports.AutomationActionDelayDtoFromJSON = AutomationActionDelayDtoFromJSON;
|
|
18
|
+
exports.AutomationActionDelayDtoFromJSONTyped = AutomationActionDelayDtoFromJSONTyped;
|
|
19
|
+
exports.AutomationActionDelayDtoToJSON = AutomationActionDelayDtoToJSON;
|
|
20
|
+
exports.AutomationActionDelayDtoToJSONTyped = AutomationActionDelayDtoToJSONTyped;
|
|
21
|
+
var AutomationActionDelayUnitEnum_1 = require("./AutomationActionDelayUnitEnum");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AutomationActionDelayDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAutomationActionDelayDto(value) {
|
|
26
|
+
if (!('min' in value) || value['min'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('max' in value) || value['max'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('unit' in value) || value['unit'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function AutomationActionDelayDtoFromJSON(json) {
|
|
35
|
+
return AutomationActionDelayDtoFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function AutomationActionDelayDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'min': json['min'],
|
|
43
|
+
'max': json['max'],
|
|
44
|
+
'unit': (0, AutomationActionDelayUnitEnum_1.AutomationActionDelayUnitEnumFromJSON)(json['unit']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function AutomationActionDelayDtoToJSON(json) {
|
|
48
|
+
return AutomationActionDelayDtoToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function AutomationActionDelayDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'min': value['min'],
|
|
57
|
+
'max': value['max'],
|
|
58
|
+
'unit': (0, AutomationActionDelayUnitEnum_1.AutomationActionDelayUnitEnumToJSON)(value['unit']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 { AutomationActionDelayUnitEnum } from './AutomationActionDelayUnitEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AutomationActionDelayInput
|
|
17
|
+
*/
|
|
18
|
+
export interface AutomationActionDelayInput {
|
|
19
|
+
/**
|
|
20
|
+
* Shortest time the action waits.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof AutomationActionDelayInput
|
|
23
|
+
*/
|
|
24
|
+
min: number;
|
|
25
|
+
/**
|
|
26
|
+
* Longest time the action waits; the same as the shortest for a fixed wait.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof AutomationActionDelayInput
|
|
29
|
+
*/
|
|
30
|
+
max: number;
|
|
31
|
+
/**
|
|
32
|
+
* Unit of both times.
|
|
33
|
+
* @type {AutomationActionDelayUnitEnum}
|
|
34
|
+
* @memberof AutomationActionDelayInput
|
|
35
|
+
*/
|
|
36
|
+
unit: AutomationActionDelayUnitEnum;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AutomationActionDelayInput interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfAutomationActionDelayInput(value: object): value is AutomationActionDelayInput;
|
|
42
|
+
export declare function AutomationActionDelayInputFromJSON(json: any): AutomationActionDelayInput;
|
|
43
|
+
export declare function AutomationActionDelayInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationActionDelayInput;
|
|
44
|
+
export declare function AutomationActionDelayInputToJSON(json: any): AutomationActionDelayInput;
|
|
45
|
+
export declare function AutomationActionDelayInputToJSONTyped(value?: AutomationActionDelayInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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.instanceOfAutomationActionDelayInput = instanceOfAutomationActionDelayInput;
|
|
17
|
+
exports.AutomationActionDelayInputFromJSON = AutomationActionDelayInputFromJSON;
|
|
18
|
+
exports.AutomationActionDelayInputFromJSONTyped = AutomationActionDelayInputFromJSONTyped;
|
|
19
|
+
exports.AutomationActionDelayInputToJSON = AutomationActionDelayInputToJSON;
|
|
20
|
+
exports.AutomationActionDelayInputToJSONTyped = AutomationActionDelayInputToJSONTyped;
|
|
21
|
+
var AutomationActionDelayUnitEnum_1 = require("./AutomationActionDelayUnitEnum");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AutomationActionDelayInput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAutomationActionDelayInput(value) {
|
|
26
|
+
if (!('min' in value) || value['min'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('max' in value) || value['max'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('unit' in value) || value['unit'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function AutomationActionDelayInputFromJSON(json) {
|
|
35
|
+
return AutomationActionDelayInputFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function AutomationActionDelayInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'min': json['min'],
|
|
43
|
+
'max': json['max'],
|
|
44
|
+
'unit': (0, AutomationActionDelayUnitEnum_1.AutomationActionDelayUnitEnumFromJSON)(json['unit']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function AutomationActionDelayInputToJSON(json) {
|
|
48
|
+
return AutomationActionDelayInputToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function AutomationActionDelayInputToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'min': value['min'],
|
|
57
|
+
'max': value['max'],
|
|
58
|
+
'unit': (0, AutomationActionDelayUnitEnum_1.AutomationActionDelayUnitEnumToJSON)(value['unit']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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
|
+
* Unit of both times.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const AutomationActionDelayUnitEnum: {
|
|
17
|
+
readonly MINUTES: "minutes";
|
|
18
|
+
readonly HOURS: "hours";
|
|
19
|
+
};
|
|
20
|
+
export type AutomationActionDelayUnitEnum = typeof AutomationActionDelayUnitEnum[keyof typeof AutomationActionDelayUnitEnum];
|
|
21
|
+
export declare function instanceOfAutomationActionDelayUnitEnum(value: any): boolean;
|
|
22
|
+
export declare function AutomationActionDelayUnitEnumFromJSON(json: any): AutomationActionDelayUnitEnum;
|
|
23
|
+
export declare function AutomationActionDelayUnitEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationActionDelayUnitEnum;
|
|
24
|
+
export declare function AutomationActionDelayUnitEnumToJSON(value?: AutomationActionDelayUnitEnum | null): any;
|
|
25
|
+
export declare function AutomationActionDelayUnitEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AutomationActionDelayUnitEnum;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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.AutomationActionDelayUnitEnum = void 0;
|
|
17
|
+
exports.instanceOfAutomationActionDelayUnitEnum = instanceOfAutomationActionDelayUnitEnum;
|
|
18
|
+
exports.AutomationActionDelayUnitEnumFromJSON = AutomationActionDelayUnitEnumFromJSON;
|
|
19
|
+
exports.AutomationActionDelayUnitEnumFromJSONTyped = AutomationActionDelayUnitEnumFromJSONTyped;
|
|
20
|
+
exports.AutomationActionDelayUnitEnumToJSON = AutomationActionDelayUnitEnumToJSON;
|
|
21
|
+
exports.AutomationActionDelayUnitEnumToJSONTyped = AutomationActionDelayUnitEnumToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Unit of both times.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AutomationActionDelayUnitEnum = {
|
|
27
|
+
MINUTES: 'minutes',
|
|
28
|
+
HOURS: 'hours'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfAutomationActionDelayUnitEnum(value) {
|
|
31
|
+
for (var key in exports.AutomationActionDelayUnitEnum) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.AutomationActionDelayUnitEnum, key)) {
|
|
33
|
+
if (exports.AutomationActionDelayUnitEnum[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function AutomationActionDelayUnitEnumFromJSON(json) {
|
|
41
|
+
return AutomationActionDelayUnitEnumFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AutomationActionDelayUnitEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function AutomationActionDelayUnitEnumToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function AutomationActionDelayUnitEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
|
|
13
|
+
import type { AutomationActionDelayDto } from './AutomationActionDelayDto';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -34,6 +35,12 @@ export interface AutomationActionDto {
|
|
|
34
35
|
* @memberof AutomationActionDto
|
|
35
36
|
*/
|
|
36
37
|
quickReplyId: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Time the action waits before it runs.
|
|
40
|
+
* @type {AutomationActionDelayDto}
|
|
41
|
+
* @memberof AutomationActionDto
|
|
42
|
+
*/
|
|
43
|
+
delay: AutomationActionDelayDto | null;
|
|
37
44
|
}
|
|
38
45
|
/**
|
|
39
46
|
* Check if a given object implements the AutomationActionDto interface.
|
|
@@ -19,6 +19,7 @@ exports.AutomationActionDtoFromJSONTyped = AutomationActionDtoFromJSONTyped;
|
|
|
19
19
|
exports.AutomationActionDtoToJSON = AutomationActionDtoToJSON;
|
|
20
20
|
exports.AutomationActionDtoToJSONTyped = AutomationActionDtoToJSONTyped;
|
|
21
21
|
var AutomationActionTypeEnum_1 = require("./AutomationActionTypeEnum");
|
|
22
|
+
var AutomationActionDelayDto_1 = require("./AutomationActionDelayDto");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the AutomationActionDto interface.
|
|
24
25
|
*/
|
|
@@ -29,6 +30,8 @@ function instanceOfAutomationActionDto(value) {
|
|
|
29
30
|
return false;
|
|
30
31
|
if (!('quickReplyId' in value) || value['quickReplyId'] === undefined)
|
|
31
32
|
return false;
|
|
33
|
+
if (!('delay' in value) || value['delay'] === undefined)
|
|
34
|
+
return false;
|
|
32
35
|
return true;
|
|
33
36
|
}
|
|
34
37
|
function AutomationActionDtoFromJSON(json) {
|
|
@@ -42,6 +45,7 @@ function AutomationActionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
45
|
'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumFromJSON)(json['type']),
|
|
43
46
|
'message': json['message'],
|
|
44
47
|
'quickReplyId': json['quickReplyId'],
|
|
48
|
+
'delay': (0, AutomationActionDelayDto_1.AutomationActionDelayDtoFromJSON)(json['delay']),
|
|
45
49
|
};
|
|
46
50
|
}
|
|
47
51
|
function AutomationActionDtoToJSON(json) {
|
|
@@ -56,5 +60,6 @@ function AutomationActionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
56
60
|
'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumToJSON)(value['type']),
|
|
57
61
|
'message': value['message'],
|
|
58
62
|
'quickReplyId': value['quickReplyId'],
|
|
63
|
+
'delay': (0, AutomationActionDelayDto_1.AutomationActionDelayDtoToJSON)(value['delay']),
|
|
59
64
|
};
|
|
60
65
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
|
|
13
|
+
import type { AutomationActionDelayInput } from './AutomationActionDelayInput';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -34,6 +35,12 @@ export interface AutomationActionInput {
|
|
|
34
35
|
* @memberof AutomationActionInput
|
|
35
36
|
*/
|
|
36
37
|
quickReplyId?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Time the action waits before it runs.
|
|
40
|
+
* @type {AutomationActionDelayInput}
|
|
41
|
+
* @memberof AutomationActionInput
|
|
42
|
+
*/
|
|
43
|
+
delay?: AutomationActionDelayInput | null;
|
|
37
44
|
}
|
|
38
45
|
/**
|
|
39
46
|
* Check if a given object implements the AutomationActionInput interface.
|
|
@@ -19,6 +19,7 @@ exports.AutomationActionInputFromJSONTyped = AutomationActionInputFromJSONTyped;
|
|
|
19
19
|
exports.AutomationActionInputToJSON = AutomationActionInputToJSON;
|
|
20
20
|
exports.AutomationActionInputToJSONTyped = AutomationActionInputToJSONTyped;
|
|
21
21
|
var AutomationActionTypeEnum_1 = require("./AutomationActionTypeEnum");
|
|
22
|
+
var AutomationActionDelayInput_1 = require("./AutomationActionDelayInput");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the AutomationActionInput interface.
|
|
24
25
|
*/
|
|
@@ -38,6 +39,7 @@ function AutomationActionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumFromJSON)(json['type']),
|
|
39
40
|
'message': json['message'] == null ? undefined : json['message'],
|
|
40
41
|
'quickReplyId': json['quickReplyId'] == null ? undefined : json['quickReplyId'],
|
|
42
|
+
'delay': json['delay'] == null ? undefined : (0, AutomationActionDelayInput_1.AutomationActionDelayInputFromJSON)(json['delay']),
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
function AutomationActionInputToJSON(json) {
|
|
@@ -52,5 +54,6 @@ function AutomationActionInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
52
54
|
'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumToJSON)(value['type']),
|
|
53
55
|
'message': value['message'],
|
|
54
56
|
'quickReplyId': value['quickReplyId'],
|
|
57
|
+
'delay': (0, AutomationActionDelayInput_1.AutomationActionDelayInputToJSON)(value['delay']),
|
|
55
58
|
};
|
|
56
59
|
}
|
|
@@ -17,6 +17,8 @@ export declare const AutomationActionStatusEnum: {
|
|
|
17
17
|
readonly EXECUTED: "executed";
|
|
18
18
|
readonly SKIPPED: "skipped";
|
|
19
19
|
readonly FAILED: "failed";
|
|
20
|
+
readonly SCHEDULED: "scheduled";
|
|
21
|
+
readonly CANCELLED: "cancelled";
|
|
20
22
|
};
|
|
21
23
|
export type AutomationActionStatusEnum = typeof AutomationActionStatusEnum[keyof typeof AutomationActionStatusEnum];
|
|
22
24
|
export declare function instanceOfAutomationActionStatusEnum(value: any): boolean;
|
|
@@ -26,7 +26,9 @@ exports.AutomationActionStatusEnumToJSONTyped = AutomationActionStatusEnumToJSON
|
|
|
26
26
|
exports.AutomationActionStatusEnum = {
|
|
27
27
|
EXECUTED: 'executed',
|
|
28
28
|
SKIPPED: 'skipped',
|
|
29
|
-
FAILED: 'failed'
|
|
29
|
+
FAILED: 'failed',
|
|
30
|
+
SCHEDULED: 'scheduled',
|
|
31
|
+
CANCELLED: 'cancelled'
|
|
30
32
|
};
|
|
31
33
|
function instanceOfAutomationActionStatusEnum(value) {
|
|
32
34
|
for (var key in exports.AutomationActionStatusEnum) {
|
|
@@ -18,6 +18,7 @@ export declare const AutomationActionTypeEnum: {
|
|
|
18
18
|
readonly SEND_LEAD_MESSAGE: "send_lead_message";
|
|
19
19
|
readonly ARCHIVE_LEAD: "archive_lead";
|
|
20
20
|
readonly MUTE_LEAD: "mute_lead";
|
|
21
|
+
readonly SILENCE_LEAD_NOTIFICATION: "silence_lead_notification";
|
|
21
22
|
};
|
|
22
23
|
export type AutomationActionTypeEnum = typeof AutomationActionTypeEnum[keyof typeof AutomationActionTypeEnum];
|
|
23
24
|
export declare function instanceOfAutomationActionTypeEnum(value: any): boolean;
|
|
@@ -27,7 +27,8 @@ exports.AutomationActionTypeEnum = {
|
|
|
27
27
|
REJECT_LEAD_OFFER: 'reject_lead_offer',
|
|
28
28
|
SEND_LEAD_MESSAGE: 'send_lead_message',
|
|
29
29
|
ARCHIVE_LEAD: 'archive_lead',
|
|
30
|
-
MUTE_LEAD: 'mute_lead'
|
|
30
|
+
MUTE_LEAD: 'mute_lead',
|
|
31
|
+
SILENCE_LEAD_NOTIFICATION: 'silence_lead_notification'
|
|
31
32
|
};
|
|
32
33
|
function instanceOfAutomationActionTypeEnum(value) {
|
|
33
34
|
for (var key in exports.AutomationActionTypeEnum) {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 { AutomationActionDelayUnitEnum } from './AutomationActionDelayUnitEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AutomationCatalogActionDelayUnitDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AutomationCatalogActionDelayUnitDto {
|
|
19
|
+
/**
|
|
20
|
+
* Unit an action can wait in.
|
|
21
|
+
* @type {AutomationActionDelayUnitEnum}
|
|
22
|
+
* @memberof AutomationCatalogActionDelayUnitDto
|
|
23
|
+
*/
|
|
24
|
+
unit: AutomationActionDelayUnitEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Smallest amount of the unit.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof AutomationCatalogActionDelayUnitDto
|
|
29
|
+
*/
|
|
30
|
+
minAmount: number;
|
|
31
|
+
/**
|
|
32
|
+
* Largest amount of the unit.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof AutomationCatalogActionDelayUnitDto
|
|
35
|
+
*/
|
|
36
|
+
maxAmount: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AutomationCatalogActionDelayUnitDto interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfAutomationCatalogActionDelayUnitDto(value: object): value is AutomationCatalogActionDelayUnitDto;
|
|
42
|
+
export declare function AutomationCatalogActionDelayUnitDtoFromJSON(json: any): AutomationCatalogActionDelayUnitDto;
|
|
43
|
+
export declare function AutomationCatalogActionDelayUnitDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationCatalogActionDelayUnitDto;
|
|
44
|
+
export declare function AutomationCatalogActionDelayUnitDtoToJSON(json: any): AutomationCatalogActionDelayUnitDto;
|
|
45
|
+
export declare function AutomationCatalogActionDelayUnitDtoToJSONTyped(value?: AutomationCatalogActionDelayUnitDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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.instanceOfAutomationCatalogActionDelayUnitDto = instanceOfAutomationCatalogActionDelayUnitDto;
|
|
17
|
+
exports.AutomationCatalogActionDelayUnitDtoFromJSON = AutomationCatalogActionDelayUnitDtoFromJSON;
|
|
18
|
+
exports.AutomationCatalogActionDelayUnitDtoFromJSONTyped = AutomationCatalogActionDelayUnitDtoFromJSONTyped;
|
|
19
|
+
exports.AutomationCatalogActionDelayUnitDtoToJSON = AutomationCatalogActionDelayUnitDtoToJSON;
|
|
20
|
+
exports.AutomationCatalogActionDelayUnitDtoToJSONTyped = AutomationCatalogActionDelayUnitDtoToJSONTyped;
|
|
21
|
+
var AutomationActionDelayUnitEnum_1 = require("./AutomationActionDelayUnitEnum");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AutomationCatalogActionDelayUnitDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAutomationCatalogActionDelayUnitDto(value) {
|
|
26
|
+
if (!('unit' in value) || value['unit'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('minAmount' in value) || value['minAmount'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('maxAmount' in value) || value['maxAmount'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function AutomationCatalogActionDelayUnitDtoFromJSON(json) {
|
|
35
|
+
return AutomationCatalogActionDelayUnitDtoFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function AutomationCatalogActionDelayUnitDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'unit': (0, AutomationActionDelayUnitEnum_1.AutomationActionDelayUnitEnumFromJSON)(json['unit']),
|
|
43
|
+
'minAmount': json['minAmount'],
|
|
44
|
+
'maxAmount': json['maxAmount'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function AutomationCatalogActionDelayUnitDtoToJSON(json) {
|
|
48
|
+
return AutomationCatalogActionDelayUnitDtoToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function AutomationCatalogActionDelayUnitDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'unit': (0, AutomationActionDelayUnitEnum_1.AutomationActionDelayUnitEnumToJSON)(value['unit']),
|
|
57
|
+
'minAmount': value['minAmount'],
|
|
58
|
+
'maxAmount': value['maxAmount'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AutomationCatalogTriggerDto } from './AutomationCatalogTriggerDto';
|
|
13
|
+
import type { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
|
|
14
|
+
import type { AutomationCatalogActionDelayUnitDto } from './AutomationCatalogActionDelayUnitDto';
|
|
13
15
|
import type { AutomationCatalogDelayUnitDto } from './AutomationCatalogDelayUnitDto';
|
|
14
16
|
import type { QuickReplyVariableEnum } from './QuickReplyVariableEnum';
|
|
15
17
|
/**
|
|
@@ -48,6 +50,18 @@ export interface AutomationCatalogDto {
|
|
|
48
50
|
* @memberof AutomationCatalogDto
|
|
49
51
|
*/
|
|
50
52
|
delayUnits: Array<AutomationCatalogDelayUnitDto>;
|
|
53
|
+
/**
|
|
54
|
+
* Actions that can wait before they run.
|
|
55
|
+
* @type {Array<AutomationActionTypeEnum>}
|
|
56
|
+
* @memberof AutomationCatalogDto
|
|
57
|
+
*/
|
|
58
|
+
delayableActions: Array<AutomationActionTypeEnum>;
|
|
59
|
+
/**
|
|
60
|
+
* Units an action can wait in, with the amounts each takes.
|
|
61
|
+
* @type {Array<AutomationCatalogActionDelayUnitDto>}
|
|
62
|
+
* @memberof AutomationCatalogDto
|
|
63
|
+
*/
|
|
64
|
+
actionDelayUnits: Array<AutomationCatalogActionDelayUnitDto>;
|
|
51
65
|
/**
|
|
52
66
|
* Currencies a condition on a currency can name.
|
|
53
67
|
* @type {Array<string>}
|