feat(pruefwerk): entry offer on top of a Monitor subscription (#153)
This commit was merged in pull request #153.
This commit is contained in:
1 parent
cf23f65ce8
commit
e549246cc6
7 files changed
+198
-16
No files matched your search
+9
-4
@@ -1841,9 +1841,14 @@ paths:
|
||||
A trial workspace becomes active. Sending it again replaces
|
||||
targets, end and reference (staff set the end to 90 days after
|
||||
delivery). While the grant runs, an ERP event without
|
||||
subscriptions does not halt the workspace. Refused (409) for a
|
||||
workspace with a Prüfwerk subscription, or one that is neither
|
||||
trial nor active. Needs a named staff member (X-Staff-Subject).
|
||||
subscriptions does not halt the workspace. A workspace whose only
|
||||
Prüfwerk subscription is Monitor (CRA-CSA-CLD-MON) keeps it: the
|
||||
offer's targets are added to Monitor's grant as entry_targets until
|
||||
expires_at (entry_until), and the entitlement check sends Monitor's
|
||||
one target plus those. Refused (409) for any other Prüfwerk
|
||||
subscription (already_booked), a Monitor subscription without its
|
||||
grant yet (not_provisioned), or a workspace neither trial nor
|
||||
active. Needs a named staff member (X-Staff-Subject).
|
||||
parameters:
|
||||
- { in: path, name: id, required: true, schema: { type: string, format: uuid } }
|
||||
requestBody:
|
||||
@@ -1865,7 +1870,7 @@ paths:
|
||||
"400": { $ref: "#/components/responses/BadRequest" }
|
||||
"403": { description: "No named staff member." }
|
||||
"404": { $ref: "#/components/responses/NotFound" }
|
||||
"409": { description: "Prüfwerk subscription, or a workspace neither trial nor active." }
|
||||
"409": { description: "already_booked (a Prüfwerk subscription other than Monitor), not_provisioned, or invalid_status." }
|
||||
|
||||
/v1/admin/tenants/{id}/preview-grants/{product}:
|
||||
delete:
|
||||
|
||||
Reference in new issue
Block a user