Skip to content

Commit eafa49f

Browse files
committed
Added SF2900 to the mix
1 parent 67af4f5 commit eafa49f

File tree

97 files changed

+10758
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+10758
-0
lines changed

bin/generate

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ $services = [
4848
],
4949
'namespace_name' => 'SF1600',
5050
],
51+
52+
// https://digitaliseringskataloget.dk/integration/sf2900
53+
'sf2900' => [
54+
'doc_url' => 'https://docs.kombit.dk/integration/sf2900/2.4/pakke',
55+
'resource_zip_glob' => 'SF2900 Teknisk Spec*.zip',
56+
'wsdl_paths' => [
57+
'' => 'wsdl/context/DistributionService.wsdl',
58+
],
59+
'namespace_name' => 'SF2900',
60+
],
5161
];
5262

5363
class ResourceHelper extends Helper {
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace ItkDev\Serviceplatformen\SF2900;
6+
7+
/**
8+
* Class which returns the class map definition
9+
*/
10+
class ClassMap
11+
{
12+
/**
13+
* Returns the mapping between the WSDL Structs and generated Structs' classes
14+
* This array is sent to the \SoapClient when calling the WS
15+
* @return string[]
16+
*/
17+
final public static function get(): array
18+
{
19+
return [
20+
'CallContextType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\CallContextType',
21+
'AuthorityContextType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\AuthorityContextType',
22+
'UUID_URN' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\UUID_URN',
23+
'UUID_URN_Tekst' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\UUID_URN_Tekst',
24+
'TransportkvitteringType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\TransportkvitteringType',
25+
'FejlListeType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FejlListeType',
26+
'FejlType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FejlType',
27+
'ForretningskvitteringType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\ForretningskvitteringType',
28+
'anmodRequestType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\AnmodRequestType',
29+
'DistributionContextType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\DistributionContextType',
30+
'RoutingValg' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\RoutingValg',
31+
'RoutingKLEInfo' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\RoutingKLEInfo',
32+
'RoutingListeType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\RoutingListeType',
33+
'RoutingType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\RoutingType',
34+
'RoutingResposneListeType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\RoutingResposneListeType',
35+
'RoutingResponseType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\RoutingResponseType',
36+
'DistributionObjectType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\DistributionObjectType',
37+
'ObjektIndholdType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\ObjektIndholdType',
38+
'DistributionDokumentType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\DistributionDokumentType',
39+
'DokumentRegistreringType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\DokumentRegistreringType',
40+
'RelationsListe' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\RelationsListe',
41+
'VariantListeType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\VariantListeType',
42+
'VariantType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\VariantType',
43+
'VariantAttributterType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\VariantAttributterType',
44+
'DelAttributterType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\DelAttributterType',
45+
'DokumentPartListeType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\DokumentPartListeType',
46+
'DokumentPartType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\DokumentPartType',
47+
'VirkningType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\VirkningType',
48+
'TilstandListeType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\TilstandListeType',
49+
'TilstandType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\TilstandType',
50+
'AttributterListeType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\AttributterListeType',
51+
'AttributterType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\AttributterType',
52+
'OffentlighedUndtagetType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\OffentlighedUndtagetType',
53+
'DistributionJournalPostType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\DistributionJournalPostType',
54+
'JournalPostRegistreringType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\JournalPostRegistreringType',
55+
'PartType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\PartType',
56+
'JournalPostRelationsListeType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\JournalPostRelationsListeType',
57+
'JournalPostType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\JournalPostType',
58+
'JournalpostEgenskaberType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\JournalpostEgenskaberType',
59+
'JournalNotatEgenskaberType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\JournalNotatEgenskaberType',
60+
'JournalPartType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\JournalPartType',
61+
'DistributionFormularType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\DistributionFormularType',
62+
'MeddelelseType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\MeddelelseType',
63+
'FormularType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FormularType',
64+
'FormularXMLType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FormularXMLType',
65+
'tilgaengeligeModtagereType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\TilgaengeligeModtagereType',
66+
'ModtagerMedEndpointType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\ModtagerMedEndpointType',
67+
'FordelingsmodtagerListRequest' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingsmodtagerListRequest',
68+
'FordelingsobjektModtagRequestType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingsobjektModtagRequestType',
69+
'FordelingsobjektModtagResponseType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingsobjektModtagResponseType',
70+
'FordelingskvitteringModtagAnvenderRequestType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingskvitteringModtagAnvenderRequestType',
71+
'FordelingskvitteringModtagAnvenderResponseType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingskvitteringModtagAnvenderResponseType',
72+
'FordelingsobjektAfsendRequestType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingsobjektAfsendRequestType',
73+
'FordelingsobjektAfsendResponseType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingsobjektAfsendResponseType',
74+
'FordelingskvitteringModtagRequestType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingskvitteringModtagRequestType',
75+
'FordelingskvitteringModtagResponseType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingskvitteringModtagResponseType',
76+
'FordelingsmodtagerListRequestType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingsmodtagerListRequestType',
77+
'FordelingsmodtagerListResponseType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingsmodtagerListResponseType',
78+
'FordelingsmodtagerValiderRequestType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingsmodtagerValiderRequestType',
79+
'FordelingsmodtagerValiderResponseType' => '\\ItkDev\\Serviceplatformen\\SF2900\\StructType\\FordelingsmodtagerValiderResponseType',
80+
];
81+
}
82+
}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace ItkDev\Serviceplatformen\SF2900\EnumType;
6+
7+
use WsdlToPhp\PackageBase\AbstractStructEnumBase;
8+
9+
/**
10+
* This class stands for AktoerTypeType EnumType
11+
* @subpackage Enumerations
12+
*/
13+
class AktoerTypeType extends AbstractStructEnumBase
14+
{
15+
/**
16+
* Constant for value 'Organisation'
17+
* @return string 'Organisation'
18+
*/
19+
const VALUE_ORGANISATION = 'Organisation';
20+
/**
21+
* Constant for value 'OrganisationEnhed'
22+
* @return string 'OrganisationEnhed'
23+
*/
24+
const VALUE_ORGANISATION_ENHED = 'OrganisationEnhed';
25+
/**
26+
* Constant for value 'OrganisationFunktion'
27+
* @return string 'OrganisationFunktion'
28+
*/
29+
const VALUE_ORGANISATION_FUNKTION = 'OrganisationFunktion';
30+
/**
31+
* Constant for value 'Bruger'
32+
* @return string 'Bruger'
33+
*/
34+
const VALUE_BRUGER = 'Bruger';
35+
/**
36+
* Constant for value 'ItSystem'
37+
* @return string 'ItSystem'
38+
*/
39+
const VALUE_IT_SYSTEM = 'ItSystem';
40+
/**
41+
* Constant for value 'Interessefaellesskab'
42+
* @return string 'Interessefaellesskab'
43+
*/
44+
const VALUE_INTERESSEFAELLESSKAB = 'Interessefaellesskab';
45+
/**
46+
* Return allowed values
47+
* @uses self::VALUE_ORGANISATION
48+
* @uses self::VALUE_ORGANISATION_ENHED
49+
* @uses self::VALUE_ORGANISATION_FUNKTION
50+
* @uses self::VALUE_BRUGER
51+
* @uses self::VALUE_IT_SYSTEM
52+
* @uses self::VALUE_INTERESSEFAELLESSKAB
53+
* @return string[]
54+
*/
55+
public static function getValidValues(): array
56+
{
57+
return [
58+
self::VALUE_ORGANISATION,
59+
self::VALUE_ORGANISATION_ENHED,
60+
self::VALUE_ORGANISATION_FUNKTION,
61+
self::VALUE_BRUGER,
62+
self::VALUE_IT_SYSTEM,
63+
self::VALUE_INTERESSEFAELLESSKAB,
64+
];
65+
}
66+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace ItkDev\Serviceplatformen\SF2900\EnumType;
6+
7+
use WsdlToPhp\PackageBase\AbstractStructEnumBase;
8+
9+
/**
10+
* This class stands for DokumentPartRolleType EnumType
11+
* @subpackage Enumerations
12+
*/
13+
class DokumentPartRolleType extends AbstractStructEnumBase
14+
{
15+
/**
16+
* Constant for value 'PrimaerPart'
17+
* @return string 'PrimaerPart'
18+
*/
19+
const VALUE_PRIMAER_PART = 'PrimaerPart';
20+
/**
21+
* Constant for value 'SekundaerPart'
22+
* @return string 'SekundaerPart'
23+
*/
24+
const VALUE_SEKUNDAER_PART = 'SekundaerPart';
25+
/**
26+
* Constant for value 'KopiModtager'
27+
* @return string 'KopiModtager'
28+
*/
29+
const VALUE_KOPI_MODTAGER = 'KopiModtager';
30+
/**
31+
* Return allowed values
32+
* @uses self::VALUE_PRIMAER_PART
33+
* @uses self::VALUE_SEKUNDAER_PART
34+
* @uses self::VALUE_KOPI_MODTAGER
35+
* @return string[]
36+
*/
37+
public static function getValidValues(): array
38+
{
39+
return [
40+
self::VALUE_PRIMAER_PART,
41+
self::VALUE_SEKUNDAER_PART,
42+
self::VALUE_KOPI_MODTAGER,
43+
];
44+
}
45+
}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace ItkDev\Serviceplatformen\SF2900\EnumType;
6+
7+
use WsdlToPhp\PackageBase\AbstractStructEnumBase;
8+
9+
/**
10+
* This class stands for DokumenttypeType EnumType
11+
* @subpackage Enumerations
12+
*/
13+
class DokumenttypeType extends AbstractStructEnumBase
14+
{
15+
/**
16+
* Constant for value 'Faktura'
17+
* @return string 'Faktura'
18+
*/
19+
const VALUE_FAKTURA = 'Faktura';
20+
/**
21+
* Constant for value 'Brev'
22+
* @return string 'Brev'
23+
*/
24+
const VALUE_BREV = 'Brev';
25+
/**
26+
* Constant for value 'Notat'
27+
* @return string 'Notat'
28+
*/
29+
const VALUE_NOTAT = 'Notat';
30+
/**
31+
* Constant for value 'Rapport'
32+
* @return string 'Rapport'
33+
*/
34+
const VALUE_RAPPORT = 'Rapport';
35+
/**
36+
* Constant for value 'Dagsorden'
37+
* @return string 'Dagsorden'
38+
*/
39+
const VALUE_DAGSORDEN = 'Dagsorden';
40+
/**
41+
* Constant for value 'Refereat'
42+
* @return string 'Refereat'
43+
*/
44+
const VALUE_REFEREAT = 'Refereat';
45+
/**
46+
* Constant for value 'eMail'
47+
* @return string 'eMail'
48+
*/
49+
const VALUE_E_MAIL = 'eMail';
50+
/**
51+
* Constant for value 'Anden'
52+
* @return string 'Anden'
53+
*/
54+
const VALUE_ANDEN = 'Anden';
55+
/**
56+
* Return allowed values
57+
* @uses self::VALUE_FAKTURA
58+
* @uses self::VALUE_BREV
59+
* @uses self::VALUE_NOTAT
60+
* @uses self::VALUE_RAPPORT
61+
* @uses self::VALUE_DAGSORDEN
62+
* @uses self::VALUE_REFEREAT
63+
* @uses self::VALUE_E_MAIL
64+
* @uses self::VALUE_ANDEN
65+
* @return string[]
66+
*/
67+
public static function getValidValues(): array
68+
{
69+
return [
70+
self::VALUE_FAKTURA,
71+
self::VALUE_BREV,
72+
self::VALUE_NOTAT,
73+
self::VALUE_RAPPORT,
74+
self::VALUE_DAGSORDEN,
75+
self::VALUE_REFEREAT,
76+
self::VALUE_E_MAIL,
77+
self::VALUE_ANDEN,
78+
];
79+
}
80+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace ItkDev\Serviceplatformen\SF2900\EnumType;
6+
7+
use WsdlToPhp\PackageBase\AbstractStructEnumBase;
8+
9+
/**
10+
* This class stands for ForretningsValideringsKodeType EnumType
11+
* @subpackage Enumerations
12+
*/
13+
class ForretningsValideringsKodeType extends AbstractStructEnumBase
14+
{
15+
/**
16+
* Constant for value 'MODTAGET'
17+
* @return string 'MODTAGET'
18+
*/
19+
const VALUE_MODTAGET = 'MODTAGET';
20+
/**
21+
* Constant for value 'AFLEVERET'
22+
* @return string 'AFLEVERET'
23+
*/
24+
const VALUE_AFLEVERET = 'AFLEVERET';
25+
/**
26+
* Constant for value 'ACCEPTERET'
27+
* @return string 'ACCEPTERET'
28+
*/
29+
const VALUE_ACCEPTERET = 'ACCEPTERET';
30+
/**
31+
* Constant for value 'AFVIST'
32+
* @return string 'AFVIST'
33+
*/
34+
const VALUE_AFVIST = 'AFVIST';
35+
/**
36+
* Constant for value 'FEJLET'
37+
* @return string 'FEJLET'
38+
*/
39+
const VALUE_FEJLET = 'FEJLET';
40+
/**
41+
* Return allowed values
42+
* @uses self::VALUE_MODTAGET
43+
* @uses self::VALUE_AFLEVERET
44+
* @uses self::VALUE_ACCEPTERET
45+
* @uses self::VALUE_AFVIST
46+
* @uses self::VALUE_FEJLET
47+
* @return string[]
48+
*/
49+
public static function getValidValues(): array
50+
{
51+
return [
52+
self::VALUE_MODTAGET,
53+
self::VALUE_AFLEVERET,
54+
self::VALUE_ACCEPTERET,
55+
self::VALUE_AFVIST,
56+
self::VALUE_FEJLET,
57+
];
58+
}
59+
}

0 commit comments

Comments
 (0)