@seamapi/http 1.3.0 → 1.4.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 (27) hide show
  1. package/dist/connect.cjs +210 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +45 -1
  4. package/lib/seam/connect/routes/acs-access-groups-unmanaged.d.ts +25 -0
  5. package/lib/seam/connect/routes/acs-access-groups-unmanaged.js +96 -0
  6. package/lib/seam/connect/routes/acs-access-groups-unmanaged.js.map +1 -0
  7. package/lib/seam/connect/routes/acs-access-groups.d.ts +2 -0
  8. package/lib/seam/connect/routes/acs-access-groups.js +4 -0
  9. package/lib/seam/connect/routes/acs-access-groups.js.map +1 -1
  10. package/lib/seam/connect/routes/acs-credentials-unmanaged.d.ts +25 -0
  11. package/lib/seam/connect/routes/acs-credentials-unmanaged.js +96 -0
  12. package/lib/seam/connect/routes/acs-credentials-unmanaged.js.map +1 -0
  13. package/lib/seam/connect/routes/acs-credentials.d.ts +2 -0
  14. package/lib/seam/connect/routes/acs-credentials.js +4 -0
  15. package/lib/seam/connect/routes/acs-credentials.js.map +1 -1
  16. package/lib/seam/connect/routes/index.d.ts +2 -0
  17. package/lib/seam/connect/routes/index.js +2 -0
  18. package/lib/seam/connect/routes/index.js.map +1 -1
  19. package/lib/version.d.ts +1 -1
  20. package/lib/version.js +1 -1
  21. package/package.json +3 -3
  22. package/src/lib/seam/connect/routes/acs-access-groups-unmanaged.ts +202 -0
  23. package/src/lib/seam/connect/routes/acs-access-groups.ts +8 -0
  24. package/src/lib/seam/connect/routes/acs-credentials-unmanaged.ts +199 -0
  25. package/src/lib/seam/connect/routes/acs-credentials.ts +8 -0
  26. package/src/lib/seam/connect/routes/index.ts +2 -0
  27. package/src/lib/version.ts +1 -1
@@ -137,6 +137,27 @@ type AccessCodesUpdateBody = RouteRequestBody<'/access_codes/update'>;
137
137
  type AccessCodesUpdateResponse = SetNonNullable<Required<RouteResponse<'/access_codes/update'>>>;
138
138
  type AccessCodesUpdateOptions = never;
139
139
 
140
+ declare class SeamHttpAcsAccessGroupsUnmanaged {
141
+ client: Client;
142
+ readonly defaults: Required<SeamHttpRequestOptions>;
143
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
144
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsAccessGroupsUnmanaged;
145
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsAccessGroupsUnmanaged;
146
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsAccessGroupsUnmanaged;
147
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsAccessGroupsUnmanaged>;
148
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsAccessGroupsUnmanaged;
149
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsAccessGroupsUnmanaged;
150
+ updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
151
+ get(body?: AcsAccessGroupsUnmanagedGetParams): SeamHttpRequest<AcsAccessGroupsUnmanagedGetResponse, 'acs_access_group'>;
152
+ list(body?: AcsAccessGroupsUnmanagedListParams): SeamHttpRequest<AcsAccessGroupsUnmanagedListResponse, 'acs_access_groups'>;
153
+ }
154
+ type AcsAccessGroupsUnmanagedGetParams = RouteRequestBody<'/acs/access_groups/unmanaged/get'>;
155
+ type AcsAccessGroupsUnmanagedGetResponse = SetNonNullable<Required<RouteResponse<'/acs/access_groups/unmanaged/get'>>>;
156
+ type AcsAccessGroupsUnmanagedGetOptions = never;
157
+ type AcsAccessGroupsUnmanagedListParams = RouteRequestBody<'/acs/access_groups/unmanaged/list'>;
158
+ type AcsAccessGroupsUnmanagedListResponse = SetNonNullable<Required<RouteResponse<'/acs/access_groups/unmanaged/list'>>>;
159
+ type AcsAccessGroupsUnmanagedListOptions = never;
160
+
140
161
  declare class SeamHttpAcsAccessGroups {
141
162
  client: Client;
142
163
  readonly defaults: Required<SeamHttpRequestOptions>;
@@ -148,6 +169,7 @@ declare class SeamHttpAcsAccessGroups {
148
169
  static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsAccessGroups;
149
170
  static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsAccessGroups;
150
171
  updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
172
+ get unmanaged(): SeamHttpAcsAccessGroupsUnmanaged;
151
173
  addUser(body?: AcsAccessGroupsAddUserBody): SeamHttpRequest<void, undefined>;
152
174
  get(body?: AcsAccessGroupsGetParams): SeamHttpRequest<AcsAccessGroupsGetResponse, 'acs_access_group'>;
153
175
  list(body?: AcsAccessGroupsListParams): SeamHttpRequest<AcsAccessGroupsListResponse, 'acs_access_groups'>;
@@ -208,6 +230,27 @@ type AcsCredentialProvisioningAutomationsLaunchBody = RouteRequestBody<'/acs/cre
208
230
  type AcsCredentialProvisioningAutomationsLaunchResponse = SetNonNullable<Required<RouteResponse<'/acs/credential_provisioning_automations/launch'>>>;
209
231
  type AcsCredentialProvisioningAutomationsLaunchOptions = never;
210
232
 
233
+ declare class SeamHttpAcsCredentialsUnmanaged {
234
+ client: Client;
235
+ readonly defaults: Required<SeamHttpRequestOptions>;
236
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
237
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsCredentialsUnmanaged;
238
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsCredentialsUnmanaged;
239
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsCredentialsUnmanaged;
240
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsCredentialsUnmanaged>;
241
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsCredentialsUnmanaged;
242
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsCredentialsUnmanaged;
243
+ updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
244
+ get(body?: AcsCredentialsUnmanagedGetParams): SeamHttpRequest<AcsCredentialsUnmanagedGetResponse, 'acs_credential'>;
245
+ list(body?: AcsCredentialsUnmanagedListParams): SeamHttpRequest<AcsCredentialsUnmanagedListResponse, 'acs_credentials'>;
246
+ }
247
+ type AcsCredentialsUnmanagedGetParams = RouteRequestBody<'/acs/credentials/unmanaged/get'>;
248
+ type AcsCredentialsUnmanagedGetResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/unmanaged/get'>>>;
249
+ type AcsCredentialsUnmanagedGetOptions = never;
250
+ type AcsCredentialsUnmanagedListParams = RouteRequestBody<'/acs/credentials/unmanaged/list'>;
251
+ type AcsCredentialsUnmanagedListResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/unmanaged/list'>>>;
252
+ type AcsCredentialsUnmanagedListOptions = never;
253
+
211
254
  declare class SeamHttpAcsCredentials {
212
255
  client: Client;
213
256
  readonly defaults: Required<SeamHttpRequestOptions>;
@@ -219,6 +262,7 @@ declare class SeamHttpAcsCredentials {
219
262
  static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsCredentials;
220
263
  static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsCredentials;
221
264
  updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
265
+ get unmanaged(): SeamHttpAcsCredentialsUnmanaged;
222
266
  assign(body?: AcsCredentialsAssignBody): SeamHttpRequest<void, undefined>;
223
267
  create(body?: AcsCredentialsCreateBody): SeamHttpRequest<AcsCredentialsCreateResponse, 'acs_credential'>;
224
268
  delete(body?: AcsCredentialsDeleteParams): SeamHttpRequest<void, undefined>;
@@ -2128,4 +2172,4 @@ declare const isPublishableKey: (token: string) => boolean;
2128
2172
  declare const isConsoleSessionToken: (token: string) => boolean;
2129
2173
  declare const isPersonalAccessToken: (token: string) => boolean;
2130
2174
 
2131
- export { type AccessCodesCreateBody, type AccessCodesCreateMultipleBody, type AccessCodesCreateMultipleOptions, type AccessCodesCreateMultipleResponse, type AccessCodesCreateOptions, type AccessCodesCreateResponse, type AccessCodesDeleteOptions, type AccessCodesDeleteParams, type AccessCodesDeleteResponse, type AccessCodesGenerateCodeBody, type AccessCodesGenerateCodeOptions, type AccessCodesGenerateCodeResponse, type AccessCodesGetOptions, type AccessCodesGetParams, type AccessCodesGetResponse, type AccessCodesListOptions, type AccessCodesListParams, type AccessCodesListResponse, type AccessCodesPullBackupAccessCodeBody, type AccessCodesPullBackupAccessCodeOptions, type AccessCodesPullBackupAccessCodeResponse, type AccessCodesSimulateCreateUnmanagedAccessCodeBody, type AccessCodesSimulateCreateUnmanagedAccessCodeOptions, type AccessCodesSimulateCreateUnmanagedAccessCodeResponse, type AccessCodesUnmanagedConvertToManagedBody, type AccessCodesUnmanagedConvertToManagedOptions, type AccessCodesUnmanagedConvertToManagedResponse, type AccessCodesUnmanagedDeleteOptions, type AccessCodesUnmanagedDeleteParams, type AccessCodesUnmanagedDeleteResponse, type AccessCodesUnmanagedGetOptions, type AccessCodesUnmanagedGetParams, type AccessCodesUnmanagedGetResponse, type AccessCodesUnmanagedListOptions, type AccessCodesUnmanagedListParams, type AccessCodesUnmanagedListResponse, type AccessCodesUnmanagedUpdateBody, type AccessCodesUnmanagedUpdateOptions, type AccessCodesUnmanagedUpdateResponse, type AccessCodesUpdateBody, type AccessCodesUpdateOptions, type AccessCodesUpdateResponse, type AcsAccessGroupsAddUserBody, type AcsAccessGroupsAddUserOptions, type AcsAccessGroupsAddUserResponse, type AcsAccessGroupsGetOptions, type AcsAccessGroupsGetParams, type AcsAccessGroupsGetResponse, type AcsAccessGroupsListAccessibleEntrancesOptions, type AcsAccessGroupsListAccessibleEntrancesParams, type AcsAccessGroupsListAccessibleEntrancesResponse, type AcsAccessGroupsListOptions, type AcsAccessGroupsListParams, type AcsAccessGroupsListResponse, type AcsAccessGroupsListUsersOptions, type AcsAccessGroupsListUsersParams, type AcsAccessGroupsListUsersResponse, type AcsAccessGroupsRemoveUserOptions, type AcsAccessGroupsRemoveUserParams, type AcsAccessGroupsRemoveUserResponse, type AcsCredentialPoolsListOptions, type AcsCredentialPoolsListParams, type AcsCredentialPoolsListResponse, type AcsCredentialProvisioningAutomationsLaunchBody, type AcsCredentialProvisioningAutomationsLaunchOptions, type AcsCredentialProvisioningAutomationsLaunchResponse, type AcsCredentialsAssignBody, type AcsCredentialsAssignOptions, type AcsCredentialsAssignResponse, type AcsCredentialsCreateBody, type AcsCredentialsCreateOptions, type AcsCredentialsCreateResponse, type AcsCredentialsDeleteOptions, type AcsCredentialsDeleteParams, type AcsCredentialsDeleteResponse, type AcsCredentialsGetOptions, type AcsCredentialsGetParams, type AcsCredentialsGetResponse, type AcsCredentialsListAccessibleEntrancesOptions, type AcsCredentialsListAccessibleEntrancesParams, type AcsCredentialsListAccessibleEntrancesResponse, type AcsCredentialsListOptions, type AcsCredentialsListParams, type AcsCredentialsListResponse, type AcsCredentialsUnassignBody, type AcsCredentialsUnassignOptions, type AcsCredentialsUnassignResponse, type AcsCredentialsUpdateBody, type AcsCredentialsUpdateOptions, type AcsCredentialsUpdateResponse, type AcsEntrancesGetOptions, type AcsEntrancesGetParams, type AcsEntrancesGetResponse, type AcsEntrancesGrantAccessBody, type AcsEntrancesGrantAccessOptions, type AcsEntrancesGrantAccessResponse, type AcsEntrancesListCredentialsWithAccessOptions, type AcsEntrancesListCredentialsWithAccessParams, type AcsEntrancesListCredentialsWithAccessResponse, type AcsEntrancesListOptions, type AcsEntrancesListParams, type AcsEntrancesListResponse, type AcsSystemsGetOptions, type AcsSystemsGetParams, type AcsSystemsGetResponse, type AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions, type AcsSystemsListCompatibleCredentialManagerAcsSystemsParams, type AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse, type AcsSystemsListOptions, type AcsSystemsListParams, type AcsSystemsListResponse, type AcsUsersAddToAccessGroupBody, type AcsUsersAddToAccessGroupOptions, type AcsUsersAddToAccessGroupResponse, type AcsUsersCreateBody, type AcsUsersCreateOptions, type AcsUsersCreateResponse, type AcsUsersDeleteOptions, type AcsUsersDeleteParams, type AcsUsersDeleteResponse, type AcsUsersGetOptions, type AcsUsersGetParams, type AcsUsersGetResponse, type AcsUsersListAccessibleEntrancesOptions, type AcsUsersListAccessibleEntrancesParams, type AcsUsersListAccessibleEntrancesResponse, type AcsUsersListOptions, type AcsUsersListParams, type AcsUsersListResponse, type AcsUsersRemoveFromAccessGroupOptions, type AcsUsersRemoveFromAccessGroupParams, type AcsUsersRemoveFromAccessGroupResponse, type AcsUsersRevokeAccessToAllEntrancesOptions, type AcsUsersRevokeAccessToAllEntrancesParams, type AcsUsersRevokeAccessToAllEntrancesResponse, type AcsUsersSuspendBody, type AcsUsersSuspendOptions, type AcsUsersSuspendResponse, type AcsUsersUnmanagedGetOptions, type AcsUsersUnmanagedGetParams, type AcsUsersUnmanagedGetResponse, type AcsUsersUnmanagedListOptions, type AcsUsersUnmanagedListParams, type AcsUsersUnmanagedListResponse, type AcsUsersUnsuspendBody, type AcsUsersUnsuspendOptions, type AcsUsersUnsuspendResponse, type AcsUsersUpdateBody, type AcsUsersUpdateOptions, type AcsUsersUpdateResponse, type ActionAttemptsGetOptions, type ActionAttemptsGetParams, type ActionAttemptsGetResponse, type ActionAttemptsListOptions, type ActionAttemptsListParams, type ActionAttemptsListResponse, type ClientSessionsCreateBody, type ClientSessionsCreateOptions, type ClientSessionsCreateResponse, type ClientSessionsDeleteOptions, type ClientSessionsDeleteParams, type ClientSessionsDeleteResponse, type ClientSessionsGetOptions, type ClientSessionsGetOrCreateBody, type ClientSessionsGetOrCreateOptions, type ClientSessionsGetOrCreateResponse, type ClientSessionsGetParams, type ClientSessionsGetResponse, type ClientSessionsGrantAccessBody, type ClientSessionsGrantAccessOptions, type ClientSessionsGrantAccessResponse, type ClientSessionsListOptions, type ClientSessionsListParams, type ClientSessionsListResponse, type ClientSessionsRevokeOptions, type ClientSessionsRevokeParams, type ClientSessionsRevokeResponse, type ConnectWebviewsCreateBody, type ConnectWebviewsCreateOptions, type ConnectWebviewsCreateResponse, type ConnectWebviewsDeleteOptions, type ConnectWebviewsDeleteParams, type ConnectWebviewsDeleteResponse, type ConnectWebviewsGetOptions, type ConnectWebviewsGetParams, type ConnectWebviewsGetResponse, type ConnectWebviewsListOptions, type ConnectWebviewsListParams, type ConnectWebviewsListResponse, type ConnectedAccountsDeleteOptions, type ConnectedAccountsDeleteParams, type ConnectedAccountsDeleteResponse, type ConnectedAccountsGetOptions, type ConnectedAccountsGetParams, type ConnectedAccountsGetResponse, type ConnectedAccountsListOptions, type ConnectedAccountsListParams, type ConnectedAccountsListResponse, type ConnectedAccountsUpdateBody, type ConnectedAccountsUpdateOptions, type ConnectedAccountsUpdateResponse, type DevicesDeleteOptions, type DevicesDeleteParams, type DevicesDeleteResponse, type DevicesGetOptions, type DevicesGetParams, type DevicesGetResponse, type DevicesListDeviceProvidersOptions, type DevicesListDeviceProvidersParams, type DevicesListDeviceProvidersResponse, type DevicesListOptions, type DevicesListParams, type DevicesListResponse, type DevicesSimulateConnectBody, type DevicesSimulateConnectOptions, type DevicesSimulateConnectResponse, type DevicesSimulateDisconnectBody, type DevicesSimulateDisconnectOptions, type DevicesSimulateDisconnectResponse, type DevicesSimulateRemoveOptions, type DevicesSimulateRemoveParams, type DevicesSimulateRemoveResponse, type DevicesUnmanagedGetOptions, type DevicesUnmanagedGetParams, type DevicesUnmanagedGetResponse, type DevicesUnmanagedListOptions, type DevicesUnmanagedListParams, type DevicesUnmanagedListResponse, type DevicesUnmanagedUpdateBody, type DevicesUnmanagedUpdateOptions, type DevicesUnmanagedUpdateResponse, type DevicesUpdateBody, type DevicesUpdateOptions, type DevicesUpdateResponse, type EventsGetOptions, type EventsGetParams, type EventsGetResponse, type EventsListOptions, type EventsListParams, type EventsListResponse, type LocksGetOptions, type LocksGetParams, type LocksGetResponse, type LocksListOptions, type LocksListParams, type LocksListResponse, type LocksLockDoorBody, type LocksLockDoorOptions, type LocksLockDoorResponse, type LocksUnlockDoorBody, type LocksUnlockDoorOptions, type LocksUnlockDoorResponse, type NetworksGetOptions, type NetworksGetParams, type NetworksGetResponse, type NetworksListOptions, type NetworksListParams, type NetworksListResponse, type NoiseSensorsListOptions, type NoiseSensorsListParams, type NoiseSensorsListResponse, type NoiseSensorsNoiseThresholdsCreateBody, type NoiseSensorsNoiseThresholdsCreateOptions, type NoiseSensorsNoiseThresholdsCreateResponse, type NoiseSensorsNoiseThresholdsDeleteOptions, type NoiseSensorsNoiseThresholdsDeleteParams, type NoiseSensorsNoiseThresholdsDeleteResponse, type NoiseSensorsNoiseThresholdsGetOptions, type NoiseSensorsNoiseThresholdsGetParams, type NoiseSensorsNoiseThresholdsGetResponse, type NoiseSensorsNoiseThresholdsListOptions, type NoiseSensorsNoiseThresholdsListParams, type NoiseSensorsNoiseThresholdsListResponse, type NoiseSensorsNoiseThresholdsUpdateBody, type NoiseSensorsNoiseThresholdsUpdateOptions, type NoiseSensorsNoiseThresholdsUpdateResponse, type NoiseSensorsSimulateTriggerNoiseThresholdBody, type NoiseSensorsSimulateTriggerNoiseThresholdOptions, type NoiseSensorsSimulateTriggerNoiseThresholdResponse, type PhonesDeactivateOptions, type PhonesDeactivateParams, type PhonesDeactivateResponse, type PhonesListOptions, type PhonesListParams, type PhonesListResponse, type PhonesSimulateCreateSandboxPhoneBody, type PhonesSimulateCreateSandboxPhoneOptions, type PhonesSimulateCreateSandboxPhoneResponse, SeamActionAttemptError, SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttp, SeamHttpAccessCodes, SeamHttpAccessCodesSimulate, SeamHttpAccessCodesUnmanaged, SeamHttpAcs, SeamHttpAcsAccessGroups, SeamHttpAcsCredentialPools, SeamHttpAcsCredentialProvisioningAutomations, SeamHttpAcsCredentials, SeamHttpAcsEntrances, SeamHttpAcsSystems, SeamHttpAcsUsers, SeamHttpAcsUsersUnmanaged, SeamHttpActionAttempts, SeamHttpApiError, SeamHttpClientSessions, SeamHttpConnectWebviews, SeamHttpConnectedAccounts, SeamHttpDevices, SeamHttpDevicesSimulate, SeamHttpDevicesUnmanaged, SeamHttpEvents, type SeamHttpFromPublishableKeyOptions, SeamHttpInvalidInputError, SeamHttpInvalidOptionsError, SeamHttpInvalidTokenError, SeamHttpLocks, SeamHttpMultiWorkspace, SeamHttpMultiWorkspaceInvalidOptionsError, type SeamHttpMultiWorkspaceOptions, type SeamHttpMultiWorkspaceOptionsWithClient, type SeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, type SeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, SeamHttpNetworks, SeamHttpNoiseSensors, SeamHttpNoiseSensorsNoiseThresholds, SeamHttpNoiseSensorsSimulate, type SeamHttpOptions, type SeamHttpOptionsFromEnv, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, SeamHttpPhones, SeamHttpPhonesSimulate, SeamHttpRequest, type SeamHttpRequestOptions, SeamHttpThermostats, SeamHttpThermostatsClimateSettingSchedules, SeamHttpUnauthorizedError, SeamHttpUserIdentities, SeamHttpUserIdentitiesEnrollmentAutomations, SeamHttpWebhooks, SeamHttpWorkspaces, type ThermostatsClimateSettingSchedulesCreateBody, type ThermostatsClimateSettingSchedulesCreateOptions, type ThermostatsClimateSettingSchedulesCreateResponse, type ThermostatsClimateSettingSchedulesDeleteOptions, type ThermostatsClimateSettingSchedulesDeleteParams, type ThermostatsClimateSettingSchedulesDeleteResponse, type ThermostatsClimateSettingSchedulesGetOptions, type ThermostatsClimateSettingSchedulesGetParams, type ThermostatsClimateSettingSchedulesGetResponse, type ThermostatsClimateSettingSchedulesListOptions, type ThermostatsClimateSettingSchedulesListParams, type ThermostatsClimateSettingSchedulesListResponse, type ThermostatsClimateSettingSchedulesUpdateBody, type ThermostatsClimateSettingSchedulesUpdateOptions, type ThermostatsClimateSettingSchedulesUpdateResponse, type ThermostatsCoolBody, type ThermostatsCoolOptions, type ThermostatsCoolResponse, type ThermostatsGetOptions, type ThermostatsGetParams, type ThermostatsGetResponse, type ThermostatsHeatBody, type ThermostatsHeatCoolBody, type ThermostatsHeatCoolOptions, type ThermostatsHeatCoolResponse, type ThermostatsHeatOptions, type ThermostatsHeatResponse, type ThermostatsListOptions, type ThermostatsListParams, type ThermostatsListResponse, type ThermostatsOffBody, type ThermostatsOffOptions, type ThermostatsOffResponse, type ThermostatsSetFanModeBody, type ThermostatsSetFanModeOptions, type ThermostatsSetFanModeResponse, type ThermostatsUpdateBody, type ThermostatsUpdateOptions, type ThermostatsUpdateResponse, type UserIdentitiesAddAcsUserBody, type UserIdentitiesAddAcsUserOptions, type UserIdentitiesAddAcsUserResponse, type UserIdentitiesCreateBody, type UserIdentitiesCreateOptions, type UserIdentitiesCreateResponse, type UserIdentitiesDeleteOptions, type UserIdentitiesDeleteParams, type UserIdentitiesDeleteResponse, type UserIdentitiesEnrollmentAutomationsDeleteOptions, type UserIdentitiesEnrollmentAutomationsDeleteParams, type UserIdentitiesEnrollmentAutomationsDeleteResponse, type UserIdentitiesEnrollmentAutomationsGetOptions, type UserIdentitiesEnrollmentAutomationsGetParams, type UserIdentitiesEnrollmentAutomationsGetResponse, type UserIdentitiesEnrollmentAutomationsLaunchBody, type UserIdentitiesEnrollmentAutomationsLaunchOptions, type UserIdentitiesEnrollmentAutomationsLaunchResponse, type UserIdentitiesEnrollmentAutomationsListOptions, type UserIdentitiesEnrollmentAutomationsListParams, type UserIdentitiesEnrollmentAutomationsListResponse, type UserIdentitiesGetOptions, type UserIdentitiesGetParams, type UserIdentitiesGetResponse, type UserIdentitiesGrantAccessToDeviceBody, type UserIdentitiesGrantAccessToDeviceOptions, type UserIdentitiesGrantAccessToDeviceResponse, type UserIdentitiesListAccessibleDevicesOptions, type UserIdentitiesListAccessibleDevicesParams, type UserIdentitiesListAccessibleDevicesResponse, type UserIdentitiesListAcsSystemsOptions, type UserIdentitiesListAcsSystemsParams, type UserIdentitiesListAcsSystemsResponse, type UserIdentitiesListAcsUsersOptions, type UserIdentitiesListAcsUsersParams, type UserIdentitiesListAcsUsersResponse, type UserIdentitiesListOptions, type UserIdentitiesListParams, type UserIdentitiesListResponse, type UserIdentitiesRemoveAcsUserOptions, type UserIdentitiesRemoveAcsUserParams, type UserIdentitiesRemoveAcsUserResponse, type UserIdentitiesRevokeAccessToDeviceOptions, type UserIdentitiesRevokeAccessToDeviceParams, type UserIdentitiesRevokeAccessToDeviceResponse, type UserIdentitiesUpdateBody, type UserIdentitiesUpdateOptions, type UserIdentitiesUpdateResponse, type WebhooksCreateBody, type WebhooksCreateOptions, type WebhooksCreateResponse, type WebhooksDeleteOptions, type WebhooksDeleteParams, type WebhooksDeleteResponse, type WebhooksGetOptions, type WebhooksGetParams, type WebhooksGetResponse, type WebhooksListOptions, type WebhooksListParams, type WebhooksListResponse, type WebhooksUpdateBody, type WebhooksUpdateOptions, type WebhooksUpdateResponse, type WorkspacesCreateBody, type WorkspacesCreateOptions, type WorkspacesCreateResponse, type WorkspacesGetOptions, type WorkspacesGetParams, type WorkspacesGetResponse, type WorkspacesListOptions, type WorkspacesListParams, type WorkspacesListResponse, type WorkspacesResetSandboxBody, type WorkspacesResetSandboxOptions, type WorkspacesResetSandboxResponse, errorInterceptor, getOpenapiSchema, isApiKey, isClientSessionToken, isConsoleSessionToken, isPersonalAccessToken, isPublishableKey, isSeamActionAttemptError, isSeamActionAttemptFailedError, isSeamActionAttemptTimeoutError, isSeamHttpApiError, isSeamHttpInvalidInputError, isSeamHttpMultiWorkspaceOptionsWithClient, isSeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, isSeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, isSeamHttpUnauthorizedError };
2175
+ export { type AccessCodesCreateBody, type AccessCodesCreateMultipleBody, type AccessCodesCreateMultipleOptions, type AccessCodesCreateMultipleResponse, type AccessCodesCreateOptions, type AccessCodesCreateResponse, type AccessCodesDeleteOptions, type AccessCodesDeleteParams, type AccessCodesDeleteResponse, type AccessCodesGenerateCodeBody, type AccessCodesGenerateCodeOptions, type AccessCodesGenerateCodeResponse, type AccessCodesGetOptions, type AccessCodesGetParams, type AccessCodesGetResponse, type AccessCodesListOptions, type AccessCodesListParams, type AccessCodesListResponse, type AccessCodesPullBackupAccessCodeBody, type AccessCodesPullBackupAccessCodeOptions, type AccessCodesPullBackupAccessCodeResponse, type AccessCodesSimulateCreateUnmanagedAccessCodeBody, type AccessCodesSimulateCreateUnmanagedAccessCodeOptions, type AccessCodesSimulateCreateUnmanagedAccessCodeResponse, type AccessCodesUnmanagedConvertToManagedBody, type AccessCodesUnmanagedConvertToManagedOptions, type AccessCodesUnmanagedConvertToManagedResponse, type AccessCodesUnmanagedDeleteOptions, type AccessCodesUnmanagedDeleteParams, type AccessCodesUnmanagedDeleteResponse, type AccessCodesUnmanagedGetOptions, type AccessCodesUnmanagedGetParams, type AccessCodesUnmanagedGetResponse, type AccessCodesUnmanagedListOptions, type AccessCodesUnmanagedListParams, type AccessCodesUnmanagedListResponse, type AccessCodesUnmanagedUpdateBody, type AccessCodesUnmanagedUpdateOptions, type AccessCodesUnmanagedUpdateResponse, type AccessCodesUpdateBody, type AccessCodesUpdateOptions, type AccessCodesUpdateResponse, type AcsAccessGroupsAddUserBody, type AcsAccessGroupsAddUserOptions, type AcsAccessGroupsAddUserResponse, type AcsAccessGroupsGetOptions, type AcsAccessGroupsGetParams, type AcsAccessGroupsGetResponse, type AcsAccessGroupsListAccessibleEntrancesOptions, type AcsAccessGroupsListAccessibleEntrancesParams, type AcsAccessGroupsListAccessibleEntrancesResponse, type AcsAccessGroupsListOptions, type AcsAccessGroupsListParams, type AcsAccessGroupsListResponse, type AcsAccessGroupsListUsersOptions, type AcsAccessGroupsListUsersParams, type AcsAccessGroupsListUsersResponse, type AcsAccessGroupsRemoveUserOptions, type AcsAccessGroupsRemoveUserParams, type AcsAccessGroupsRemoveUserResponse, type AcsAccessGroupsUnmanagedGetOptions, type AcsAccessGroupsUnmanagedGetParams, type AcsAccessGroupsUnmanagedGetResponse, type AcsAccessGroupsUnmanagedListOptions, type AcsAccessGroupsUnmanagedListParams, type AcsAccessGroupsUnmanagedListResponse, type AcsCredentialPoolsListOptions, type AcsCredentialPoolsListParams, type AcsCredentialPoolsListResponse, type AcsCredentialProvisioningAutomationsLaunchBody, type AcsCredentialProvisioningAutomationsLaunchOptions, type AcsCredentialProvisioningAutomationsLaunchResponse, type AcsCredentialsAssignBody, type AcsCredentialsAssignOptions, type AcsCredentialsAssignResponse, type AcsCredentialsCreateBody, type AcsCredentialsCreateOptions, type AcsCredentialsCreateResponse, type AcsCredentialsDeleteOptions, type AcsCredentialsDeleteParams, type AcsCredentialsDeleteResponse, type AcsCredentialsGetOptions, type AcsCredentialsGetParams, type AcsCredentialsGetResponse, type AcsCredentialsListAccessibleEntrancesOptions, type AcsCredentialsListAccessibleEntrancesParams, type AcsCredentialsListAccessibleEntrancesResponse, type AcsCredentialsListOptions, type AcsCredentialsListParams, type AcsCredentialsListResponse, type AcsCredentialsUnassignBody, type AcsCredentialsUnassignOptions, type AcsCredentialsUnassignResponse, type AcsCredentialsUnmanagedGetOptions, type AcsCredentialsUnmanagedGetParams, type AcsCredentialsUnmanagedGetResponse, type AcsCredentialsUnmanagedListOptions, type AcsCredentialsUnmanagedListParams, type AcsCredentialsUnmanagedListResponse, type AcsCredentialsUpdateBody, type AcsCredentialsUpdateOptions, type AcsCredentialsUpdateResponse, type AcsEntrancesGetOptions, type AcsEntrancesGetParams, type AcsEntrancesGetResponse, type AcsEntrancesGrantAccessBody, type AcsEntrancesGrantAccessOptions, type AcsEntrancesGrantAccessResponse, type AcsEntrancesListCredentialsWithAccessOptions, type AcsEntrancesListCredentialsWithAccessParams, type AcsEntrancesListCredentialsWithAccessResponse, type AcsEntrancesListOptions, type AcsEntrancesListParams, type AcsEntrancesListResponse, type AcsSystemsGetOptions, type AcsSystemsGetParams, type AcsSystemsGetResponse, type AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions, type AcsSystemsListCompatibleCredentialManagerAcsSystemsParams, type AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse, type AcsSystemsListOptions, type AcsSystemsListParams, type AcsSystemsListResponse, type AcsUsersAddToAccessGroupBody, type AcsUsersAddToAccessGroupOptions, type AcsUsersAddToAccessGroupResponse, type AcsUsersCreateBody, type AcsUsersCreateOptions, type AcsUsersCreateResponse, type AcsUsersDeleteOptions, type AcsUsersDeleteParams, type AcsUsersDeleteResponse, type AcsUsersGetOptions, type AcsUsersGetParams, type AcsUsersGetResponse, type AcsUsersListAccessibleEntrancesOptions, type AcsUsersListAccessibleEntrancesParams, type AcsUsersListAccessibleEntrancesResponse, type AcsUsersListOptions, type AcsUsersListParams, type AcsUsersListResponse, type AcsUsersRemoveFromAccessGroupOptions, type AcsUsersRemoveFromAccessGroupParams, type AcsUsersRemoveFromAccessGroupResponse, type AcsUsersRevokeAccessToAllEntrancesOptions, type AcsUsersRevokeAccessToAllEntrancesParams, type AcsUsersRevokeAccessToAllEntrancesResponse, type AcsUsersSuspendBody, type AcsUsersSuspendOptions, type AcsUsersSuspendResponse, type AcsUsersUnmanagedGetOptions, type AcsUsersUnmanagedGetParams, type AcsUsersUnmanagedGetResponse, type AcsUsersUnmanagedListOptions, type AcsUsersUnmanagedListParams, type AcsUsersUnmanagedListResponse, type AcsUsersUnsuspendBody, type AcsUsersUnsuspendOptions, type AcsUsersUnsuspendResponse, type AcsUsersUpdateBody, type AcsUsersUpdateOptions, type AcsUsersUpdateResponse, type ActionAttemptsGetOptions, type ActionAttemptsGetParams, type ActionAttemptsGetResponse, type ActionAttemptsListOptions, type ActionAttemptsListParams, type ActionAttemptsListResponse, type ClientSessionsCreateBody, type ClientSessionsCreateOptions, type ClientSessionsCreateResponse, type ClientSessionsDeleteOptions, type ClientSessionsDeleteParams, type ClientSessionsDeleteResponse, type ClientSessionsGetOptions, type ClientSessionsGetOrCreateBody, type ClientSessionsGetOrCreateOptions, type ClientSessionsGetOrCreateResponse, type ClientSessionsGetParams, type ClientSessionsGetResponse, type ClientSessionsGrantAccessBody, type ClientSessionsGrantAccessOptions, type ClientSessionsGrantAccessResponse, type ClientSessionsListOptions, type ClientSessionsListParams, type ClientSessionsListResponse, type ClientSessionsRevokeOptions, type ClientSessionsRevokeParams, type ClientSessionsRevokeResponse, type ConnectWebviewsCreateBody, type ConnectWebviewsCreateOptions, type ConnectWebviewsCreateResponse, type ConnectWebviewsDeleteOptions, type ConnectWebviewsDeleteParams, type ConnectWebviewsDeleteResponse, type ConnectWebviewsGetOptions, type ConnectWebviewsGetParams, type ConnectWebviewsGetResponse, type ConnectWebviewsListOptions, type ConnectWebviewsListParams, type ConnectWebviewsListResponse, type ConnectedAccountsDeleteOptions, type ConnectedAccountsDeleteParams, type ConnectedAccountsDeleteResponse, type ConnectedAccountsGetOptions, type ConnectedAccountsGetParams, type ConnectedAccountsGetResponse, type ConnectedAccountsListOptions, type ConnectedAccountsListParams, type ConnectedAccountsListResponse, type ConnectedAccountsUpdateBody, type ConnectedAccountsUpdateOptions, type ConnectedAccountsUpdateResponse, type DevicesDeleteOptions, type DevicesDeleteParams, type DevicesDeleteResponse, type DevicesGetOptions, type DevicesGetParams, type DevicesGetResponse, type DevicesListDeviceProvidersOptions, type DevicesListDeviceProvidersParams, type DevicesListDeviceProvidersResponse, type DevicesListOptions, type DevicesListParams, type DevicesListResponse, type DevicesSimulateConnectBody, type DevicesSimulateConnectOptions, type DevicesSimulateConnectResponse, type DevicesSimulateDisconnectBody, type DevicesSimulateDisconnectOptions, type DevicesSimulateDisconnectResponse, type DevicesSimulateRemoveOptions, type DevicesSimulateRemoveParams, type DevicesSimulateRemoveResponse, type DevicesUnmanagedGetOptions, type DevicesUnmanagedGetParams, type DevicesUnmanagedGetResponse, type DevicesUnmanagedListOptions, type DevicesUnmanagedListParams, type DevicesUnmanagedListResponse, type DevicesUnmanagedUpdateBody, type DevicesUnmanagedUpdateOptions, type DevicesUnmanagedUpdateResponse, type DevicesUpdateBody, type DevicesUpdateOptions, type DevicesUpdateResponse, type EventsGetOptions, type EventsGetParams, type EventsGetResponse, type EventsListOptions, type EventsListParams, type EventsListResponse, type LocksGetOptions, type LocksGetParams, type LocksGetResponse, type LocksListOptions, type LocksListParams, type LocksListResponse, type LocksLockDoorBody, type LocksLockDoorOptions, type LocksLockDoorResponse, type LocksUnlockDoorBody, type LocksUnlockDoorOptions, type LocksUnlockDoorResponse, type NetworksGetOptions, type NetworksGetParams, type NetworksGetResponse, type NetworksListOptions, type NetworksListParams, type NetworksListResponse, type NoiseSensorsListOptions, type NoiseSensorsListParams, type NoiseSensorsListResponse, type NoiseSensorsNoiseThresholdsCreateBody, type NoiseSensorsNoiseThresholdsCreateOptions, type NoiseSensorsNoiseThresholdsCreateResponse, type NoiseSensorsNoiseThresholdsDeleteOptions, type NoiseSensorsNoiseThresholdsDeleteParams, type NoiseSensorsNoiseThresholdsDeleteResponse, type NoiseSensorsNoiseThresholdsGetOptions, type NoiseSensorsNoiseThresholdsGetParams, type NoiseSensorsNoiseThresholdsGetResponse, type NoiseSensorsNoiseThresholdsListOptions, type NoiseSensorsNoiseThresholdsListParams, type NoiseSensorsNoiseThresholdsListResponse, type NoiseSensorsNoiseThresholdsUpdateBody, type NoiseSensorsNoiseThresholdsUpdateOptions, type NoiseSensorsNoiseThresholdsUpdateResponse, type NoiseSensorsSimulateTriggerNoiseThresholdBody, type NoiseSensorsSimulateTriggerNoiseThresholdOptions, type NoiseSensorsSimulateTriggerNoiseThresholdResponse, type PhonesDeactivateOptions, type PhonesDeactivateParams, type PhonesDeactivateResponse, type PhonesListOptions, type PhonesListParams, type PhonesListResponse, type PhonesSimulateCreateSandboxPhoneBody, type PhonesSimulateCreateSandboxPhoneOptions, type PhonesSimulateCreateSandboxPhoneResponse, SeamActionAttemptError, SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttp, SeamHttpAccessCodes, SeamHttpAccessCodesSimulate, SeamHttpAccessCodesUnmanaged, SeamHttpAcs, SeamHttpAcsAccessGroups, SeamHttpAcsAccessGroupsUnmanaged, SeamHttpAcsCredentialPools, SeamHttpAcsCredentialProvisioningAutomations, SeamHttpAcsCredentials, SeamHttpAcsCredentialsUnmanaged, SeamHttpAcsEntrances, SeamHttpAcsSystems, SeamHttpAcsUsers, SeamHttpAcsUsersUnmanaged, SeamHttpActionAttempts, SeamHttpApiError, SeamHttpClientSessions, SeamHttpConnectWebviews, SeamHttpConnectedAccounts, SeamHttpDevices, SeamHttpDevicesSimulate, SeamHttpDevicesUnmanaged, SeamHttpEvents, type SeamHttpFromPublishableKeyOptions, SeamHttpInvalidInputError, SeamHttpInvalidOptionsError, SeamHttpInvalidTokenError, SeamHttpLocks, SeamHttpMultiWorkspace, SeamHttpMultiWorkspaceInvalidOptionsError, type SeamHttpMultiWorkspaceOptions, type SeamHttpMultiWorkspaceOptionsWithClient, type SeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, type SeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, SeamHttpNetworks, SeamHttpNoiseSensors, SeamHttpNoiseSensorsNoiseThresholds, SeamHttpNoiseSensorsSimulate, type SeamHttpOptions, type SeamHttpOptionsFromEnv, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, SeamHttpPhones, SeamHttpPhonesSimulate, SeamHttpRequest, type SeamHttpRequestOptions, SeamHttpThermostats, SeamHttpThermostatsClimateSettingSchedules, SeamHttpUnauthorizedError, SeamHttpUserIdentities, SeamHttpUserIdentitiesEnrollmentAutomations, SeamHttpWebhooks, SeamHttpWorkspaces, type ThermostatsClimateSettingSchedulesCreateBody, type ThermostatsClimateSettingSchedulesCreateOptions, type ThermostatsClimateSettingSchedulesCreateResponse, type ThermostatsClimateSettingSchedulesDeleteOptions, type ThermostatsClimateSettingSchedulesDeleteParams, type ThermostatsClimateSettingSchedulesDeleteResponse, type ThermostatsClimateSettingSchedulesGetOptions, type ThermostatsClimateSettingSchedulesGetParams, type ThermostatsClimateSettingSchedulesGetResponse, type ThermostatsClimateSettingSchedulesListOptions, type ThermostatsClimateSettingSchedulesListParams, type ThermostatsClimateSettingSchedulesListResponse, type ThermostatsClimateSettingSchedulesUpdateBody, type ThermostatsClimateSettingSchedulesUpdateOptions, type ThermostatsClimateSettingSchedulesUpdateResponse, type ThermostatsCoolBody, type ThermostatsCoolOptions, type ThermostatsCoolResponse, type ThermostatsGetOptions, type ThermostatsGetParams, type ThermostatsGetResponse, type ThermostatsHeatBody, type ThermostatsHeatCoolBody, type ThermostatsHeatCoolOptions, type ThermostatsHeatCoolResponse, type ThermostatsHeatOptions, type ThermostatsHeatResponse, type ThermostatsListOptions, type ThermostatsListParams, type ThermostatsListResponse, type ThermostatsOffBody, type ThermostatsOffOptions, type ThermostatsOffResponse, type ThermostatsSetFanModeBody, type ThermostatsSetFanModeOptions, type ThermostatsSetFanModeResponse, type ThermostatsUpdateBody, type ThermostatsUpdateOptions, type ThermostatsUpdateResponse, type UserIdentitiesAddAcsUserBody, type UserIdentitiesAddAcsUserOptions, type UserIdentitiesAddAcsUserResponse, type UserIdentitiesCreateBody, type UserIdentitiesCreateOptions, type UserIdentitiesCreateResponse, type UserIdentitiesDeleteOptions, type UserIdentitiesDeleteParams, type UserIdentitiesDeleteResponse, type UserIdentitiesEnrollmentAutomationsDeleteOptions, type UserIdentitiesEnrollmentAutomationsDeleteParams, type UserIdentitiesEnrollmentAutomationsDeleteResponse, type UserIdentitiesEnrollmentAutomationsGetOptions, type UserIdentitiesEnrollmentAutomationsGetParams, type UserIdentitiesEnrollmentAutomationsGetResponse, type UserIdentitiesEnrollmentAutomationsLaunchBody, type UserIdentitiesEnrollmentAutomationsLaunchOptions, type UserIdentitiesEnrollmentAutomationsLaunchResponse, type UserIdentitiesEnrollmentAutomationsListOptions, type UserIdentitiesEnrollmentAutomationsListParams, type UserIdentitiesEnrollmentAutomationsListResponse, type UserIdentitiesGetOptions, type UserIdentitiesGetParams, type UserIdentitiesGetResponse, type UserIdentitiesGrantAccessToDeviceBody, type UserIdentitiesGrantAccessToDeviceOptions, type UserIdentitiesGrantAccessToDeviceResponse, type UserIdentitiesListAccessibleDevicesOptions, type UserIdentitiesListAccessibleDevicesParams, type UserIdentitiesListAccessibleDevicesResponse, type UserIdentitiesListAcsSystemsOptions, type UserIdentitiesListAcsSystemsParams, type UserIdentitiesListAcsSystemsResponse, type UserIdentitiesListAcsUsersOptions, type UserIdentitiesListAcsUsersParams, type UserIdentitiesListAcsUsersResponse, type UserIdentitiesListOptions, type UserIdentitiesListParams, type UserIdentitiesListResponse, type UserIdentitiesRemoveAcsUserOptions, type UserIdentitiesRemoveAcsUserParams, type UserIdentitiesRemoveAcsUserResponse, type UserIdentitiesRevokeAccessToDeviceOptions, type UserIdentitiesRevokeAccessToDeviceParams, type UserIdentitiesRevokeAccessToDeviceResponse, type UserIdentitiesUpdateBody, type UserIdentitiesUpdateOptions, type UserIdentitiesUpdateResponse, type WebhooksCreateBody, type WebhooksCreateOptions, type WebhooksCreateResponse, type WebhooksDeleteOptions, type WebhooksDeleteParams, type WebhooksDeleteResponse, type WebhooksGetOptions, type WebhooksGetParams, type WebhooksGetResponse, type WebhooksListOptions, type WebhooksListParams, type WebhooksListResponse, type WebhooksUpdateBody, type WebhooksUpdateOptions, type WebhooksUpdateResponse, type WorkspacesCreateBody, type WorkspacesCreateOptions, type WorkspacesCreateResponse, type WorkspacesGetOptions, type WorkspacesGetParams, type WorkspacesGetResponse, type WorkspacesListOptions, type WorkspacesListParams, type WorkspacesListResponse, type WorkspacesResetSandboxBody, type WorkspacesResetSandboxOptions, type WorkspacesResetSandboxResponse, errorInterceptor, getOpenapiSchema, isApiKey, isClientSessionToken, isConsoleSessionToken, isPersonalAccessToken, isPublishableKey, isSeamActionAttemptError, isSeamActionAttemptFailedError, isSeamActionAttemptTimeoutError, isSeamHttpApiError, isSeamHttpInvalidInputError, isSeamHttpMultiWorkspaceOptionsWithClient, isSeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, isSeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, isSeamHttpUnauthorizedError };
@@ -0,0 +1,25 @@
1
+ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
2
+ import { type Client } from '../../../../lib/seam/connect/client.js';
3
+ import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../lib/seam/connect/options.js';
4
+ import { SeamHttpRequest } from '../../../../lib/seam/connect/seam-http-request.js';
5
+ import type { SetNonNullable } from '../../../../lib/types.js';
6
+ export declare class SeamHttpAcsAccessGroupsUnmanaged {
7
+ client: Client;
8
+ readonly defaults: Required<SeamHttpRequestOptions>;
9
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
10
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsAccessGroupsUnmanaged;
11
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsAccessGroupsUnmanaged;
12
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsAccessGroupsUnmanaged;
13
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsAccessGroupsUnmanaged>;
14
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsAccessGroupsUnmanaged;
15
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsAccessGroupsUnmanaged;
16
+ updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
17
+ get(body?: AcsAccessGroupsUnmanagedGetParams): SeamHttpRequest<AcsAccessGroupsUnmanagedGetResponse, 'acs_access_group'>;
18
+ list(body?: AcsAccessGroupsUnmanagedListParams): SeamHttpRequest<AcsAccessGroupsUnmanagedListResponse, 'acs_access_groups'>;
19
+ }
20
+ export type AcsAccessGroupsUnmanagedGetParams = RouteRequestBody<'/acs/access_groups/unmanaged/get'>;
21
+ export type AcsAccessGroupsUnmanagedGetResponse = SetNonNullable<Required<RouteResponse<'/acs/access_groups/unmanaged/get'>>>;
22
+ export type AcsAccessGroupsUnmanagedGetOptions = never;
23
+ export type AcsAccessGroupsUnmanagedListParams = RouteRequestBody<'/acs/access_groups/unmanaged/list'>;
24
+ export type AcsAccessGroupsUnmanagedListResponse = SetNonNullable<Required<RouteResponse<'/acs/access_groups/unmanaged/list'>>>;
25
+ export type AcsAccessGroupsUnmanagedListOptions = never;
@@ -0,0 +1,96 @@
1
+ /*
2
+ * Automatically generated by generate-routes.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
5
+ import { getAuthHeadersForClientSessionToken, 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 { SeamHttpRequest } from '../../../../lib/seam/connect/seam-http-request.js';
10
+ import { SeamHttpClientSessions } from './client-sessions.js';
11
+ export class SeamHttpAcsAccessGroupsUnmanaged {
12
+ constructor(apiKeyOrOptions = {}) {
13
+ const options = parseOptions(apiKeyOrOptions);
14
+ this.client = 'client' in options ? options.client : createClient(options);
15
+ this.defaults = limitToSeamHttpRequestOptions(options);
16
+ }
17
+ static fromClient(client, options = {}) {
18
+ const constructorOptions = { ...options, client };
19
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
20
+ throw new SeamHttpInvalidOptionsError('Missing client');
21
+ }
22
+ return new SeamHttpAcsAccessGroupsUnmanaged(constructorOptions);
23
+ }
24
+ static fromApiKey(apiKey, options = {}) {
25
+ const constructorOptions = { ...options, apiKey };
26
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
27
+ throw new SeamHttpInvalidOptionsError('Missing apiKey');
28
+ }
29
+ return new SeamHttpAcsAccessGroupsUnmanaged(constructorOptions);
30
+ }
31
+ static fromClientSessionToken(clientSessionToken, options = {}) {
32
+ const constructorOptions = { ...options, clientSessionToken };
33
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
34
+ throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
35
+ }
36
+ return new SeamHttpAcsAccessGroupsUnmanaged(constructorOptions);
37
+ }
38
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
39
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
40
+ const clientOptions = parseOptions({ ...options, publishableKey });
41
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
42
+ throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttp.fromPublishableKey');
43
+ }
44
+ const client = createClient(clientOptions);
45
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
46
+ const { token } = await clientSessions.getOrCreate({
47
+ user_identifier_key: userIdentifierKey,
48
+ });
49
+ return SeamHttpAcsAccessGroupsUnmanaged.fromClientSessionToken(token, options);
50
+ }
51
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
52
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
53
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
54
+ throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
55
+ }
56
+ return new SeamHttpAcsAccessGroupsUnmanaged(constructorOptions);
57
+ }
58
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
59
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
60
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
61
+ throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
62
+ }
63
+ return new SeamHttpAcsAccessGroupsUnmanaged(constructorOptions);
64
+ }
65
+ async updateClientSessionToken(clientSessionToken) {
66
+ const { headers } = this.client.defaults;
67
+ const authHeaders = getAuthHeadersForClientSessionToken({
68
+ clientSessionToken,
69
+ });
70
+ for (const key of Object.keys(authHeaders)) {
71
+ if (headers[key] == null) {
72
+ throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
73
+ }
74
+ }
75
+ this.client.defaults.headers = { ...headers, ...authHeaders };
76
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
77
+ await clientSessions.get();
78
+ }
79
+ get(body) {
80
+ return new SeamHttpRequest(this, {
81
+ path: '/acs/access_groups/unmanaged/get',
82
+ method: 'post',
83
+ body,
84
+ responseKey: 'acs_access_group',
85
+ });
86
+ }
87
+ list(body) {
88
+ return new SeamHttpRequest(this, {
89
+ path: '/acs/access_groups/unmanaged/list',
90
+ method: 'post',
91
+ body,
92
+ responseKey: 'acs_access_groups',
93
+ });
94
+ }
95
+ }
96
+ //# sourceMappingURL=acs-access-groups-unmanaged.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acs-access-groups-unmanaged.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/acs-access-groups-unmanaged.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,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;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AAGvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAE7D,MAAM,OAAO,gCAAgC;IAI3C,YAAY,kBAA4C,EAAE;QACxD,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,MAAM,GAAG,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AK,CAAC,wBAAwB,CAC5B,kBAA+E;QAE/E,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAA;QACxC,MAAM,WAAW,GAAG,mCAAmC,CAAC;YACtD,kBAAkB;SACnB,CAAC,CAAA;QACF,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YAC3C,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC;gBACzB,MAAM,IAAI,KAAK,CACb,qFAAqF,CACtF,CAAA;YACH,CAAC;QACH,CAAC;QACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,GAAG,EAAE,GAAG,OAAO,EAAE,GAAG,WAAW,EAAE,CAAA;QAC7D,MAAM,cAAc,GAAG,sBAAsB,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrE,MAAM,cAAc,CAAC,GAAG,EAAE,CAAA;IAC5B,CAAC;IAED,GAAG,CACD,IAAwC;QAExC,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,IAAI,EAAE,kCAAkC;YACxC,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,kBAAkB;SAChC,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,CACF,IAAyC;QAKzC,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,IAAI,EAAE,mCAAmC;YACzC,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,mBAAmB;SACjC,CAAC,CAAA;IACJ,CAAC;CACF"}
@@ -3,6 +3,7 @@ import { type Client } from '../../../../lib/seam/connect/client.js';
3
3
  import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../lib/seam/connect/options.js';
4
4
  import { SeamHttpRequest } from '../../../../lib/seam/connect/seam-http-request.js';
5
5
  import type { SetNonNullable } from '../../../../lib/types.js';
6
+ import { SeamHttpAcsAccessGroupsUnmanaged } from './acs-access-groups-unmanaged.js';
6
7
  export declare class SeamHttpAcsAccessGroups {
7
8
  client: Client;
8
9
  readonly defaults: Required<SeamHttpRequestOptions>;
@@ -14,6 +15,7 @@ export declare class SeamHttpAcsAccessGroups {
14
15
  static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsAccessGroups;
15
16
  static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsAccessGroups;
16
17
  updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
18
+ get unmanaged(): SeamHttpAcsAccessGroupsUnmanaged;
17
19
  addUser(body?: AcsAccessGroupsAddUserBody): SeamHttpRequest<void, undefined>;
18
20
  get(body?: AcsAccessGroupsGetParams): SeamHttpRequest<AcsAccessGroupsGetResponse, 'acs_access_group'>;
19
21
  list(body?: AcsAccessGroupsListParams): SeamHttpRequest<AcsAccessGroupsListResponse, 'acs_access_groups'>;
@@ -7,6 +7,7 @@ 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 { SeamHttpRequest } from '../../../../lib/seam/connect/seam-http-request.js';
10
+ import { SeamHttpAcsAccessGroupsUnmanaged } from './acs-access-groups-unmanaged.js';
10
11
  import { SeamHttpClientSessions } from './client-sessions.js';
11
12
  export class SeamHttpAcsAccessGroups {
12
13
  constructor(apiKeyOrOptions = {}) {
@@ -76,6 +77,9 @@ export class SeamHttpAcsAccessGroups {
76
77
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
77
78
  await clientSessions.get();
78
79
  }
80
+ get unmanaged() {
81
+ return SeamHttpAcsAccessGroupsUnmanaged.fromClient(this.client, this.defaults);
82
+ }
79
83
  addUser(body) {
80
84
  return new SeamHttpRequest(this, {
81
85
  path: '/acs/access_groups/add_user',
@@ -1 +1 @@
1
- {"version":3,"file":"acs-access-groups.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/acs-access-groups.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,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;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AAGvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAE7D,MAAM,OAAO,uBAAuB;IAIlC,YAAY,kBAA4C,EAAE;QACxD,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,MAAM,GAAG,QAAQ,IAAI,OAAO,CAAC,CAAC,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,IAAI,EAAE,8CAA8C;YACpD,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,eAAe;SAC7B,CAAC,CAAA;IACJ,CAAC;IAED,SAAS,CACP,IAAqC;QAErC,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,IAAI,EAAE,+BAA+B;YACrC,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,WAAW;SACzB,CAAC,CAAA;IACJ,CAAC;IAED,UAAU,CACR,IAAsC;QAEtC,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,IAAI,EAAE,gCAAgC;YACtC,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,SAAS;SACvB,CAAC,CAAA;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"acs-access-groups.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/acs-access-groups.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,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;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AAGvE,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAA;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAE7D,MAAM,OAAO,uBAAuB;IAIlC,YAAY,kBAA4C,EAAE;QACxD,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,MAAM,GAAG,QAAQ,IAAI,OAAO,CAAC,CAAC,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AE,mBAAmB;SACjC,CAAC,CAAA;IACJ,CAAC;IAED,uBAAuB,CACrB,IAAmD;QAKnD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,IAAI,EAAE,8CAA8C;YACpD,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,eAAe;SAC7B,CAAC,CAAA;IACJ,CAAC;IAED,SAAS,CACP,IAAqC;QAErC,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,IAAI,EAAE,+BAA+B;YACrC,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,WAAW;SACzB,CAAC,CAAA;IACJ,CAAC;IAED,UAAU,CACR,IAAsC;QAEtC,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,IAAI,EAAE,gCAAgC;YACtC,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,SAAS;SACvB,CAAC,CAAA;IACJ,CAAC;CACF"}
@@ -0,0 +1,25 @@
1
+ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
2
+ import { type Client } from '../../../../lib/seam/connect/client.js';
3
+ import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../lib/seam/connect/options.js';
4
+ import { SeamHttpRequest } from '../../../../lib/seam/connect/seam-http-request.js';
5
+ import type { SetNonNullable } from '../../../../lib/types.js';
6
+ export declare class SeamHttpAcsCredentialsUnmanaged {
7
+ client: Client;
8
+ readonly defaults: Required<SeamHttpRequestOptions>;
9
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
10
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpAcsCredentialsUnmanaged;
11
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpAcsCredentialsUnmanaged;
12
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpAcsCredentialsUnmanaged;
13
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpAcsCredentialsUnmanaged>;
14
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsCredentialsUnmanaged;
15
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsCredentialsUnmanaged;
16
+ updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
17
+ get(body?: AcsCredentialsUnmanagedGetParams): SeamHttpRequest<AcsCredentialsUnmanagedGetResponse, 'acs_credential'>;
18
+ list(body?: AcsCredentialsUnmanagedListParams): SeamHttpRequest<AcsCredentialsUnmanagedListResponse, 'acs_credentials'>;
19
+ }
20
+ export type AcsCredentialsUnmanagedGetParams = RouteRequestBody<'/acs/credentials/unmanaged/get'>;
21
+ export type AcsCredentialsUnmanagedGetResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/unmanaged/get'>>>;
22
+ export type AcsCredentialsUnmanagedGetOptions = never;
23
+ export type AcsCredentialsUnmanagedListParams = RouteRequestBody<'/acs/credentials/unmanaged/list'>;
24
+ export type AcsCredentialsUnmanagedListResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/unmanaged/list'>>>;
25
+ export type AcsCredentialsUnmanagedListOptions = never;
@@ -0,0 +1,96 @@
1
+ /*
2
+ * Automatically generated by generate-routes.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
5
+ import { getAuthHeadersForClientSessionToken, 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 { SeamHttpRequest } from '../../../../lib/seam/connect/seam-http-request.js';
10
+ import { SeamHttpClientSessions } from './client-sessions.js';
11
+ export class SeamHttpAcsCredentialsUnmanaged {
12
+ constructor(apiKeyOrOptions = {}) {
13
+ const options = parseOptions(apiKeyOrOptions);
14
+ this.client = 'client' in options ? options.client : createClient(options);
15
+ this.defaults = limitToSeamHttpRequestOptions(options);
16
+ }
17
+ static fromClient(client, options = {}) {
18
+ const constructorOptions = { ...options, client };
19
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
20
+ throw new SeamHttpInvalidOptionsError('Missing client');
21
+ }
22
+ return new SeamHttpAcsCredentialsUnmanaged(constructorOptions);
23
+ }
24
+ static fromApiKey(apiKey, options = {}) {
25
+ const constructorOptions = { ...options, apiKey };
26
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
27
+ throw new SeamHttpInvalidOptionsError('Missing apiKey');
28
+ }
29
+ return new SeamHttpAcsCredentialsUnmanaged(constructorOptions);
30
+ }
31
+ static fromClientSessionToken(clientSessionToken, options = {}) {
32
+ const constructorOptions = { ...options, clientSessionToken };
33
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
34
+ throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
35
+ }
36
+ return new SeamHttpAcsCredentialsUnmanaged(constructorOptions);
37
+ }
38
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
39
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
40
+ const clientOptions = parseOptions({ ...options, publishableKey });
41
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
42
+ throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttp.fromPublishableKey');
43
+ }
44
+ const client = createClient(clientOptions);
45
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
46
+ const { token } = await clientSessions.getOrCreate({
47
+ user_identifier_key: userIdentifierKey,
48
+ });
49
+ return SeamHttpAcsCredentialsUnmanaged.fromClientSessionToken(token, options);
50
+ }
51
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
52
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
53
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
54
+ throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
55
+ }
56
+ return new SeamHttpAcsCredentialsUnmanaged(constructorOptions);
57
+ }
58
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
59
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
60
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
61
+ throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
62
+ }
63
+ return new SeamHttpAcsCredentialsUnmanaged(constructorOptions);
64
+ }
65
+ async updateClientSessionToken(clientSessionToken) {
66
+ const { headers } = this.client.defaults;
67
+ const authHeaders = getAuthHeadersForClientSessionToken({
68
+ clientSessionToken,
69
+ });
70
+ for (const key of Object.keys(authHeaders)) {
71
+ if (headers[key] == null) {
72
+ throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
73
+ }
74
+ }
75
+ this.client.defaults.headers = { ...headers, ...authHeaders };
76
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
77
+ await clientSessions.get();
78
+ }
79
+ get(body) {
80
+ return new SeamHttpRequest(this, {
81
+ path: '/acs/credentials/unmanaged/get',
82
+ method: 'post',
83
+ body,
84
+ responseKey: 'acs_credential',
85
+ });
86
+ }
87
+ list(body) {
88
+ return new SeamHttpRequest(this, {
89
+ path: '/acs/credentials/unmanaged/list',
90
+ method: 'post',
91
+ body,
92
+ responseKey: 'acs_credentials',
93
+ });
94
+ }
95
+ }
96
+ //# sourceMappingURL=acs-credentials-unmanaged.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acs-credentials-unmanaged.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/acs-credentials-unmanaged.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,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;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AAGvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAE7D,MAAM,OAAO,+BAA+B;IAI1C,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,O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,kBAAkB;SACnB,CAAC,CAAA;QACF,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YAC3C,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC;gBACzB,MAAM,IAAI,KAAK,CACb,qFAAqF,CACtF,CAAA;YACH,CAAC;QACH,CAAC;QACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,GAAG,EAAE,GAAG,OAAO,EAAE,GAAG,WAAW,EAAE,CAAA;QAC7D,MAAM,cAAc,GAAG,sBAAsB,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrE,MAAM,cAAc,CAAC,GAAG,EAAE,CAAA;IAC5B,CAAC;IAED,GAAG,CACD,IAAuC;QAEvC,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,IAAI,EAAE,gCAAgC;YACtC,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,gBAAgB;SAC9B,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,CACF,IAAwC;QAExC,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,IAAI,EAAE,iCAAiC;YACvC,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,iBAAiB;SAC/B,CAAC,CAAA;IACJ,CAAC;CACF"}
@@ -3,6 +3,7 @@ import { type Client } from '../../../../lib/seam/connect/client.js';
3
3
  import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../lib/seam/connect/options.js';
4
4
  import { SeamHttpRequest } from '../../../../lib/seam/connect/seam-http-request.js';
5
5
  import type { SetNonNullable } from '../../../../lib/types.js';
6
+ import { SeamHttpAcsCredentialsUnmanaged } from './acs-credentials-unmanaged.js';
6
7
  export declare class SeamHttpAcsCredentials {
7
8
  client: Client;
8
9
  readonly defaults: Required<SeamHttpRequestOptions>;
@@ -14,6 +15,7 @@ export declare class SeamHttpAcsCredentials {
14
15
  static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpAcsCredentials;
15
16
  static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpAcsCredentials;
16
17
  updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
18
+ get unmanaged(): SeamHttpAcsCredentialsUnmanaged;
17
19
  assign(body?: AcsCredentialsAssignBody): SeamHttpRequest<void, undefined>;
18
20
  create(body?: AcsCredentialsCreateBody): SeamHttpRequest<AcsCredentialsCreateResponse, 'acs_credential'>;
19
21
  delete(body?: AcsCredentialsDeleteParams): SeamHttpRequest<void, undefined>;
@@ -7,6 +7,7 @@ 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 { SeamHttpRequest } from '../../../../lib/seam/connect/seam-http-request.js';
10
+ import { SeamHttpAcsCredentialsUnmanaged } from './acs-credentials-unmanaged.js';
10
11
  import { SeamHttpClientSessions } from './client-sessions.js';
11
12
  export class SeamHttpAcsCredentials {
12
13
  constructor(apiKeyOrOptions = {}) {
@@ -76,6 +77,9 @@ export class SeamHttpAcsCredentials {
76
77
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
77
78
  await clientSessions.get();
78
79
  }
80
+ get unmanaged() {
81
+ return SeamHttpAcsCredentialsUnmanaged.fromClient(this.client, this.defaults);
82
+ }
79
83
  assign(body) {
80
84
  return new SeamHttpRequest(this, {
81
85
  path: '/acs/credentials/assign',
@@ -1 +1 @@
1
- {"version":3,"file":"acs-credentials.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/acs-credentials.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,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;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AAGvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAE7D,MAAM,OAAO,sBAAsB;IAIjC,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,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B,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,iBAAiB;SAC/B,CAAC,CAAA;IACJ,CAAC;IAED,uBAAuB,CACrB,IAAkD;QAKlD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,IAAI,EAAE,4CAA4C;YAClD,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,eAAe;SAC7B,CAAC,CAAA;IACJ,CAAC;IAED,QAAQ,CACN,IAAiC;QAEjC,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,IAAI,EAAE,2BAA2B;YACjC,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,SAAS;SACvB,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CAAC,IAA+B;QACpC,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,IAAI,EAAE,yBAAyB;YAC/B,MAAM,EAAE,MAAM;YACd,IAAI;YACJ,WAAW,EAAE,SAAS;SACvB,CAAC,CAAA;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"acs-credentials.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/acs-credentials.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,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;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AAGvE,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAA;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAE7D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
5
5
  export * from './acs-access-groups.js';
6
+ export * from './acs-access-groups-unmanaged.js';
6
7
  export * from './acs-credential-pools.js';
7
8
  export * from './acs-credential-provisioning-automations.js';
8
9
  export * from './acs-credentials.js';
10
+ export * from './acs-credentials-unmanaged.js';
9
11
  export * from './acs-entrances.js';
10
12
  export * from './acs-systems.js';
11
13
  export * from './acs-users.js';
@@ -3,9 +3,11 @@ export * from './access-codes-simulate.js';
3
3
  export * from './access-codes-unmanaged.js';
4
4
  export * from './acs.js';
5
5
  export * from './acs-access-groups.js';
6
+ export * from './acs-access-groups-unmanaged.js';
6
7
  export * from './acs-credential-pools.js';
7
8
  export * from './acs-credential-provisioning-automations.js';
8
9
  export * from './acs-credentials.js';
10
+ export * from './acs-credentials-unmanaged.js';
9
11
  export * from './acs-entrances.js';
10
12
  export * from './acs-systems.js';
11
13
  export * from './acs-users.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,4BAA4B,CAAA;AAC1C,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,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,cAAc,CAAA;AAC5B,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB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3D,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA"}
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const seamapiJavascriptHttpVersion = "1.3.0";
1
+ declare const seamapiJavascriptHttpVersion = "1.4.0";
2
2
  export default seamapiJavascriptHttpVersion;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '1.3.0';
1
+ const seamapiJavascriptHttpVersion = '1.4.0';
2
2
  export default seamapiJavascriptHttpVersion;
3
3
  //# sourceMappingURL=version.js.map