@canopy-io/node 0.3.9 → 0.3.10
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/CHANGELOG.md +6 -0
- package/dist/index.d.cts +318 -4
- package/dist/index.d.ts +318 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @canopy-io/node
|
|
2
2
|
|
|
3
|
+
## 0.3.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b71e786: Webhook types regenerated from the live spec. Deliveries for a change directory sync made (`identity.created`, `identity.env_membership.*`, `organization.member.*`, `assignment.bulk_*`) now type `source: "scim"` and `directory_id`, and the directory's own activity is subscribable: `scim.user.provisioned` / `updated` / `deprovisioned` / `reactivated`, `scim.group.created` / `updated` / `deleted` / `member_added` / `member_removed` / `mapped` / `unmapped`. `identity.created` also types `source: "sso_jit"` with `connection_id` for an identity a first SSO sign-in created.
|
|
8
|
+
|
|
3
9
|
## 0.3.9
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -3900,10 +3900,20 @@ interface components {
|
|
|
3900
3900
|
*/
|
|
3901
3901
|
environment_id?: string | null;
|
|
3902
3902
|
/**
|
|
3903
|
-
*
|
|
3903
|
+
* Format: uuid
|
|
3904
|
+
* @description The SSO connection the identity first signed in through, for one created just in time.
|
|
3905
|
+
*/
|
|
3906
|
+
connection_id?: string;
|
|
3907
|
+
/**
|
|
3908
|
+
* Format: uuid
|
|
3909
|
+
* @description The directory that made the change, when directory sync did.
|
|
3910
|
+
*/
|
|
3911
|
+
directory_id?: string | null;
|
|
3912
|
+
/**
|
|
3913
|
+
* @description How the identity was created, when it was not created directly.
|
|
3904
3914
|
* @enum {string}
|
|
3905
3915
|
*/
|
|
3906
|
-
source?: "invite";
|
|
3916
|
+
source?: "invite" | "sso_jit" | "scim";
|
|
3907
3917
|
};
|
|
3908
3918
|
};
|
|
3909
3919
|
};
|
|
@@ -3984,11 +3994,16 @@ interface components {
|
|
|
3984
3994
|
* @description The invitation that was accepted.
|
|
3985
3995
|
*/
|
|
3986
3996
|
invite_id?: string;
|
|
3997
|
+
/**
|
|
3998
|
+
* Format: uuid
|
|
3999
|
+
* @description The directory that made the change, when directory sync did.
|
|
4000
|
+
*/
|
|
4001
|
+
directory_id?: string | null;
|
|
3987
4002
|
/**
|
|
3988
4003
|
* @description How the membership was created, when known.
|
|
3989
4004
|
* @enum {string}
|
|
3990
4005
|
*/
|
|
3991
|
-
source?: "identity_create" | "sso_jit" | "invite";
|
|
4006
|
+
source?: "identity_create" | "sso_jit" | "invite" | "scim";
|
|
3992
4007
|
};
|
|
3993
4008
|
};
|
|
3994
4009
|
};
|
|
@@ -4002,6 +4017,16 @@ interface components {
|
|
|
4002
4017
|
metadata: {
|
|
4003
4018
|
/** @description Pending invitations into the Environment revoked with the membership. */
|
|
4004
4019
|
revoked_pending_invites: number;
|
|
4020
|
+
/**
|
|
4021
|
+
* @description Set when directory sync made the change rather than somebody directly.
|
|
4022
|
+
* @enum {string}
|
|
4023
|
+
*/
|
|
4024
|
+
source?: "scim";
|
|
4025
|
+
/**
|
|
4026
|
+
* Format: uuid
|
|
4027
|
+
* @description The directory that made the change, when directory sync did.
|
|
4028
|
+
*/
|
|
4029
|
+
directory_id?: string | null;
|
|
4005
4030
|
};
|
|
4006
4031
|
};
|
|
4007
4032
|
};
|
|
@@ -4102,6 +4127,16 @@ interface components {
|
|
|
4102
4127
|
succeeded: number;
|
|
4103
4128
|
/** @description How many were refused. */
|
|
4104
4129
|
failed: number;
|
|
4130
|
+
/**
|
|
4131
|
+
* @description Set when directory sync made the change rather than somebody directly.
|
|
4132
|
+
* @enum {string}
|
|
4133
|
+
*/
|
|
4134
|
+
source?: "scim";
|
|
4135
|
+
/**
|
|
4136
|
+
* Format: uuid
|
|
4137
|
+
* @description The directory that made the change, when directory sync did.
|
|
4138
|
+
*/
|
|
4139
|
+
directory_id?: string | null;
|
|
4105
4140
|
};
|
|
4106
4141
|
};
|
|
4107
4142
|
};
|
|
@@ -4133,6 +4168,16 @@ interface components {
|
|
|
4133
4168
|
*/
|
|
4134
4169
|
role_id: string;
|
|
4135
4170
|
}[];
|
|
4171
|
+
/**
|
|
4172
|
+
* @description Set when directory sync made the change rather than somebody directly.
|
|
4173
|
+
* @enum {string}
|
|
4174
|
+
*/
|
|
4175
|
+
source?: "scim";
|
|
4176
|
+
/**
|
|
4177
|
+
* Format: uuid
|
|
4178
|
+
* @description The directory that made the change, when directory sync did.
|
|
4179
|
+
*/
|
|
4180
|
+
directory_id?: string | null;
|
|
4136
4181
|
};
|
|
4137
4182
|
};
|
|
4138
4183
|
};
|
|
@@ -4167,6 +4212,250 @@ interface components {
|
|
|
4167
4212
|
};
|
|
4168
4213
|
};
|
|
4169
4214
|
};
|
|
4215
|
+
/** @description A delivery of the `scim.user.provisioned` webhook event. */
|
|
4216
|
+
WebhookScimUserProvisionedEvent: {
|
|
4217
|
+
/** @enum {string} */
|
|
4218
|
+
event: "scim.user.provisioned";
|
|
4219
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4220
|
+
/** @enum {string} */
|
|
4221
|
+
resource_type: "identity";
|
|
4222
|
+
metadata: {
|
|
4223
|
+
/**
|
|
4224
|
+
* Format: uuid
|
|
4225
|
+
* @description The directory that pushed the person.
|
|
4226
|
+
*/
|
|
4227
|
+
directory_id: string;
|
|
4228
|
+
/** @description The address the provider pushed. */
|
|
4229
|
+
user_name: string;
|
|
4230
|
+
/** @description The provider's own id for the person. */
|
|
4231
|
+
external_id: string | null;
|
|
4232
|
+
/** @description True when the address already had an identity, which was linked rather than created. */
|
|
4233
|
+
linked: boolean;
|
|
4234
|
+
};
|
|
4235
|
+
};
|
|
4236
|
+
};
|
|
4237
|
+
/** @description A delivery of the `scim.user.updated` webhook event. */
|
|
4238
|
+
WebhookScimUserUpdatedEvent: {
|
|
4239
|
+
/** @enum {string} */
|
|
4240
|
+
event: "scim.user.updated";
|
|
4241
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4242
|
+
/** @enum {string} */
|
|
4243
|
+
resource_type: "identity";
|
|
4244
|
+
metadata: {
|
|
4245
|
+
/**
|
|
4246
|
+
* Format: uuid
|
|
4247
|
+
* @description The directory that changed the person.
|
|
4248
|
+
*/
|
|
4249
|
+
directory_id: string;
|
|
4250
|
+
/** @description The address the provider holds for the person now. */
|
|
4251
|
+
user_name: string;
|
|
4252
|
+
/** @description The provider's own id for the person. */
|
|
4253
|
+
external_id: string | null;
|
|
4254
|
+
/** @description Whether the person is active in this directory. */
|
|
4255
|
+
active: boolean;
|
|
4256
|
+
};
|
|
4257
|
+
};
|
|
4258
|
+
};
|
|
4259
|
+
/** @description A delivery of the `scim.user.deprovisioned` webhook event. */
|
|
4260
|
+
WebhookScimUserDeprovisionedEvent: {
|
|
4261
|
+
/** @enum {string} */
|
|
4262
|
+
event: "scim.user.deprovisioned";
|
|
4263
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4264
|
+
/** @enum {string} */
|
|
4265
|
+
resource_type: "identity";
|
|
4266
|
+
metadata: {
|
|
4267
|
+
/**
|
|
4268
|
+
* Format: uuid
|
|
4269
|
+
* @description The directory that deactivated the person.
|
|
4270
|
+
*/
|
|
4271
|
+
directory_id: string;
|
|
4272
|
+
/** @description The address the provider held for the person. */
|
|
4273
|
+
user_name: string;
|
|
4274
|
+
/** @description The provider's own id for the person. */
|
|
4275
|
+
external_id: string | null;
|
|
4276
|
+
};
|
|
4277
|
+
};
|
|
4278
|
+
};
|
|
4279
|
+
/** @description A delivery of the `scim.user.reactivated` webhook event. */
|
|
4280
|
+
WebhookScimUserReactivatedEvent: {
|
|
4281
|
+
/** @enum {string} */
|
|
4282
|
+
event: "scim.user.reactivated";
|
|
4283
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4284
|
+
/** @enum {string} */
|
|
4285
|
+
resource_type: "identity";
|
|
4286
|
+
metadata: {
|
|
4287
|
+
/**
|
|
4288
|
+
* Format: uuid
|
|
4289
|
+
* @description The directory that brought the person back.
|
|
4290
|
+
*/
|
|
4291
|
+
directory_id: string;
|
|
4292
|
+
/** @description The address the provider holds for the person. */
|
|
4293
|
+
user_name: string;
|
|
4294
|
+
/** @description The provider's own id for the person. */
|
|
4295
|
+
external_id: string | null;
|
|
4296
|
+
/** @description True when the address already had an identity, which was linked rather than created. */
|
|
4297
|
+
linked: boolean;
|
|
4298
|
+
};
|
|
4299
|
+
};
|
|
4300
|
+
};
|
|
4301
|
+
/** @description A delivery of the `scim.group.created` webhook event. */
|
|
4302
|
+
WebhookScimGroupCreatedEvent: {
|
|
4303
|
+
/** @enum {string} */
|
|
4304
|
+
event: "scim.group.created";
|
|
4305
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4306
|
+
/** @enum {string} */
|
|
4307
|
+
resource_type: "scim_group";
|
|
4308
|
+
metadata: {
|
|
4309
|
+
/**
|
|
4310
|
+
* Format: uuid
|
|
4311
|
+
* @description The directory that pushed the group.
|
|
4312
|
+
*/
|
|
4313
|
+
directory_id: string;
|
|
4314
|
+
/** @description The group's name. */
|
|
4315
|
+
display_name: string;
|
|
4316
|
+
/** @description The provider's own id for the group. */
|
|
4317
|
+
external_id: string | null;
|
|
4318
|
+
/** @description How many of its members this directory holds. */
|
|
4319
|
+
member_count: number;
|
|
4320
|
+
};
|
|
4321
|
+
};
|
|
4322
|
+
};
|
|
4323
|
+
/** @description A delivery of the `scim.group.updated` webhook event. */
|
|
4324
|
+
WebhookScimGroupUpdatedEvent: {
|
|
4325
|
+
/** @enum {string} */
|
|
4326
|
+
event: "scim.group.updated";
|
|
4327
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4328
|
+
/** @enum {string} */
|
|
4329
|
+
resource_type: "scim_group";
|
|
4330
|
+
metadata: {
|
|
4331
|
+
/**
|
|
4332
|
+
* Format: uuid
|
|
4333
|
+
* @description The directory that changed the group.
|
|
4334
|
+
*/
|
|
4335
|
+
directory_id: string;
|
|
4336
|
+
/** @description The group's name now. */
|
|
4337
|
+
display_name: string;
|
|
4338
|
+
/** @description The provider's own id for the group. */
|
|
4339
|
+
external_id: string | null;
|
|
4340
|
+
/** @description How many of its members this directory holds now. */
|
|
4341
|
+
member_count: number;
|
|
4342
|
+
};
|
|
4343
|
+
};
|
|
4344
|
+
};
|
|
4345
|
+
/** @description A delivery of the `scim.group.deleted` webhook event. */
|
|
4346
|
+
WebhookScimGroupDeletedEvent: {
|
|
4347
|
+
/** @enum {string} */
|
|
4348
|
+
event: "scim.group.deleted";
|
|
4349
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4350
|
+
/** @enum {string} */
|
|
4351
|
+
resource_type: "scim_group";
|
|
4352
|
+
metadata: {
|
|
4353
|
+
/**
|
|
4354
|
+
* Format: uuid
|
|
4355
|
+
* @description The directory that removed the group.
|
|
4356
|
+
*/
|
|
4357
|
+
directory_id: string;
|
|
4358
|
+
/** @description The group's name. */
|
|
4359
|
+
display_name: string;
|
|
4360
|
+
/** @description The provider's own id for the group. */
|
|
4361
|
+
external_id: string | null;
|
|
4362
|
+
};
|
|
4363
|
+
};
|
|
4364
|
+
};
|
|
4365
|
+
/** @description A delivery of the `scim.group.member_added` webhook event. */
|
|
4366
|
+
WebhookScimGroupMemberAddedEvent: {
|
|
4367
|
+
/** @enum {string} */
|
|
4368
|
+
event: "scim.group.member_added";
|
|
4369
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4370
|
+
/** @enum {string} */
|
|
4371
|
+
resource_type: "scim_group";
|
|
4372
|
+
metadata: {
|
|
4373
|
+
/**
|
|
4374
|
+
* Format: uuid
|
|
4375
|
+
* @description The directory the group belongs to.
|
|
4376
|
+
*/
|
|
4377
|
+
directory_id: string;
|
|
4378
|
+
/**
|
|
4379
|
+
* Format: uuid
|
|
4380
|
+
* @description The person added.
|
|
4381
|
+
*/
|
|
4382
|
+
identity_id: string;
|
|
4383
|
+
/**
|
|
4384
|
+
* Format: uuid
|
|
4385
|
+
* @description The directory's own id for the person.
|
|
4386
|
+
*/
|
|
4387
|
+
directory_user_id: string;
|
|
4388
|
+
};
|
|
4389
|
+
};
|
|
4390
|
+
};
|
|
4391
|
+
/** @description A delivery of the `scim.group.member_removed` webhook event. */
|
|
4392
|
+
WebhookScimGroupMemberRemovedEvent: {
|
|
4393
|
+
/** @enum {string} */
|
|
4394
|
+
event: "scim.group.member_removed";
|
|
4395
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4396
|
+
/** @enum {string} */
|
|
4397
|
+
resource_type: "scim_group";
|
|
4398
|
+
metadata: {
|
|
4399
|
+
/**
|
|
4400
|
+
* Format: uuid
|
|
4401
|
+
* @description The directory the group belongs to.
|
|
4402
|
+
*/
|
|
4403
|
+
directory_id: string;
|
|
4404
|
+
/**
|
|
4405
|
+
* Format: uuid
|
|
4406
|
+
* @description The person removed.
|
|
4407
|
+
*/
|
|
4408
|
+
identity_id: string;
|
|
4409
|
+
/**
|
|
4410
|
+
* Format: uuid
|
|
4411
|
+
* @description The directory's own id for the person.
|
|
4412
|
+
*/
|
|
4413
|
+
directory_user_id: string;
|
|
4414
|
+
};
|
|
4415
|
+
};
|
|
4416
|
+
};
|
|
4417
|
+
/** @description A delivery of the `scim.group.mapped` webhook event. */
|
|
4418
|
+
WebhookScimGroupMappedEvent: {
|
|
4419
|
+
/** @enum {string} */
|
|
4420
|
+
event: "scim.group.mapped";
|
|
4421
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4422
|
+
/** @enum {string} */
|
|
4423
|
+
resource_type: "scim_group";
|
|
4424
|
+
metadata: {
|
|
4425
|
+
/**
|
|
4426
|
+
* Format: uuid
|
|
4427
|
+
* @description The directory the group belongs to.
|
|
4428
|
+
*/
|
|
4429
|
+
directory_id: string;
|
|
4430
|
+
/**
|
|
4431
|
+
* Format: uuid
|
|
4432
|
+
* @description The role the group's members now hold.
|
|
4433
|
+
*/
|
|
4434
|
+
role_id: string;
|
|
4435
|
+
/**
|
|
4436
|
+
* Format: uuid
|
|
4437
|
+
* @description The node they hold it at.
|
|
4438
|
+
*/
|
|
4439
|
+
application_node_id: string;
|
|
4440
|
+
};
|
|
4441
|
+
};
|
|
4442
|
+
};
|
|
4443
|
+
/** @description A delivery of the `scim.group.unmapped` webhook event. */
|
|
4444
|
+
WebhookScimGroupUnmappedEvent: {
|
|
4445
|
+
/** @enum {string} */
|
|
4446
|
+
event: "scim.group.unmapped";
|
|
4447
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4448
|
+
/** @enum {string} */
|
|
4449
|
+
resource_type: "scim_group";
|
|
4450
|
+
metadata: {
|
|
4451
|
+
/**
|
|
4452
|
+
* Format: uuid
|
|
4453
|
+
* @description The directory the group belongs to.
|
|
4454
|
+
*/
|
|
4455
|
+
directory_id: string;
|
|
4456
|
+
};
|
|
4457
|
+
};
|
|
4458
|
+
};
|
|
4170
4459
|
/** @description A delivery of the `role.created` webhook event. */
|
|
4171
4460
|
WebhookRoleCreatedEvent: {
|
|
4172
4461
|
/** @enum {string} */
|
|
@@ -4480,11 +4769,16 @@ interface components {
|
|
|
4480
4769
|
* @description The invitation that was accepted.
|
|
4481
4770
|
*/
|
|
4482
4771
|
invite_id?: string;
|
|
4772
|
+
/**
|
|
4773
|
+
* Format: uuid
|
|
4774
|
+
* @description The directory that made the change, when directory sync did.
|
|
4775
|
+
*/
|
|
4776
|
+
directory_id?: string | null;
|
|
4483
4777
|
/**
|
|
4484
4778
|
* @description How the member joined, when it was not added directly.
|
|
4485
4779
|
* @enum {string}
|
|
4486
4780
|
*/
|
|
4487
|
-
source?: "sso_jit" | "invite";
|
|
4781
|
+
source?: "sso_jit" | "invite" | "scim";
|
|
4488
4782
|
};
|
|
4489
4783
|
};
|
|
4490
4784
|
};
|
|
@@ -4513,6 +4807,16 @@ interface components {
|
|
|
4513
4807
|
* @description The role it holds now.
|
|
4514
4808
|
*/
|
|
4515
4809
|
to_role_id: string;
|
|
4810
|
+
/**
|
|
4811
|
+
* @description Set when directory sync made the change rather than somebody directly.
|
|
4812
|
+
* @enum {string}
|
|
4813
|
+
*/
|
|
4814
|
+
source?: "scim";
|
|
4815
|
+
/**
|
|
4816
|
+
* Format: uuid
|
|
4817
|
+
* @description The directory that made the change, when directory sync did.
|
|
4818
|
+
*/
|
|
4819
|
+
directory_id?: string | null;
|
|
4516
4820
|
};
|
|
4517
4821
|
};
|
|
4518
4822
|
};
|
|
@@ -4538,6 +4842,16 @@ interface components {
|
|
|
4538
4842
|
role_id: string;
|
|
4539
4843
|
/** @description Grants it held beneath the organization, removed with the membership. */
|
|
4540
4844
|
scoped_assignments_removed: number;
|
|
4845
|
+
/**
|
|
4846
|
+
* @description Set when directory sync made the change rather than somebody directly.
|
|
4847
|
+
* @enum {string}
|
|
4848
|
+
*/
|
|
4849
|
+
source?: "scim";
|
|
4850
|
+
/**
|
|
4851
|
+
* Format: uuid
|
|
4852
|
+
* @description The directory that made the change, when directory sync did.
|
|
4853
|
+
*/
|
|
4854
|
+
directory_id?: string | null;
|
|
4541
4855
|
};
|
|
4542
4856
|
};
|
|
4543
4857
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -3900,10 +3900,20 @@ interface components {
|
|
|
3900
3900
|
*/
|
|
3901
3901
|
environment_id?: string | null;
|
|
3902
3902
|
/**
|
|
3903
|
-
*
|
|
3903
|
+
* Format: uuid
|
|
3904
|
+
* @description The SSO connection the identity first signed in through, for one created just in time.
|
|
3905
|
+
*/
|
|
3906
|
+
connection_id?: string;
|
|
3907
|
+
/**
|
|
3908
|
+
* Format: uuid
|
|
3909
|
+
* @description The directory that made the change, when directory sync did.
|
|
3910
|
+
*/
|
|
3911
|
+
directory_id?: string | null;
|
|
3912
|
+
/**
|
|
3913
|
+
* @description How the identity was created, when it was not created directly.
|
|
3904
3914
|
* @enum {string}
|
|
3905
3915
|
*/
|
|
3906
|
-
source?: "invite";
|
|
3916
|
+
source?: "invite" | "sso_jit" | "scim";
|
|
3907
3917
|
};
|
|
3908
3918
|
};
|
|
3909
3919
|
};
|
|
@@ -3984,11 +3994,16 @@ interface components {
|
|
|
3984
3994
|
* @description The invitation that was accepted.
|
|
3985
3995
|
*/
|
|
3986
3996
|
invite_id?: string;
|
|
3997
|
+
/**
|
|
3998
|
+
* Format: uuid
|
|
3999
|
+
* @description The directory that made the change, when directory sync did.
|
|
4000
|
+
*/
|
|
4001
|
+
directory_id?: string | null;
|
|
3987
4002
|
/**
|
|
3988
4003
|
* @description How the membership was created, when known.
|
|
3989
4004
|
* @enum {string}
|
|
3990
4005
|
*/
|
|
3991
|
-
source?: "identity_create" | "sso_jit" | "invite";
|
|
4006
|
+
source?: "identity_create" | "sso_jit" | "invite" | "scim";
|
|
3992
4007
|
};
|
|
3993
4008
|
};
|
|
3994
4009
|
};
|
|
@@ -4002,6 +4017,16 @@ interface components {
|
|
|
4002
4017
|
metadata: {
|
|
4003
4018
|
/** @description Pending invitations into the Environment revoked with the membership. */
|
|
4004
4019
|
revoked_pending_invites: number;
|
|
4020
|
+
/**
|
|
4021
|
+
* @description Set when directory sync made the change rather than somebody directly.
|
|
4022
|
+
* @enum {string}
|
|
4023
|
+
*/
|
|
4024
|
+
source?: "scim";
|
|
4025
|
+
/**
|
|
4026
|
+
* Format: uuid
|
|
4027
|
+
* @description The directory that made the change, when directory sync did.
|
|
4028
|
+
*/
|
|
4029
|
+
directory_id?: string | null;
|
|
4005
4030
|
};
|
|
4006
4031
|
};
|
|
4007
4032
|
};
|
|
@@ -4102,6 +4127,16 @@ interface components {
|
|
|
4102
4127
|
succeeded: number;
|
|
4103
4128
|
/** @description How many were refused. */
|
|
4104
4129
|
failed: number;
|
|
4130
|
+
/**
|
|
4131
|
+
* @description Set when directory sync made the change rather than somebody directly.
|
|
4132
|
+
* @enum {string}
|
|
4133
|
+
*/
|
|
4134
|
+
source?: "scim";
|
|
4135
|
+
/**
|
|
4136
|
+
* Format: uuid
|
|
4137
|
+
* @description The directory that made the change, when directory sync did.
|
|
4138
|
+
*/
|
|
4139
|
+
directory_id?: string | null;
|
|
4105
4140
|
};
|
|
4106
4141
|
};
|
|
4107
4142
|
};
|
|
@@ -4133,6 +4168,16 @@ interface components {
|
|
|
4133
4168
|
*/
|
|
4134
4169
|
role_id: string;
|
|
4135
4170
|
}[];
|
|
4171
|
+
/**
|
|
4172
|
+
* @description Set when directory sync made the change rather than somebody directly.
|
|
4173
|
+
* @enum {string}
|
|
4174
|
+
*/
|
|
4175
|
+
source?: "scim";
|
|
4176
|
+
/**
|
|
4177
|
+
* Format: uuid
|
|
4178
|
+
* @description The directory that made the change, when directory sync did.
|
|
4179
|
+
*/
|
|
4180
|
+
directory_id?: string | null;
|
|
4136
4181
|
};
|
|
4137
4182
|
};
|
|
4138
4183
|
};
|
|
@@ -4167,6 +4212,250 @@ interface components {
|
|
|
4167
4212
|
};
|
|
4168
4213
|
};
|
|
4169
4214
|
};
|
|
4215
|
+
/** @description A delivery of the `scim.user.provisioned` webhook event. */
|
|
4216
|
+
WebhookScimUserProvisionedEvent: {
|
|
4217
|
+
/** @enum {string} */
|
|
4218
|
+
event: "scim.user.provisioned";
|
|
4219
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4220
|
+
/** @enum {string} */
|
|
4221
|
+
resource_type: "identity";
|
|
4222
|
+
metadata: {
|
|
4223
|
+
/**
|
|
4224
|
+
* Format: uuid
|
|
4225
|
+
* @description The directory that pushed the person.
|
|
4226
|
+
*/
|
|
4227
|
+
directory_id: string;
|
|
4228
|
+
/** @description The address the provider pushed. */
|
|
4229
|
+
user_name: string;
|
|
4230
|
+
/** @description The provider's own id for the person. */
|
|
4231
|
+
external_id: string | null;
|
|
4232
|
+
/** @description True when the address already had an identity, which was linked rather than created. */
|
|
4233
|
+
linked: boolean;
|
|
4234
|
+
};
|
|
4235
|
+
};
|
|
4236
|
+
};
|
|
4237
|
+
/** @description A delivery of the `scim.user.updated` webhook event. */
|
|
4238
|
+
WebhookScimUserUpdatedEvent: {
|
|
4239
|
+
/** @enum {string} */
|
|
4240
|
+
event: "scim.user.updated";
|
|
4241
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4242
|
+
/** @enum {string} */
|
|
4243
|
+
resource_type: "identity";
|
|
4244
|
+
metadata: {
|
|
4245
|
+
/**
|
|
4246
|
+
* Format: uuid
|
|
4247
|
+
* @description The directory that changed the person.
|
|
4248
|
+
*/
|
|
4249
|
+
directory_id: string;
|
|
4250
|
+
/** @description The address the provider holds for the person now. */
|
|
4251
|
+
user_name: string;
|
|
4252
|
+
/** @description The provider's own id for the person. */
|
|
4253
|
+
external_id: string | null;
|
|
4254
|
+
/** @description Whether the person is active in this directory. */
|
|
4255
|
+
active: boolean;
|
|
4256
|
+
};
|
|
4257
|
+
};
|
|
4258
|
+
};
|
|
4259
|
+
/** @description A delivery of the `scim.user.deprovisioned` webhook event. */
|
|
4260
|
+
WebhookScimUserDeprovisionedEvent: {
|
|
4261
|
+
/** @enum {string} */
|
|
4262
|
+
event: "scim.user.deprovisioned";
|
|
4263
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4264
|
+
/** @enum {string} */
|
|
4265
|
+
resource_type: "identity";
|
|
4266
|
+
metadata: {
|
|
4267
|
+
/**
|
|
4268
|
+
* Format: uuid
|
|
4269
|
+
* @description The directory that deactivated the person.
|
|
4270
|
+
*/
|
|
4271
|
+
directory_id: string;
|
|
4272
|
+
/** @description The address the provider held for the person. */
|
|
4273
|
+
user_name: string;
|
|
4274
|
+
/** @description The provider's own id for the person. */
|
|
4275
|
+
external_id: string | null;
|
|
4276
|
+
};
|
|
4277
|
+
};
|
|
4278
|
+
};
|
|
4279
|
+
/** @description A delivery of the `scim.user.reactivated` webhook event. */
|
|
4280
|
+
WebhookScimUserReactivatedEvent: {
|
|
4281
|
+
/** @enum {string} */
|
|
4282
|
+
event: "scim.user.reactivated";
|
|
4283
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4284
|
+
/** @enum {string} */
|
|
4285
|
+
resource_type: "identity";
|
|
4286
|
+
metadata: {
|
|
4287
|
+
/**
|
|
4288
|
+
* Format: uuid
|
|
4289
|
+
* @description The directory that brought the person back.
|
|
4290
|
+
*/
|
|
4291
|
+
directory_id: string;
|
|
4292
|
+
/** @description The address the provider holds for the person. */
|
|
4293
|
+
user_name: string;
|
|
4294
|
+
/** @description The provider's own id for the person. */
|
|
4295
|
+
external_id: string | null;
|
|
4296
|
+
/** @description True when the address already had an identity, which was linked rather than created. */
|
|
4297
|
+
linked: boolean;
|
|
4298
|
+
};
|
|
4299
|
+
};
|
|
4300
|
+
};
|
|
4301
|
+
/** @description A delivery of the `scim.group.created` webhook event. */
|
|
4302
|
+
WebhookScimGroupCreatedEvent: {
|
|
4303
|
+
/** @enum {string} */
|
|
4304
|
+
event: "scim.group.created";
|
|
4305
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4306
|
+
/** @enum {string} */
|
|
4307
|
+
resource_type: "scim_group";
|
|
4308
|
+
metadata: {
|
|
4309
|
+
/**
|
|
4310
|
+
* Format: uuid
|
|
4311
|
+
* @description The directory that pushed the group.
|
|
4312
|
+
*/
|
|
4313
|
+
directory_id: string;
|
|
4314
|
+
/** @description The group's name. */
|
|
4315
|
+
display_name: string;
|
|
4316
|
+
/** @description The provider's own id for the group. */
|
|
4317
|
+
external_id: string | null;
|
|
4318
|
+
/** @description How many of its members this directory holds. */
|
|
4319
|
+
member_count: number;
|
|
4320
|
+
};
|
|
4321
|
+
};
|
|
4322
|
+
};
|
|
4323
|
+
/** @description A delivery of the `scim.group.updated` webhook event. */
|
|
4324
|
+
WebhookScimGroupUpdatedEvent: {
|
|
4325
|
+
/** @enum {string} */
|
|
4326
|
+
event: "scim.group.updated";
|
|
4327
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4328
|
+
/** @enum {string} */
|
|
4329
|
+
resource_type: "scim_group";
|
|
4330
|
+
metadata: {
|
|
4331
|
+
/**
|
|
4332
|
+
* Format: uuid
|
|
4333
|
+
* @description The directory that changed the group.
|
|
4334
|
+
*/
|
|
4335
|
+
directory_id: string;
|
|
4336
|
+
/** @description The group's name now. */
|
|
4337
|
+
display_name: string;
|
|
4338
|
+
/** @description The provider's own id for the group. */
|
|
4339
|
+
external_id: string | null;
|
|
4340
|
+
/** @description How many of its members this directory holds now. */
|
|
4341
|
+
member_count: number;
|
|
4342
|
+
};
|
|
4343
|
+
};
|
|
4344
|
+
};
|
|
4345
|
+
/** @description A delivery of the `scim.group.deleted` webhook event. */
|
|
4346
|
+
WebhookScimGroupDeletedEvent: {
|
|
4347
|
+
/** @enum {string} */
|
|
4348
|
+
event: "scim.group.deleted";
|
|
4349
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4350
|
+
/** @enum {string} */
|
|
4351
|
+
resource_type: "scim_group";
|
|
4352
|
+
metadata: {
|
|
4353
|
+
/**
|
|
4354
|
+
* Format: uuid
|
|
4355
|
+
* @description The directory that removed the group.
|
|
4356
|
+
*/
|
|
4357
|
+
directory_id: string;
|
|
4358
|
+
/** @description The group's name. */
|
|
4359
|
+
display_name: string;
|
|
4360
|
+
/** @description The provider's own id for the group. */
|
|
4361
|
+
external_id: string | null;
|
|
4362
|
+
};
|
|
4363
|
+
};
|
|
4364
|
+
};
|
|
4365
|
+
/** @description A delivery of the `scim.group.member_added` webhook event. */
|
|
4366
|
+
WebhookScimGroupMemberAddedEvent: {
|
|
4367
|
+
/** @enum {string} */
|
|
4368
|
+
event: "scim.group.member_added";
|
|
4369
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4370
|
+
/** @enum {string} */
|
|
4371
|
+
resource_type: "scim_group";
|
|
4372
|
+
metadata: {
|
|
4373
|
+
/**
|
|
4374
|
+
* Format: uuid
|
|
4375
|
+
* @description The directory the group belongs to.
|
|
4376
|
+
*/
|
|
4377
|
+
directory_id: string;
|
|
4378
|
+
/**
|
|
4379
|
+
* Format: uuid
|
|
4380
|
+
* @description The person added.
|
|
4381
|
+
*/
|
|
4382
|
+
identity_id: string;
|
|
4383
|
+
/**
|
|
4384
|
+
* Format: uuid
|
|
4385
|
+
* @description The directory's own id for the person.
|
|
4386
|
+
*/
|
|
4387
|
+
directory_user_id: string;
|
|
4388
|
+
};
|
|
4389
|
+
};
|
|
4390
|
+
};
|
|
4391
|
+
/** @description A delivery of the `scim.group.member_removed` webhook event. */
|
|
4392
|
+
WebhookScimGroupMemberRemovedEvent: {
|
|
4393
|
+
/** @enum {string} */
|
|
4394
|
+
event: "scim.group.member_removed";
|
|
4395
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4396
|
+
/** @enum {string} */
|
|
4397
|
+
resource_type: "scim_group";
|
|
4398
|
+
metadata: {
|
|
4399
|
+
/**
|
|
4400
|
+
* Format: uuid
|
|
4401
|
+
* @description The directory the group belongs to.
|
|
4402
|
+
*/
|
|
4403
|
+
directory_id: string;
|
|
4404
|
+
/**
|
|
4405
|
+
* Format: uuid
|
|
4406
|
+
* @description The person removed.
|
|
4407
|
+
*/
|
|
4408
|
+
identity_id: string;
|
|
4409
|
+
/**
|
|
4410
|
+
* Format: uuid
|
|
4411
|
+
* @description The directory's own id for the person.
|
|
4412
|
+
*/
|
|
4413
|
+
directory_user_id: string;
|
|
4414
|
+
};
|
|
4415
|
+
};
|
|
4416
|
+
};
|
|
4417
|
+
/** @description A delivery of the `scim.group.mapped` webhook event. */
|
|
4418
|
+
WebhookScimGroupMappedEvent: {
|
|
4419
|
+
/** @enum {string} */
|
|
4420
|
+
event: "scim.group.mapped";
|
|
4421
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4422
|
+
/** @enum {string} */
|
|
4423
|
+
resource_type: "scim_group";
|
|
4424
|
+
metadata: {
|
|
4425
|
+
/**
|
|
4426
|
+
* Format: uuid
|
|
4427
|
+
* @description The directory the group belongs to.
|
|
4428
|
+
*/
|
|
4429
|
+
directory_id: string;
|
|
4430
|
+
/**
|
|
4431
|
+
* Format: uuid
|
|
4432
|
+
* @description The role the group's members now hold.
|
|
4433
|
+
*/
|
|
4434
|
+
role_id: string;
|
|
4435
|
+
/**
|
|
4436
|
+
* Format: uuid
|
|
4437
|
+
* @description The node they hold it at.
|
|
4438
|
+
*/
|
|
4439
|
+
application_node_id: string;
|
|
4440
|
+
};
|
|
4441
|
+
};
|
|
4442
|
+
};
|
|
4443
|
+
/** @description A delivery of the `scim.group.unmapped` webhook event. */
|
|
4444
|
+
WebhookScimGroupUnmappedEvent: {
|
|
4445
|
+
/** @enum {string} */
|
|
4446
|
+
event: "scim.group.unmapped";
|
|
4447
|
+
data: components["schemas"]["ChangeEventDataDto"] & {
|
|
4448
|
+
/** @enum {string} */
|
|
4449
|
+
resource_type: "scim_group";
|
|
4450
|
+
metadata: {
|
|
4451
|
+
/**
|
|
4452
|
+
* Format: uuid
|
|
4453
|
+
* @description The directory the group belongs to.
|
|
4454
|
+
*/
|
|
4455
|
+
directory_id: string;
|
|
4456
|
+
};
|
|
4457
|
+
};
|
|
4458
|
+
};
|
|
4170
4459
|
/** @description A delivery of the `role.created` webhook event. */
|
|
4171
4460
|
WebhookRoleCreatedEvent: {
|
|
4172
4461
|
/** @enum {string} */
|
|
@@ -4480,11 +4769,16 @@ interface components {
|
|
|
4480
4769
|
* @description The invitation that was accepted.
|
|
4481
4770
|
*/
|
|
4482
4771
|
invite_id?: string;
|
|
4772
|
+
/**
|
|
4773
|
+
* Format: uuid
|
|
4774
|
+
* @description The directory that made the change, when directory sync did.
|
|
4775
|
+
*/
|
|
4776
|
+
directory_id?: string | null;
|
|
4483
4777
|
/**
|
|
4484
4778
|
* @description How the member joined, when it was not added directly.
|
|
4485
4779
|
* @enum {string}
|
|
4486
4780
|
*/
|
|
4487
|
-
source?: "sso_jit" | "invite";
|
|
4781
|
+
source?: "sso_jit" | "invite" | "scim";
|
|
4488
4782
|
};
|
|
4489
4783
|
};
|
|
4490
4784
|
};
|
|
@@ -4513,6 +4807,16 @@ interface components {
|
|
|
4513
4807
|
* @description The role it holds now.
|
|
4514
4808
|
*/
|
|
4515
4809
|
to_role_id: string;
|
|
4810
|
+
/**
|
|
4811
|
+
* @description Set when directory sync made the change rather than somebody directly.
|
|
4812
|
+
* @enum {string}
|
|
4813
|
+
*/
|
|
4814
|
+
source?: "scim";
|
|
4815
|
+
/**
|
|
4816
|
+
* Format: uuid
|
|
4817
|
+
* @description The directory that made the change, when directory sync did.
|
|
4818
|
+
*/
|
|
4819
|
+
directory_id?: string | null;
|
|
4516
4820
|
};
|
|
4517
4821
|
};
|
|
4518
4822
|
};
|
|
@@ -4538,6 +4842,16 @@ interface components {
|
|
|
4538
4842
|
role_id: string;
|
|
4539
4843
|
/** @description Grants it held beneath the organization, removed with the membership. */
|
|
4540
4844
|
scoped_assignments_removed: number;
|
|
4845
|
+
/**
|
|
4846
|
+
* @description Set when directory sync made the change rather than somebody directly.
|
|
4847
|
+
* @enum {string}
|
|
4848
|
+
*/
|
|
4849
|
+
source?: "scim";
|
|
4850
|
+
/**
|
|
4851
|
+
* Format: uuid
|
|
4852
|
+
* @description The directory that made the change, when directory sync did.
|
|
4853
|
+
*/
|
|
4854
|
+
directory_id?: string | null;
|
|
4541
4855
|
};
|
|
4542
4856
|
};
|
|
4543
4857
|
};
|