@aws-sdk/client-wickr 3.956.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 (227) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +541 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +2520 -0
  7. package/dist-cjs/runtimeConfig.browser.js +39 -0
  8. package/dist-cjs/runtimeConfig.js +55 -0
  9. package/dist-cjs/runtimeConfig.native.js +15 -0
  10. package/dist-cjs/runtimeConfig.shared.js +41 -0
  11. package/dist-es/Wickr.js +91 -0
  12. package/dist-es/WickrClient.js +50 -0
  13. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  14. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  15. package/dist-es/commands/BatchCreateUserCommand.js +16 -0
  16. package/dist-es/commands/BatchDeleteUserCommand.js +16 -0
  17. package/dist-es/commands/BatchLookupUserUnameCommand.js +16 -0
  18. package/dist-es/commands/BatchReinviteUserCommand.js +16 -0
  19. package/dist-es/commands/BatchResetDevicesForUserCommand.js +16 -0
  20. package/dist-es/commands/BatchToggleUserSuspendStatusCommand.js +16 -0
  21. package/dist-es/commands/CreateBotCommand.js +16 -0
  22. package/dist-es/commands/CreateDataRetentionBotChallengeCommand.js +16 -0
  23. package/dist-es/commands/CreateDataRetentionBotCommand.js +16 -0
  24. package/dist-es/commands/CreateNetworkCommand.js +16 -0
  25. package/dist-es/commands/CreateSecurityGroupCommand.js +16 -0
  26. package/dist-es/commands/DeleteBotCommand.js +16 -0
  27. package/dist-es/commands/DeleteDataRetentionBotCommand.js +16 -0
  28. package/dist-es/commands/DeleteNetworkCommand.js +16 -0
  29. package/dist-es/commands/DeleteSecurityGroupCommand.js +16 -0
  30. package/dist-es/commands/GetBotCommand.js +16 -0
  31. package/dist-es/commands/GetBotsCountCommand.js +16 -0
  32. package/dist-es/commands/GetDataRetentionBotCommand.js +16 -0
  33. package/dist-es/commands/GetGuestUserHistoryCountCommand.js +16 -0
  34. package/dist-es/commands/GetNetworkCommand.js +16 -0
  35. package/dist-es/commands/GetNetworkSettingsCommand.js +16 -0
  36. package/dist-es/commands/GetOidcInfoCommand.js +16 -0
  37. package/dist-es/commands/GetSecurityGroupCommand.js +16 -0
  38. package/dist-es/commands/GetUserCommand.js +16 -0
  39. package/dist-es/commands/GetUsersCountCommand.js +16 -0
  40. package/dist-es/commands/ListBlockedGuestUsersCommand.js +16 -0
  41. package/dist-es/commands/ListBotsCommand.js +16 -0
  42. package/dist-es/commands/ListDevicesForUserCommand.js +16 -0
  43. package/dist-es/commands/ListGuestUsersCommand.js +16 -0
  44. package/dist-es/commands/ListNetworksCommand.js +16 -0
  45. package/dist-es/commands/ListSecurityGroupUsersCommand.js +16 -0
  46. package/dist-es/commands/ListSecurityGroupsCommand.js +16 -0
  47. package/dist-es/commands/ListUsersCommand.js +16 -0
  48. package/dist-es/commands/RegisterOidcConfigCommand.js +16 -0
  49. package/dist-es/commands/RegisterOidcConfigTestCommand.js +16 -0
  50. package/dist-es/commands/UpdateBotCommand.js +16 -0
  51. package/dist-es/commands/UpdateDataRetentionCommand.js +16 -0
  52. package/dist-es/commands/UpdateGuestUserCommand.js +16 -0
  53. package/dist-es/commands/UpdateNetworkCommand.js +16 -0
  54. package/dist-es/commands/UpdateNetworkSettingsCommand.js +16 -0
  55. package/dist-es/commands/UpdateSecurityGroupCommand.js +16 -0
  56. package/dist-es/commands/UpdateUserCommand.js +16 -0
  57. package/dist-es/commands/index.js +42 -0
  58. package/dist-es/endpoint/EndpointParameters.js +13 -0
  59. package/dist-es/endpoint/endpointResolver.js +14 -0
  60. package/dist-es/endpoint/ruleset.js +4 -0
  61. package/dist-es/extensionConfiguration.js +1 -0
  62. package/dist-es/index.js +9 -0
  63. package/dist-es/models/WickrServiceException.js +8 -0
  64. package/dist-es/models/enums.js +28 -0
  65. package/dist-es/models/errors.js +87 -0
  66. package/dist-es/models/models_0.js +1 -0
  67. package/dist-es/pagination/Interfaces.js +1 -0
  68. package/dist-es/pagination/ListBlockedGuestUsersPaginator.js +4 -0
  69. package/dist-es/pagination/ListBotsPaginator.js +4 -0
  70. package/dist-es/pagination/ListDevicesForUserPaginator.js +4 -0
  71. package/dist-es/pagination/ListGuestUsersPaginator.js +4 -0
  72. package/dist-es/pagination/ListNetworksPaginator.js +4 -0
  73. package/dist-es/pagination/ListSecurityGroupUsersPaginator.js +4 -0
  74. package/dist-es/pagination/ListSecurityGroupsPaginator.js +4 -0
  75. package/dist-es/pagination/ListUsersPaginator.js +4 -0
  76. package/dist-es/pagination/index.js +9 -0
  77. package/dist-es/runtimeConfig.browser.js +34 -0
  78. package/dist-es/runtimeConfig.js +50 -0
  79. package/dist-es/runtimeConfig.native.js +11 -0
  80. package/dist-es/runtimeConfig.shared.js +37 -0
  81. package/dist-es/runtimeExtensions.js +9 -0
  82. package/dist-es/schemas/schemas_0.js +1491 -0
  83. package/dist-types/Wickr.d.ts +305 -0
  84. package/dist-types/WickrClient.d.ts +229 -0
  85. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  86. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  87. package/dist-types/commands/BatchCreateUserCommand.d.ts +251 -0
  88. package/dist-types/commands/BatchDeleteUserCommand.d.ts +171 -0
  89. package/dist-types/commands/BatchLookupUserUnameCommand.d.ts +175 -0
  90. package/dist-types/commands/BatchReinviteUserCommand.d.ts +191 -0
  91. package/dist-types/commands/BatchResetDevicesForUserCommand.d.ts +190 -0
  92. package/dist-types/commands/BatchToggleUserSuspendStatusCommand.d.ts +174 -0
  93. package/dist-types/commands/CreateBotCommand.d.ts +161 -0
  94. package/dist-types/commands/CreateDataRetentionBotChallengeCommand.d.ts +110 -0
  95. package/dist-types/commands/CreateDataRetentionBotCommand.d.ts +123 -0
  96. package/dist-types/commands/CreateNetworkCommand.d.ts +150 -0
  97. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +241 -0
  98. package/dist-types/commands/DeleteBotCommand.d.ts +126 -0
  99. package/dist-types/commands/DeleteDataRetentionBotCommand.d.ts +110 -0
  100. package/dist-types/commands/DeleteNetworkCommand.d.ts +124 -0
  101. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +130 -0
  102. package/dist-types/commands/GetBotCommand.d.ts +144 -0
  103. package/dist-types/commands/GetBotsCountCommand.d.ts +131 -0
  104. package/dist-types/commands/GetDataRetentionBotCommand.d.ts +140 -0
  105. package/dist-types/commands/GetGuestUserHistoryCountCommand.d.ts +155 -0
  106. package/dist-types/commands/GetNetworkCommand.d.ts +137 -0
  107. package/dist-types/commands/GetNetworkSettingsCommand.d.ts +166 -0
  108. package/dist-types/commands/GetOidcInfoCommand.d.ts +169 -0
  109. package/dist-types/commands/GetSecurityGroupCommand.d.ts +211 -0
  110. package/dist-types/commands/GetUserCommand.d.ts +194 -0
  111. package/dist-types/commands/GetUsersCountCommand.d.ts +137 -0
  112. package/dist-types/commands/ListBlockedGuestUsersCommand.d.ts +185 -0
  113. package/dist-types/commands/ListBotsCommand.d.ts +192 -0
  114. package/dist-types/commands/ListDevicesForUserCommand.d.ts +197 -0
  115. package/dist-types/commands/ListGuestUsersCommand.d.ts +192 -0
  116. package/dist-types/commands/ListNetworksCommand.d.ts +167 -0
  117. package/dist-types/commands/ListSecurityGroupUsersCommand.d.ts +156 -0
  118. package/dist-types/commands/ListSecurityGroupsCommand.d.ts +246 -0
  119. package/dist-types/commands/ListUsersCommand.d.ts +221 -0
  120. package/dist-types/commands/RegisterOidcConfigCommand.d.ts +174 -0
  121. package/dist-types/commands/RegisterOidcConfigTestCommand.d.ts +168 -0
  122. package/dist-types/commands/UpdateBotCommand.d.ts +133 -0
  123. package/dist-types/commands/UpdateDataRetentionCommand.d.ts +144 -0
  124. package/dist-types/commands/UpdateGuestUserCommand.d.ts +146 -0
  125. package/dist-types/commands/UpdateNetworkCommand.d.ts +142 -0
  126. package/dist-types/commands/UpdateNetworkSettingsCommand.d.ts +234 -0
  127. package/dist-types/commands/UpdateSecurityGroupCommand.d.ts +282 -0
  128. package/dist-types/commands/UpdateUserCommand.d.ts +229 -0
  129. package/dist-types/commands/index.d.ts +42 -0
  130. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  131. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  132. package/dist-types/endpoint/ruleset.d.ts +2 -0
  133. package/dist-types/extensionConfiguration.d.ts +9 -0
  134. package/dist-types/index.d.ts +17 -0
  135. package/dist-types/models/WickrServiceException.d.ts +14 -0
  136. package/dist-types/models/enums.d.ts +58 -0
  137. package/dist-types/models/errors.d.ts +92 -0
  138. package/dist-types/models/models_0.d.ts +2975 -0
  139. package/dist-types/pagination/Interfaces.d.ts +8 -0
  140. package/dist-types/pagination/ListBlockedGuestUsersPaginator.d.ts +7 -0
  141. package/dist-types/pagination/ListBotsPaginator.d.ts +7 -0
  142. package/dist-types/pagination/ListDevicesForUserPaginator.d.ts +7 -0
  143. package/dist-types/pagination/ListGuestUsersPaginator.d.ts +7 -0
  144. package/dist-types/pagination/ListNetworksPaginator.d.ts +7 -0
  145. package/dist-types/pagination/ListSecurityGroupUsersPaginator.d.ts +7 -0
  146. package/dist-types/pagination/ListSecurityGroupsPaginator.d.ts +7 -0
  147. package/dist-types/pagination/ListUsersPaginator.d.ts +7 -0
  148. package/dist-types/pagination/index.d.ts +9 -0
  149. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  150. package/dist-types/runtimeConfig.d.ts +55 -0
  151. package/dist-types/runtimeConfig.native.d.ts +54 -0
  152. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  153. package/dist-types/runtimeExtensions.d.ts +17 -0
  154. package/dist-types/schemas/schemas_0.d.ts +164 -0
  155. package/dist-types/ts3.4/Wickr.d.ts +720 -0
  156. package/dist-types/ts3.4/WickrClient.d.ts +371 -0
  157. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  158. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  159. package/dist-types/ts3.4/commands/BatchCreateUserCommand.d.ts +50 -0
  160. package/dist-types/ts3.4/commands/BatchDeleteUserCommand.d.ts +50 -0
  161. package/dist-types/ts3.4/commands/BatchLookupUserUnameCommand.d.ts +51 -0
  162. package/dist-types/ts3.4/commands/BatchReinviteUserCommand.d.ts +51 -0
  163. package/dist-types/ts3.4/commands/BatchResetDevicesForUserCommand.d.ts +51 -0
  164. package/dist-types/ts3.4/commands/BatchToggleUserSuspendStatusCommand.d.ts +51 -0
  165. package/dist-types/ts3.4/commands/CreateBotCommand.d.ts +47 -0
  166. package/dist-types/ts3.4/commands/CreateDataRetentionBotChallengeCommand.d.ts +51 -0
  167. package/dist-types/ts3.4/commands/CreateDataRetentionBotCommand.d.ts +51 -0
  168. package/dist-types/ts3.4/commands/CreateNetworkCommand.d.ts +50 -0
  169. package/dist-types/ts3.4/commands/CreateSecurityGroupCommand.d.ts +51 -0
  170. package/dist-types/ts3.4/commands/DeleteBotCommand.d.ts +47 -0
  171. package/dist-types/ts3.4/commands/DeleteDataRetentionBotCommand.d.ts +51 -0
  172. package/dist-types/ts3.4/commands/DeleteNetworkCommand.d.ts +50 -0
  173. package/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +51 -0
  174. package/dist-types/ts3.4/commands/GetBotCommand.d.ts +41 -0
  175. package/dist-types/ts3.4/commands/GetBotsCountCommand.d.ts +47 -0
  176. package/dist-types/ts3.4/commands/GetDataRetentionBotCommand.d.ts +51 -0
  177. package/dist-types/ts3.4/commands/GetGuestUserHistoryCountCommand.d.ts +51 -0
  178. package/dist-types/ts3.4/commands/GetNetworkCommand.d.ts +47 -0
  179. package/dist-types/ts3.4/commands/GetNetworkSettingsCommand.d.ts +51 -0
  180. package/dist-types/ts3.4/commands/GetOidcInfoCommand.d.ts +47 -0
  181. package/dist-types/ts3.4/commands/GetSecurityGroupCommand.d.ts +50 -0
  182. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +43 -0
  183. package/dist-types/ts3.4/commands/GetUsersCountCommand.d.ts +50 -0
  184. package/dist-types/ts3.4/commands/ListBlockedGuestUsersCommand.d.ts +51 -0
  185. package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +47 -0
  186. package/dist-types/ts3.4/commands/ListDevicesForUserCommand.d.ts +51 -0
  187. package/dist-types/ts3.4/commands/ListGuestUsersCommand.d.ts +50 -0
  188. package/dist-types/ts3.4/commands/ListNetworksCommand.d.ts +47 -0
  189. package/dist-types/ts3.4/commands/ListSecurityGroupUsersCommand.d.ts +51 -0
  190. package/dist-types/ts3.4/commands/ListSecurityGroupsCommand.d.ts +51 -0
  191. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +47 -0
  192. package/dist-types/ts3.4/commands/RegisterOidcConfigCommand.d.ts +51 -0
  193. package/dist-types/ts3.4/commands/RegisterOidcConfigTestCommand.d.ts +51 -0
  194. package/dist-types/ts3.4/commands/UpdateBotCommand.d.ts +47 -0
  195. package/dist-types/ts3.4/commands/UpdateDataRetentionCommand.d.ts +51 -0
  196. package/dist-types/ts3.4/commands/UpdateGuestUserCommand.d.ts +50 -0
  197. package/dist-types/ts3.4/commands/UpdateNetworkCommand.d.ts +50 -0
  198. package/dist-types/ts3.4/commands/UpdateNetworkSettingsCommand.d.ts +51 -0
  199. package/dist-types/ts3.4/commands/UpdateSecurityGroupCommand.d.ts +51 -0
  200. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +47 -0
  201. package/dist-types/ts3.4/commands/index.d.ts +42 -0
  202. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  203. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  204. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  205. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  206. package/dist-types/ts3.4/index.d.ts +12 -0
  207. package/dist-types/ts3.4/models/WickrServiceException.d.ts +9 -0
  208. package/dist-types/ts3.4/models/enums.d.ts +31 -0
  209. package/dist-types/ts3.4/models/errors.d.ts +43 -0
  210. package/dist-types/ts3.4/models/models_0.d.ts +714 -0
  211. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  212. package/dist-types/ts3.4/pagination/ListBlockedGuestUsersPaginator.d.ts +11 -0
  213. package/dist-types/ts3.4/pagination/ListBotsPaginator.d.ts +11 -0
  214. package/dist-types/ts3.4/pagination/ListDevicesForUserPaginator.d.ts +11 -0
  215. package/dist-types/ts3.4/pagination/ListGuestUsersPaginator.d.ts +11 -0
  216. package/dist-types/ts3.4/pagination/ListNetworksPaginator.d.ts +11 -0
  217. package/dist-types/ts3.4/pagination/ListSecurityGroupUsersPaginator.d.ts +11 -0
  218. package/dist-types/ts3.4/pagination/ListSecurityGroupsPaginator.d.ts +11 -0
  219. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +11 -0
  220. package/dist-types/ts3.4/pagination/index.d.ts +9 -0
  221. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
  222. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  223. package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  224. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  225. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  226. package/dist-types/ts3.4/schemas/schemas_0.d.ts +168 -0
  227. package/package.json +100 -0
@@ -0,0 +1,714 @@
1
+ import {
2
+ AccessLevel,
3
+ BotStatus,
4
+ DataRetentionActionType,
5
+ SortDirection,
6
+ Status,
7
+ UserStatus,
8
+ } from "./enums";
9
+ export interface BasicDeviceObject {
10
+ appId?: string | undefined;
11
+ created?: string | undefined;
12
+ lastLogin?: string | undefined;
13
+ statusText?: string | undefined;
14
+ suspend?: boolean | undefined;
15
+ type?: string | undefined;
16
+ }
17
+ export interface BatchCreateUserRequestItem {
18
+ firstName?: string | undefined;
19
+ lastName?: string | undefined;
20
+ securityGroupIds: string[] | undefined;
21
+ username: string | undefined;
22
+ inviteCode?: string | undefined;
23
+ inviteCodeTtl?: number | undefined;
24
+ codeValidation?: boolean | undefined;
25
+ }
26
+ export interface BatchCreateUserRequest {
27
+ networkId: string | undefined;
28
+ users: BatchCreateUserRequestItem[] | undefined;
29
+ clientToken?: string | undefined;
30
+ }
31
+ export interface BatchUserErrorResponseItem {
32
+ field?: string | undefined;
33
+ reason?: string | undefined;
34
+ userId: string | undefined;
35
+ }
36
+ export interface User {
37
+ userId?: string | undefined;
38
+ firstName?: string | undefined;
39
+ lastName?: string | undefined;
40
+ username?: string | undefined;
41
+ securityGroups?: string[] | undefined;
42
+ isAdmin?: boolean | undefined;
43
+ suspended?: boolean | undefined;
44
+ status?: number | undefined;
45
+ otpEnabled?: boolean | undefined;
46
+ scimId?: string | undefined;
47
+ type?: string | undefined;
48
+ cell?: string | undefined;
49
+ countryCode?: string | undefined;
50
+ challengeFailures?: number | undefined;
51
+ isInviteExpired?: boolean | undefined;
52
+ isUser?: boolean | undefined;
53
+ inviteCode?: string | undefined;
54
+ codeValidation?: boolean | undefined;
55
+ uname?: string | undefined;
56
+ }
57
+ export interface BatchCreateUserResponse {
58
+ message?: string | undefined;
59
+ successful?: User[] | undefined;
60
+ failed?: BatchUserErrorResponseItem[] | undefined;
61
+ }
62
+ export interface ErrorDetail {
63
+ field?: string | undefined;
64
+ reason?: string | undefined;
65
+ }
66
+ export interface BatchDeleteUserRequest {
67
+ networkId: string | undefined;
68
+ userIds: string[] | undefined;
69
+ clientToken?: string | undefined;
70
+ }
71
+ export interface BatchUserSuccessResponseItem {
72
+ userId: string | undefined;
73
+ }
74
+ export interface BatchDeleteUserResponse {
75
+ message?: string | undefined;
76
+ successful?: BatchUserSuccessResponseItem[] | undefined;
77
+ failed?: BatchUserErrorResponseItem[] | undefined;
78
+ }
79
+ export interface BatchDeviceErrorResponseItem {
80
+ field?: string | undefined;
81
+ reason?: string | undefined;
82
+ appId: string | undefined;
83
+ }
84
+ export interface BatchDeviceSuccessResponseItem {
85
+ appId: string | undefined;
86
+ }
87
+ export interface BatchLookupUserUnameRequest {
88
+ networkId: string | undefined;
89
+ unames: string[] | undefined;
90
+ clientToken?: string | undefined;
91
+ }
92
+ export interface BatchUnameErrorResponseItem {
93
+ field?: string | undefined;
94
+ reason?: string | undefined;
95
+ uname: string | undefined;
96
+ }
97
+ export interface BatchUnameSuccessResponseItem {
98
+ uname: string | undefined;
99
+ username: string | undefined;
100
+ }
101
+ export interface BatchLookupUserUnameResponse {
102
+ message?: string | undefined;
103
+ successful?: BatchUnameSuccessResponseItem[] | undefined;
104
+ failed?: BatchUnameErrorResponseItem[] | undefined;
105
+ }
106
+ export interface BatchReinviteUserRequest {
107
+ networkId: string | undefined;
108
+ userIds: string[] | undefined;
109
+ clientToken?: string | undefined;
110
+ }
111
+ export interface BatchReinviteUserResponse {
112
+ message?: string | undefined;
113
+ successful?: BatchUserSuccessResponseItem[] | undefined;
114
+ failed?: BatchUserErrorResponseItem[] | undefined;
115
+ }
116
+ export interface BatchResetDevicesForUserRequest {
117
+ networkId: string | undefined;
118
+ userId: string | undefined;
119
+ appIds: string[] | undefined;
120
+ clientToken?: string | undefined;
121
+ }
122
+ export interface BatchResetDevicesForUserResponse {
123
+ message?: string | undefined;
124
+ successful?: BatchDeviceSuccessResponseItem[] | undefined;
125
+ failed?: BatchDeviceErrorResponseItem[] | undefined;
126
+ }
127
+ export interface BatchToggleUserSuspendStatusRequest {
128
+ networkId: string | undefined;
129
+ suspend: boolean | undefined;
130
+ userIds: string[] | undefined;
131
+ clientToken?: string | undefined;
132
+ }
133
+ export interface BatchToggleUserSuspendStatusResponse {
134
+ message?: string | undefined;
135
+ successful?: BatchUserSuccessResponseItem[] | undefined;
136
+ failed?: BatchUserErrorResponseItem[] | undefined;
137
+ }
138
+ export interface BlockedGuestUser {
139
+ username: string | undefined;
140
+ admin: string | undefined;
141
+ modified: string | undefined;
142
+ usernameHash: string | undefined;
143
+ }
144
+ export interface Bot {
145
+ botId?: string | undefined;
146
+ displayName?: string | undefined;
147
+ username?: string | undefined;
148
+ uname?: string | undefined;
149
+ pubkey?: string | undefined;
150
+ status?: BotStatus | undefined;
151
+ groupId?: string | undefined;
152
+ hasChallenge?: boolean | undefined;
153
+ suspended?: boolean | undefined;
154
+ lastLogin?: string | undefined;
155
+ }
156
+ export interface CallingSettings {
157
+ canStart11Call?: boolean | undefined;
158
+ canVideoCall?: boolean | undefined;
159
+ forceTcpCall?: boolean | undefined;
160
+ }
161
+ export interface CreateBotRequest {
162
+ networkId: string | undefined;
163
+ username: string | undefined;
164
+ displayName?: string | undefined;
165
+ groupId: string | undefined;
166
+ challenge: string | undefined;
167
+ }
168
+ export interface CreateBotResponse {
169
+ message?: string | undefined;
170
+ botId: string | undefined;
171
+ networkId?: string | undefined;
172
+ username?: string | undefined;
173
+ displayName?: string | undefined;
174
+ groupId?: string | undefined;
175
+ }
176
+ export interface CreateDataRetentionBotRequest {
177
+ networkId: string | undefined;
178
+ }
179
+ export interface CreateDataRetentionBotResponse {
180
+ message?: string | undefined;
181
+ }
182
+ export interface CreateDataRetentionBotChallengeRequest {
183
+ networkId: string | undefined;
184
+ }
185
+ export interface CreateDataRetentionBotChallengeResponse {
186
+ challenge: string | undefined;
187
+ }
188
+ export interface CreateNetworkRequest {
189
+ networkName: string | undefined;
190
+ accessLevel: AccessLevel | undefined;
191
+ enablePremiumFreeTrial?: boolean | undefined;
192
+ encryptionKeyArn?: string | undefined;
193
+ }
194
+ export interface CreateNetworkResponse {
195
+ networkId?: string | undefined;
196
+ networkName?: string | undefined;
197
+ encryptionKeyArn?: string | undefined;
198
+ }
199
+ export interface WickrAwsNetworks {
200
+ region: string | undefined;
201
+ networkId: string | undefined;
202
+ }
203
+ export interface PermittedWickrEnterpriseNetwork {
204
+ domain: string | undefined;
205
+ networkId: string | undefined;
206
+ }
207
+ export interface SecurityGroupSettingsRequest {
208
+ lockoutThreshold?: number | undefined;
209
+ permittedNetworks?: string[] | undefined;
210
+ enableGuestFederation?: boolean | undefined;
211
+ globalFederation?: boolean | undefined;
212
+ federationMode?: number | undefined;
213
+ enableRestrictedGlobalFederation?: boolean | undefined;
214
+ permittedWickrAwsNetworks?: WickrAwsNetworks[] | undefined;
215
+ permittedWickrEnterpriseNetworks?:
216
+ | PermittedWickrEnterpriseNetwork[]
217
+ | undefined;
218
+ }
219
+ export interface CreateSecurityGroupRequest {
220
+ networkId: string | undefined;
221
+ name: string | undefined;
222
+ securityGroupSettings: SecurityGroupSettingsRequest | undefined;
223
+ clientToken?: string | undefined;
224
+ }
225
+ export interface PasswordRequirements {
226
+ lowercase?: number | undefined;
227
+ minLength?: number | undefined;
228
+ numbers?: number | undefined;
229
+ symbols?: number | undefined;
230
+ uppercase?: number | undefined;
231
+ }
232
+ export interface ShredderSettings {
233
+ canProcessManually?: boolean | undefined;
234
+ intensity?: number | undefined;
235
+ }
236
+ export interface SecurityGroupSettings {
237
+ alwaysReauthenticate?: boolean | undefined;
238
+ atakPackageValues?: string[] | undefined;
239
+ calling?: CallingSettings | undefined;
240
+ checkForUpdates?: boolean | undefined;
241
+ enableAtak?: boolean | undefined;
242
+ enableCrashReports?: boolean | undefined;
243
+ enableFileDownload?: boolean | undefined;
244
+ enableGuestFederation?: boolean | undefined;
245
+ enableNotificationPreview?: boolean | undefined;
246
+ enableOpenAccessOption?: boolean | undefined;
247
+ enableRestrictedGlobalFederation?: boolean | undefined;
248
+ filesEnabled?: boolean | undefined;
249
+ forceDeviceLockout?: number | undefined;
250
+ forceOpenAccess?: boolean | undefined;
251
+ forceReadReceipts?: boolean | undefined;
252
+ globalFederation?: boolean | undefined;
253
+ isAtoEnabled?: boolean | undefined;
254
+ isLinkPreviewEnabled?: boolean | undefined;
255
+ locationAllowMaps?: boolean | undefined;
256
+ locationEnabled?: boolean | undefined;
257
+ maxAutoDownloadSize?: number | undefined;
258
+ maxBor?: number | undefined;
259
+ maxTtl?: number | undefined;
260
+ messageForwardingEnabled?: boolean | undefined;
261
+ passwordRequirements?: PasswordRequirements | undefined;
262
+ presenceEnabled?: boolean | undefined;
263
+ quickResponses?: string[] | undefined;
264
+ showMasterRecoveryKey?: boolean | undefined;
265
+ shredder?: ShredderSettings | undefined;
266
+ ssoMaxIdleMinutes?: number | undefined;
267
+ federationMode?: number | undefined;
268
+ lockoutThreshold?: number | undefined;
269
+ permittedNetworks?: string[] | undefined;
270
+ permittedWickrAwsNetworks?: WickrAwsNetworks[] | undefined;
271
+ permittedWickrEnterpriseNetworks?:
272
+ | PermittedWickrEnterpriseNetwork[]
273
+ | undefined;
274
+ }
275
+ export interface SecurityGroup {
276
+ activeMembers: number | undefined;
277
+ botMembers: number | undefined;
278
+ activeDirectoryGuid?: string | undefined;
279
+ id: string | undefined;
280
+ isDefault: boolean | undefined;
281
+ name: string | undefined;
282
+ modified: number | undefined;
283
+ securityGroupSettings: SecurityGroupSettings | undefined;
284
+ }
285
+ export interface CreateSecurityGroupResponse {
286
+ securityGroup: SecurityGroup | undefined;
287
+ }
288
+ export interface DeleteBotRequest {
289
+ networkId: string | undefined;
290
+ botId: string | undefined;
291
+ }
292
+ export interface DeleteBotResponse {
293
+ message?: string | undefined;
294
+ }
295
+ export interface DeleteDataRetentionBotRequest {
296
+ networkId: string | undefined;
297
+ }
298
+ export interface DeleteDataRetentionBotResponse {
299
+ message?: string | undefined;
300
+ }
301
+ export interface DeleteNetworkRequest {
302
+ networkId: string | undefined;
303
+ clientToken?: string | undefined;
304
+ }
305
+ export interface DeleteNetworkResponse {
306
+ message?: string | undefined;
307
+ }
308
+ export interface DeleteSecurityGroupRequest {
309
+ networkId: string | undefined;
310
+ groupId: string | undefined;
311
+ }
312
+ export interface DeleteSecurityGroupResponse {
313
+ message?: string | undefined;
314
+ networkId?: string | undefined;
315
+ groupId?: string | undefined;
316
+ }
317
+ export interface GetBotRequest {
318
+ networkId: string | undefined;
319
+ botId: string | undefined;
320
+ }
321
+ export interface GetBotResponse {
322
+ botId?: string | undefined;
323
+ displayName?: string | undefined;
324
+ username?: string | undefined;
325
+ uname?: string | undefined;
326
+ pubkey?: string | undefined;
327
+ status?: BotStatus | undefined;
328
+ groupId?: string | undefined;
329
+ hasChallenge?: boolean | undefined;
330
+ suspended?: boolean | undefined;
331
+ lastLogin?: string | undefined;
332
+ }
333
+ export interface GetBotsCountRequest {
334
+ networkId: string | undefined;
335
+ }
336
+ export interface GetBotsCountResponse {
337
+ pending: number | undefined;
338
+ active: number | undefined;
339
+ total: number | undefined;
340
+ }
341
+ export interface GetDataRetentionBotRequest {
342
+ networkId: string | undefined;
343
+ }
344
+ export interface GetDataRetentionBotResponse {
345
+ botName?: string | undefined;
346
+ botExists?: boolean | undefined;
347
+ isBotActive?: boolean | undefined;
348
+ isDataRetentionBotRegistered?: boolean | undefined;
349
+ isDataRetentionServiceEnabled?: boolean | undefined;
350
+ isPubkeyMsgAcked?: boolean | undefined;
351
+ }
352
+ export interface GetGuestUserHistoryCountRequest {
353
+ networkId: string | undefined;
354
+ }
355
+ export interface GuestUserHistoryCount {
356
+ month: string | undefined;
357
+ count: string | undefined;
358
+ }
359
+ export interface GetGuestUserHistoryCountResponse {
360
+ history: GuestUserHistoryCount[] | undefined;
361
+ }
362
+ export interface GetNetworkRequest {
363
+ networkId: string | undefined;
364
+ }
365
+ export interface GetNetworkResponse {
366
+ networkId: string | undefined;
367
+ networkName: string | undefined;
368
+ accessLevel: AccessLevel | undefined;
369
+ awsAccountId: string | undefined;
370
+ networkArn: string | undefined;
371
+ standing?: number | undefined;
372
+ freeTrialExpiration?: string | undefined;
373
+ migrationState?: number | undefined;
374
+ encryptionKeyArn?: string | undefined;
375
+ }
376
+ export interface GetNetworkSettingsRequest {
377
+ networkId: string | undefined;
378
+ }
379
+ export interface Setting {
380
+ optionName: string | undefined;
381
+ value: string | undefined;
382
+ type: string | undefined;
383
+ }
384
+ export interface GetNetworkSettingsResponse {
385
+ settings: Setting[] | undefined;
386
+ }
387
+ export interface GetOidcInfoRequest {
388
+ networkId: string | undefined;
389
+ clientId?: string | undefined;
390
+ code?: string | undefined;
391
+ grantType?: string | undefined;
392
+ redirectUri?: string | undefined;
393
+ url?: string | undefined;
394
+ clientSecret?: string | undefined;
395
+ codeVerifier?: string | undefined;
396
+ certificate?: string | undefined;
397
+ }
398
+ export interface OidcConfigInfo {
399
+ applicationName?: string | undefined;
400
+ clientId?: string | undefined;
401
+ companyId: string | undefined;
402
+ scopes: string | undefined;
403
+ issuer: string | undefined;
404
+ clientSecret?: string | undefined;
405
+ secret?: string | undefined;
406
+ redirectUrl?: string | undefined;
407
+ userId?: string | undefined;
408
+ customUsername?: string | undefined;
409
+ caCertificate?: string | undefined;
410
+ applicationId?: number | undefined;
411
+ ssoTokenBufferMinutes?: number | undefined;
412
+ extraAuthParams?: string | undefined;
413
+ }
414
+ export interface OidcTokenInfo {
415
+ codeVerifier?: string | undefined;
416
+ codeChallenge?: string | undefined;
417
+ accessToken?: string | undefined;
418
+ idToken?: string | undefined;
419
+ refreshToken?: string | undefined;
420
+ tokenType?: string | undefined;
421
+ expiresIn?: number | undefined;
422
+ }
423
+ export interface GetOidcInfoResponse {
424
+ openidConnectInfo?: OidcConfigInfo | undefined;
425
+ tokenInfo?: OidcTokenInfo | undefined;
426
+ }
427
+ export interface GetSecurityGroupRequest {
428
+ networkId: string | undefined;
429
+ groupId: string | undefined;
430
+ }
431
+ export interface GetSecurityGroupResponse {
432
+ securityGroup: SecurityGroup | undefined;
433
+ }
434
+ export interface GetUserRequest {
435
+ networkId: string | undefined;
436
+ userId: string | undefined;
437
+ startTime?: Date | undefined;
438
+ endTime?: Date | undefined;
439
+ }
440
+ export interface GetUserResponse {
441
+ userId: string | undefined;
442
+ firstName?: string | undefined;
443
+ lastName?: string | undefined;
444
+ username?: string | undefined;
445
+ isAdmin?: boolean | undefined;
446
+ suspended?: boolean | undefined;
447
+ status?: number | undefined;
448
+ lastActivity?: number | undefined;
449
+ lastLogin?: number | undefined;
450
+ securityGroupIds?: string[] | undefined;
451
+ }
452
+ export interface GetUsersCountRequest {
453
+ networkId: string | undefined;
454
+ }
455
+ export interface GetUsersCountResponse {
456
+ pending: number | undefined;
457
+ active: number | undefined;
458
+ rejected: number | undefined;
459
+ remaining: number | undefined;
460
+ total: number | undefined;
461
+ }
462
+ export interface GuestUser {
463
+ billingPeriod: string | undefined;
464
+ username: string | undefined;
465
+ usernameHash: string | undefined;
466
+ }
467
+ export interface ListBlockedGuestUsersRequest {
468
+ networkId: string | undefined;
469
+ maxResults?: number | undefined;
470
+ sortDirection?: SortDirection | undefined;
471
+ sortFields?: string | undefined;
472
+ username?: string | undefined;
473
+ admin?: string | undefined;
474
+ nextToken?: string | undefined;
475
+ }
476
+ export interface ListBlockedGuestUsersResponse {
477
+ nextToken?: string | undefined;
478
+ blocklist: BlockedGuestUser[] | undefined;
479
+ }
480
+ export interface ListBotsRequest {
481
+ networkId: string | undefined;
482
+ nextToken?: string | undefined;
483
+ maxResults?: number | undefined;
484
+ sortFields?: string | undefined;
485
+ sortDirection?: SortDirection | undefined;
486
+ displayName?: string | undefined;
487
+ username?: string | undefined;
488
+ status?: BotStatus | undefined;
489
+ groupId?: string | undefined;
490
+ }
491
+ export interface ListBotsResponse {
492
+ bots: Bot[] | undefined;
493
+ nextToken?: string | undefined;
494
+ }
495
+ export interface ListDevicesForUserRequest {
496
+ networkId: string | undefined;
497
+ userId: string | undefined;
498
+ nextToken?: string | undefined;
499
+ maxResults?: number | undefined;
500
+ sortFields?: string | undefined;
501
+ sortDirection?: SortDirection | undefined;
502
+ }
503
+ export interface ListDevicesForUserResponse {
504
+ nextToken?: string | undefined;
505
+ devices: BasicDeviceObject[] | undefined;
506
+ }
507
+ export interface ListGuestUsersRequest {
508
+ networkId: string | undefined;
509
+ maxResults?: number | undefined;
510
+ sortDirection?: SortDirection | undefined;
511
+ sortFields?: string | undefined;
512
+ username?: string | undefined;
513
+ billingPeriod?: string | undefined;
514
+ nextToken?: string | undefined;
515
+ }
516
+ export interface ListGuestUsersResponse {
517
+ nextToken?: string | undefined;
518
+ guestlist: GuestUser[] | undefined;
519
+ }
520
+ export interface ListNetworksRequest {
521
+ maxResults?: number | undefined;
522
+ sortFields?: string | undefined;
523
+ sortDirection?: SortDirection | undefined;
524
+ nextToken?: string | undefined;
525
+ }
526
+ export interface Network {
527
+ networkId: string | undefined;
528
+ networkName: string | undefined;
529
+ accessLevel: AccessLevel | undefined;
530
+ awsAccountId: string | undefined;
531
+ networkArn: string | undefined;
532
+ standing?: number | undefined;
533
+ freeTrialExpiration?: string | undefined;
534
+ migrationState?: number | undefined;
535
+ encryptionKeyArn?: string | undefined;
536
+ }
537
+ export interface ListNetworksResponse {
538
+ networks: Network[] | undefined;
539
+ nextToken?: string | undefined;
540
+ }
541
+ export interface ListSecurityGroupsRequest {
542
+ networkId: string | undefined;
543
+ nextToken?: string | undefined;
544
+ maxResults?: number | undefined;
545
+ sortFields?: string | undefined;
546
+ sortDirection?: SortDirection | undefined;
547
+ }
548
+ export interface ListSecurityGroupsResponse {
549
+ securityGroups?: SecurityGroup[] | undefined;
550
+ nextToken?: string | undefined;
551
+ }
552
+ export interface ListSecurityGroupUsersRequest {
553
+ networkId: string | undefined;
554
+ groupId: string | undefined;
555
+ nextToken?: string | undefined;
556
+ maxResults?: number | undefined;
557
+ sortFields?: string | undefined;
558
+ sortDirection?: SortDirection | undefined;
559
+ }
560
+ export interface ListSecurityGroupUsersResponse {
561
+ users: User[] | undefined;
562
+ nextToken?: string | undefined;
563
+ }
564
+ export interface ListUsersRequest {
565
+ networkId: string | undefined;
566
+ nextToken?: string | undefined;
567
+ maxResults?: number | undefined;
568
+ sortFields?: string | undefined;
569
+ sortDirection?: SortDirection | undefined;
570
+ firstName?: string | undefined;
571
+ lastName?: string | undefined;
572
+ username?: string | undefined;
573
+ status?: UserStatus | undefined;
574
+ groupId?: string | undefined;
575
+ }
576
+ export interface ListUsersResponse {
577
+ nextToken?: string | undefined;
578
+ users?: User[] | undefined;
579
+ }
580
+ export interface ReadReceiptConfig {
581
+ status?: Status | undefined;
582
+ }
583
+ export interface NetworkSettings {
584
+ enableClientMetrics?: boolean | undefined;
585
+ readReceiptConfig?: ReadReceiptConfig | undefined;
586
+ dataRetention?: boolean | undefined;
587
+ }
588
+ export interface RegisterOidcConfigRequest {
589
+ networkId: string | undefined;
590
+ companyId: string | undefined;
591
+ customUsername?: string | undefined;
592
+ extraAuthParams?: string | undefined;
593
+ issuer: string | undefined;
594
+ scopes: string | undefined;
595
+ secret?: string | undefined;
596
+ ssoTokenBufferMinutes?: number | undefined;
597
+ userId?: string | undefined;
598
+ }
599
+ export interface RegisterOidcConfigResponse {
600
+ applicationName?: string | undefined;
601
+ clientId?: string | undefined;
602
+ companyId: string | undefined;
603
+ scopes: string | undefined;
604
+ issuer: string | undefined;
605
+ clientSecret?: string | undefined;
606
+ secret?: string | undefined;
607
+ redirectUrl?: string | undefined;
608
+ userId?: string | undefined;
609
+ customUsername?: string | undefined;
610
+ caCertificate?: string | undefined;
611
+ applicationId?: number | undefined;
612
+ ssoTokenBufferMinutes?: number | undefined;
613
+ extraAuthParams?: string | undefined;
614
+ }
615
+ export interface RegisterOidcConfigTestRequest {
616
+ networkId: string | undefined;
617
+ extraAuthParams?: string | undefined;
618
+ issuer: string | undefined;
619
+ scopes: string | undefined;
620
+ certificate?: string | undefined;
621
+ }
622
+ export interface RegisterOidcConfigTestResponse {
623
+ tokenEndpoint?: string | undefined;
624
+ userinfoEndpoint?: string | undefined;
625
+ responseTypesSupported?: string[] | undefined;
626
+ scopesSupported?: string[] | undefined;
627
+ issuer?: string | undefined;
628
+ authorizationEndpoint?: string | undefined;
629
+ endSessionEndpoint?: string | undefined;
630
+ logoutEndpoint?: string | undefined;
631
+ grantTypesSupported?: string[] | undefined;
632
+ revocationEndpoint?: string | undefined;
633
+ tokenEndpointAuthMethodsSupported?: string[] | undefined;
634
+ microsoftMultiRefreshToken?: boolean | undefined;
635
+ }
636
+ export interface UpdateBotRequest {
637
+ networkId: string | undefined;
638
+ botId: string | undefined;
639
+ displayName?: string | undefined;
640
+ groupId?: string | undefined;
641
+ challenge?: string | undefined;
642
+ suspend?: boolean | undefined;
643
+ }
644
+ export interface UpdateBotResponse {
645
+ message?: string | undefined;
646
+ }
647
+ export interface UpdateDataRetentionRequest {
648
+ networkId: string | undefined;
649
+ actionType: DataRetentionActionType | undefined;
650
+ }
651
+ export interface UpdateDataRetentionResponse {
652
+ message?: string | undefined;
653
+ }
654
+ export interface UpdateGuestUserRequest {
655
+ networkId: string | undefined;
656
+ usernameHash: string | undefined;
657
+ block: boolean | undefined;
658
+ }
659
+ export interface UpdateGuestUserResponse {
660
+ message?: string | undefined;
661
+ }
662
+ export interface UpdateNetworkRequest {
663
+ networkId: string | undefined;
664
+ networkName: string | undefined;
665
+ clientToken?: string | undefined;
666
+ encryptionKeyArn?: string | undefined;
667
+ }
668
+ export interface UpdateNetworkResponse {
669
+ message?: string | undefined;
670
+ }
671
+ export interface UpdateNetworkSettingsRequest {
672
+ networkId: string | undefined;
673
+ settings: NetworkSettings | undefined;
674
+ }
675
+ export interface UpdateNetworkSettingsResponse {
676
+ settings: Setting[] | undefined;
677
+ }
678
+ export interface UpdateSecurityGroupRequest {
679
+ networkId: string | undefined;
680
+ groupId: string | undefined;
681
+ name?: string | undefined;
682
+ securityGroupSettings?: SecurityGroupSettings | undefined;
683
+ }
684
+ export interface UpdateSecurityGroupResponse {
685
+ securityGroup: SecurityGroup | undefined;
686
+ }
687
+ export interface UpdateUserDetails {
688
+ firstName?: string | undefined;
689
+ lastName?: string | undefined;
690
+ username?: string | undefined;
691
+ securityGroupIds?: string[] | undefined;
692
+ inviteCode?: string | undefined;
693
+ inviteCodeTtl?: number | undefined;
694
+ codeValidation?: boolean | undefined;
695
+ }
696
+ export interface UpdateUserRequest {
697
+ networkId: string | undefined;
698
+ userId: string | undefined;
699
+ userDetails?: UpdateUserDetails | undefined;
700
+ }
701
+ export interface UpdateUserResponse {
702
+ userId: string | undefined;
703
+ networkId: string | undefined;
704
+ securityGroupIds?: string[] | undefined;
705
+ firstName?: string | undefined;
706
+ lastName?: string | undefined;
707
+ middleName?: string | undefined;
708
+ suspended: boolean | undefined;
709
+ modified?: number | undefined;
710
+ status?: number | undefined;
711
+ inviteCode?: string | undefined;
712
+ inviteExpiration?: number | undefined;
713
+ codeValidation?: boolean | undefined;
714
+ }
@@ -0,0 +1,5 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { WickrClient } from "../WickrClient";
3
+ export interface WickrPaginationConfiguration extends PaginationConfiguration {
4
+ client: WickrClient;
5
+ }