n8n-nodes-academyfive-api-beta 0.0.1-beta

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.
Files changed (120) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +9 -0
  3. package/dist/credentials/AcademyFiveCredentialsApi.credentials.d.ts +10 -0
  4. package/dist/credentials/AcademyFiveCredentialsApi.credentials.js +53 -0
  5. package/dist/credentials/AcademyFiveCredentialsApi.credentials.js.map +1 -0
  6. package/dist/credentials/simovative.svg +5 -0
  7. package/dist/nodes/AcademyFive/AcademyFive.node.d.ts +10 -0
  8. package/dist/nodes/AcademyFive/AcademyFive.node.js +184 -0
  9. package/dist/nodes/AcademyFive/AcademyFive.node.js.map +1 -0
  10. package/dist/nodes/AcademyFive/AcademyFive.node.json +6 -0
  11. package/dist/nodes/AcademyFive/MapToRequestUtils.d.ts +24 -0
  12. package/dist/nodes/AcademyFive/MapToRequestUtils.js +245 -0
  13. package/dist/nodes/AcademyFive/MapToRequestUtils.js.map +1 -0
  14. package/dist/nodes/AcademyFive/NodeConfigUtils.d.ts +5 -0
  15. package/dist/nodes/AcademyFive/NodeConfigUtils.js +50 -0
  16. package/dist/nodes/AcademyFive/NodeConfigUtils.js.map +1 -0
  17. package/dist/nodes/AcademyFive/SchemaResolver.d.ts +12 -0
  18. package/dist/nodes/AcademyFive/SchemaResolver.js +205 -0
  19. package/dist/nodes/AcademyFive/SchemaResolver.js.map +1 -0
  20. package/dist/nodes/AcademyFive/SpecGeneratorUtils.d.ts +11 -0
  21. package/dist/nodes/AcademyFive/SpecGeneratorUtils.js +106 -0
  22. package/dist/nodes/AcademyFive/SpecGeneratorUtils.js.map +1 -0
  23. package/dist/nodes/AcademyFive/SpecMapper.d.ts +61 -0
  24. package/dist/nodes/AcademyFive/SpecMapper.js +385 -0
  25. package/dist/nodes/AcademyFive/SpecMapper.js.map +1 -0
  26. package/dist/nodes/AcademyFive/simovative.svg +5 -0
  27. package/dist/nodes/AcademyFive/types.d.ts +34 -0
  28. package/dist/nodes/AcademyFive/types.js +19 -0
  29. package/dist/nodes/AcademyFive/types.js.map +1 -0
  30. package/dist/package.json +66 -0
  31. package/dist/specs/ac5.json +1 -0
  32. package/dist/specs/schemas/src/Api/AccessGroups/Schema/AccessGroupsGetPaginatedSchema.json +94 -0
  33. package/dist/specs/schemas/src/Api/AccessGroups/Schema/AccessGroupsGetSchema.json +66 -0
  34. package/dist/specs/schemas/src/Api/Bookings/Handler/BookingsPatchSchema.json +150 -0
  35. package/dist/specs/schemas/src/Api/Bookings/StatisticAustria/Handler/BookingStatisticAustriaPatchSchema.json +111 -0
  36. package/dist/specs/schemas/src/Api/Bookings/StatisticAustria/Handler/BookingStatisticAustriaPostSchema.json +113 -0
  37. package/dist/specs/schemas/src/Api/Cohorts/Schema/CohortsGetPaginatedSchema.json +83 -0
  38. package/dist/specs/schemas/src/Api/Colors/Schema/ColorsListGetSchema.json +50 -0
  39. package/dist/specs/schemas/src/Api/Common/Model/Validation/ValidationErrorSchema.json +29 -0
  40. package/dist/specs/schemas/src/Api/Company/Handler/CompanyPostSchema.json +77 -0
  41. package/dist/specs/schemas/src/Api/Company/Handler/CompanyPutSchema.json +84 -0
  42. package/dist/specs/schemas/src/Api/CourseSeriesLecturer/Handler/CourseSeriesLecturerPostSchema.json +113 -0
  43. package/dist/specs/schemas/src/Api/CourseTicket/Handler/CourseTicketsPostV2Schema.json +162 -0
  44. package/dist/specs/schemas/src/Api/DataSourceAreas/Handler/DataSourceAreasPatchSchema.json +84 -0
  45. package/dist/specs/schemas/src/Api/DataSourceAreas/Handler/DataSourceAreasPostSchema.json +151 -0
  46. package/dist/specs/schemas/src/Api/DataSourceFieldOptionGroupRestrictions/Handler/DataSourceFieldOptionGroupRestrictionsPatchSchema.json +107 -0
  47. package/dist/specs/schemas/src/Api/DataSourceFieldOptionGroupRestrictions/Handler/DataSourceFieldOptionGroupRestrictionsPostSchema.json +107 -0
  48. package/dist/specs/schemas/src/Api/DataSourceFieldOptionGroups/Handler/DataSourceFieldOptionGroupsPatchSchema.json +88 -0
  49. package/dist/specs/schemas/src/Api/DataSourceFieldOptionGroups/Handler/DataSourceFieldOptionGroupsPostSchema.json +89 -0
  50. package/dist/specs/schemas/src/Api/DataSourceFieldOptionValues/Handler/DataSourceFieldOptionValuesPatchSchema.json +54 -0
  51. package/dist/specs/schemas/src/Api/DataSourceFieldOptionValues/Handler/DataSourceFieldOptionValuesPostSchema.json +87 -0
  52. package/dist/specs/schemas/src/Api/DataSourceFields/Handler/DataSourceFieldsPatchSchema.json +242 -0
  53. package/dist/specs/schemas/src/Api/DataSourceFields/Handler/DataSourceFieldsPostSchema.json +357 -0
  54. package/dist/specs/schemas/src/Api/DataSourceRecords/Handler/DataSourceRecordsDeleteSchema.json +16 -0
  55. package/dist/specs/schemas/src/Api/DataSourceRecords/Handler/DataSourceRecordsPutBulkSchema.json +42 -0
  56. package/dist/specs/schemas/src/Api/DataSourceTabs/Handler/DataSourceTabsPostSchema.json +85 -0
  57. package/dist/specs/schemas/src/Api/DataSources/Handler/DataSourcesPostSchema.json +61 -0
  58. package/dist/specs/schemas/src/Api/Documents/Handler/DocumentsPostSchema.json +61 -0
  59. package/dist/specs/schemas/src/Api/EventSeries/Handler/EventDatePatchSchema.json +159 -0
  60. package/dist/specs/schemas/src/Api/EventSeries/Handler/EventDatePostSchema.json +335 -0
  61. package/dist/specs/schemas/src/Api/EventSeries/Handler/EventSeriesCustomPatchSchema.json +837 -0
  62. package/dist/specs/schemas/src/Api/EventSeries/Handler/EventSeriesCustomPostSchema.json +288 -0
  63. package/dist/specs/schemas/src/Api/EventSeries/Handler/EventSeriesPostSchema.json +514 -0
  64. package/dist/specs/schemas/src/Api/GkvPendingMessages/Handler/GkvPendingMessagesPatchBulkSchema.json +64 -0
  65. package/dist/specs/schemas/src/Api/GkvPendingMessages/Handler/GkvPendingMessagesPatchSchema.json +120 -0
  66. package/dist/specs/schemas/src/Api/GkvPendingMessages/Handler/GkvPendingMessagesPostSchema.json +117 -0
  67. package/dist/specs/schemas/src/Api/GkvPendingMessages/Handler/GkvPendingMessagesSelectProfileSchema.json +47 -0
  68. package/dist/specs/schemas/src/Api/GlobalFileSyncs/Handler/GlobalFileSyncsPatchSchema.json +63 -0
  69. package/dist/specs/schemas/src/Api/GradeAnnotation/Handler/GradeAnnotationPostSchema.json +98 -0
  70. package/dist/specs/schemas/src/Api/GradeAnnotation/Handler/GradeAnnotationPutSchema.json +105 -0
  71. package/dist/specs/schemas/src/Api/Grades/GradeAnnotationRelations/Handler/GradeAnnotationRelationsPostSchema.json +102 -0
  72. package/dist/specs/schemas/src/Api/Grades/ModuleGradeRecalculation/Schema/ModuleGradeRecalculationJobsGetSchema.json +89 -0
  73. package/dist/specs/schemas/src/Api/Grades/ModuleGradeRecalculation/Schema/ModuleGradeRecalculationJobsPostSchema.json +54 -0
  74. package/dist/specs/schemas/src/Api/Grades/Schema/GradesAttributeSchema.json +400 -0
  75. package/dist/specs/schemas/src/Api/Grades/Schema/GradesGetSchema.json +108 -0
  76. package/dist/specs/schemas/src/Api/Grades/Schema/GradesPatchSchema.json +112 -0
  77. package/dist/specs/schemas/src/Api/Grades/Schema/GradesPostSchema.json +950 -0
  78. package/dist/specs/schemas/src/Api/Grades/Schema/GradesRelationshipSchema.json +547 -0
  79. package/dist/specs/schemas/src/Api/HealthInsuranceInstitutes/Handler/HealthInsuranceInstitutesPatchSchema.json +71 -0
  80. package/dist/specs/schemas/src/Api/HealthInsuranceInstitutes/Handler/HealthInsuranceInstitutesPostSchema.json +73 -0
  81. package/dist/specs/schemas/src/Api/HealthInsuranceProfile/Handler/HealthInsuranceProfilePatchSchema.json +83 -0
  82. package/dist/specs/schemas/src/Api/HealthInsuranceProfile/Handler/HealthInsuranceProfilePostSchema.json +38 -0
  83. package/dist/specs/schemas/src/Api/HealthInsuranceProfileCommunicationLog/Handler/HealthInsuranceProfileCommunicationLogPatchSchema.json +101 -0
  84. package/dist/specs/schemas/src/Api/HealthInsuranceProfileCommunicationLog/Handler/HealthInsuranceProfileCommunicationLogPostSchema.json +99 -0
  85. package/dist/specs/schemas/src/Api/Icons/Schema/IconsListGetSchema.json +50 -0
  86. package/dist/specs/schemas/src/Api/InvoiceCollections/Handler/InvoiceCollectionsFromInstallmentsPostSchema.json +49 -0
  87. package/dist/specs/schemas/src/Api/InvoiceQueueEntries/Handler/InvoiceQueueEntriesPostSchema.json +49 -0
  88. package/dist/specs/schemas/src/Api/Invoices/Handler/InvoicesPostSchema.json +182 -0
  89. package/dist/specs/schemas/src/Api/Invoices/Handler/InvoicesStatusChangePostSchema.json +55 -0
  90. package/dist/specs/schemas/src/Api/LecturerContractEmploymentAvailabilities/Handler/LecturerContractEmploymentAvailabilitiesPatchSchema.json +87 -0
  91. package/dist/specs/schemas/src/Api/LecturerContractEmploymentAvailabilities/Handler/LecturerContractEmploymentAvailabilitiesPostSchema.json +84 -0
  92. package/dist/specs/schemas/src/Api/LecturerContractEmployments/Handler/LecturerContractEmploymentsPatchSchema.json +103 -0
  93. package/dist/specs/schemas/src/Api/LecturerContractEmployments/Handler/LecturerContractEmploymentsPostSchema.json +153 -0
  94. package/dist/specs/schemas/src/Api/LecturerContracts/Handler/LecturerContractsPatchSchema.json +154 -0
  95. package/dist/specs/schemas/src/Api/LecturerContracts/Handler/LecturerContractsPostSchema.json +215 -0
  96. package/dist/specs/schemas/src/Api/OnlineExamEnrolments/Handler/OnlineExamEnrolmentsPostSchema.json +180 -0
  97. package/dist/specs/schemas/src/Api/Payment/Command/PaymentAddCommandSchema.json +51 -0
  98. package/dist/specs/schemas/src/Api/ProfessionalBackground/Handler/ProfessionalBackgroundPostSchema.json +104 -0
  99. package/dist/specs/schemas/src/Api/ProfessionalBackground/Handler/ProfessionalBackgroundPutSchema.json +113 -0
  100. package/dist/specs/schemas/src/Api/ProfileBankDetails/Handler/ProfileBankDetailsPatchSchema.json +56 -0
  101. package/dist/specs/schemas/src/Api/ProfileBankDetails/Handler/ProfileBankDetailsPostSchema.json +56 -0
  102. package/dist/specs/schemas/src/Api/Profiles/Handler/ProfilesPatchSchema.json +45 -0
  103. package/dist/specs/schemas/src/Api/Profiles/Schema/ProfilesGetSchema.json +0 -0
  104. package/dist/specs/schemas/src/Api/RequestFormProfileComments/Schema/RequestFormProfileCommentsPostSchema.json +98 -0
  105. package/dist/specs/schemas/src/Api/RequestFormProfiles/Schema/RequestFromProfilesPatchSchema.json +45 -0
  106. package/dist/specs/schemas/src/Api/RevenueAccounts/Handler/RevenueAccountsPatchSchema.json +151 -0
  107. package/dist/specs/schemas/src/Api/RevenueAccounts/Handler/RevenueAccountsPostSchema.json +151 -0
  108. package/dist/specs/schemas/src/Api/StatisticAustria/Handler/StatisticAustriaPatchSchema.json +115 -0
  109. package/dist/specs/schemas/src/Api/StatisticAustria/Handler/StatisticAustriaPostSchema.json +115 -0
  110. package/dist/specs/schemas/src/Api/StatisticValidations/Handler/StatisticValidationsPostSchema.json +37 -0
  111. package/dist/specs/schemas/src/Api/Submissions/StatusChange/Handler/SubmissionsStatusChangePostSchema.json +42 -0
  112. package/dist/specs/schemas/src/Api/TaskTypes/Schema/TaskTypesGetSchema.json +213 -0
  113. package/dist/specs/schemas/src/Api/TaskTypes/Schema/TaskTypesPatchSchema.json +195 -0
  114. package/dist/specs/schemas/src/Api/TaskTypes/Schema/TaskTypesPostSchema.json +208 -0
  115. package/dist/specs/schemas/src/Api/TranslationPlaceholders/Schema/TranslationPlaceholdersGetSchema.json +57 -0
  116. package/dist/specs/schemas/src/Api/ZensusSettings/Handler/ZensusSettingsPatchSchema.json +176 -0
  117. package/dist/specs/schemas/src/Api/ZensusSettings/Handler/ZensusSettingsPostSchema.json +170 -0
  118. package/dist/tsconfig.tsbuildinfo +1 -0
  119. package/index.js +0 -0
  120. package/package.json +66 -0
@@ -0,0 +1,83 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "HealthInsuranceProfile",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "health-insurance-profiles",
12
+ "examples": [
13
+ "health-insurance-profiles"
14
+ ]
15
+ },
16
+ "attributes": {
17
+ "$ref": "#/definitions/healthInsuranceProfiles"
18
+ }
19
+ }
20
+ }
21
+ },
22
+ "definitions": {
23
+ "healthInsuranceProfiles": {
24
+ "properties": {
25
+ "profileId": {
26
+ "type": "integer",
27
+ "description": "Profile Id of the Student",
28
+ "examples": [
29
+ 1,
30
+ 2,
31
+ 3
32
+ ]
33
+ },
34
+ "instituteIdentification": {
35
+ "type": "string",
36
+ "description": "Identification Key of the health insurance institute",
37
+ "examples": [
38
+ "15517482",
39
+ "15027365"
40
+ ]
41
+ },
42
+ "healthInsuranceNumber": {
43
+ "type": "string",
44
+ "description": "Health insurance number of the student",
45
+ "examples": [
46
+ "A123456789",
47
+ "B987654321"
48
+ ]
49
+ },
50
+ "attestation": {
51
+ "type": "string",
52
+ "enum": [
53
+ "attestation_needed",
54
+ "attestation_not_needed",
55
+ "attestation_exempt"
56
+ ],
57
+ "description": "Describes if some sort of attestation is needed",
58
+ "examples": [
59
+ "attestation_needed"
60
+ ]
61
+ },
62
+ "status": {
63
+ "type": "string",
64
+ "enum": [
65
+ "not_set",
66
+ "status_insurance_active",
67
+ "status_insurance_inactive"
68
+ ],
69
+ "description": "Status of the health insurance",
70
+ "examples": [
71
+ "status_insurance_active"
72
+ ]
73
+ }
74
+ },
75
+ "required": [
76
+ "profileId"
77
+ ]
78
+ }
79
+ },
80
+ "required": [
81
+ "data"
82
+ ]
83
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "HealthInsuranceProfile",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "health-insurance-profiles",
12
+ "examples": [
13
+ "health-insurance-profiles"
14
+ ]
15
+ },
16
+ "attributes": {
17
+ "$ref": "#/definitions/healthInsuranceProfilesPost"
18
+ }
19
+ }
20
+ }
21
+ },
22
+ "definitions": {
23
+ "healthInsuranceProfilesPost": {
24
+ "allOf": [
25
+ {
26
+ "$ref": "HealthInsuranceProfilePatchSchema.json#/definitions/healthInsuranceProfiles"
27
+ }
28
+ ],
29
+ "required": [
30
+ "profileId",
31
+ "instituteIdentification"
32
+ ]
33
+ }
34
+ },
35
+ "required": [
36
+ "data"
37
+ ]
38
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "HealthInsuranceProfileCommunicationLog",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "healthInsuranceProfileCommunicationLog",
12
+ "examples": [
13
+ "healthInsuranceProfileCommunicationLog"
14
+ ]
15
+ },
16
+ "attributes": {
17
+ "type": "object",
18
+ "properties": {
19
+ "id": {
20
+ "type": "integer"
21
+ },
22
+ "date": {
23
+ "type": "string",
24
+ "format": "date"
25
+ },
26
+ "status": {
27
+ "type": "integer",
28
+ "enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 60, 61]
29
+ },
30
+ "profileId": {
31
+ "oneOf": [
32
+ {
33
+ "type": "integer"
34
+ },
35
+ {
36
+ "type": "null"
37
+ }
38
+ ]
39
+ },
40
+ "comment": {
41
+ "oneOf": [
42
+ {
43
+ "type": "string"
44
+ },
45
+ {
46
+ "type": "null"
47
+ }
48
+ ]
49
+ },
50
+ "requestId": {
51
+ "oneOf": [
52
+ {
53
+ "type": "string"
54
+ },
55
+ {
56
+ "type": "null"
57
+ }
58
+ ]
59
+ },
60
+ "responseId": {
61
+ "oneOf": [
62
+ {
63
+ "type": "string"
64
+ },
65
+ {
66
+ "type": "null"
67
+ }
68
+ ]
69
+ },
70
+ "messageContent": {
71
+ "oneOf": [
72
+ {
73
+ "type": "string"
74
+ },
75
+ {
76
+ "type": "null"
77
+ }
78
+ ]
79
+ },
80
+ "cancelledById": {
81
+ "oneOf": [
82
+ {
83
+ "type": "integer"
84
+ },
85
+ {
86
+ "type": "null"
87
+ }
88
+ ]
89
+ }
90
+ },
91
+ "required": [
92
+ "id"
93
+ ]
94
+ }
95
+ }
96
+ }
97
+ },
98
+ "required": [
99
+ "data"
100
+ ]
101
+ }
@@ -0,0 +1,99 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "HealthInsuranceProfileCommunicationLog",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "healthInsuranceProfileCommunicationLog",
12
+ "examples": [
13
+ "healthInsuranceProfileCommunicationLog"
14
+ ]
15
+ },
16
+ "attributes": {
17
+ "type": "object",
18
+ "properties": {
19
+ "date": {
20
+ "type": "string",
21
+ "format": "date"
22
+ },
23
+ "status": {
24
+ "type": "integer",
25
+ "enum": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 60, 61]
26
+ },
27
+ "profileId": {
28
+ "oneOf": [
29
+ {
30
+ "type": "integer"
31
+ },
32
+ {
33
+ "type": "null"
34
+ }
35
+ ]
36
+ },
37
+ "comment": {
38
+ "oneOf": [
39
+ {
40
+ "type": "string"
41
+ },
42
+ {
43
+ "type": "null"
44
+ }
45
+ ]
46
+ },
47
+ "requestId": {
48
+ "oneOf": [
49
+ {
50
+ "type": "string"
51
+ },
52
+ {
53
+ "type": "null"
54
+ }
55
+ ]
56
+ },
57
+ "responseId": {
58
+ "oneOf": [
59
+ {
60
+ "type": "string"
61
+ },
62
+ {
63
+ "type": "null"
64
+ }
65
+ ]
66
+ },
67
+ "messageContent": {
68
+ "oneOf": [
69
+ {
70
+ "type": "string"
71
+ },
72
+ {
73
+ "type": "null"
74
+ }
75
+ ]
76
+ },
77
+ "cancelledById": {
78
+ "oneOf": [
79
+ {
80
+ "type": "integer"
81
+ },
82
+ {
83
+ "type": "null"
84
+ }
85
+ ]
86
+ }
87
+ },
88
+ "required": [
89
+ "date",
90
+ "status"
91
+ ]
92
+ }
93
+ }
94
+ }
95
+ },
96
+ "required": [
97
+ "data"
98
+ ]
99
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "Icons",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "array",
8
+ "items": {
9
+ "type": "object",
10
+ "properties": {
11
+ "type": {
12
+ "type": "string",
13
+ "const": "icons",
14
+ "examples": [
15
+ "icons"
16
+ ]
17
+ },
18
+ "id": {
19
+ "type": "string",
20
+ "maxLength": 26,
21
+ "minLength": 26,
22
+ "example": "01JSHHCHEE7YV2JPJGWCZPZ7R6"
23
+ },
24
+ "attributes": {
25
+ "type": "object",
26
+ "properties": {
27
+ "cssClass": {
28
+ "type": "string",
29
+ "minLength": 1,
30
+ "maxLength": 255,
31
+ "example": "fa-regular fa-gear"
32
+ }
33
+ },
34
+ "required": [
35
+ "cssClass"
36
+ ]
37
+ }
38
+ },
39
+ "required": [
40
+ "type",
41
+ "id",
42
+ "attributes"
43
+ ]
44
+ }
45
+ }
46
+ },
47
+ "required": [
48
+ "data"
49
+ ]
50
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "InvoiceCollection",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "invoiceCollections",
12
+ "examples": [
13
+ "invoiceCollections"
14
+ ]
15
+ },
16
+ "attributes": {
17
+ "type": "object",
18
+ "properties": {
19
+ "documentId": {
20
+ "type": "integer",
21
+ "example": 4
22
+ },
23
+ "invoiceDate": {
24
+ "type": "string",
25
+ "format": "date",
26
+ "example": "2022-11-08"
27
+ },
28
+ "comment": {
29
+ "type": "string",
30
+ "example": "I am a comment"
31
+ },
32
+ "dueDate": {
33
+ "type": "string",
34
+ "format": "date",
35
+ "example": "2022-11-08"
36
+ }
37
+ },
38
+ "required": [
39
+ "documentId",
40
+ "invoiceDate"
41
+ ]
42
+ }
43
+ }
44
+ }
45
+ },
46
+ "required": [
47
+ "data"
48
+ ]
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "InvoiceQueueEntry",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "invoice-queue-entries",
12
+ "examples": [
13
+ "invoice-queue-entries"
14
+ ]
15
+ },
16
+ "attributes": {
17
+ "type": "object",
18
+ "properties": {
19
+ "bookingId": {
20
+ "type": "integer",
21
+ "example": 187
22
+ },
23
+ "paymentModelId": {
24
+ "type": "integer",
25
+ "example": 69
26
+ },
27
+ "documentId": {
28
+ "type": "integer",
29
+ "example": 161
30
+ },
31
+ "sendMail": {
32
+ "type": "boolean",
33
+ "example": false
34
+ }
35
+ },
36
+ "required": [
37
+ "bookingId",
38
+ "paymentModelId",
39
+ "documentId",
40
+ "sendMail"
41
+ ]
42
+ }
43
+ }
44
+ }
45
+ },
46
+ "required": [
47
+ "data"
48
+ ]
49
+ }
@@ -0,0 +1,182 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "Invoice",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "invoices",
12
+ "examples": [
13
+ "invoices"
14
+ ]
15
+ },
16
+ "attributes": {
17
+ "type": "object",
18
+ "properties": {
19
+ "addressId": {
20
+ "type": "integer",
21
+ "example": 4
22
+ },
23
+ "bankAccountId": {
24
+ "type": "integer",
25
+ "example": 1
26
+ },
27
+ "currencyCode": {
28
+ "type": "string",
29
+ "example": "EUR"
30
+ },
31
+ "documentId": {
32
+ "type": "integer",
33
+ "example": 4
34
+ },
35
+ "invoiceDate": {
36
+ "type": "string",
37
+ "format": "date",
38
+ "example": "2022-11-08"
39
+ },
40
+ "invoicePositions": {
41
+ "type": "array",
42
+ "items": {
43
+ "type": "object",
44
+ "properties": {
45
+ "positionPrice": {
46
+ "type": "number",
47
+ "minimum": 1,
48
+ "example": 100.2
49
+ },
50
+ "positionQuantity": {
51
+ "type": "integer",
52
+ "minimum": 1,
53
+ "example": 1
54
+ },
55
+ "positionTaxId": {
56
+ "type": "integer",
57
+ "example": 1
58
+ },
59
+ "positionComment": {
60
+ "type": "string",
61
+ "examples": [
62
+ "First invoice position"
63
+ ]
64
+ },
65
+ "positionProfitCenterId": {
66
+ "type": "integer",
67
+ "example": 1
68
+ },
69
+ "positionRevenueAccountId": {
70
+ "type": "integer",
71
+ "example": 1
72
+ }
73
+ },
74
+ "required": [
75
+ "positionQuantity",
76
+ "positionPrice",
77
+ "positionTaxId"
78
+ ]
79
+ }
80
+ },
81
+ "siteId": {
82
+ "type": "integer",
83
+ "example": 1
84
+ },
85
+ "comment": {
86
+ "type": "string",
87
+ "example": "I am a comment"
88
+ },
89
+ "confirmationOfPaymentDocumentId": {
90
+ "type": "integer",
91
+ "example": 1
92
+ },
93
+ "dueDate": {
94
+ "type": "string",
95
+ "format": "date",
96
+ "example": "2022-11-08"
97
+ },
98
+ "isPaymentPlan": {
99
+ "type": "boolean",
100
+ "example": false
101
+ },
102
+ "paymentPlanCount": {
103
+ "type": "integer",
104
+ "example": 5,
105
+ "min": 1
106
+ },
107
+ "paymentPlanDueDate": {
108
+ "type": "string",
109
+ "format": "date",
110
+ "example": "2022-11-08",
111
+ "description": "30 days if left empty"
112
+ },
113
+ "profitCenterId": {
114
+ "type": "integer",
115
+ "example": 4
116
+ },
117
+ "showRecipient": {
118
+ "type": "boolean",
119
+ "example": true
120
+ }
121
+ },
122
+ "required": [
123
+ "addressId",
124
+ "bankAccountId",
125
+ "currencyCode",
126
+ "documentId",
127
+ "invoiceDate",
128
+ "invoicePositions",
129
+ "siteId"
130
+ ],
131
+ "oneOf": [
132
+ {
133
+ "properties": {
134
+ "profileId": {
135
+ "type": "integer",
136
+ "example": 2
137
+ },
138
+ "bookingId": {
139
+ "type": "integer",
140
+ "example": 2
141
+ },
142
+ "isTriggerMatriculation": {
143
+ "type": "boolean",
144
+ "example": false
145
+ },
146
+ "isTriggerReRegistration": {
147
+ "type": "boolean",
148
+ "example": true
149
+ },
150
+ "matriculationDateType": {
151
+ "type": "integer",
152
+ "description": "1: Start date of cohort, 2: Start date of semester"
153
+ },
154
+ "semesterId": {
155
+ "type": "integer",
156
+ "example": 1
157
+ }
158
+ },
159
+ "required": [
160
+ "profileId"
161
+ ]
162
+ },
163
+ {
164
+ "properties": {
165
+ "companyId": {
166
+ "type": "integer",
167
+ "example": 2
168
+ }
169
+ },
170
+ "required": [
171
+ "companyId"
172
+ ]
173
+ }
174
+ ]
175
+ }
176
+ }
177
+ }
178
+ },
179
+ "required": [
180
+ "data"
181
+ ]
182
+ }