@randock/nameshift-api-client 0.0.552 → 0.0.553
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 +39 -0
- package/README.md +3 -3
- package/dist/apis/AutomationsApi.d.ts +160 -0
- package/dist/apis/AutomationsApi.js +748 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AutomationActionDto.d.ts +45 -0
- package/dist/models/AutomationActionDto.js +60 -0
- package/dist/models/AutomationActionInput.d.ts +45 -0
- package/dist/models/AutomationActionInput.js +56 -0
- package/dist/models/AutomationActionStatusEnum.d.ts +26 -0
- package/dist/models/AutomationActionStatusEnum.js +52 -0
- package/dist/models/AutomationActionTypeEnum.d.ts +27 -0
- package/dist/models/AutomationActionTypeEnum.js +53 -0
- package/dist/models/AutomationAggregateEnum.d.ts +24 -0
- package/dist/models/AutomationAggregateEnum.js +50 -0
- package/dist/models/AutomationCatalogDelayUnitDto.d.ts +45 -0
- package/dist/models/AutomationCatalogDelayUnitDto.js +60 -0
- package/dist/models/AutomationCatalogDto.d.ts +77 -0
- package/dist/models/AutomationCatalogDto.js +82 -0
- package/dist/models/AutomationCatalogFactDto.d.ts +54 -0
- package/dist/models/AutomationCatalogFactDto.js +67 -0
- package/dist/models/AutomationCatalogTriggerDto.d.ts +60 -0
- package/dist/models/AutomationCatalogTriggerDto.js +71 -0
- package/dist/models/AutomationConditionDto.d.ts +65 -0
- package/dist/models/AutomationConditionDto.js +76 -0
- package/dist/models/AutomationConditionEvaluationDto.d.ts +77 -0
- package/dist/models/AutomationConditionEvaluationDto.js +84 -0
- package/dist/models/AutomationConditionGroupDto.d.ts +53 -0
- package/dist/models/AutomationConditionGroupDto.js +68 -0
- package/dist/models/AutomationConditionGroupDtoChildrenInner.d.ts +27 -0
- package/dist/models/AutomationConditionGroupDtoChildrenInner.js +54 -0
- package/dist/models/AutomationConditionGroupEvaluationDto.d.ts +59 -0
- package/dist/models/AutomationConditionGroupEvaluationDto.js +72 -0
- package/dist/models/AutomationConditionGroupEvaluationDtoChildrenInner.d.ts +27 -0
- package/dist/models/AutomationConditionGroupEvaluationDtoChildrenInner.js +54 -0
- package/dist/models/AutomationConditionGroupInput.d.ts +53 -0
- package/dist/models/AutomationConditionGroupInput.js +68 -0
- package/dist/models/AutomationConditionGroupInputChildrenInner.d.ts +27 -0
- package/dist/models/AutomationConditionGroupInputChildrenInner.js +54 -0
- package/dist/models/AutomationConditionInput.d.ts +65 -0
- package/dist/models/AutomationConditionInput.js +74 -0
- package/dist/models/AutomationDelayDto.d.ts +39 -0
- package/dist/models/AutomationDelayDto.js +56 -0
- package/dist/models/AutomationDelayInput.d.ts +39 -0
- package/dist/models/AutomationDelayInput.js +56 -0
- package/dist/models/AutomationDelayUnitEnum.d.ts +25 -0
- package/dist/models/AutomationDelayUnitEnum.js +51 -0
- package/dist/models/AutomationDto.d.ts +96 -0
- package/dist/models/AutomationDto.js +95 -0
- package/dist/models/AutomationFactEnum.d.ts +36 -0
- package/dist/models/AutomationFactEnum.js +62 -0
- package/dist/models/AutomationFactGroupEnum.d.ts +27 -0
- package/dist/models/AutomationFactGroupEnum.js +53 -0
- package/dist/models/AutomationFactValueTypeEnum.d.ts +30 -0
- package/dist/models/AutomationFactValueTypeEnum.js +56 -0
- package/dist/models/AutomationGroupOperatorEnum.d.ts +25 -0
- package/dist/models/AutomationGroupOperatorEnum.js +51 -0
- package/dist/models/AutomationInput.d.ts +66 -0
- package/dist/models/AutomationInput.js +71 -0
- package/dist/models/AutomationOperatorEnum.d.ts +37 -0
- package/dist/models/AutomationOperatorEnum.js +63 -0
- package/dist/models/AutomationRunActionDto.d.ts +46 -0
- package/dist/models/AutomationRunActionDto.js +61 -0
- package/dist/models/AutomationRunAutomationDto.d.ts +58 -0
- package/dist/models/AutomationRunAutomationDto.js +69 -0
- package/dist/models/AutomationRunDto.d.ts +65 -0
- package/dist/models/AutomationRunDto.js +74 -0
- package/dist/models/AutomationRunLeadDto.d.ts +44 -0
- package/dist/models/AutomationRunLeadDto.js +59 -0
- package/dist/models/AutomationSimulationDto.d.ts +64 -0
- package/dist/models/AutomationSimulationDto.js +73 -0
- package/dist/models/AutomationStatusInput.d.ts +32 -0
- package/dist/models/AutomationStatusInput.js +51 -0
- package/dist/models/AutomationTriggerEnum.d.ts +28 -0
- package/dist/models/AutomationTriggerEnum.js +54 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/GetAutomationRuns200Response.d.ts +47 -0
- package/dist/models/GetAutomationRuns200Response.js +62 -0
- package/dist/models/GetAutomations200Response.d.ts +47 -0
- package/dist/models/GetAutomations200Response.js +62 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/LeadMessageDto.d.ts +6 -0
- package/dist/models/LeadMessageDto.js +4 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/SimulateAutomationsInput.d.ts +70 -0
- package/dist/models/SimulateAutomationsInput.js +69 -0
- package/dist/models/index.d.ts +38 -0
- package/dist/models/index.js +38 -0
- package/package.json +1 -1
- package/src/apis/AutomationsApi.ts +622 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AutomationActionDto.ts +94 -0
- package/src/models/AutomationActionInput.ts +92 -0
- package/src/models/AutomationActionStatusEnum.ts +54 -0
- package/src/models/AutomationActionTypeEnum.ts +55 -0
- package/src/models/AutomationAggregateEnum.ts +52 -0
- package/src/models/AutomationCatalogDelayUnitDto.ts +94 -0
- package/src/models/AutomationCatalogDto.ts +151 -0
- package/src/models/AutomationCatalogFactDto.ts +124 -0
- package/src/models/AutomationCatalogTriggerDto.ts +133 -0
- package/src/models/AutomationConditionDto.ts +127 -0
- package/src/models/AutomationConditionEvaluationDto.ts +145 -0
- package/src/models/AutomationConditionGroupDto.ts +109 -0
- package/src/models/AutomationConditionGroupDtoChildrenInner.ts +73 -0
- package/src/models/AutomationConditionGroupEvaluationDto.ts +118 -0
- package/src/models/AutomationConditionGroupEvaluationDtoChildrenInner.ts +73 -0
- package/src/models/AutomationConditionGroupInput.ts +109 -0
- package/src/models/AutomationConditionGroupInputChildrenInner.ts +73 -0
- package/src/models/AutomationConditionInput.ts +126 -0
- package/src/models/AutomationDelayDto.ts +85 -0
- package/src/models/AutomationDelayInput.ts +85 -0
- package/src/models/AutomationDelayUnitEnum.ts +53 -0
- package/src/models/AutomationDto.ts +187 -0
- package/src/models/AutomationFactEnum.ts +64 -0
- package/src/models/AutomationFactGroupEnum.ts +55 -0
- package/src/models/AutomationFactValueTypeEnum.ts +58 -0
- package/src/models/AutomationGroupOperatorEnum.ts +53 -0
- package/src/models/AutomationInput.ts +140 -0
- package/src/models/AutomationOperatorEnum.ts +65 -0
- package/src/models/AutomationRunActionDto.ts +101 -0
- package/src/models/AutomationRunAutomationDto.ts +117 -0
- package/src/models/AutomationRunDto.ts +135 -0
- package/src/models/AutomationRunLeadDto.ts +84 -0
- package/src/models/AutomationSimulationDto.ts +126 -0
- package/src/models/AutomationStatusInput.ts +66 -0
- package/src/models/AutomationTriggerEnum.ts +56 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/GetAutomationRuns200Response.ts +106 -0
- package/src/models/GetAutomations200Response.ts +106 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/LeadMessageDto.ts +9 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/SimulateAutomationsInput.ts +133 -0
- package/src/models/index.ts +38 -0
|
@@ -0,0 +1,65 @@
|
|
|
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 { AutomationOperatorEnum } from './AutomationOperatorEnum';
|
|
13
|
+
import type { AutomationFactEnum } from './AutomationFactEnum';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AutomationConditionInput
|
|
18
|
+
*/
|
|
19
|
+
export interface AutomationConditionInput {
|
|
20
|
+
/**
|
|
21
|
+
* Marks the node as a single comparison.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AutomationConditionInput
|
|
24
|
+
*/
|
|
25
|
+
type: AutomationConditionInputTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
* Data the condition looks at.
|
|
28
|
+
* @type {AutomationFactEnum}
|
|
29
|
+
* @memberof AutomationConditionInput
|
|
30
|
+
*/
|
|
31
|
+
fact: AutomationFactEnum;
|
|
32
|
+
/**
|
|
33
|
+
* How the fact is compared against the value.
|
|
34
|
+
* @type {AutomationOperatorEnum}
|
|
35
|
+
* @memberof AutomationConditionInput
|
|
36
|
+
*/
|
|
37
|
+
operator: AutomationOperatorEnum;
|
|
38
|
+
/**
|
|
39
|
+
* Value the fact is compared against: a text, a number, a boolean or a list of texts.
|
|
40
|
+
* @type {any}
|
|
41
|
+
* @memberof AutomationConditionInput
|
|
42
|
+
*/
|
|
43
|
+
value: any | null;
|
|
44
|
+
/**
|
|
45
|
+
* Currency of the value, for facts that hold money.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof AutomationConditionInput
|
|
48
|
+
*/
|
|
49
|
+
currencyCode?: string | null;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export declare const AutomationConditionInputTypeEnum: {
|
|
55
|
+
readonly CONDITION: "condition";
|
|
56
|
+
};
|
|
57
|
+
export type AutomationConditionInputTypeEnum = typeof AutomationConditionInputTypeEnum[keyof typeof AutomationConditionInputTypeEnum];
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the AutomationConditionInput interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfAutomationConditionInput(value: object): value is AutomationConditionInput;
|
|
62
|
+
export declare function AutomationConditionInputFromJSON(json: any): AutomationConditionInput;
|
|
63
|
+
export declare function AutomationConditionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationConditionInput;
|
|
64
|
+
export declare function AutomationConditionInputToJSON(json: any): AutomationConditionInput;
|
|
65
|
+
export declare function AutomationConditionInputToJSONTyped(value?: AutomationConditionInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
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.AutomationConditionInputTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfAutomationConditionInput = instanceOfAutomationConditionInput;
|
|
18
|
+
exports.AutomationConditionInputFromJSON = AutomationConditionInputFromJSON;
|
|
19
|
+
exports.AutomationConditionInputFromJSONTyped = AutomationConditionInputFromJSONTyped;
|
|
20
|
+
exports.AutomationConditionInputToJSON = AutomationConditionInputToJSON;
|
|
21
|
+
exports.AutomationConditionInputToJSONTyped = AutomationConditionInputToJSONTyped;
|
|
22
|
+
var AutomationOperatorEnum_1 = require("./AutomationOperatorEnum");
|
|
23
|
+
var AutomationFactEnum_1 = require("./AutomationFactEnum");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.AutomationConditionInputTypeEnum = {
|
|
28
|
+
CONDITION: 'condition'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AutomationConditionInput interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfAutomationConditionInput(value) {
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('fact' in value) || value['fact'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('operator' in value) || value['operator'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function AutomationConditionInputFromJSON(json) {
|
|
45
|
+
return AutomationConditionInputFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AutomationConditionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'type': json['type'],
|
|
53
|
+
'fact': (0, AutomationFactEnum_1.AutomationFactEnumFromJSON)(json['fact']),
|
|
54
|
+
'operator': (0, AutomationOperatorEnum_1.AutomationOperatorEnumFromJSON)(json['operator']),
|
|
55
|
+
'value': json['value'],
|
|
56
|
+
'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function AutomationConditionInputToJSON(json) {
|
|
60
|
+
return AutomationConditionInputToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function AutomationConditionInputToJSONTyped(value, ignoreDiscriminator) {
|
|
63
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'type': value['type'],
|
|
69
|
+
'fact': (0, AutomationFactEnum_1.AutomationFactEnumToJSON)(value['fact']),
|
|
70
|
+
'operator': (0, AutomationOperatorEnum_1.AutomationOperatorEnumToJSON)(value['operator']),
|
|
71
|
+
'value': value['value'],
|
|
72
|
+
'currencyCode': value['currencyCode'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { AutomationDelayUnitEnum } from './AutomationDelayUnitEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AutomationDelayDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AutomationDelayDto {
|
|
19
|
+
/**
|
|
20
|
+
* How many hours or days the trigger waits.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof AutomationDelayDto
|
|
23
|
+
*/
|
|
24
|
+
amount: number;
|
|
25
|
+
/**
|
|
26
|
+
* Unit of the amount.
|
|
27
|
+
* @type {AutomationDelayUnitEnum}
|
|
28
|
+
* @memberof AutomationDelayDto
|
|
29
|
+
*/
|
|
30
|
+
unit: AutomationDelayUnitEnum;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AutomationDelayDto interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfAutomationDelayDto(value: object): value is AutomationDelayDto;
|
|
36
|
+
export declare function AutomationDelayDtoFromJSON(json: any): AutomationDelayDto;
|
|
37
|
+
export declare function AutomationDelayDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationDelayDto;
|
|
38
|
+
export declare function AutomationDelayDtoToJSON(json: any): AutomationDelayDto;
|
|
39
|
+
export declare function AutomationDelayDtoToJSONTyped(value?: AutomationDelayDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfAutomationDelayDto = instanceOfAutomationDelayDto;
|
|
17
|
+
exports.AutomationDelayDtoFromJSON = AutomationDelayDtoFromJSON;
|
|
18
|
+
exports.AutomationDelayDtoFromJSONTyped = AutomationDelayDtoFromJSONTyped;
|
|
19
|
+
exports.AutomationDelayDtoToJSON = AutomationDelayDtoToJSON;
|
|
20
|
+
exports.AutomationDelayDtoToJSONTyped = AutomationDelayDtoToJSONTyped;
|
|
21
|
+
var AutomationDelayUnitEnum_1 = require("./AutomationDelayUnitEnum");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AutomationDelayDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAutomationDelayDto(value) {
|
|
26
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('unit' in value) || value['unit'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function AutomationDelayDtoFromJSON(json) {
|
|
33
|
+
return AutomationDelayDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function AutomationDelayDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'amount': json['amount'],
|
|
41
|
+
'unit': (0, AutomationDelayUnitEnum_1.AutomationDelayUnitEnumFromJSON)(json['unit']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function AutomationDelayDtoToJSON(json) {
|
|
45
|
+
return AutomationDelayDtoToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AutomationDelayDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'amount': value['amount'],
|
|
54
|
+
'unit': (0, AutomationDelayUnitEnum_1.AutomationDelayUnitEnumToJSON)(value['unit']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { AutomationDelayUnitEnum } from './AutomationDelayUnitEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AutomationDelayInput
|
|
17
|
+
*/
|
|
18
|
+
export interface AutomationDelayInput {
|
|
19
|
+
/**
|
|
20
|
+
* How many hours or days the trigger waits.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof AutomationDelayInput
|
|
23
|
+
*/
|
|
24
|
+
amount: number;
|
|
25
|
+
/**
|
|
26
|
+
* Unit of the amount.
|
|
27
|
+
* @type {AutomationDelayUnitEnum}
|
|
28
|
+
* @memberof AutomationDelayInput
|
|
29
|
+
*/
|
|
30
|
+
unit: AutomationDelayUnitEnum;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AutomationDelayInput interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfAutomationDelayInput(value: object): value is AutomationDelayInput;
|
|
36
|
+
export declare function AutomationDelayInputFromJSON(json: any): AutomationDelayInput;
|
|
37
|
+
export declare function AutomationDelayInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationDelayInput;
|
|
38
|
+
export declare function AutomationDelayInputToJSON(json: any): AutomationDelayInput;
|
|
39
|
+
export declare function AutomationDelayInputToJSONTyped(value?: AutomationDelayInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfAutomationDelayInput = instanceOfAutomationDelayInput;
|
|
17
|
+
exports.AutomationDelayInputFromJSON = AutomationDelayInputFromJSON;
|
|
18
|
+
exports.AutomationDelayInputFromJSONTyped = AutomationDelayInputFromJSONTyped;
|
|
19
|
+
exports.AutomationDelayInputToJSON = AutomationDelayInputToJSON;
|
|
20
|
+
exports.AutomationDelayInputToJSONTyped = AutomationDelayInputToJSONTyped;
|
|
21
|
+
var AutomationDelayUnitEnum_1 = require("./AutomationDelayUnitEnum");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AutomationDelayInput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAutomationDelayInput(value) {
|
|
26
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('unit' in value) || value['unit'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function AutomationDelayInputFromJSON(json) {
|
|
33
|
+
return AutomationDelayInputFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function AutomationDelayInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'amount': json['amount'],
|
|
41
|
+
'unit': (0, AutomationDelayUnitEnum_1.AutomationDelayUnitEnumFromJSON)(json['unit']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function AutomationDelayInputToJSON(json) {
|
|
45
|
+
return AutomationDelayInputToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AutomationDelayInputToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'amount': value['amount'],
|
|
54
|
+
'unit': (0, AutomationDelayUnitEnum_1.AutomationDelayUnitEnumToJSON)(value['unit']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -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 the amount.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const AutomationDelayUnitEnum: {
|
|
17
|
+
readonly HOURS: "hours";
|
|
18
|
+
readonly DAYS: "days";
|
|
19
|
+
};
|
|
20
|
+
export type AutomationDelayUnitEnum = typeof AutomationDelayUnitEnum[keyof typeof AutomationDelayUnitEnum];
|
|
21
|
+
export declare function instanceOfAutomationDelayUnitEnum(value: any): boolean;
|
|
22
|
+
export declare function AutomationDelayUnitEnumFromJSON(json: any): AutomationDelayUnitEnum;
|
|
23
|
+
export declare function AutomationDelayUnitEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationDelayUnitEnum;
|
|
24
|
+
export declare function AutomationDelayUnitEnumToJSON(value?: AutomationDelayUnitEnum | null): any;
|
|
25
|
+
export declare function AutomationDelayUnitEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AutomationDelayUnitEnum;
|
|
@@ -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.AutomationDelayUnitEnum = void 0;
|
|
17
|
+
exports.instanceOfAutomationDelayUnitEnum = instanceOfAutomationDelayUnitEnum;
|
|
18
|
+
exports.AutomationDelayUnitEnumFromJSON = AutomationDelayUnitEnumFromJSON;
|
|
19
|
+
exports.AutomationDelayUnitEnumFromJSONTyped = AutomationDelayUnitEnumFromJSONTyped;
|
|
20
|
+
exports.AutomationDelayUnitEnumToJSON = AutomationDelayUnitEnumToJSON;
|
|
21
|
+
exports.AutomationDelayUnitEnumToJSONTyped = AutomationDelayUnitEnumToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Unit of the amount.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AutomationDelayUnitEnum = {
|
|
27
|
+
HOURS: 'hours',
|
|
28
|
+
DAYS: 'days'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfAutomationDelayUnitEnum(value) {
|
|
31
|
+
for (var key in exports.AutomationDelayUnitEnum) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.AutomationDelayUnitEnum, key)) {
|
|
33
|
+
if (exports.AutomationDelayUnitEnum[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function AutomationDelayUnitEnumFromJSON(json) {
|
|
41
|
+
return AutomationDelayUnitEnumFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AutomationDelayUnitEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function AutomationDelayUnitEnumToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function AutomationDelayUnitEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
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 { AutomationActionDto } from './AutomationActionDto';
|
|
13
|
+
import type { AutomationTriggerEnum } from './AutomationTriggerEnum';
|
|
14
|
+
import type { AutomationConditionGroupDto } from './AutomationConditionGroupDto';
|
|
15
|
+
import type { AutomationDelayDto } from './AutomationDelayDto';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AutomationDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AutomationDto {
|
|
22
|
+
/**
|
|
23
|
+
* Automation id.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AutomationDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Name the seller recognises the automation by.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AutomationDto
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the automation is being applied.
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof AutomationDto
|
|
38
|
+
*/
|
|
39
|
+
enabled: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* What makes the automation be evaluated.
|
|
42
|
+
* @type {AutomationTriggerEnum}
|
|
43
|
+
* @memberof AutomationDto
|
|
44
|
+
*/
|
|
45
|
+
trigger: AutomationTriggerEnum;
|
|
46
|
+
/**
|
|
47
|
+
* How long the trigger waits before the automation applies.
|
|
48
|
+
* @type {AutomationDelayDto}
|
|
49
|
+
* @memberof AutomationDto
|
|
50
|
+
*/
|
|
51
|
+
delay: AutomationDelayDto | null;
|
|
52
|
+
/**
|
|
53
|
+
* Conditions that have to hold for the actions to run.
|
|
54
|
+
* @type {AutomationConditionGroupDto}
|
|
55
|
+
* @memberof AutomationDto
|
|
56
|
+
*/
|
|
57
|
+
conditions: AutomationConditionGroupDto;
|
|
58
|
+
/**
|
|
59
|
+
* What the automation does when its conditions hold.
|
|
60
|
+
* @type {Array<AutomationActionDto>}
|
|
61
|
+
* @memberof AutomationDto
|
|
62
|
+
*/
|
|
63
|
+
actions: Array<AutomationActionDto>;
|
|
64
|
+
/**
|
|
65
|
+
* How many times the automation has acted.
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof AutomationDto
|
|
68
|
+
*/
|
|
69
|
+
executionsCount: number;
|
|
70
|
+
/**
|
|
71
|
+
* When the automation last acted.
|
|
72
|
+
* @type {Date}
|
|
73
|
+
* @memberof AutomationDto
|
|
74
|
+
*/
|
|
75
|
+
lastExecutedAt: Date | null;
|
|
76
|
+
/**
|
|
77
|
+
* When the automation was created.
|
|
78
|
+
* @type {Date}
|
|
79
|
+
* @memberof AutomationDto
|
|
80
|
+
*/
|
|
81
|
+
createdAt: Date;
|
|
82
|
+
/**
|
|
83
|
+
* When the automation was last updated.
|
|
84
|
+
* @type {Date}
|
|
85
|
+
* @memberof AutomationDto
|
|
86
|
+
*/
|
|
87
|
+
updatedAt: Date;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Check if a given object implements the AutomationDto interface.
|
|
91
|
+
*/
|
|
92
|
+
export declare function instanceOfAutomationDto(value: object): value is AutomationDto;
|
|
93
|
+
export declare function AutomationDtoFromJSON(json: any): AutomationDto;
|
|
94
|
+
export declare function AutomationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationDto;
|
|
95
|
+
export declare function AutomationDtoToJSON(json: any): AutomationDto;
|
|
96
|
+
export declare function AutomationDtoToJSONTyped(value?: AutomationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,95 @@
|
|
|
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.instanceOfAutomationDto = instanceOfAutomationDto;
|
|
17
|
+
exports.AutomationDtoFromJSON = AutomationDtoFromJSON;
|
|
18
|
+
exports.AutomationDtoFromJSONTyped = AutomationDtoFromJSONTyped;
|
|
19
|
+
exports.AutomationDtoToJSON = AutomationDtoToJSON;
|
|
20
|
+
exports.AutomationDtoToJSONTyped = AutomationDtoToJSONTyped;
|
|
21
|
+
var AutomationActionDto_1 = require("./AutomationActionDto");
|
|
22
|
+
var AutomationTriggerEnum_1 = require("./AutomationTriggerEnum");
|
|
23
|
+
var AutomationConditionGroupDto_1 = require("./AutomationConditionGroupDto");
|
|
24
|
+
var AutomationDelayDto_1 = require("./AutomationDelayDto");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AutomationDto interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfAutomationDto(value) {
|
|
29
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('trigger' in value) || value['trigger'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('delay' in value) || value['delay'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('conditions' in value) || value['conditions'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('actions' in value) || value['actions'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('executionsCount' in value) || value['executionsCount'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('lastExecutedAt' in value) || value['lastExecutedAt'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
function AutomationDtoFromJSON(json) {
|
|
54
|
+
return AutomationDtoFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function AutomationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': json['id'],
|
|
62
|
+
'name': json['name'],
|
|
63
|
+
'enabled': json['enabled'],
|
|
64
|
+
'trigger': (0, AutomationTriggerEnum_1.AutomationTriggerEnumFromJSON)(json['trigger']),
|
|
65
|
+
'delay': (0, AutomationDelayDto_1.AutomationDelayDtoFromJSON)(json['delay']),
|
|
66
|
+
'conditions': (0, AutomationConditionGroupDto_1.AutomationConditionGroupDtoFromJSON)(json['conditions']),
|
|
67
|
+
'actions': (json['actions'].map(AutomationActionDto_1.AutomationActionDtoFromJSON)),
|
|
68
|
+
'executionsCount': json['executionsCount'],
|
|
69
|
+
'lastExecutedAt': (json['lastExecutedAt'] == null ? null : new Date(json['lastExecutedAt'])),
|
|
70
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
71
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
function AutomationDtoToJSON(json) {
|
|
75
|
+
return AutomationDtoToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
function AutomationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
78
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
'id': value['id'],
|
|
84
|
+
'name': value['name'],
|
|
85
|
+
'enabled': value['enabled'],
|
|
86
|
+
'trigger': (0, AutomationTriggerEnum_1.AutomationTriggerEnumToJSON)(value['trigger']),
|
|
87
|
+
'delay': (0, AutomationDelayDto_1.AutomationDelayDtoToJSON)(value['delay']),
|
|
88
|
+
'conditions': (0, AutomationConditionGroupDto_1.AutomationConditionGroupDtoToJSON)(value['conditions']),
|
|
89
|
+
'actions': (value['actions'].map(AutomationActionDto_1.AutomationActionDtoToJSON)),
|
|
90
|
+
'executionsCount': value['executionsCount'],
|
|
91
|
+
'lastExecutedAt': (value['lastExecutedAt'] == null ? null : value['lastExecutedAt'].toISOString()),
|
|
92
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
93
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
* Data the condition looks at.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const AutomationFactEnum: {
|
|
17
|
+
readonly OFFER_AMOUNT: "offer_amount";
|
|
18
|
+
readonly OFFER_CURRENCY: "offer_currency";
|
|
19
|
+
readonly OFFER_BUY_NOW_PERCENTAGE: "offer_buy_now_percentage";
|
|
20
|
+
readonly LEAD_IS_INFORMATION_REQUEST: "lead_is_information_request";
|
|
21
|
+
readonly BUYER_EMAIL: "buyer_email";
|
|
22
|
+
readonly BUYER_EMAIL_DOMAIN: "buyer_email_domain";
|
|
23
|
+
readonly BUYER_EMAIL_TLD: "buyer_email_tld";
|
|
24
|
+
readonly BUYER_EMAIL_IS_DISPOSABLE: "buyer_email_is_disposable";
|
|
25
|
+
readonly BUYER_IP_COUNTRY: "buyer_ip_country";
|
|
26
|
+
readonly DOMAIN_NAME: "domain_name";
|
|
27
|
+
readonly DOMAIN_TLD: "domain_tld";
|
|
28
|
+
readonly DOMAIN_BUY_NOW_PRICE: "domain_buy_now_price";
|
|
29
|
+
readonly LEAD_MESSAGE_TEXT: "lead_message_text";
|
|
30
|
+
};
|
|
31
|
+
export type AutomationFactEnum = typeof AutomationFactEnum[keyof typeof AutomationFactEnum];
|
|
32
|
+
export declare function instanceOfAutomationFactEnum(value: any): boolean;
|
|
33
|
+
export declare function AutomationFactEnumFromJSON(json: any): AutomationFactEnum;
|
|
34
|
+
export declare function AutomationFactEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationFactEnum;
|
|
35
|
+
export declare function AutomationFactEnumToJSON(value?: AutomationFactEnum | null): any;
|
|
36
|
+
export declare function AutomationFactEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AutomationFactEnum;
|