@seamapi/http 0.9.3 → 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.
Files changed (29) hide show
  1. package/README.md +5 -5
  2. package/dist/connect.cjs +241 -0
  3. package/dist/connect.cjs.map +1 -1
  4. package/dist/connect.d.cts +56 -1
  5. package/lib/seam/connect/routes/acs-credential-pools.d.ts +19 -0
  6. package/lib/seam/connect/routes/acs-credential-pools.js +73 -0
  7. package/lib/seam/connect/routes/acs-credential-pools.js.map +1 -0
  8. package/lib/seam/connect/routes/acs-credential-provisioning-automations.d.ts +19 -0
  9. package/lib/seam/connect/routes/acs-credential-provisioning-automations.js +73 -0
  10. package/lib/seam/connect/routes/acs-credential-provisioning-automations.js.map +1 -0
  11. package/lib/seam/connect/routes/acs-entrances.d.ts +23 -0
  12. package/lib/seam/connect/routes/acs-entrances.js +81 -0
  13. package/lib/seam/connect/routes/acs-entrances.js.map +1 -0
  14. package/lib/seam/connect/routes/acs.d.ts +6 -0
  15. package/lib/seam/connect/routes/acs.js +12 -0
  16. package/lib/seam/connect/routes/acs.js.map +1 -1
  17. package/lib/seam/connect/routes/index.d.ts +3 -0
  18. package/lib/seam/connect/routes/index.js +3 -0
  19. package/lib/seam/connect/routes/index.js.map +1 -1
  20. package/lib/version.d.ts +1 -1
  21. package/lib/version.js +1 -1
  22. package/lib/version.js.map +1 -1
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/routes/acs-credential-pools.ts +154 -0
  25. package/src/lib/seam/connect/routes/acs-credential-provisioning-automations.ts +162 -0
  26. package/src/lib/seam/connect/routes/acs-entrances.ts +173 -0
  27. package/src/lib/seam/connect/routes/acs.ts +18 -0
  28. package/src/lib/seam/connect/routes/index.ts +3 -0
  29. package/src/lib/version.ts +1 -1
@@ -131,6 +131,38 @@ type AcsAccessGroupsRemoveUserBody = RouteRequestBody<'/acs/access_groups/remove
131
131
  type AcsAccessGroupsRemoveUserResponse = SetNonNullable<Required<RouteResponse<'/acs/access_groups/remove_user'>>>;
132
132
  type AcsAccessGroupsRemoveUserOptions = never;
133
133
 
134
+ declare class SeamHttpAcsCredentialPools {
135
+ client: Client;
136
+ readonly defaults: Required<SeamHttpRequestOptions>;
137
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
138
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsCredentialPools;
139
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsCredentialPools;
140
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsCredentialPools;
141
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsCredentialPools>;
142
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsCredentialPools;
143
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsCredentialPools;
144
+ list(body?: AcsCredentialPoolsListParams): Promise<AcsCredentialPoolsListResponse['acs_credential_pools']>;
145
+ }
146
+ type AcsCredentialPoolsListParams = RouteRequestBody<'/acs/credential_pools/list'>;
147
+ type AcsCredentialPoolsListResponse = SetNonNullable<Required<RouteResponse<'/acs/credential_pools/list'>>>;
148
+ type AcsCredentialPoolsListOptions = never;
149
+
150
+ declare class SeamHttpAcsCredentialProvisioningAutomations {
151
+ client: Client;
152
+ readonly defaults: Required<SeamHttpRequestOptions>;
153
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
154
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsCredentialProvisioningAutomations;
155
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsCredentialProvisioningAutomations;
156
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsCredentialProvisioningAutomations;
157
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsCredentialProvisioningAutomations>;
158
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsCredentialProvisioningAutomations;
159
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsCredentialProvisioningAutomations;
160
+ launch(body?: AcsCredentialProvisioningAutomationsLaunchBody): Promise<AcsCredentialProvisioningAutomationsLaunchResponse['acs_credential_provisioning_automation']>;
161
+ }
162
+ type AcsCredentialProvisioningAutomationsLaunchBody = RouteRequestBody<'/acs/credential_provisioning_automations/launch'>;
163
+ type AcsCredentialProvisioningAutomationsLaunchResponse = SetNonNullable<Required<RouteResponse<'/acs/credential_provisioning_automations/launch'>>>;
164
+ type AcsCredentialProvisioningAutomationsLaunchOptions = never;
165
+
134
166
  declare class SeamHttpAcsCredentials {
135
167
  client: Client;
136
168
  readonly defaults: Required<SeamHttpRequestOptions>;
@@ -171,6 +203,26 @@ type AcsCredentialsUpdateBody = RouteRequestBody<'/acs/credentials/update'>;
171
203
  type AcsCredentialsUpdateResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/update'>>>;
172
204
  type AcsCredentialsUpdateOptions = never;
173
205
 
206
+ declare class SeamHttpAcsEntrances {
207
+ client: Client;
208
+ readonly defaults: Required<SeamHttpRequestOptions>;
209
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
210
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsEntrances;
211
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsEntrances;
212
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsEntrances;
213
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsEntrances>;
214
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsEntrances;
215
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsEntrances;
216
+ get(body?: AcsEntrancesGetParams): Promise<AcsEntrancesGetResponse['acs_entrance']>;
217
+ list(body?: AcsEntrancesListParams): Promise<AcsEntrancesListResponse['acs_entrances']>;
218
+ }
219
+ type AcsEntrancesGetParams = RouteRequestBody<'/acs/entrances/get'>;
220
+ type AcsEntrancesGetResponse = SetNonNullable<Required<RouteResponse<'/acs/entrances/get'>>>;
221
+ type AcsEntrancesGetOptions = never;
222
+ type AcsEntrancesListParams = RouteRequestBody<'/acs/entrances/list'>;
223
+ type AcsEntrancesListResponse = SetNonNullable<Required<RouteResponse<'/acs/entrances/list'>>>;
224
+ type AcsEntrancesListOptions = never;
225
+
174
226
  declare class SeamHttpAcsSystems {
175
227
  client: Client;
176
228
  readonly defaults: Required<SeamHttpRequestOptions>;
@@ -250,7 +302,10 @@ declare class SeamHttpAcs {
250
302
  static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcs;
251
303
  static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcs;
252
304
  get accessGroups(): SeamHttpAcsAccessGroups;
305
+ get credentialPools(): SeamHttpAcsCredentialPools;
306
+ get credentialProvisioningAutomations(): SeamHttpAcsCredentialProvisioningAutomations;
253
307
  get credentials(): SeamHttpAcsCredentials;
308
+ get entrances(): SeamHttpAcsEntrances;
254
309
  get systems(): SeamHttpAcsSystems;
255
310
  get users(): SeamHttpAcsUsers;
256
311
  }
@@ -846,4 +901,4 @@ declare class UnserializableParamError extends Error {
846
901
  constructor(name: string, message: string);
847
902
  }
848
903
 
849
- export { AccessCodesCreateBody, AccessCodesCreateMultipleBody, AccessCodesCreateMultipleOptions, AccessCodesCreateMultipleResponse, AccessCodesCreateOptions, AccessCodesCreateResponse, AccessCodesDeleteBody, AccessCodesDeleteOptions, AccessCodesDeleteResponse, AccessCodesGenerateCodeBody, AccessCodesGenerateCodeOptions, AccessCodesGenerateCodeResponse, AccessCodesGetOptions, AccessCodesGetParams, AccessCodesGetResponse, AccessCodesListOptions, AccessCodesListParams, AccessCodesListResponse, AccessCodesPullBackupAccessCodeBody, AccessCodesPullBackupAccessCodeOptions, AccessCodesPullBackupAccessCodeResponse, AccessCodesUnmanagedConvertToManagedBody, AccessCodesUnmanagedConvertToManagedOptions, AccessCodesUnmanagedConvertToManagedResponse, AccessCodesUnmanagedDeleteBody, AccessCodesUnmanagedDeleteOptions, AccessCodesUnmanagedDeleteResponse, AccessCodesUnmanagedGetOptions, AccessCodesUnmanagedGetParams, AccessCodesUnmanagedGetResponse, AccessCodesUnmanagedListOptions, AccessCodesUnmanagedListParams, AccessCodesUnmanagedListResponse, AccessCodesUnmanagedUpdateBody, AccessCodesUnmanagedUpdateOptions, AccessCodesUnmanagedUpdateResponse, AccessCodesUpdateBody, AccessCodesUpdateOptions, AccessCodesUpdateResponse, AcsAccessGroupsAddUserBody, AcsAccessGroupsAddUserOptions, AcsAccessGroupsAddUserResponse, AcsAccessGroupsGetOptions, AcsAccessGroupsGetParams, AcsAccessGroupsGetResponse, AcsAccessGroupsListOptions, AcsAccessGroupsListParams, AcsAccessGroupsListResponse, AcsAccessGroupsListUsersOptions, AcsAccessGroupsListUsersParams, AcsAccessGroupsListUsersResponse, AcsAccessGroupsRemoveUserBody, AcsAccessGroupsRemoveUserOptions, AcsAccessGroupsRemoveUserResponse, AcsCredentialsAssignBody, AcsCredentialsAssignOptions, AcsCredentialsAssignResponse, AcsCredentialsCreateBody, AcsCredentialsCreateOptions, AcsCredentialsCreateResponse, AcsCredentialsDeleteBody, AcsCredentialsDeleteOptions, AcsCredentialsDeleteResponse, AcsCredentialsGetOptions, AcsCredentialsGetParams, AcsCredentialsGetResponse, AcsCredentialsListOptions, AcsCredentialsListParams, AcsCredentialsListResponse, AcsCredentialsUnassignBody, AcsCredentialsUnassignOptions, AcsCredentialsUnassignResponse, AcsCredentialsUpdateBody, AcsCredentialsUpdateOptions, AcsCredentialsUpdateResponse, AcsSystemsGetOptions, AcsSystemsGetParams, AcsSystemsGetResponse, AcsSystemsListOptions, AcsSystemsListParams, AcsSystemsListResponse, AcsUsersAddToAccessGroupBody, AcsUsersAddToAccessGroupOptions, AcsUsersAddToAccessGroupResponse, AcsUsersCreateBody, AcsUsersCreateOptions, AcsUsersCreateResponse, AcsUsersDeleteBody, AcsUsersDeleteOptions, AcsUsersDeleteResponse, AcsUsersGetOptions, AcsUsersGetParams, AcsUsersGetResponse, AcsUsersListOptions, AcsUsersListParams, AcsUsersListResponse, AcsUsersRemoveFromAccessGroupBody, AcsUsersRemoveFromAccessGroupOptions, AcsUsersRemoveFromAccessGroupResponse, AcsUsersSuspendBody, AcsUsersSuspendOptions, AcsUsersSuspendResponse, AcsUsersUnsuspendBody, AcsUsersUnsuspendOptions, AcsUsersUnsuspendResponse, AcsUsersUpdateBody, AcsUsersUpdateOptions, AcsUsersUpdateResponse, ActionAttemptsGetOptions, ActionAttemptsGetParams, ActionAttemptsGetResponse, ActionAttemptsListOptions, ActionAttemptsListParams, ActionAttemptsListResponse, ClientSessionsCreateBody, ClientSessionsCreateOptions, ClientSessionsCreateResponse, ClientSessionsDeleteBody, ClientSessionsDeleteOptions, ClientSessionsDeleteResponse, ClientSessionsGetOptions, ClientSessionsGetOrCreateBody, ClientSessionsGetOrCreateOptions, ClientSessionsGetOrCreateResponse, ClientSessionsGetParams, ClientSessionsGetResponse, ClientSessionsGrantAccessBody, ClientSessionsGrantAccessOptions, ClientSessionsGrantAccessResponse, ClientSessionsListOptions, ClientSessionsListParams, ClientSessionsListResponse, ClientSessionsRevokeBody, ClientSessionsRevokeOptions, ClientSessionsRevokeResponse, ConnectWebviewsCreateBody, ConnectWebviewsCreateOptions, ConnectWebviewsCreateResponse, ConnectWebviewsDeleteBody, ConnectWebviewsDeleteOptions, ConnectWebviewsDeleteResponse, ConnectWebviewsGetOptions, ConnectWebviewsGetParams, ConnectWebviewsGetResponse, ConnectWebviewsListOptions, ConnectWebviewsListParams, ConnectWebviewsListResponse, ConnectWebviewsViewOptions, ConnectWebviewsViewParams, ConnectWebviewsViewResponse, ConnectedAccountsDeleteBody, ConnectedAccountsDeleteOptions, ConnectedAccountsDeleteResponse, ConnectedAccountsGetOptions, ConnectedAccountsGetParams, ConnectedAccountsGetResponse, ConnectedAccountsListOptions, ConnectedAccountsListParams, ConnectedAccountsListResponse, DevicesDeleteBody, DevicesDeleteOptions, DevicesDeleteResponse, DevicesGetOptions, DevicesGetParams, DevicesGetResponse, DevicesListDeviceProvidersOptions, DevicesListDeviceProvidersParams, DevicesListDeviceProvidersResponse, DevicesListOptions, DevicesListParams, DevicesListResponse, DevicesUnmanagedGetOptions, DevicesUnmanagedGetParams, DevicesUnmanagedGetResponse, DevicesUnmanagedListOptions, DevicesUnmanagedListParams, DevicesUnmanagedListResponse, DevicesUnmanagedUpdateBody, DevicesUnmanagedUpdateOptions, DevicesUnmanagedUpdateResponse, DevicesUpdateBody, DevicesUpdateOptions, DevicesUpdateResponse, EventsGetOptions, EventsGetParams, EventsGetResponse, EventsListOptions, EventsListParams, EventsListResponse, LocksGetOptions, LocksGetParams, LocksGetResponse, LocksListOptions, LocksListParams, LocksListResponse, LocksLockDoorBody, LocksLockDoorOptions, LocksLockDoorResponse, LocksUnlockDoorBody, LocksUnlockDoorOptions, LocksUnlockDoorResponse, NoiseSensorsNoiseThresholdsCreateBody, NoiseSensorsNoiseThresholdsCreateOptions, NoiseSensorsNoiseThresholdsCreateResponse, NoiseSensorsNoiseThresholdsDeleteBody, NoiseSensorsNoiseThresholdsDeleteOptions, NoiseSensorsNoiseThresholdsDeleteResponse, NoiseSensorsNoiseThresholdsGetOptions, NoiseSensorsNoiseThresholdsGetParams, NoiseSensorsNoiseThresholdsGetResponse, NoiseSensorsNoiseThresholdsListOptions, NoiseSensorsNoiseThresholdsListParams, NoiseSensorsNoiseThresholdsListResponse, NoiseSensorsNoiseThresholdsUpdateBody, NoiseSensorsNoiseThresholdsUpdateOptions, NoiseSensorsNoiseThresholdsUpdateResponse, SeamActionAttemptError, SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttp, SeamHttpAccessCodes, SeamHttpAccessCodesUnmanaged, SeamHttpAcs, SeamHttpAcsAccessGroups, SeamHttpAcsCredentials, SeamHttpAcsSystems, SeamHttpAcsUsers, SeamHttpActionAttempts, SeamHttpApiError, SeamHttpClientSessions, SeamHttpConnectWebviews, SeamHttpConnectedAccounts, SeamHttpDevices, SeamHttpDevicesUnmanaged, SeamHttpEvents, SeamHttpFromPublishableKeyOptions, SeamHttpInvalidInputError, SeamHttpInvalidOptionsError, SeamHttpInvalidTokenError, SeamHttpLocks, SeamHttpMultiWorkspace, SeamHttpMultiWorkspaceInvalidOptionsError, SeamHttpMultiWorkspaceOptions, SeamHttpMultiWorkspaceOptionsWithClient, SeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, SeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, SeamHttpNoiseSensors, SeamHttpNoiseSensorsNoiseThresholds, SeamHttpOptions, SeamHttpOptionsFromEnv, SeamHttpOptionsWithApiKey, SeamHttpOptionsWithClient, SeamHttpOptionsWithClientSessionToken, SeamHttpOptionsWithConsoleSessionToken, SeamHttpOptionsWithPersonalAccessToken, SeamHttpRequestOptions, SeamHttpThermostats, SeamHttpThermostatsClimateSettingSchedules, SeamHttpUnauthorizedError, SeamHttpUserIdentities, SeamHttpWebhooks, SeamHttpWorkspaces, ThermostatsClimateSettingSchedulesCreateBody, ThermostatsClimateSettingSchedulesCreateOptions, ThermostatsClimateSettingSchedulesCreateResponse, ThermostatsClimateSettingSchedulesDeleteBody, ThermostatsClimateSettingSchedulesDeleteOptions, ThermostatsClimateSettingSchedulesDeleteResponse, ThermostatsClimateSettingSchedulesGetOptions, ThermostatsClimateSettingSchedulesGetParams, ThermostatsClimateSettingSchedulesGetResponse, ThermostatsClimateSettingSchedulesListOptions, ThermostatsClimateSettingSchedulesListParams, ThermostatsClimateSettingSchedulesListResponse, ThermostatsClimateSettingSchedulesUpdateBody, ThermostatsClimateSettingSchedulesUpdateOptions, ThermostatsClimateSettingSchedulesUpdateResponse, ThermostatsCoolBody, ThermostatsCoolOptions, ThermostatsCoolResponse, ThermostatsGetOptions, ThermostatsGetParams, ThermostatsGetResponse, ThermostatsHeatBody, ThermostatsHeatCoolBody, ThermostatsHeatCoolOptions, ThermostatsHeatCoolResponse, ThermostatsHeatOptions, ThermostatsHeatResponse, ThermostatsListOptions, ThermostatsListParams, ThermostatsListResponse, ThermostatsOffBody, ThermostatsOffOptions, ThermostatsOffResponse, ThermostatsSetFanModeBody, ThermostatsSetFanModeOptions, ThermostatsSetFanModeResponse, ThermostatsUpdateBody, ThermostatsUpdateOptions, ThermostatsUpdateResponse, UnserializableParamError, UserIdentitiesAddAcsUserBody, UserIdentitiesAddAcsUserOptions, UserIdentitiesAddAcsUserResponse, UserIdentitiesCreateBody, UserIdentitiesCreateOptions, UserIdentitiesCreateResponse, UserIdentitiesGetOptions, UserIdentitiesGetParams, UserIdentitiesGetResponse, UserIdentitiesGrantAccessToDeviceBody, UserIdentitiesGrantAccessToDeviceOptions, UserIdentitiesGrantAccessToDeviceResponse, UserIdentitiesListAccessibleDevicesOptions, UserIdentitiesListAccessibleDevicesParams, UserIdentitiesListAccessibleDevicesResponse, UserIdentitiesListAcsUsersOptions, UserIdentitiesListAcsUsersParams, UserIdentitiesListAcsUsersResponse, UserIdentitiesListOptions, UserIdentitiesListParams, UserIdentitiesListResponse, UserIdentitiesRemoveAcsUserBody, UserIdentitiesRemoveAcsUserOptions, UserIdentitiesRemoveAcsUserResponse, UserIdentitiesRevokeAccessToDeviceBody, UserIdentitiesRevokeAccessToDeviceOptions, UserIdentitiesRevokeAccessToDeviceResponse, WebhooksCreateBody, WebhooksCreateOptions, WebhooksCreateResponse, WebhooksDeleteBody, WebhooksDeleteOptions, WebhooksDeleteResponse, WebhooksGetOptions, WebhooksGetParams, WebhooksGetResponse, WebhooksListOptions, WebhooksListParams, WebhooksListResponse, WorkspacesCreateBody, WorkspacesCreateOptions, WorkspacesCreateResponse, WorkspacesGetOptions, WorkspacesGetParams, WorkspacesGetResponse, WorkspacesListOptions, WorkspacesListParams, WorkspacesListResponse, WorkspacesResetSandboxBody, WorkspacesResetSandboxOptions, WorkspacesResetSandboxResponse, errorInterceptor, isSeamActionAttemptError, isSeamActionAttemptFailedError, isSeamActionAttemptTimeoutError, isSeamHttpApiError, isSeamHttpInvalidInputError, isSeamHttpMultiWorkspaceOptionsWithClient, isSeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, isSeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, isSeamHttpUnauthorizedError, paramsSerializer };
904
+ export { AccessCodesCreateBody, AccessCodesCreateMultipleBody, AccessCodesCreateMultipleOptions, AccessCodesCreateMultipleResponse, AccessCodesCreateOptions, AccessCodesCreateResponse, AccessCodesDeleteBody, AccessCodesDeleteOptions, AccessCodesDeleteResponse, AccessCodesGenerateCodeBody, AccessCodesGenerateCodeOptions, AccessCodesGenerateCodeResponse, AccessCodesGetOptions, AccessCodesGetParams, AccessCodesGetResponse, AccessCodesListOptions, AccessCodesListParams, AccessCodesListResponse, AccessCodesPullBackupAccessCodeBody, AccessCodesPullBackupAccessCodeOptions, AccessCodesPullBackupAccessCodeResponse, AccessCodesUnmanagedConvertToManagedBody, AccessCodesUnmanagedConvertToManagedOptions, AccessCodesUnmanagedConvertToManagedResponse, AccessCodesUnmanagedDeleteBody, AccessCodesUnmanagedDeleteOptions, AccessCodesUnmanagedDeleteResponse, AccessCodesUnmanagedGetOptions, AccessCodesUnmanagedGetParams, AccessCodesUnmanagedGetResponse, AccessCodesUnmanagedListOptions, AccessCodesUnmanagedListParams, AccessCodesUnmanagedListResponse, AccessCodesUnmanagedUpdateBody, AccessCodesUnmanagedUpdateOptions, AccessCodesUnmanagedUpdateResponse, AccessCodesUpdateBody, AccessCodesUpdateOptions, AccessCodesUpdateResponse, AcsAccessGroupsAddUserBody, AcsAccessGroupsAddUserOptions, AcsAccessGroupsAddUserResponse, AcsAccessGroupsGetOptions, AcsAccessGroupsGetParams, AcsAccessGroupsGetResponse, AcsAccessGroupsListOptions, AcsAccessGroupsListParams, AcsAccessGroupsListResponse, AcsAccessGroupsListUsersOptions, AcsAccessGroupsListUsersParams, AcsAccessGroupsListUsersResponse, AcsAccessGroupsRemoveUserBody, AcsAccessGroupsRemoveUserOptions, AcsAccessGroupsRemoveUserResponse, AcsCredentialPoolsListOptions, AcsCredentialPoolsListParams, AcsCredentialPoolsListResponse, AcsCredentialProvisioningAutomationsLaunchBody, AcsCredentialProvisioningAutomationsLaunchOptions, AcsCredentialProvisioningAutomationsLaunchResponse, AcsCredentialsAssignBody, AcsCredentialsAssignOptions, AcsCredentialsAssignResponse, AcsCredentialsCreateBody, AcsCredentialsCreateOptions, AcsCredentialsCreateResponse, AcsCredentialsDeleteBody, AcsCredentialsDeleteOptions, AcsCredentialsDeleteResponse, AcsCredentialsGetOptions, AcsCredentialsGetParams, AcsCredentialsGetResponse, AcsCredentialsListOptions, AcsCredentialsListParams, AcsCredentialsListResponse, AcsCredentialsUnassignBody, AcsCredentialsUnassignOptions, AcsCredentialsUnassignResponse, AcsCredentialsUpdateBody, AcsCredentialsUpdateOptions, AcsCredentialsUpdateResponse, AcsEntrancesGetOptions, AcsEntrancesGetParams, AcsEntrancesGetResponse, AcsEntrancesListOptions, AcsEntrancesListParams, AcsEntrancesListResponse, AcsSystemsGetOptions, AcsSystemsGetParams, AcsSystemsGetResponse, AcsSystemsListOptions, AcsSystemsListParams, AcsSystemsListResponse, AcsUsersAddToAccessGroupBody, AcsUsersAddToAccessGroupOptions, AcsUsersAddToAccessGroupResponse, AcsUsersCreateBody, AcsUsersCreateOptions, AcsUsersCreateResponse, AcsUsersDeleteBody, AcsUsersDeleteOptions, AcsUsersDeleteResponse, AcsUsersGetOptions, AcsUsersGetParams, AcsUsersGetResponse, AcsUsersListOptions, AcsUsersListParams, AcsUsersListResponse, AcsUsersRemoveFromAccessGroupBody, AcsUsersRemoveFromAccessGroupOptions, AcsUsersRemoveFromAccessGroupResponse, AcsUsersSuspendBody, AcsUsersSuspendOptions, AcsUsersSuspendResponse, AcsUsersUnsuspendBody, AcsUsersUnsuspendOptions, AcsUsersUnsuspendResponse, AcsUsersUpdateBody, AcsUsersUpdateOptions, AcsUsersUpdateResponse, ActionAttemptsGetOptions, ActionAttemptsGetParams, ActionAttemptsGetResponse, ActionAttemptsListOptions, ActionAttemptsListParams, ActionAttemptsListResponse, ClientSessionsCreateBody, ClientSessionsCreateOptions, ClientSessionsCreateResponse, ClientSessionsDeleteBody, ClientSessionsDeleteOptions, ClientSessionsDeleteResponse, ClientSessionsGetOptions, ClientSessionsGetOrCreateBody, ClientSessionsGetOrCreateOptions, ClientSessionsGetOrCreateResponse, ClientSessionsGetParams, ClientSessionsGetResponse, ClientSessionsGrantAccessBody, ClientSessionsGrantAccessOptions, ClientSessionsGrantAccessResponse, ClientSessionsListOptions, ClientSessionsListParams, ClientSessionsListResponse, ClientSessionsRevokeBody, ClientSessionsRevokeOptions, ClientSessionsRevokeResponse, ConnectWebviewsCreateBody, ConnectWebviewsCreateOptions, ConnectWebviewsCreateResponse, ConnectWebviewsDeleteBody, ConnectWebviewsDeleteOptions, ConnectWebviewsDeleteResponse, ConnectWebviewsGetOptions, ConnectWebviewsGetParams, ConnectWebviewsGetResponse, ConnectWebviewsListOptions, ConnectWebviewsListParams, ConnectWebviewsListResponse, ConnectWebviewsViewOptions, ConnectWebviewsViewParams, ConnectWebviewsViewResponse, ConnectedAccountsDeleteBody, ConnectedAccountsDeleteOptions, ConnectedAccountsDeleteResponse, ConnectedAccountsGetOptions, ConnectedAccountsGetParams, ConnectedAccountsGetResponse, ConnectedAccountsListOptions, ConnectedAccountsListParams, ConnectedAccountsListResponse, DevicesDeleteBody, DevicesDeleteOptions, DevicesDeleteResponse, DevicesGetOptions, DevicesGetParams, DevicesGetResponse, DevicesListDeviceProvidersOptions, DevicesListDeviceProvidersParams, DevicesListDeviceProvidersResponse, DevicesListOptions, DevicesListParams, DevicesListResponse, DevicesUnmanagedGetOptions, DevicesUnmanagedGetParams, DevicesUnmanagedGetResponse, DevicesUnmanagedListOptions, DevicesUnmanagedListParams, DevicesUnmanagedListResponse, DevicesUnmanagedUpdateBody, DevicesUnmanagedUpdateOptions, DevicesUnmanagedUpdateResponse, DevicesUpdateBody, DevicesUpdateOptions, DevicesUpdateResponse, EventsGetOptions, EventsGetParams, EventsGetResponse, EventsListOptions, EventsListParams, EventsListResponse, LocksGetOptions, LocksGetParams, LocksGetResponse, LocksListOptions, LocksListParams, LocksListResponse, LocksLockDoorBody, LocksLockDoorOptions, LocksLockDoorResponse, LocksUnlockDoorBody, LocksUnlockDoorOptions, LocksUnlockDoorResponse, NoiseSensorsNoiseThresholdsCreateBody, NoiseSensorsNoiseThresholdsCreateOptions, NoiseSensorsNoiseThresholdsCreateResponse, NoiseSensorsNoiseThresholdsDeleteBody, NoiseSensorsNoiseThresholdsDeleteOptions, NoiseSensorsNoiseThresholdsDeleteResponse, NoiseSensorsNoiseThresholdsGetOptions, NoiseSensorsNoiseThresholdsGetParams, NoiseSensorsNoiseThresholdsGetResponse, NoiseSensorsNoiseThresholdsListOptions, NoiseSensorsNoiseThresholdsListParams, NoiseSensorsNoiseThresholdsListResponse, NoiseSensorsNoiseThresholdsUpdateBody, NoiseSensorsNoiseThresholdsUpdateOptions, NoiseSensorsNoiseThresholdsUpdateResponse, SeamActionAttemptError, SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttp, SeamHttpAccessCodes, SeamHttpAccessCodesUnmanaged, SeamHttpAcs, SeamHttpAcsAccessGroups, SeamHttpAcsCredentialPools, SeamHttpAcsCredentialProvisioningAutomations, SeamHttpAcsCredentials, SeamHttpAcsEntrances, SeamHttpAcsSystems, SeamHttpAcsUsers, SeamHttpActionAttempts, SeamHttpApiError, SeamHttpClientSessions, SeamHttpConnectWebviews, SeamHttpConnectedAccounts, SeamHttpDevices, SeamHttpDevicesUnmanaged, SeamHttpEvents, SeamHttpFromPublishableKeyOptions, SeamHttpInvalidInputError, SeamHttpInvalidOptionsError, SeamHttpInvalidTokenError, SeamHttpLocks, SeamHttpMultiWorkspace, SeamHttpMultiWorkspaceInvalidOptionsError, SeamHttpMultiWorkspaceOptions, SeamHttpMultiWorkspaceOptionsWithClient, SeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, SeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, SeamHttpNoiseSensors, SeamHttpNoiseSensorsNoiseThresholds, SeamHttpOptions, SeamHttpOptionsFromEnv, SeamHttpOptionsWithApiKey, SeamHttpOptionsWithClient, SeamHttpOptionsWithClientSessionToken, SeamHttpOptionsWithConsoleSessionToken, SeamHttpOptionsWithPersonalAccessToken, SeamHttpRequestOptions, SeamHttpThermostats, SeamHttpThermostatsClimateSettingSchedules, SeamHttpUnauthorizedError, SeamHttpUserIdentities, SeamHttpWebhooks, SeamHttpWorkspaces, ThermostatsClimateSettingSchedulesCreateBody, ThermostatsClimateSettingSchedulesCreateOptions, ThermostatsClimateSettingSchedulesCreateResponse, ThermostatsClimateSettingSchedulesDeleteBody, ThermostatsClimateSettingSchedulesDeleteOptions, ThermostatsClimateSettingSchedulesDeleteResponse, ThermostatsClimateSettingSchedulesGetOptions, ThermostatsClimateSettingSchedulesGetParams, ThermostatsClimateSettingSchedulesGetResponse, ThermostatsClimateSettingSchedulesListOptions, ThermostatsClimateSettingSchedulesListParams, ThermostatsClimateSettingSchedulesListResponse, ThermostatsClimateSettingSchedulesUpdateBody, ThermostatsClimateSettingSchedulesUpdateOptions, ThermostatsClimateSettingSchedulesUpdateResponse, ThermostatsCoolBody, ThermostatsCoolOptions, ThermostatsCoolResponse, ThermostatsGetOptions, ThermostatsGetParams, ThermostatsGetResponse, ThermostatsHeatBody, ThermostatsHeatCoolBody, ThermostatsHeatCoolOptions, ThermostatsHeatCoolResponse, ThermostatsHeatOptions, ThermostatsHeatResponse, ThermostatsListOptions, ThermostatsListParams, ThermostatsListResponse, ThermostatsOffBody, ThermostatsOffOptions, ThermostatsOffResponse, ThermostatsSetFanModeBody, ThermostatsSetFanModeOptions, ThermostatsSetFanModeResponse, ThermostatsUpdateBody, ThermostatsUpdateOptions, ThermostatsUpdateResponse, UnserializableParamError, UserIdentitiesAddAcsUserBody, UserIdentitiesAddAcsUserOptions, UserIdentitiesAddAcsUserResponse, UserIdentitiesCreateBody, UserIdentitiesCreateOptions, UserIdentitiesCreateResponse, UserIdentitiesGetOptions, UserIdentitiesGetParams, UserIdentitiesGetResponse, UserIdentitiesGrantAccessToDeviceBody, UserIdentitiesGrantAccessToDeviceOptions, UserIdentitiesGrantAccessToDeviceResponse, UserIdentitiesListAccessibleDevicesOptions, UserIdentitiesListAccessibleDevicesParams, UserIdentitiesListAccessibleDevicesResponse, UserIdentitiesListAcsUsersOptions, UserIdentitiesListAcsUsersParams, UserIdentitiesListAcsUsersResponse, UserIdentitiesListOptions, UserIdentitiesListParams, UserIdentitiesListResponse, UserIdentitiesRemoveAcsUserBody, UserIdentitiesRemoveAcsUserOptions, UserIdentitiesRemoveAcsUserResponse, UserIdentitiesRevokeAccessToDeviceBody, UserIdentitiesRevokeAccessToDeviceOptions, UserIdentitiesRevokeAccessToDeviceResponse, WebhooksCreateBody, WebhooksCreateOptions, WebhooksCreateResponse, WebhooksDeleteBody, WebhooksDeleteOptions, WebhooksDeleteResponse, WebhooksGetOptions, WebhooksGetParams, WebhooksGetResponse, WebhooksListOptions, WebhooksListParams, WebhooksListResponse, WorkspacesCreateBody, WorkspacesCreateOptions, WorkspacesCreateResponse, WorkspacesGetOptions, WorkspacesGetParams, WorkspacesGetResponse, WorkspacesListOptions, WorkspacesListParams, WorkspacesListResponse, WorkspacesResetSandboxBody, WorkspacesResetSandboxOptions, WorkspacesResetSandboxResponse, errorInterceptor, isSeamActionAttemptError, isSeamActionAttemptFailedError, isSeamActionAttemptTimeoutError, isSeamHttpApiError, isSeamHttpInvalidInputError, isSeamHttpMultiWorkspaceOptionsWithClient, isSeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, isSeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, isSeamHttpUnauthorizedError, paramsSerializer };
@@ -0,0 +1,19 @@
1
+ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
2
+ import type { SetNonNullable } from 'type-fest';
3
+ import { type Client } from '../../../../lib/seam/connect/client.js';
4
+ import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../lib/seam/connect/options.js';
5
+ export declare class SeamHttpAcsCredentialPools {
6
+ client: Client;
7
+ readonly defaults: Required<SeamHttpRequestOptions>;
8
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
9
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsCredentialPools;
10
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsCredentialPools;
11
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsCredentialPools;
12
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsCredentialPools>;
13
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsCredentialPools;
14
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsCredentialPools;
15
+ list(body?: AcsCredentialPoolsListParams): Promise<AcsCredentialPoolsListResponse['acs_credential_pools']>;
16
+ }
17
+ export type AcsCredentialPoolsListParams = RouteRequestBody<'/acs/credential_pools/list'>;
18
+ export type AcsCredentialPoolsListResponse = SetNonNullable<Required<RouteResponse<'/acs/credential_pools/list'>>>;
19
+ export type AcsCredentialPoolsListOptions = never;
@@ -0,0 +1,73 @@
1
+ /*
2
+ * Automatically generated by generate-routes.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
5
+ import { warnOnInsecureuserIdentifierKey } from '../../../../lib/seam/connect/auth.js';
6
+ import { createClient } from '../../../../lib/seam/connect/client.js';
7
+ import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../lib/seam/connect/options.js';
8
+ import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../lib/seam/connect/parse-options.js';
9
+ import { SeamHttpClientSessions } from './client-sessions.js';
10
+ export class SeamHttpAcsCredentialPools {
11
+ constructor(apiKeyOrOptions = {}) {
12
+ const options = parseOptions(apiKeyOrOptions);
13
+ this.client = 'client' in options ? options.client : createClient(options);
14
+ this.defaults = limitToSeamHttpRequestOptions(options);
15
+ }
16
+ static fromClient(client, options = {}) {
17
+ const constructorOptions = { ...options, client };
18
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
19
+ throw new SeamHttpInvalidOptionsError('Missing client');
20
+ }
21
+ return new SeamHttpAcsCredentialPools(constructorOptions);
22
+ }
23
+ static fromApiKey(apiKey, options = {}) {
24
+ const constructorOptions = { ...options, apiKey };
25
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
26
+ throw new SeamHttpInvalidOptionsError('Missing apiKey');
27
+ }
28
+ return new SeamHttpAcsCredentialPools(constructorOptions);
29
+ }
30
+ static fromClientSessionToken(clientSessionToken, options = {}) {
31
+ const constructorOptions = { ...options, clientSessionToken };
32
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
33
+ throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
34
+ }
35
+ return new SeamHttpAcsCredentialPools(constructorOptions);
36
+ }
37
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
38
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
39
+ const clientOptions = parseOptions({ ...options, publishableKey });
40
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
41
+ throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttp.fromPublishableKey');
42
+ }
43
+ const client = createClient(clientOptions);
44
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
45
+ const { token } = await clientSessions.getOrCreate({
46
+ user_identifier_key: userIdentifierKey,
47
+ });
48
+ return SeamHttpAcsCredentialPools.fromClientSessionToken(token, options);
49
+ }
50
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
51
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
52
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
53
+ throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
54
+ }
55
+ return new SeamHttpAcsCredentialPools(constructorOptions);
56
+ }
57
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
58
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
59
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
60
+ throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
61
+ }
62
+ return new SeamHttpAcsCredentialPools(constructorOptions);
63
+ }
64
+ async list(body) {
65
+ const { data } = await this.client.request({
66
+ url: '/acs/credential_pools/list',
67
+ method: 'post',
68
+ data: body,
69
+ });
70
+ return data.acs_credential_pools;
71
+ }
72
+ }
73
+ //# sourceMappingURL=acs-credential-pools.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acs-credential-pools.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/acs-credential-pools.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAA;AAC1E,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GAQ5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,6BAA6B,EAC7B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAE1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAE7D,MAAM,OAAO,0BAA0B;IAIrC,YAAY,kBAA4C,EAAE;QACxD,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,MAAM,GAAG,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,CAA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IAAI,EAAE,IAAI;SACX,CAAC,CAAA;QAEF,OAAO,IAAI,CAAC,oBAAoB,CAAA;IAClC,CAAC;CACF"}
@@ -0,0 +1,19 @@
1
+ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
2
+ import type { SetNonNullable } from 'type-fest';
3
+ import { type Client } from '../../../../lib/seam/connect/client.js';
4
+ import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../lib/seam/connect/options.js';
5
+ export declare class SeamHttpAcsCredentialProvisioningAutomations {
6
+ client: Client;
7
+ readonly defaults: Required<SeamHttpRequestOptions>;
8
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
9
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsCredentialProvisioningAutomations;
10
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsCredentialProvisioningAutomations;
11
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsCredentialProvisioningAutomations;
12
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsCredentialProvisioningAutomations>;
13
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsCredentialProvisioningAutomations;
14
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsCredentialProvisioningAutomations;
15
+ launch(body?: AcsCredentialProvisioningAutomationsLaunchBody): Promise<AcsCredentialProvisioningAutomationsLaunchResponse['acs_credential_provisioning_automation']>;
16
+ }
17
+ export type AcsCredentialProvisioningAutomationsLaunchBody = RouteRequestBody<'/acs/credential_provisioning_automations/launch'>;
18
+ export type AcsCredentialProvisioningAutomationsLaunchResponse = SetNonNullable<Required<RouteResponse<'/acs/credential_provisioning_automations/launch'>>>;
19
+ export type AcsCredentialProvisioningAutomationsLaunchOptions = never;
@@ -0,0 +1,73 @@
1
+ /*
2
+ * Automatically generated by generate-routes.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
5
+ import { warnOnInsecureuserIdentifierKey } from '../../../../lib/seam/connect/auth.js';
6
+ import { createClient } from '../../../../lib/seam/connect/client.js';
7
+ import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../lib/seam/connect/options.js';
8
+ import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../lib/seam/connect/parse-options.js';
9
+ import { SeamHttpClientSessions } from './client-sessions.js';
10
+ export class SeamHttpAcsCredentialProvisioningAutomations {
11
+ constructor(apiKeyOrOptions = {}) {
12
+ const options = parseOptions(apiKeyOrOptions);
13
+ this.client = 'client' in options ? options.client : createClient(options);
14
+ this.defaults = limitToSeamHttpRequestOptions(options);
15
+ }
16
+ static fromClient(client, options = {}) {
17
+ const constructorOptions = { ...options, client };
18
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
19
+ throw new SeamHttpInvalidOptionsError('Missing client');
20
+ }
21
+ return new SeamHttpAcsCredentialProvisioningAutomations(constructorOptions);
22
+ }
23
+ static fromApiKey(apiKey, options = {}) {
24
+ const constructorOptions = { ...options, apiKey };
25
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
26
+ throw new SeamHttpInvalidOptionsError('Missing apiKey');
27
+ }
28
+ return new SeamHttpAcsCredentialProvisioningAutomations(constructorOptions);
29
+ }
30
+ static fromClientSessionToken(clientSessionToken, options = {}) {
31
+ const constructorOptions = { ...options, clientSessionToken };
32
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
33
+ throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
34
+ }
35
+ return new SeamHttpAcsCredentialProvisioningAutomations(constructorOptions);
36
+ }
37
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
38
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
39
+ const clientOptions = parseOptions({ ...options, publishableKey });
40
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
41
+ throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttp.fromPublishableKey');
42
+ }
43
+ const client = createClient(clientOptions);
44
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
45
+ const { token } = await clientSessions.getOrCreate({
46
+ user_identifier_key: userIdentifierKey,
47
+ });
48
+ return SeamHttpAcsCredentialProvisioningAutomations.fromClientSessionToken(token, options);
49
+ }
50
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
51
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
52
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
53
+ throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
54
+ }
55
+ return new SeamHttpAcsCredentialProvisioningAutomations(constructorOptions);
56
+ }
57
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
58
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
59
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
60
+ throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
61
+ }
62
+ return new SeamHttpAcsCredentialProvisioningAutomations(constructorOptions);
63
+ }
64
+ async launch(body) {
65
+ const { data } = await this.client.request({
66
+ url: '/acs/credential_provisioning_automations/launch',
67
+ method: 'post',
68
+ data: body,
69
+ });
70
+ return data.acs_credential_provisioning_automation;
71
+ }
72
+ }
73
+ //# sourceMappingURL=acs-credential-provisioning-automations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acs-credential-provisioning-automations.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/acs-credential-provisioning-automations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAA;AAC1E,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GAQ5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,6BAA6B,EAC7B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAE1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAE7D,MAAM,OAAO,4CAA4C;IAIvD,YAAY,kBAA4C,EAAE;QACxD,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,MAAM,GAAG,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,CAAA;QAC1E,IAAI,CAAC,QAAQ,GAAG,6BAA6B,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;IAED,MAAM,CAAC,UAAU,CACf,MAA2C,EAC3C,UAAqD,EAAE;QAEvD,MAAM,kBAAkB,GAAG,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,CAAA;QAC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AM,EAAE,KAAK,EAAE,GAAG,MAAM,cAAc,CAAC,WAAW,CAAC;YACjD,mBAAmB,EAAE,iBAAiB;SACvC,CAAC,CAAA;QACF,OAAO,4CAA4C,CAAC,sBAAsB,CACxE,KAAK,EACL,OAAO,CACR,CAAA;IACH,CAAC;IAED,MAAM,CAAC,uBAAuB,CAC5B,mBAAkF,EAClF,WAAkE,EAClE,UAGI,EAAE;QAEN,MAAM,kBAAkB,GAAG,EAAE,GAAG,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,CAAA;QAC3E,IAAI,CAAC,wCAAwC,CAAC,kBAAkB,CAAC,EAAE;YACjE,MAAM,IAAI,2BAA2B,CACnC,4CAA4C,CAC7C,CAAA;SACF;QACD,OAAO,IAAI,4CAA4C,CAAC,kBAAkB,CAAC,CAAA;IAC7E,CAAC;IAED,MAAM,CAAC,uBAAuB,CAC5B,mBAAkF,EAClF,WAAkE,EAClE,UAGI,EAAE;QAEN,MAAM,kBAAkB,GAAG,EAAE,GAAG,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,CAAA;QAC3E,IAAI,CAAC,wCAAwC,CAAC,kBAAkB,CAAC,EAAE;YACjE,MAAM,IAAI,2BAA2B,CACnC,4CAA4C,CAC7C,CAAA;SACF;QACD,OAAO,IAAI,4CAA4C,CAAC,kBAAkB,CAAC,CAAA;IAC7E,CAAC;IAED,KAAK,CAAC,MAAM,CACV,IAAqD;QAIrD,MAAM,EAAE,IAAI,EAAE,GACZ,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CACvB;YACE,GAAG,EAAE,iDAAiD;YACtD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;SACX,CACF,CAAA;QAEH,OAAO,IAAI,CAAC,sCAAsC,CAAA;IACpD,CAAC;CACF"}
@@ -0,0 +1,23 @@
1
+ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
2
+ import type { SetNonNullable } from 'type-fest';
3
+ import { type Client } from '../../../../lib/seam/connect/client.js';
4
+ import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../lib/seam/connect/options.js';
5
+ export declare class SeamHttpAcsEntrances {
6
+ client: Client;
7
+ readonly defaults: Required<SeamHttpRequestOptions>;
8
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
9
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsEntrances;
10
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsEntrances;
11
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsEntrances;
12
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsEntrances>;
13
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsEntrances;
14
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsEntrances;
15
+ get(body?: AcsEntrancesGetParams): Promise<AcsEntrancesGetResponse['acs_entrance']>;
16
+ list(body?: AcsEntrancesListParams): Promise<AcsEntrancesListResponse['acs_entrances']>;
17
+ }
18
+ export type AcsEntrancesGetParams = RouteRequestBody<'/acs/entrances/get'>;
19
+ export type AcsEntrancesGetResponse = SetNonNullable<Required<RouteResponse<'/acs/entrances/get'>>>;
20
+ export type AcsEntrancesGetOptions = never;
21
+ export type AcsEntrancesListParams = RouteRequestBody<'/acs/entrances/list'>;
22
+ export type AcsEntrancesListResponse = SetNonNullable<Required<RouteResponse<'/acs/entrances/list'>>>;
23
+ export type AcsEntrancesListOptions = never;
@@ -0,0 +1,81 @@
1
+ /*
2
+ * Automatically generated by generate-routes.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
5
+ import { warnOnInsecureuserIdentifierKey } from '../../../../lib/seam/connect/auth.js';
6
+ import { createClient } from '../../../../lib/seam/connect/client.js';
7
+ import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../lib/seam/connect/options.js';
8
+ import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../lib/seam/connect/parse-options.js';
9
+ import { SeamHttpClientSessions } from './client-sessions.js';
10
+ export class SeamHttpAcsEntrances {
11
+ constructor(apiKeyOrOptions = {}) {
12
+ const options = parseOptions(apiKeyOrOptions);
13
+ this.client = 'client' in options ? options.client : createClient(options);
14
+ this.defaults = limitToSeamHttpRequestOptions(options);
15
+ }
16
+ static fromClient(client, options = {}) {
17
+ const constructorOptions = { ...options, client };
18
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
19
+ throw new SeamHttpInvalidOptionsError('Missing client');
20
+ }
21
+ return new SeamHttpAcsEntrances(constructorOptions);
22
+ }
23
+ static fromApiKey(apiKey, options = {}) {
24
+ const constructorOptions = { ...options, apiKey };
25
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
26
+ throw new SeamHttpInvalidOptionsError('Missing apiKey');
27
+ }
28
+ return new SeamHttpAcsEntrances(constructorOptions);
29
+ }
30
+ static fromClientSessionToken(clientSessionToken, options = {}) {
31
+ const constructorOptions = { ...options, clientSessionToken };
32
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
33
+ throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
34
+ }
35
+ return new SeamHttpAcsEntrances(constructorOptions);
36
+ }
37
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
38
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
39
+ const clientOptions = parseOptions({ ...options, publishableKey });
40
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
41
+ throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttp.fromPublishableKey');
42
+ }
43
+ const client = createClient(clientOptions);
44
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
45
+ const { token } = await clientSessions.getOrCreate({
46
+ user_identifier_key: userIdentifierKey,
47
+ });
48
+ return SeamHttpAcsEntrances.fromClientSessionToken(token, options);
49
+ }
50
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
51
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
52
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
53
+ throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
54
+ }
55
+ return new SeamHttpAcsEntrances(constructorOptions);
56
+ }
57
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
58
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
59
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
60
+ throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
61
+ }
62
+ return new SeamHttpAcsEntrances(constructorOptions);
63
+ }
64
+ async get(body) {
65
+ const { data } = await this.client.request({
66
+ url: '/acs/entrances/get',
67
+ method: 'post',
68
+ data: body,
69
+ });
70
+ return data.acs_entrance;
71
+ }
72
+ async list(body) {
73
+ const { data } = await this.client.request({
74
+ url: '/acs/entrances/list',
75
+ method: 'post',
76
+ data: body,
77
+ });
78
+ return data.acs_entrances;
79
+ }
80
+ }
81
+ //# sourceMappingURL=acs-entrances.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acs-entrances.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/acs-entrances.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAA;AAC1E,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GAQ5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,6BAA6B,EAC7B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAE1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAE7D,MAAM,OAAO,oBAAoB;IAI/B,YAAY,kBAA4C,EAAE;QACxD,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,MAAM,GAAG,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,CAAA;QAC1E,IAAI,CAAC,QAAQ,GAAG,6BAA6B,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;IAED,MAAM,CAAC,UAAU,CACf,MAA2C,EAC3C,UAAqD,EAAE;QAEvD,MAAM,kBAAkB,GAAG,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,CAAA;QACjD,IAAI,CAAC,2BAA2B,CAAC,kBAAkB,CAAC,EAAE;YACpD,MAAM,IAAI,2BAA2B,CAAC,gBAAgB,CAAC,CAAA;SACxD;QACD,OAAO,IAAI,oBAAoB,CAAC,kBAAkB,CAAC,CAAA;IACrD,CAAC;IAED,MAAM,CAAC,UAAU,C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{ type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../lib/seam/connect/options.js';
3
3
  import { SeamHttpAcsAccessGroups } from './acs-access-groups.js';
4
+ import { SeamHttpAcsCredentialPools } from './acs-credential-pools.js';
5
+ import { SeamHttpAcsCredentialProvisioningAutomations } from './acs-credential-provisioning-automations.js';
4
6
  import { SeamHttpAcsCredentials } from './acs-credentials.js';
7
+ import { SeamHttpAcsEntrances } from './acs-entrances.js';
5
8
  import { SeamHttpAcsSystems } from './acs-systems.js';
6
9
  import { SeamHttpAcsUsers } from './acs-users.js';
7
10
  export declare class SeamHttpAcs {
@@ -15,7 +18,10 @@ export declare class SeamHttpAcs {
15
18
  static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcs;
16
19
  static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcs;
17
20
  get accessGroups(): SeamHttpAcsAccessGroups;
21
+ get credentialPools(): SeamHttpAcsCredentialPools;
22
+ get credentialProvisioningAutomations(): SeamHttpAcsCredentialProvisioningAutomations;
18
23
  get credentials(): SeamHttpAcsCredentials;
24
+ get entrances(): SeamHttpAcsEntrances;
19
25
  get systems(): SeamHttpAcsSystems;
20
26
  get users(): SeamHttpAcsUsers;
21
27
  }
@@ -7,7 +7,10 @@ import { createClient } from '../../../../lib/seam/connect/client.js';
7
7
  import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../lib/seam/connect/options.js';
8
8
  import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../lib/seam/connect/parse-options.js';
9
9
  import { SeamHttpAcsAccessGroups } from './acs-access-groups.js';
10
+ import { SeamHttpAcsCredentialPools } from './acs-credential-pools.js';
11
+ import { SeamHttpAcsCredentialProvisioningAutomations } from './acs-credential-provisioning-automations.js';
10
12
  import { SeamHttpAcsCredentials } from './acs-credentials.js';
13
+ import { SeamHttpAcsEntrances } from './acs-entrances.js';
11
14
  import { SeamHttpAcsSystems } from './acs-systems.js';
12
15
  import { SeamHttpAcsUsers } from './acs-users.js';
13
16
  import { SeamHttpClientSessions } from './client-sessions.js';
@@ -68,9 +71,18 @@ export class SeamHttpAcs {
68
71
  get accessGroups() {
69
72
  return SeamHttpAcsAccessGroups.fromClient(this.client, this.defaults);
70
73
  }
74
+ get credentialPools() {
75
+ return SeamHttpAcsCredentialPools.fromClient(this.client, this.defaults);
76
+ }
77
+ get credentialProvisioningAutomations() {
78
+ return SeamHttpAcsCredentialProvisioningAutomations.fromClient(this.client, this.defaults);
79
+ }
71
80
  get credentials() {
72
81
  return SeamHttpAcsCredentials.fromClient(this.client, this.defaults);
73
82
  }
83
+ get entrances() {
84
+ return SeamHttpAcsEntrances.fromClient(this.client, this.defaults);
85
+ }
74
86
  get systems() {
75
87
  return SeamHttpAcsSystems.fromClient(this.client, this.defaults);
76
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"acs.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/acs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAA;AAC1E,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;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,CAAC,CAAA;IACpE,CAAC;IAED,IAAI,OAAO;QACT,OAAO,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IAClE,CAAC;IAED,IAAI,KAAK;QACP,OAAO,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IAChE,CAAC;CACF"}
@@ -2,7 +2,10 @@ export * from './access-codes.js';
2
2
  export * from './access-codes-unmanaged.js';
3
3
  export * from './acs.js';
4
4
  export * from './acs-access-groups.js';
5
+ export * from './acs-credential-pools.js';
6
+ export * from './acs-credential-provisioning-automations.js';
5
7
  export * from './acs-credentials.js';
8
+ export * from './acs-entrances.js';
6
9
  export * from './acs-systems.js';
7
10
  export * from './acs-users.js';
8
11
  export * from './action-attempts.js';
@@ -2,7 +2,10 @@ export * from './access-codes.js';
2
2
  export * from './access-codes-unmanaged.js';
3
3
  export * from './acs.js';
4
4
  export * from './acs-access-groups.js';
5
+ export * from './acs-credential-pools.js';
6
+ export * from './acs-credential-provisioning-automations.js';
5
7
  export * from './acs-credentials.js';
8
+ export * from './acs-entrances.js';
6
9
  export * from './acs-systems.js';
7
10
  export * from './acs-users.js';
8
11
  export * from './action-attempts.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,UAAU,CAAA;AACxB,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,qCAAqC,CAAA;AACnD,cAAc,kBAAkB,CAAA;AAChC,cAAc,4CAA4C,CAAA;AAC1D,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,UAAU,CAAA;AACxB,cAAc,wBAAwB,CAAA;AACtC,cAAc,2BAA2B,CAAA;AACzC,cAAc,8CAA8C,CAAA;AAC5D,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,qCAAqC,CAAA;AACnD,cAAc,kBAAkB,CAAA;AAChC,cAAc,4CAA4C,CAAA;AAC1D,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA"}
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const seamapiJavascriptHttpVersion = "0.9.3";
1
+ declare const seamapiJavascriptHttpVersion = "0.10.0";
2
2
  export default seamapiJavascriptHttpVersion;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '0.9.3';
1
+ const seamapiJavascriptHttpVersion = '0.10.0';
2
2
  export default seamapiJavascriptHttpVersion;
3
3
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/lib/version.ts"],"names":[],"mappings":"AAAA,MAAM,4BAA4B,GAAG,OAAO,CAAA;AAE5C,eAAe,4BAA4B,CAAA"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/lib/version.ts"],"names":[],"mappings":"AAAA,MAAM,4BAA4B,GAAG,QAAQ,CAAA;AAE7C,eAAe,4BAA4B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/http",
3
- "version": "0.9.3",
3
+ "version": "0.10.0",
4
4
  "description": "JavaScript HTTP client for the Seam API written in TypeScript.",
5
5
  "type": "module",
6
6
  "main": "index.js",