@spoketech/hub-client 0.1.23 → 0.1.24

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/dist/index.js CHANGED
@@ -4304,6 +4304,22 @@ var membersGroup = HttpApiGroup.make("members").add(
4304
4304
  transform: memberListExamplesTransform
4305
4305
  })
4306
4306
  )
4307
+ ).add(
4308
+ HttpApiEndpoint.get(
4309
+ "getOrganizationMemberByExternalSystemId",
4310
+ "/organizations/:organizationId/members/by-external-system-id/:externalSystemMemberId",
4311
+ {
4312
+ params: OrganizationSourceLookupByIdParams,
4313
+ query: MemberResponseModeUrlParamsSchema,
4314
+ success: MemberResponseSchema,
4315
+ error: CommonErrorSchemas
4316
+ }
4317
+ ).annotateMerge(
4318
+ OpenApi.annotations({
4319
+ summary: "Get one member by external system ID for an organization",
4320
+ transform: memberExamplesTransform
4321
+ })
4322
+ )
4307
4323
  ).add(
4308
4324
  HttpApiEndpoint.get(
4309
4325
  "getOrganizationMember",
@@ -6365,6 +6381,15 @@ function makeSpokeClient(hubClient) {
6365
6381
  query: cleanParams({ responseMode: input.responseMode })
6366
6382
  })
6367
6383
  ),
6384
+ getByExternalSystemId: (input) => unwrap(
6385
+ hubClient.members.getOrganizationMemberByExternalSystemId({
6386
+ params: {
6387
+ organizationId: input.organizationId,
6388
+ externalSystemMemberId: input.externalSystemMemberId
6389
+ },
6390
+ query: cleanParams({ responseMode: input.responseMode })
6391
+ })
6392
+ ),
6368
6393
  bulkGet: (input) => unwrap(
6369
6394
  hubClient.members.bulkGetOrganizationMembers({
6370
6395
  params: { organizationId: input.organizationId },