Skip to content

Commit 6790eff

Browse files
Johannes VogtWorksDev
authored andcommitted
Add model for form configurations
fixes #52
1 parent 5e832d4 commit 6790eff

File tree

5 files changed

+1147
-12
lines changed

5 files changed

+1147
-12
lines changed

contrib/ReadmeGenerator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ private function parseComment(Reflector $reflector): ?string
102102
});
103103
return implode('<br>' . PHP_EOL, $descriptionLines);
104104
}
105+
return null;
105106
}
106107

107108
private function parseParam(Reflector $reflector, string $title): string
@@ -151,6 +152,7 @@ private function getClassmap(ReadmeDocument $readmeDocument): array
151152
'Scn\EvalancheSoapStruct\Struct\Account',
152153
'Scn\EvalancheSoapStruct\Struct\Blacklist',
153154
'Scn\EvalancheSoapStruct\Struct\Container',
155+
'Scn\EvalancheSoapStruct\Struct\Form',
154156
'Scn\EvalancheSoapStruct\Struct\Generic',
155157
'Scn\EvalancheSoapStruct\Struct\Mailing',
156158
'Scn\EvalancheSoapStruct\Struct\Mandator',

docs/index.md

Lines changed: 99 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,37 @@ ContainerAttributeRoleType(
135135
string <name>
136136
)
137137
```
138+
### Form
139+
##### FormConfiguration
140+
Contains information about the configuration of a specific form<br>
141+
like campaign id, individual salutations, reply address, input fields, etc.<br>
142+
143+
```
144+
FormConfiguration(
145+
string <uniqueEntryCriteriaId>
146+
string <blockDuplicates>
147+
string <doNotResetUnsubscription>
148+
string <permissionMode>
149+
string <enablePostAddressValidation>
150+
string <successUrl>
151+
string <emailingId>
152+
string <emailingTargetgroupId>
153+
string <newsletterBccRecipientEmail>
154+
string <inquiryEmailingId>
155+
string <inquirySendOnChange>
156+
string <inquiryRecipientEmails>
157+
string <formLanguage>
158+
string <enableAutomatedEntryProtection>
159+
string <reCaptchaActivated>
160+
string <isMobileOptimized>
161+
string <isAutoSubmitForm>
162+
string <validationFormId>
163+
string <autoFormActionActivated>
164+
string <formApiState>
165+
string <formApiCorsDomains>
166+
string <externalTrackingcode>
167+
)
168+
```
138169
### Generic
139170
##### FolderInformation
140171
Standard folder of an object class<br>
@@ -196,16 +227,6 @@ JobResult(
196227
int <resultSize>
197228
)
198229
```
199-
##### Language
200-
Represents a Language in Evalanche.<br>
201-
Contains information the Language Id and json encoded Text.<br>
202-
203-
```
204-
Language(
205-
int <id>
206-
string <text>
207-
)
208-
```
209230
##### MassUpdateResult
210231
Result of a mass profile update.<br>
211232
\<updated> and \<created> are HashMaps:<br>
@@ -369,6 +390,37 @@ MailingImpression(
369390
int <timestamp>
370391
)
371392
```
393+
##### MailingSlot
394+
Represents the configuration of a slot in a mailing
395+
```
396+
MailingSlot(
397+
int <id>
398+
string <name>
399+
int <slotNumber>
400+
int <sortTypeId>
401+
int <sortTypeValue>
402+
array <items>
403+
)
404+
```
405+
##### MailingSlotConfiguration
406+
407+
```
408+
MailingSlotConfiguration(
409+
array <items>
410+
)
411+
```
412+
##### MailingSlotItem
413+
Represents the article template configuration for a certain article type in a slot
414+
```
415+
MailingSlotItem(
416+
int <articleTypeId>
417+
int <emailArticleTemplateId>
418+
int <textArticleTemplateId>
419+
int <landingpageArticleTemplateId>
420+
int <pdfArticleTemplateId>
421+
int <webArticleTemplateId>
422+
)
423+
```
372424
##### MailingStatus
373425
Contains profile data and sendout state for a specific mailing and a specific profile.<br>
374426

@@ -409,7 +461,7 @@ Represents an Evalanche Marketplace Category<br>
409461
```
410462
Category(
411463
int <id>
412-
array(LanguageInterface) <text>
464+
string <text>
413465
)
414466
```
415467
##### Product
@@ -418,8 +470,9 @@ Represents an Evalanche Marketplace Product<br>
418470
```
419471
Product(
420472
string <id>
473+
string <title>
474+
string <text>
421475
int <price>
422-
array(LanguageInterface) <text>
423476
)
424477
```
425478
### Pool
@@ -735,6 +788,23 @@ User(
735788
)
736789
```
737790
### Workflow
791+
##### WorkflowConfigVersion
792+
Represents a config version item
793+
```
794+
WorkflowConfigVersion(
795+
string <configVersion>
796+
int <createDate>
797+
bool <latest>
798+
)
799+
```
800+
##### WorkflowConfiguration
801+
Represents the result of a workflows getConfiguration call
802+
```
803+
WorkflowConfiguration(
804+
string <configVersion>
805+
string <configuration>
806+
)
807+
```
738808
##### WorkflowDetail
739809
Represents a workflow, in Evalanche called a campaign.<br>
740810
Contains information about its id, name, description, start and end times, number of profiles, and current status.<br>
@@ -752,3 +822,20 @@ WorkflowDetail(
752822
int <profileCount>
753823
)
754824
```
825+
##### WorkflowStateChangeResult
826+
Represents a state change result
827+
```
828+
WorkflowStateChangeResult(
829+
bool <stateChangeSuccessful>
830+
array <errorList>
831+
)
832+
```
833+
##### WorkflowStateChangeResultError
834+
Represents an error item which can occur in state change requests
835+
```
836+
WorkflowStateChangeResultError(
837+
string <type>
838+
string <node>
839+
string <param>
840+
)
841+
```

0 commit comments

Comments
 (0)