@go-labs-sg/event-tech 1.5.0 → 1.6.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.
@@ -83,7 +83,14 @@ Run `et <command> --help` for the full input JSON Schema.
83
83
  - `et admin event get` → `admin.event.getEvent` (query)
84
84
  - Get any event by ID as a global admin.
85
85
  - `et admin member list` → `admin.member.getAllMembers` (query)
86
- - List organization members across every organization as a global admin.
86
+ - List organization members across every organization (paged; filter by search, organizationId, role, status, joinedFrom/joinedTo).
87
+ - Date fields: `joinedFrom`, `joinedTo`
88
+ - `et admin member count` → `admin.member.getMemberCounts` (query)
89
+ - Count members matching the list filters, with role and status splits.
90
+ - Date fields: `joinedFrom`, `joinedTo`
91
+ - `et admin member export` → `admin.member.exportMembers` (query)
92
+ - Export every member matching the list filters (fails above 5,000 rows).
93
+ - Date fields: `joinedFrom`, `joinedTo`
87
94
  - `et admin member role-update` → `admin.member.updateMemberRole` (mutation)
88
95
  - Change any organization member's role as a global admin.
89
96
  - Confirm: `--allow-state-change` `--target <input.memberId>`
@@ -91,11 +98,18 @@ Run `et <command> --help` for the full input JSON Schema.
91
98
  - Remove a member from an organization and delete their allowed-email entries.
92
99
  - Confirm: `--allow-state-change` `--allow-delete` `--target <input.memberId>`
93
100
  - `et admin activity list` → `admin.activity.getAll` (query)
94
- - List platform activity as a global admin.
101
+ - List organization and member activity-log events (paged; filter by search, organizationId, eventType, from/to).
102
+ - Date fields: `from`, `to`
103
+ - `et admin activity count` → `admin.activity.getCounts` (query)
104
+ - Count activity matching the filters, with 30-day daily and type splits.
105
+ - Date fields: `from`, `to`
106
+ - `et admin activity export` → `admin.activity.export` (query)
107
+ - Export every activity event matching the filters (fails above 5,000 rows).
108
+ - Date fields: `from`, `to`
95
109
  - `et admin dashboard event-analytics` → `admin.dashboard.getEventAnalytics` (query)
96
110
  - Get platform event analytics as a global admin.
97
111
  - `et admin user list` → `admin.user.getUsers` (query)
98
- - List users as a global admin.
112
+ - List users A to Z by name (paged; filter by search).
99
113
  - `et admin user get` → `admin.user.getUserById` (query)
100
114
  - Get one user as a global admin.
101
115
  - `et admin user role-update` → `admin.user.updateSystemRole` (mutation)
package/dist/index.js CHANGED
@@ -9049,10 +9049,137 @@ var command_manifest_default = [
9049
9049
  path: ["admin", "member", "list"],
9050
9050
  procedure: "admin.member.getAllMembers",
9051
9051
  operation: "query",
9052
- summary: "List organization members across every organization as a global admin.",
9052
+ summary: "List organization members across every organization (paged; filter by search, organizationId, role, status, joinedFrom/joinedTo).",
9053
9053
  effects: [],
9054
- dates: [],
9055
- input: null
9054
+ dates: ["joinedFrom", "joinedTo"],
9055
+ input: {
9056
+ type: "object",
9057
+ properties: {
9058
+ search: {
9059
+ type: "string",
9060
+ maxLength: 200
9061
+ },
9062
+ organizationId: {
9063
+ type: "string",
9064
+ minLength: 1
9065
+ },
9066
+ role: {
9067
+ type: "string",
9068
+ enum: ["OWNER", "ADMIN", "MEMBER"]
9069
+ },
9070
+ status: {
9071
+ type: "string",
9072
+ enum: ["PENDING", "ACTIVE", "LEFT", "REMOVED", "REJECTED"]
9073
+ },
9074
+ joinedFrom: {
9075
+ type: "string",
9076
+ format: "date-time"
9077
+ },
9078
+ joinedTo: {
9079
+ type: "string",
9080
+ format: "date-time"
9081
+ },
9082
+ limit: {
9083
+ default: 25,
9084
+ type: "integer",
9085
+ minimum: 1,
9086
+ maximum: 100
9087
+ },
9088
+ cursor: {
9089
+ anyOf: [
9090
+ {
9091
+ type: "string",
9092
+ minLength: 1,
9093
+ maxLength: 2048
9094
+ },
9095
+ {
9096
+ type: "null"
9097
+ }
9098
+ ]
9099
+ },
9100
+ direction: {
9101
+ type: "string",
9102
+ const: "forward"
9103
+ }
9104
+ },
9105
+ additionalProperties: false
9106
+ }
9107
+ },
9108
+ {
9109
+ path: ["admin", "member", "count"],
9110
+ procedure: "admin.member.getMemberCounts",
9111
+ operation: "query",
9112
+ summary: "Count members matching the list filters, with role and status splits.",
9113
+ effects: [],
9114
+ dates: ["joinedFrom", "joinedTo"],
9115
+ input: {
9116
+ type: "object",
9117
+ properties: {
9118
+ search: {
9119
+ type: "string",
9120
+ maxLength: 200
9121
+ },
9122
+ organizationId: {
9123
+ type: "string",
9124
+ minLength: 1
9125
+ },
9126
+ role: {
9127
+ type: "string",
9128
+ enum: ["OWNER", "ADMIN", "MEMBER"]
9129
+ },
9130
+ status: {
9131
+ type: "string",
9132
+ enum: ["PENDING", "ACTIVE", "LEFT", "REMOVED", "REJECTED"]
9133
+ },
9134
+ joinedFrom: {
9135
+ type: "string",
9136
+ format: "date-time"
9137
+ },
9138
+ joinedTo: {
9139
+ type: "string",
9140
+ format: "date-time"
9141
+ }
9142
+ },
9143
+ additionalProperties: false
9144
+ }
9145
+ },
9146
+ {
9147
+ path: ["admin", "member", "export"],
9148
+ procedure: "admin.member.exportMembers",
9149
+ operation: "query",
9150
+ summary: "Export every member matching the list filters (fails above 5,000 rows).",
9151
+ effects: [],
9152
+ dates: ["joinedFrom", "joinedTo"],
9153
+ input: {
9154
+ type: "object",
9155
+ properties: {
9156
+ search: {
9157
+ type: "string",
9158
+ maxLength: 200
9159
+ },
9160
+ organizationId: {
9161
+ type: "string",
9162
+ minLength: 1
9163
+ },
9164
+ role: {
9165
+ type: "string",
9166
+ enum: ["OWNER", "ADMIN", "MEMBER"]
9167
+ },
9168
+ status: {
9169
+ type: "string",
9170
+ enum: ["PENDING", "ACTIVE", "LEFT", "REMOVED", "REJECTED"]
9171
+ },
9172
+ joinedFrom: {
9173
+ type: "string",
9174
+ format: "date-time"
9175
+ },
9176
+ joinedTo: {
9177
+ type: "string",
9178
+ format: "date-time"
9179
+ }
9180
+ },
9181
+ additionalProperties: false
9182
+ }
9056
9183
  },
9057
9184
  {
9058
9185
  path: ["admin", "member", "role-update"],
@@ -9108,10 +9235,161 @@ var command_manifest_default = [
9108
9235
  path: ["admin", "activity", "list"],
9109
9236
  procedure: "admin.activity.getAll",
9110
9237
  operation: "query",
9111
- summary: "List platform activity as a global admin.",
9238
+ summary: "List organization and member activity-log events (paged; filter by search, organizationId, eventType, from/to).",
9112
9239
  effects: [],
9113
- dates: [],
9114
- input: null
9240
+ dates: ["from", "to"],
9241
+ input: {
9242
+ type: "object",
9243
+ properties: {
9244
+ search: {
9245
+ type: "string",
9246
+ maxLength: 200
9247
+ },
9248
+ organizationId: {
9249
+ type: "string",
9250
+ minLength: 1
9251
+ },
9252
+ eventType: {
9253
+ type: "string",
9254
+ enum: [
9255
+ "organization_provisioned",
9256
+ "organization_updated",
9257
+ "organization_archived",
9258
+ "organization_restored",
9259
+ "member_invited",
9260
+ "member_joined",
9261
+ "member_role_changed",
9262
+ "member_invitation_rejected",
9263
+ "member_left",
9264
+ "member_removed",
9265
+ "ownership_transferred"
9266
+ ]
9267
+ },
9268
+ from: {
9269
+ type: "string",
9270
+ format: "date-time"
9271
+ },
9272
+ to: {
9273
+ type: "string",
9274
+ format: "date-time"
9275
+ },
9276
+ limit: {
9277
+ default: 25,
9278
+ type: "integer",
9279
+ minimum: 1,
9280
+ maximum: 100
9281
+ },
9282
+ cursor: {
9283
+ anyOf: [
9284
+ {
9285
+ type: "string",
9286
+ minLength: 1,
9287
+ maxLength: 2048
9288
+ },
9289
+ {
9290
+ type: "null"
9291
+ }
9292
+ ]
9293
+ },
9294
+ direction: {
9295
+ type: "string",
9296
+ const: "forward"
9297
+ }
9298
+ },
9299
+ additionalProperties: false
9300
+ }
9301
+ },
9302
+ {
9303
+ path: ["admin", "activity", "count"],
9304
+ procedure: "admin.activity.getCounts",
9305
+ operation: "query",
9306
+ summary: "Count activity matching the filters, with 30-day daily and type splits.",
9307
+ effects: [],
9308
+ dates: ["from", "to"],
9309
+ input: {
9310
+ type: "object",
9311
+ properties: {
9312
+ search: {
9313
+ type: "string",
9314
+ maxLength: 200
9315
+ },
9316
+ organizationId: {
9317
+ type: "string",
9318
+ minLength: 1
9319
+ },
9320
+ eventType: {
9321
+ type: "string",
9322
+ enum: [
9323
+ "organization_provisioned",
9324
+ "organization_updated",
9325
+ "organization_archived",
9326
+ "organization_restored",
9327
+ "member_invited",
9328
+ "member_joined",
9329
+ "member_role_changed",
9330
+ "member_invitation_rejected",
9331
+ "member_left",
9332
+ "member_removed",
9333
+ "ownership_transferred"
9334
+ ]
9335
+ },
9336
+ from: {
9337
+ type: "string",
9338
+ format: "date-time"
9339
+ },
9340
+ to: {
9341
+ type: "string",
9342
+ format: "date-time"
9343
+ }
9344
+ },
9345
+ additionalProperties: false
9346
+ }
9347
+ },
9348
+ {
9349
+ path: ["admin", "activity", "export"],
9350
+ procedure: "admin.activity.export",
9351
+ operation: "query",
9352
+ summary: "Export every activity event matching the filters (fails above 5,000 rows).",
9353
+ effects: [],
9354
+ dates: ["from", "to"],
9355
+ input: {
9356
+ type: "object",
9357
+ properties: {
9358
+ search: {
9359
+ type: "string",
9360
+ maxLength: 200
9361
+ },
9362
+ organizationId: {
9363
+ type: "string",
9364
+ minLength: 1
9365
+ },
9366
+ eventType: {
9367
+ type: "string",
9368
+ enum: [
9369
+ "organization_provisioned",
9370
+ "organization_updated",
9371
+ "organization_archived",
9372
+ "organization_restored",
9373
+ "member_invited",
9374
+ "member_joined",
9375
+ "member_role_changed",
9376
+ "member_invitation_rejected",
9377
+ "member_left",
9378
+ "member_removed",
9379
+ "ownership_transferred"
9380
+ ]
9381
+ },
9382
+ from: {
9383
+ type: "string",
9384
+ format: "date-time"
9385
+ },
9386
+ to: {
9387
+ type: "string",
9388
+ format: "date-time"
9389
+ }
9390
+ },
9391
+ additionalProperties: false
9392
+ }
9115
9393
  },
9116
9394
  {
9117
9395
  path: ["admin", "dashboard", "event-analytics"],
@@ -9126,10 +9404,41 @@ var command_manifest_default = [
9126
9404
  path: ["admin", "user", "list"],
9127
9405
  procedure: "admin.user.getUsers",
9128
9406
  operation: "query",
9129
- summary: "List users as a global admin.",
9407
+ summary: "List users A to Z by name (paged; filter by search).",
9130
9408
  effects: [],
9131
9409
  dates: [],
9132
- input: null
9410
+ input: {
9411
+ type: "object",
9412
+ properties: {
9413
+ search: {
9414
+ type: "string",
9415
+ maxLength: 200
9416
+ },
9417
+ limit: {
9418
+ default: 25,
9419
+ type: "integer",
9420
+ minimum: 1,
9421
+ maximum: 100
9422
+ },
9423
+ cursor: {
9424
+ anyOf: [
9425
+ {
9426
+ type: "string",
9427
+ minLength: 1,
9428
+ maxLength: 2048
9429
+ },
9430
+ {
9431
+ type: "null"
9432
+ }
9433
+ ]
9434
+ },
9435
+ direction: {
9436
+ type: "string",
9437
+ const: "forward"
9438
+ }
9439
+ },
9440
+ additionalProperties: false
9441
+ }
9133
9442
  },
9134
9443
  {
9135
9444
  path: ["admin", "user", "get"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-labs-sg/event-tech",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "Event Tech CLI for managing Event Tech resources through the Go Labs API.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",