Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/Resource/OrganizationMembership.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* @property RoleResponse $role
* @property array<RoleResponse> $roles
* @property 'active'|'inactive'|'pending' $status
* @property array<string, mixed> $idpAttributes
* @property string $createdAt
* @property string $updatedAt
*/
Expand All @@ -29,6 +30,7 @@ class OrganizationMembership extends BaseWorkOSResource
"role",
"roles",
"status",
"idpAttributes",
"createdAt",
"updatedAt"
];
Expand All @@ -41,6 +43,7 @@ class OrganizationMembership extends BaseWorkOSResource
"role" => "role",
"roles" => "roles",
"status" => "status",
"idp_attributes" => "idpAttributes",
"created_at" => "createdAt",
"updated_at" => "updatedAt"
];
Expand Down
3 changes: 3 additions & 0 deletions tests/WorkOS/UserManagementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1750,6 +1750,7 @@ private function organizationMembershipResponseFixture($status = "active")
],
],
"status" => $status,
"idp_attributes" => [],
"created_at" => "2021-06-25T19:07:33.155Z",
"updated_at" => "2021-06-25T19:07:33.155Z",
]);
Expand All @@ -1774,6 +1775,7 @@ private function organizationMembershipListResponseFixture()
]
],
"status" => "active",
"idp_attributes" => [],
"created_at" => "2021-06-25T19:07:33.155Z",
"updated_at" => "2021-06-25T19:07:33.155Z",
]
Expand All @@ -1798,6 +1800,7 @@ private function organizationMembershipFixture()
new RoleResponse("admin"),
],
"status" => "active",
"idpAttributes" => [],
"createdAt" => "2021-06-25T19:07:33.155Z",
"updatedAt" => "2021-06-25T19:07:33.155Z",
];
Expand Down