@randock/nameshift-api-client 0.0.551 → 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/AccountSettingsDto.d.ts +15 -1
- package/dist/models/AccountSettingsDto.js +8 -0
- package/dist/models/AccountSettingsInput.d.ts +14 -0
- package/dist/models/AccountSettingsInput.js +4 -0
- package/dist/models/AdminDomainListItemDto.d.ts +21 -1
- package/dist/models/AdminDomainListItemDto.js +12 -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/DomainSellerDto.d.ts +9 -1
- package/dist/models/DomainSellerDto.js +4 -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/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +21 -1
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +12 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +21 -1
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +12 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts +21 -1
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js +12 -0
- package/dist/models/LandingPageOriginalDesignSettingsDto.d.ts +12 -0
- package/dist/models/LandingPageOriginalDesignSettingsDto.js +8 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.d.ts +12 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.js +4 -0
- 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/UpdateDomainInput.d.ts +21 -1
- package/dist/models/UpdateDomainInput.js +6 -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/AccountSettingsDto.ts +19 -1
- package/src/models/AccountSettingsInput.ts +16 -0
- package/src/models/AdminDomainListItemDto.ts +28 -1
- 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/DomainSellerDto.ts +10 -1
- 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/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +28 -1
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +28 -1
- package/src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts +28 -1
- package/src/models/LandingPageOriginalDesignSettingsDto.ts +18 -0
- package/src/models/LandingPageOriginalDesignSettingsInput.ts +16 -0
- package/src/models/LeadMessageDto.ts +9 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/SimulateAutomationsInput.ts +133 -0
- package/src/models/UpdateDomainInput.ts +25 -1
- package/src/models/index.ts +38 -0
|
@@ -0,0 +1,77 @@
|
|
|
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 AutomationConditionEvaluationDto
|
|
18
|
+
*/
|
|
19
|
+
export interface AutomationConditionEvaluationDto {
|
|
20
|
+
/**
|
|
21
|
+
* Marks the node as a single comparison.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AutomationConditionEvaluationDto
|
|
24
|
+
*/
|
|
25
|
+
type: AutomationConditionEvaluationDtoTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
* Data the condition looked at.
|
|
28
|
+
* @type {AutomationFactEnum}
|
|
29
|
+
* @memberof AutomationConditionEvaluationDto
|
|
30
|
+
*/
|
|
31
|
+
fact: AutomationFactEnum;
|
|
32
|
+
/**
|
|
33
|
+
* How the fact was compared against the value.
|
|
34
|
+
* @type {AutomationOperatorEnum}
|
|
35
|
+
* @memberof AutomationConditionEvaluationDto
|
|
36
|
+
*/
|
|
37
|
+
operator: AutomationOperatorEnum;
|
|
38
|
+
/**
|
|
39
|
+
* Value the fact was compared against: a text, a number, a boolean or a list of texts.
|
|
40
|
+
* @type {any}
|
|
41
|
+
* @memberof AutomationConditionEvaluationDto
|
|
42
|
+
*/
|
|
43
|
+
value: any | null;
|
|
44
|
+
/**
|
|
45
|
+
* Currency of the value, for facts that hold money.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof AutomationConditionEvaluationDto
|
|
48
|
+
*/
|
|
49
|
+
currencyCode: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* Value the fact had when the condition was evaluated; null when it was not known.
|
|
52
|
+
* @type {any}
|
|
53
|
+
* @memberof AutomationConditionEvaluationDto
|
|
54
|
+
*/
|
|
55
|
+
factValue: any | null;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the condition held.
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof AutomationConditionEvaluationDto
|
|
60
|
+
*/
|
|
61
|
+
result: boolean;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @export
|
|
65
|
+
*/
|
|
66
|
+
export declare const AutomationConditionEvaluationDtoTypeEnum: {
|
|
67
|
+
readonly CONDITION: "condition";
|
|
68
|
+
};
|
|
69
|
+
export type AutomationConditionEvaluationDtoTypeEnum = typeof AutomationConditionEvaluationDtoTypeEnum[keyof typeof AutomationConditionEvaluationDtoTypeEnum];
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the AutomationConditionEvaluationDto interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfAutomationConditionEvaluationDto(value: object): value is AutomationConditionEvaluationDto;
|
|
74
|
+
export declare function AutomationConditionEvaluationDtoFromJSON(json: any): AutomationConditionEvaluationDto;
|
|
75
|
+
export declare function AutomationConditionEvaluationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationConditionEvaluationDto;
|
|
76
|
+
export declare function AutomationConditionEvaluationDtoToJSON(json: any): AutomationConditionEvaluationDto;
|
|
77
|
+
export declare function AutomationConditionEvaluationDtoToJSONTyped(value?: AutomationConditionEvaluationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
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.AutomationConditionEvaluationDtoTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfAutomationConditionEvaluationDto = instanceOfAutomationConditionEvaluationDto;
|
|
18
|
+
exports.AutomationConditionEvaluationDtoFromJSON = AutomationConditionEvaluationDtoFromJSON;
|
|
19
|
+
exports.AutomationConditionEvaluationDtoFromJSONTyped = AutomationConditionEvaluationDtoFromJSONTyped;
|
|
20
|
+
exports.AutomationConditionEvaluationDtoToJSON = AutomationConditionEvaluationDtoToJSON;
|
|
21
|
+
exports.AutomationConditionEvaluationDtoToJSONTyped = AutomationConditionEvaluationDtoToJSONTyped;
|
|
22
|
+
var AutomationOperatorEnum_1 = require("./AutomationOperatorEnum");
|
|
23
|
+
var AutomationFactEnum_1 = require("./AutomationFactEnum");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.AutomationConditionEvaluationDtoTypeEnum = {
|
|
28
|
+
CONDITION: 'condition'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AutomationConditionEvaluationDto interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfAutomationConditionEvaluationDto(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
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('factValue' in value) || value['factValue'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('result' in value) || value['result'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
function AutomationConditionEvaluationDtoFromJSON(json) {
|
|
51
|
+
return AutomationConditionEvaluationDtoFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function AutomationConditionEvaluationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'type': json['type'],
|
|
59
|
+
'fact': (0, AutomationFactEnum_1.AutomationFactEnumFromJSON)(json['fact']),
|
|
60
|
+
'operator': (0, AutomationOperatorEnum_1.AutomationOperatorEnumFromJSON)(json['operator']),
|
|
61
|
+
'value': json['value'],
|
|
62
|
+
'currencyCode': json['currencyCode'],
|
|
63
|
+
'factValue': json['factValue'],
|
|
64
|
+
'result': json['result'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function AutomationConditionEvaluationDtoToJSON(json) {
|
|
68
|
+
return AutomationConditionEvaluationDtoToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
function AutomationConditionEvaluationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
71
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
'type': value['type'],
|
|
77
|
+
'fact': (0, AutomationFactEnum_1.AutomationFactEnumToJSON)(value['fact']),
|
|
78
|
+
'operator': (0, AutomationOperatorEnum_1.AutomationOperatorEnumToJSON)(value['operator']),
|
|
79
|
+
'value': value['value'],
|
|
80
|
+
'currencyCode': value['currencyCode'],
|
|
81
|
+
'factValue': value['factValue'],
|
|
82
|
+
'result': value['result'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { AutomationConditionGroupDtoChildrenInner } from './AutomationConditionGroupDtoChildrenInner';
|
|
13
|
+
import type { AutomationGroupOperatorEnum } from './AutomationGroupOperatorEnum';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AutomationConditionGroupDto
|
|
18
|
+
*/
|
|
19
|
+
export interface AutomationConditionGroupDto {
|
|
20
|
+
/**
|
|
21
|
+
* Marks the node as a group of conditions.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AutomationConditionGroupDto
|
|
24
|
+
*/
|
|
25
|
+
type: AutomationConditionGroupDtoTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
* How the conditions of the group combine.
|
|
28
|
+
* @type {AutomationGroupOperatorEnum}
|
|
29
|
+
* @memberof AutomationConditionGroupDto
|
|
30
|
+
*/
|
|
31
|
+
operator: AutomationGroupOperatorEnum;
|
|
32
|
+
/**
|
|
33
|
+
* Conditions and nested groups of the group.
|
|
34
|
+
* @type {Array<AutomationConditionGroupDtoChildrenInner>}
|
|
35
|
+
* @memberof AutomationConditionGroupDto
|
|
36
|
+
*/
|
|
37
|
+
children: Array<AutomationConditionGroupDtoChildrenInner>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
export declare const AutomationConditionGroupDtoTypeEnum: {
|
|
43
|
+
readonly GROUP: "group";
|
|
44
|
+
};
|
|
45
|
+
export type AutomationConditionGroupDtoTypeEnum = typeof AutomationConditionGroupDtoTypeEnum[keyof typeof AutomationConditionGroupDtoTypeEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the AutomationConditionGroupDto interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfAutomationConditionGroupDto(value: object): value is AutomationConditionGroupDto;
|
|
50
|
+
export declare function AutomationConditionGroupDtoFromJSON(json: any): AutomationConditionGroupDto;
|
|
51
|
+
export declare function AutomationConditionGroupDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationConditionGroupDto;
|
|
52
|
+
export declare function AutomationConditionGroupDtoToJSON(json: any): AutomationConditionGroupDto;
|
|
53
|
+
export declare function AutomationConditionGroupDtoToJSONTyped(value?: AutomationConditionGroupDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.AutomationConditionGroupDtoTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfAutomationConditionGroupDto = instanceOfAutomationConditionGroupDto;
|
|
18
|
+
exports.AutomationConditionGroupDtoFromJSON = AutomationConditionGroupDtoFromJSON;
|
|
19
|
+
exports.AutomationConditionGroupDtoFromJSONTyped = AutomationConditionGroupDtoFromJSONTyped;
|
|
20
|
+
exports.AutomationConditionGroupDtoToJSON = AutomationConditionGroupDtoToJSON;
|
|
21
|
+
exports.AutomationConditionGroupDtoToJSONTyped = AutomationConditionGroupDtoToJSONTyped;
|
|
22
|
+
var AutomationConditionGroupDtoChildrenInner_1 = require("./AutomationConditionGroupDtoChildrenInner");
|
|
23
|
+
var AutomationGroupOperatorEnum_1 = require("./AutomationGroupOperatorEnum");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.AutomationConditionGroupDtoTypeEnum = {
|
|
28
|
+
GROUP: 'group'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AutomationConditionGroupDto interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfAutomationConditionGroupDto(value) {
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('operator' in value) || value['operator'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('children' in value) || value['children'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function AutomationConditionGroupDtoFromJSON(json) {
|
|
43
|
+
return AutomationConditionGroupDtoFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AutomationConditionGroupDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'type': json['type'],
|
|
51
|
+
'operator': (0, AutomationGroupOperatorEnum_1.AutomationGroupOperatorEnumFromJSON)(json['operator']),
|
|
52
|
+
'children': (json['children'].map(AutomationConditionGroupDtoChildrenInner_1.AutomationConditionGroupDtoChildrenInnerFromJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function AutomationConditionGroupDtoToJSON(json) {
|
|
56
|
+
return AutomationConditionGroupDtoToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function AutomationConditionGroupDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'type': value['type'],
|
|
65
|
+
'operator': (0, AutomationGroupOperatorEnum_1.AutomationGroupOperatorEnumToJSON)(value['operator']),
|
|
66
|
+
'children': (value['children'].map(AutomationConditionGroupDtoChildrenInner_1.AutomationConditionGroupDtoChildrenInnerToJSON)),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { AutomationConditionDto } from './AutomationConditionDto';
|
|
13
|
+
import type { AutomationConditionGroupDto } from './AutomationConditionGroupDto';
|
|
14
|
+
/**
|
|
15
|
+
* @type AutomationConditionGroupDtoChildrenInner
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type AutomationConditionGroupDtoChildrenInner = {
|
|
20
|
+
type: 'condition';
|
|
21
|
+
} & AutomationConditionDto | {
|
|
22
|
+
type: 'group';
|
|
23
|
+
} & AutomationConditionGroupDto;
|
|
24
|
+
export declare function AutomationConditionGroupDtoChildrenInnerFromJSON(json: any): AutomationConditionGroupDtoChildrenInner;
|
|
25
|
+
export declare function AutomationConditionGroupDtoChildrenInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationConditionGroupDtoChildrenInner;
|
|
26
|
+
export declare function AutomationConditionGroupDtoChildrenInnerToJSON(json: any): any;
|
|
27
|
+
export declare function AutomationConditionGroupDtoChildrenInnerToJSONTyped(value?: AutomationConditionGroupDtoChildrenInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.AutomationConditionGroupDtoChildrenInnerFromJSON = AutomationConditionGroupDtoChildrenInnerFromJSON;
|
|
17
|
+
exports.AutomationConditionGroupDtoChildrenInnerFromJSONTyped = AutomationConditionGroupDtoChildrenInnerFromJSONTyped;
|
|
18
|
+
exports.AutomationConditionGroupDtoChildrenInnerToJSON = AutomationConditionGroupDtoChildrenInnerToJSON;
|
|
19
|
+
exports.AutomationConditionGroupDtoChildrenInnerToJSONTyped = AutomationConditionGroupDtoChildrenInnerToJSONTyped;
|
|
20
|
+
var AutomationConditionDto_1 = require("./AutomationConditionDto");
|
|
21
|
+
var AutomationConditionGroupDto_1 = require("./AutomationConditionGroupDto");
|
|
22
|
+
function AutomationConditionGroupDtoChildrenInnerFromJSON(json) {
|
|
23
|
+
return AutomationConditionGroupDtoChildrenInnerFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
function AutomationConditionGroupDtoChildrenInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
switch (json['type']) {
|
|
30
|
+
case 'condition':
|
|
31
|
+
return Object.assign({}, (0, AutomationConditionDto_1.AutomationConditionDtoFromJSONTyped)(json, true), { type: 'condition' });
|
|
32
|
+
case 'group':
|
|
33
|
+
return Object.assign({}, (0, AutomationConditionGroupDto_1.AutomationConditionGroupDtoFromJSONTyped)(json, true), { type: 'group' });
|
|
34
|
+
default:
|
|
35
|
+
throw new Error("No variant of AutomationConditionGroupDtoChildrenInner exists with 'type=".concat(json['type'], "'"));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function AutomationConditionGroupDtoChildrenInnerToJSON(json) {
|
|
39
|
+
return AutomationConditionGroupDtoChildrenInnerToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function AutomationConditionGroupDtoChildrenInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
switch (value['type']) {
|
|
47
|
+
case 'condition':
|
|
48
|
+
return Object.assign({}, (0, AutomationConditionDto_1.AutomationConditionDtoToJSON)(value), { type: 'condition' });
|
|
49
|
+
case 'group':
|
|
50
|
+
return Object.assign({}, (0, AutomationConditionGroupDto_1.AutomationConditionGroupDtoToJSON)(value), { type: 'group' });
|
|
51
|
+
default:
|
|
52
|
+
throw new Error("No variant of AutomationConditionGroupDtoChildrenInner exists with 'type=".concat(value['type'], "'"));
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { AutomationConditionGroupEvaluationDtoChildrenInner } from './AutomationConditionGroupEvaluationDtoChildrenInner';
|
|
13
|
+
import type { AutomationGroupOperatorEnum } from './AutomationGroupOperatorEnum';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AutomationConditionGroupEvaluationDto
|
|
18
|
+
*/
|
|
19
|
+
export interface AutomationConditionGroupEvaluationDto {
|
|
20
|
+
/**
|
|
21
|
+
* Marks the node as a group of conditions.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AutomationConditionGroupEvaluationDto
|
|
24
|
+
*/
|
|
25
|
+
type: AutomationConditionGroupEvaluationDtoTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
* How the conditions of the group combined.
|
|
28
|
+
* @type {AutomationGroupOperatorEnum}
|
|
29
|
+
* @memberof AutomationConditionGroupEvaluationDto
|
|
30
|
+
*/
|
|
31
|
+
operator: AutomationGroupOperatorEnum;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the group held.
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof AutomationConditionGroupEvaluationDto
|
|
36
|
+
*/
|
|
37
|
+
result: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* How each condition and nested group of the group went.
|
|
40
|
+
* @type {Array<AutomationConditionGroupEvaluationDtoChildrenInner>}
|
|
41
|
+
* @memberof AutomationConditionGroupEvaluationDto
|
|
42
|
+
*/
|
|
43
|
+
children: Array<AutomationConditionGroupEvaluationDtoChildrenInner>;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const AutomationConditionGroupEvaluationDtoTypeEnum: {
|
|
49
|
+
readonly GROUP: "group";
|
|
50
|
+
};
|
|
51
|
+
export type AutomationConditionGroupEvaluationDtoTypeEnum = typeof AutomationConditionGroupEvaluationDtoTypeEnum[keyof typeof AutomationConditionGroupEvaluationDtoTypeEnum];
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the AutomationConditionGroupEvaluationDto interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfAutomationConditionGroupEvaluationDto(value: object): value is AutomationConditionGroupEvaluationDto;
|
|
56
|
+
export declare function AutomationConditionGroupEvaluationDtoFromJSON(json: any): AutomationConditionGroupEvaluationDto;
|
|
57
|
+
export declare function AutomationConditionGroupEvaluationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationConditionGroupEvaluationDto;
|
|
58
|
+
export declare function AutomationConditionGroupEvaluationDtoToJSON(json: any): AutomationConditionGroupEvaluationDto;
|
|
59
|
+
export declare function AutomationConditionGroupEvaluationDtoToJSONTyped(value?: AutomationConditionGroupEvaluationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
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.AutomationConditionGroupEvaluationDtoTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfAutomationConditionGroupEvaluationDto = instanceOfAutomationConditionGroupEvaluationDto;
|
|
18
|
+
exports.AutomationConditionGroupEvaluationDtoFromJSON = AutomationConditionGroupEvaluationDtoFromJSON;
|
|
19
|
+
exports.AutomationConditionGroupEvaluationDtoFromJSONTyped = AutomationConditionGroupEvaluationDtoFromJSONTyped;
|
|
20
|
+
exports.AutomationConditionGroupEvaluationDtoToJSON = AutomationConditionGroupEvaluationDtoToJSON;
|
|
21
|
+
exports.AutomationConditionGroupEvaluationDtoToJSONTyped = AutomationConditionGroupEvaluationDtoToJSONTyped;
|
|
22
|
+
var AutomationConditionGroupEvaluationDtoChildrenInner_1 = require("./AutomationConditionGroupEvaluationDtoChildrenInner");
|
|
23
|
+
var AutomationGroupOperatorEnum_1 = require("./AutomationGroupOperatorEnum");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.AutomationConditionGroupEvaluationDtoTypeEnum = {
|
|
28
|
+
GROUP: 'group'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AutomationConditionGroupEvaluationDto interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfAutomationConditionGroupEvaluationDto(value) {
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('operator' in value) || value['operator'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('result' in value) || value['result'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('children' in value) || value['children'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function AutomationConditionGroupEvaluationDtoFromJSON(json) {
|
|
45
|
+
return AutomationConditionGroupEvaluationDtoFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AutomationConditionGroupEvaluationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'type': json['type'],
|
|
53
|
+
'operator': (0, AutomationGroupOperatorEnum_1.AutomationGroupOperatorEnumFromJSON)(json['operator']),
|
|
54
|
+
'result': json['result'],
|
|
55
|
+
'children': (json['children'].map(AutomationConditionGroupEvaluationDtoChildrenInner_1.AutomationConditionGroupEvaluationDtoChildrenInnerFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function AutomationConditionGroupEvaluationDtoToJSON(json) {
|
|
59
|
+
return AutomationConditionGroupEvaluationDtoToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function AutomationConditionGroupEvaluationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
62
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'type': value['type'],
|
|
68
|
+
'operator': (0, AutomationGroupOperatorEnum_1.AutomationGroupOperatorEnumToJSON)(value['operator']),
|
|
69
|
+
'result': value['result'],
|
|
70
|
+
'children': (value['children'].map(AutomationConditionGroupEvaluationDtoChildrenInner_1.AutomationConditionGroupEvaluationDtoChildrenInnerToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { AutomationConditionEvaluationDto } from './AutomationConditionEvaluationDto';
|
|
13
|
+
import type { AutomationConditionGroupEvaluationDto } from './AutomationConditionGroupEvaluationDto';
|
|
14
|
+
/**
|
|
15
|
+
* @type AutomationConditionGroupEvaluationDtoChildrenInner
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type AutomationConditionGroupEvaluationDtoChildrenInner = {
|
|
20
|
+
type: 'condition';
|
|
21
|
+
} & AutomationConditionEvaluationDto | {
|
|
22
|
+
type: 'group';
|
|
23
|
+
} & AutomationConditionGroupEvaluationDto;
|
|
24
|
+
export declare function AutomationConditionGroupEvaluationDtoChildrenInnerFromJSON(json: any): AutomationConditionGroupEvaluationDtoChildrenInner;
|
|
25
|
+
export declare function AutomationConditionGroupEvaluationDtoChildrenInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationConditionGroupEvaluationDtoChildrenInner;
|
|
26
|
+
export declare function AutomationConditionGroupEvaluationDtoChildrenInnerToJSON(json: any): any;
|
|
27
|
+
export declare function AutomationConditionGroupEvaluationDtoChildrenInnerToJSONTyped(value?: AutomationConditionGroupEvaluationDtoChildrenInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.AutomationConditionGroupEvaluationDtoChildrenInnerFromJSON = AutomationConditionGroupEvaluationDtoChildrenInnerFromJSON;
|
|
17
|
+
exports.AutomationConditionGroupEvaluationDtoChildrenInnerFromJSONTyped = AutomationConditionGroupEvaluationDtoChildrenInnerFromJSONTyped;
|
|
18
|
+
exports.AutomationConditionGroupEvaluationDtoChildrenInnerToJSON = AutomationConditionGroupEvaluationDtoChildrenInnerToJSON;
|
|
19
|
+
exports.AutomationConditionGroupEvaluationDtoChildrenInnerToJSONTyped = AutomationConditionGroupEvaluationDtoChildrenInnerToJSONTyped;
|
|
20
|
+
var AutomationConditionEvaluationDto_1 = require("./AutomationConditionEvaluationDto");
|
|
21
|
+
var AutomationConditionGroupEvaluationDto_1 = require("./AutomationConditionGroupEvaluationDto");
|
|
22
|
+
function AutomationConditionGroupEvaluationDtoChildrenInnerFromJSON(json) {
|
|
23
|
+
return AutomationConditionGroupEvaluationDtoChildrenInnerFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
function AutomationConditionGroupEvaluationDtoChildrenInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
switch (json['type']) {
|
|
30
|
+
case 'condition':
|
|
31
|
+
return Object.assign({}, (0, AutomationConditionEvaluationDto_1.AutomationConditionEvaluationDtoFromJSONTyped)(json, true), { type: 'condition' });
|
|
32
|
+
case 'group':
|
|
33
|
+
return Object.assign({}, (0, AutomationConditionGroupEvaluationDto_1.AutomationConditionGroupEvaluationDtoFromJSONTyped)(json, true), { type: 'group' });
|
|
34
|
+
default:
|
|
35
|
+
throw new Error("No variant of AutomationConditionGroupEvaluationDtoChildrenInner exists with 'type=".concat(json['type'], "'"));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function AutomationConditionGroupEvaluationDtoChildrenInnerToJSON(json) {
|
|
39
|
+
return AutomationConditionGroupEvaluationDtoChildrenInnerToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function AutomationConditionGroupEvaluationDtoChildrenInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
switch (value['type']) {
|
|
47
|
+
case 'condition':
|
|
48
|
+
return Object.assign({}, (0, AutomationConditionEvaluationDto_1.AutomationConditionEvaluationDtoToJSON)(value), { type: 'condition' });
|
|
49
|
+
case 'group':
|
|
50
|
+
return Object.assign({}, (0, AutomationConditionGroupEvaluationDto_1.AutomationConditionGroupEvaluationDtoToJSON)(value), { type: 'group' });
|
|
51
|
+
default:
|
|
52
|
+
throw new Error("No variant of AutomationConditionGroupEvaluationDtoChildrenInner exists with 'type=".concat(value['type'], "'"));
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { AutomationGroupOperatorEnum } from './AutomationGroupOperatorEnum';
|
|
13
|
+
import type { AutomationConditionGroupInputChildrenInner } from './AutomationConditionGroupInputChildrenInner';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AutomationConditionGroupInput
|
|
18
|
+
*/
|
|
19
|
+
export interface AutomationConditionGroupInput {
|
|
20
|
+
/**
|
|
21
|
+
* Marks the node as a group of conditions.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AutomationConditionGroupInput
|
|
24
|
+
*/
|
|
25
|
+
type: AutomationConditionGroupInputTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
* How the conditions of the group combine.
|
|
28
|
+
* @type {AutomationGroupOperatorEnum}
|
|
29
|
+
* @memberof AutomationConditionGroupInput
|
|
30
|
+
*/
|
|
31
|
+
operator: AutomationGroupOperatorEnum;
|
|
32
|
+
/**
|
|
33
|
+
* Conditions and nested groups of the group.
|
|
34
|
+
* @type {Array<AutomationConditionGroupInputChildrenInner>}
|
|
35
|
+
* @memberof AutomationConditionGroupInput
|
|
36
|
+
*/
|
|
37
|
+
children: Array<AutomationConditionGroupInputChildrenInner>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
export declare const AutomationConditionGroupInputTypeEnum: {
|
|
43
|
+
readonly GROUP: "group";
|
|
44
|
+
};
|
|
45
|
+
export type AutomationConditionGroupInputTypeEnum = typeof AutomationConditionGroupInputTypeEnum[keyof typeof AutomationConditionGroupInputTypeEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the AutomationConditionGroupInput interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfAutomationConditionGroupInput(value: object): value is AutomationConditionGroupInput;
|
|
50
|
+
export declare function AutomationConditionGroupInputFromJSON(json: any): AutomationConditionGroupInput;
|
|
51
|
+
export declare function AutomationConditionGroupInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationConditionGroupInput;
|
|
52
|
+
export declare function AutomationConditionGroupInputToJSON(json: any): AutomationConditionGroupInput;
|
|
53
|
+
export declare function AutomationConditionGroupInputToJSONTyped(value?: AutomationConditionGroupInput | null, ignoreDiscriminator?: boolean): any;
|