@go-labs-sg/rsvp 0.9.0 → 0.10.0

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/README.md CHANGED
@@ -217,3 +217,11 @@ rsvp template create \
217
217
  ```
218
218
 
219
219
  Instantiate the returned template version through `rsvp template instantiate`, then use the existing staged roster import. The example expects roster columns `email`, `name`, `staffId`, and `employmentType`; only `FTE` and `INTERN` values are configured as eligible profiles. Rules for other events should be expressed in their own template payloads using the same generic contracts.
220
+
221
+ ## Managed organization provisioning
222
+
223
+ `organization create` requires an `ownerEmail` in its JSON payload and the
224
+ email, external-write, and state-change effect approvals. It creates a workspace
225
+ awaiting owner acceptance and sends a 48-hour first-owner invitation. The internal
226
+ provisioner does not receive customer organization membership. The response
227
+ reports invitation delivery failure so the invitation can be resent safely.
package/dist/index.js CHANGED
@@ -19276,10 +19276,10 @@ var commands = {
19276
19276
  summary: "Get public event details by slug (--payload JSON)."
19277
19277
  },
19278
19278
  "organization create": {
19279
- effects: ["state-change"],
19279
+ effects: ["email", "external-write", "state-change"],
19280
19280
  operation: (api2, input2) => api2.organization.create.mutate(input2),
19281
19281
  payloadOnly: true,
19282
- summary: "Create an organization (--payload JSON)."
19282
+ summary: "Provision an organization and invite its first owner (--payload JSON with ownerEmail)."
19283
19283
  },
19284
19284
  "event create": {
19285
19285
  effects: ["state-change"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-labs-sg/rsvp",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "RSVP CLI for authorized event operations.",
5
5
  "type": "module",
6
6
  "exports": {},