@appconda/nextjs 1.0.112 → 1.0.114

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 (308) hide show
  1. package/package.json +3 -3
  2. package/src/modules/task/action.ts +11 -31
  3. package/dist/actions/actionClient.d.ts +0 -10
  4. package/dist/actions/actionClient.js +0 -38
  5. package/dist/actions/auth.d.ts +0 -1
  6. package/dist/actions/auth.js +0 -6
  7. package/dist/actions/authOptions.d.ts +0 -5
  8. package/dist/actions/authOptions.js +0 -235
  9. package/dist/actions/index.d.ts +0 -3
  10. package/dist/actions/index.js +0 -4
  11. package/dist/actions/nextAuthHandler.d.ts +0 -1
  12. package/dist/actions/nextAuthHandler.js +0 -6
  13. package/dist/actions/nodes.d.ts +0 -4
  14. package/dist/actions/nodes.js +0 -15
  15. package/dist/client.d.ts +0 -141
  16. package/dist/client.js +0 -335
  17. package/dist/decorators/Cache.d.ts +0 -1
  18. package/dist/decorators/Cache.js +0 -79
  19. package/dist/decorators/CacheKey.d.ts +0 -1
  20. package/dist/decorators/CacheKey.js +0 -9
  21. package/dist/decorators/Invalidate.d.ts +0 -1
  22. package/dist/decorators/Invalidate.js +0 -47
  23. package/dist/enums/api-service.d.ts +0 -13
  24. package/dist/enums/api-service.js +0 -15
  25. package/dist/enums/api.d.ts +0 -5
  26. package/dist/enums/api.js +0 -7
  27. package/dist/enums/auth-method.d.ts +0 -9
  28. package/dist/enums/auth-method.js +0 -11
  29. package/dist/enums/authentication-factor.d.ts +0 -6
  30. package/dist/enums/authentication-factor.js +0 -7
  31. package/dist/enums/authenticator-type.d.ts +0 -3
  32. package/dist/enums/authenticator-type.js +0 -4
  33. package/dist/enums/browser.d.ts +0 -16
  34. package/dist/enums/browser.js +0 -18
  35. package/dist/enums/compression.d.ts +0 -5
  36. package/dist/enums/compression.js +0 -7
  37. package/dist/enums/credit-card.d.ts +0 -18
  38. package/dist/enums/credit-card.js +0 -20
  39. package/dist/enums/database-usage-range.d.ts +0 -5
  40. package/dist/enums/database-usage-range.js +0 -7
  41. package/dist/enums/email-template-locale.d.ts +0 -133
  42. package/dist/enums/email-template-locale.js +0 -135
  43. package/dist/enums/email-template-type.d.ts +0 -9
  44. package/dist/enums/email-template-type.js +0 -11
  45. package/dist/enums/entities/EntityLimitType.d.ts +0 -4
  46. package/dist/enums/entities/EntityLimitType.js +0 -6
  47. package/dist/enums/entities/PropertyAttributeName.d.ts +0 -27
  48. package/dist/enums/entities/PropertyAttributeName.js +0 -29
  49. package/dist/enums/entities/PropertyCondition.d.ts +0 -7
  50. package/dist/enums/entities/PropertyCondition.js +0 -10
  51. package/dist/enums/entities/PropertyType.d.ts +0 -12
  52. package/dist/enums/entities/PropertyType.js +0 -18
  53. package/dist/enums/entities/PropertyValueType.d.ts +0 -6
  54. package/dist/enums/entities/PropertyValueType.js +0 -8
  55. package/dist/enums/entities/RowAccess.d.ts +0 -2
  56. package/dist/enums/entities/RowAccess.js +0 -2
  57. package/dist/enums/entities/ViewFilterCondition.d.ts +0 -12
  58. package/dist/enums/entities/ViewFilterCondition.js +0 -14
  59. package/dist/enums/execution-method.d.ts +0 -8
  60. package/dist/enums/execution-method.js +0 -10
  61. package/dist/enums/flag.d.ts +0 -197
  62. package/dist/enums/flag.js +0 -199
  63. package/dist/enums/function-usage-range.d.ts +0 -5
  64. package/dist/enums/function-usage-range.js +0 -7
  65. package/dist/enums/image-format.d.ts +0 -7
  66. package/dist/enums/image-format.js +0 -9
  67. package/dist/enums/image-gravity.d.ts +0 -11
  68. package/dist/enums/image-gravity.js +0 -13
  69. package/dist/enums/index-type.d.ts +0 -5
  70. package/dist/enums/index-type.js +0 -7
  71. package/dist/enums/messaging-provider-type.d.ts +0 -5
  72. package/dist/enums/messaging-provider-type.js +0 -7
  73. package/dist/enums/name.d.ts +0 -14
  74. package/dist/enums/name.js +0 -16
  75. package/dist/enums/o-auth-provider copy.d.ts +0 -41
  76. package/dist/enums/o-auth-provider copy.js +0 -43
  77. package/dist/enums/o-auth-provider.d.ts +0 -41
  78. package/dist/enums/o-auth-provider.js +0 -42
  79. package/dist/enums/password-hash.d.ts +0 -13
  80. package/dist/enums/password-hash.js +0 -15
  81. package/dist/enums/platform-type.d.ts +0 -17
  82. package/dist/enums/platform-type.js +0 -19
  83. package/dist/enums/project-usage-range.d.ts +0 -4
  84. package/dist/enums/project-usage-range.js +0 -6
  85. package/dist/enums/region.d.ts +0 -4
  86. package/dist/enums/region.js +0 -6
  87. package/dist/enums/relation-mutate.d.ts +0 -5
  88. package/dist/enums/relation-mutate.js +0 -7
  89. package/dist/enums/relationship-type.d.ts +0 -6
  90. package/dist/enums/relationship-type.js +0 -8
  91. package/dist/enums/resource-type.d.ts +0 -4
  92. package/dist/enums/resource-type.js +0 -6
  93. package/dist/enums/runtime.d.ts +0 -48
  94. package/dist/enums/runtime.js +0 -50
  95. package/dist/enums/s-m-t-p-secure.d.ts +0 -3
  96. package/dist/enums/s-m-t-p-secure.js +0 -5
  97. package/dist/enums/shared/ApplicationLayout.d.ts +0 -4
  98. package/dist/enums/shared/ApplicationLayout.js +0 -6
  99. package/dist/enums/shared/Colors.d.ts +0 -24
  100. package/dist/enums/shared/Colors.js +0 -26
  101. package/dist/enums/shared/InputType.d.ts +0 -6
  102. package/dist/enums/shared/InputType.js +0 -8
  103. package/dist/enums/shared/Periodicity.d.ts +0 -7
  104. package/dist/enums/shared/Periodicity.js +0 -9
  105. package/dist/enums/shared/SvgIcon.d.ts +0 -37
  106. package/dist/enums/shared/SvgIcon.js +0 -39
  107. package/dist/enums/shared/Theme.d.ts +0 -4
  108. package/dist/enums/shared/Theme.js +0 -6
  109. package/dist/enums/sms-template-locale.d.ts +0 -133
  110. package/dist/enums/sms-template-locale.js +0 -135
  111. package/dist/enums/sms-template-type.d.ts +0 -6
  112. package/dist/enums/sms-template-type.js +0 -8
  113. package/dist/enums/smtp-encryption.d.ts +0 -5
  114. package/dist/enums/smtp-encryption.js +0 -7
  115. package/dist/enums/storage-usage-range.d.ts +0 -5
  116. package/dist/enums/storage-usage-range.js +0 -7
  117. package/dist/enums/subscriptions/PricingModel.d.ts +0 -11
  118. package/dist/enums/subscriptions/PricingModel.js +0 -12
  119. package/dist/enums/subscriptions/SubscriptionBillingPeriod.d.ts +0 -10
  120. package/dist/enums/subscriptions/SubscriptionBillingPeriod.js +0 -11
  121. package/dist/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +0 -10
  122. package/dist/enums/subscriptions/SubscriptionFeatureLimitType.js +0 -13
  123. package/dist/enums/subscriptions/SubscriptionPriceType.d.ts +0 -7
  124. package/dist/enums/subscriptions/SubscriptionPriceType.js +0 -8
  125. package/dist/enums/tenants/LinkedAccountStatus.d.ts +0 -5
  126. package/dist/enums/tenants/LinkedAccountStatus.js +0 -7
  127. package/dist/enums/tenants/TenantUserJoined.d.ts +0 -6
  128. package/dist/enums/tenants/TenantUserJoined.js +0 -8
  129. package/dist/enums/tenants/TenantUserStatus.d.ts +0 -6
  130. package/dist/enums/tenants/TenantUserStatus.js +0 -8
  131. package/dist/enums/tenants/TenantUserType.d.ts +0 -5
  132. package/dist/enums/tenants/TenantUserType.js +0 -7
  133. package/dist/enums/user-usage-range.d.ts +0 -5
  134. package/dist/enums/user-usage-range.js +0 -7
  135. package/dist/getAppcondaClient.d.ts +0 -2
  136. package/dist/getAppcondaClient.js +0 -44
  137. package/dist/getSDKForCurrentUser.d.ts +0 -43
  138. package/dist/getSDKForCurrentUser.js +0 -76
  139. package/dist/getSDKForService.d.ts +0 -6
  140. package/dist/getSDKForService.js +0 -51
  141. package/dist/getSDKForTenant.d.ts +0 -20
  142. package/dist/getSDKForTenant.js +0 -44
  143. package/dist/id.d.ts +0 -20
  144. package/dist/id.js +0 -45
  145. package/dist/index.d.ts +0 -44
  146. package/dist/index.js +0 -42
  147. package/dist/inputFile.d.ts +0 -6
  148. package/dist/inputFile.js +0 -17
  149. package/dist/lib/Cache/Adapter.d.ts +0 -10
  150. package/dist/lib/Cache/Adapter.js +0 -2
  151. package/dist/lib/Cache/Adapters/Filesystem.d.ts +0 -16
  152. package/dist/lib/Cache/Adapters/Filesystem.js +0 -103
  153. package/dist/lib/Cache/Adapters/Memory.d.ts +0 -18
  154. package/dist/lib/Cache/Adapters/Memory.js +0 -47
  155. package/dist/lib/Cache/Adapters/None.d.ts +0 -12
  156. package/dist/lib/Cache/Adapters/None.js +0 -28
  157. package/dist/lib/Cache/Adapters/Sharding.d.ts +0 -17
  158. package/dist/lib/Cache/Adapters/Sharding.js +0 -73
  159. package/dist/lib/Cache/Cache.d.ts +0 -16
  160. package/dist/lib/Cache/Cache.js +0 -52
  161. package/dist/lib/Cache/index.d.ts +0 -4
  162. package/dist/lib/Cache/index.js +0 -5
  163. package/dist/lib/Cache/test.d.ts +0 -0
  164. package/dist/lib/Cache/test.js +0 -1
  165. package/dist/lib/Registry/Registry.d.ts +0 -38
  166. package/dist/lib/Registry/Registry.js +0 -56
  167. package/dist/lib/Registry/index.d.ts +0 -1
  168. package/dist/lib/Registry/index.js +0 -2
  169. package/dist/lib/Services.d.ts +0 -6
  170. package/dist/lib/Services.js +0 -14
  171. package/dist/lib/crypto.d.ts +0 -23
  172. package/dist/lib/crypto.js +0 -78
  173. package/dist/lib/env.d.ts +0 -1
  174. package/dist/lib/env.js +0 -137
  175. package/dist/lib/errors.d.ts +0 -70
  176. package/dist/lib/errors.js +0 -76
  177. package/dist/lib/index.d.ts +0 -2
  178. package/dist/lib/index.js +0 -3
  179. package/dist/lib/jwt.d.ts +0 -12
  180. package/dist/lib/jwt.js +0 -103
  181. package/dist/models.d.ts +0 -3272
  182. package/dist/models.js +0 -2
  183. package/dist/modules/account/actions.d.ts +0 -25
  184. package/dist/modules/account/actions.js +0 -18
  185. package/dist/modules/account/enums/authentication-factor.d.ts +0 -6
  186. package/dist/modules/account/enums/authentication-factor.js +0 -8
  187. package/dist/modules/account/enums/authenticator-type.d.ts +0 -3
  188. package/dist/modules/account/enums/authenticator-type.js +0 -5
  189. package/dist/modules/account/enums/o-auth-provider.d.ts +0 -41
  190. package/dist/modules/account/enums/o-auth-provider.js +0 -43
  191. package/dist/modules/account/index.d.ts +0 -3
  192. package/dist/modules/account/index.js +0 -4
  193. package/dist/modules/account/schema.d.ts +0 -17
  194. package/dist/modules/account/schema.js +0 -8
  195. package/dist/modules/account/service.d.ts +0 -530
  196. package/dist/modules/account/service.js +0 -1260
  197. package/dist/modules/account/types.d.ts +0 -411
  198. package/dist/modules/account/types.js +0 -2
  199. package/dist/modules/acl/service.d.ts +0 -26
  200. package/dist/modules/acl/service.js +0 -27
  201. package/dist/modules/agent/action.d.ts +0 -53
  202. package/dist/modules/agent/action.js +0 -64
  203. package/dist/modules/agent/index.d.ts +0 -4
  204. package/dist/modules/agent/index.js +0 -5
  205. package/dist/modules/agent/schema.d.ts +0 -48
  206. package/dist/modules/agent/schema.js +0 -21
  207. package/dist/modules/agent/service.d.ts +0 -12
  208. package/dist/modules/agent/service.js +0 -22
  209. package/dist/modules/agent/types.d.ts +0 -11
  210. package/dist/modules/agent/types.js +0 -2
  211. package/dist/modules/ai/index.d.ts +0 -1
  212. package/dist/modules/ai/index.js +0 -2
  213. package/dist/modules/ai/node/actions.d.ts +0 -4
  214. package/dist/modules/ai/node/actions.js +0 -16
  215. package/dist/modules/ai/node/index.d.ts +0 -2
  216. package/dist/modules/ai/node/index.js +0 -3
  217. package/dist/modules/ai/node/service.d.ts +0 -5
  218. package/dist/modules/ai/node/service.js +0 -12
  219. package/dist/modules/index.d.ts +0 -6
  220. package/dist/modules/index.js +0 -7
  221. package/dist/modules/task/action.d.ts +0 -168
  222. package/dist/modules/task/action.js +0 -163
  223. package/dist/modules/task/index.d.ts +0 -4
  224. package/dist/modules/task/index.js +0 -5
  225. package/dist/modules/task/schema.d.ts +0 -107
  226. package/dist/modules/task/schema.js +0 -44
  227. package/dist/modules/task/service.d.ts +0 -19
  228. package/dist/modules/task/service.js +0 -43
  229. package/dist/modules/task/types.d.ts +0 -84
  230. package/dist/modules/task/types.js +0 -2
  231. package/dist/modules/tenant/actions.d.ts +0 -45
  232. package/dist/modules/tenant/actions.js +0 -38
  233. package/dist/modules/tenant/index.d.ts +0 -3
  234. package/dist/modules/tenant/index.js +0 -4
  235. package/dist/modules/tenant/tenant.d.ts +0 -32
  236. package/dist/modules/tenant/tenant.js +0 -125
  237. package/dist/modules/tenant/types.d.ts +0 -11
  238. package/dist/modules/tenant/types.js +0 -2
  239. package/dist/modules/waitlist/action.d.ts +0 -69
  240. package/dist/modules/waitlist/action.js +0 -78
  241. package/dist/modules/waitlist/index.d.ts +0 -4
  242. package/dist/modules/waitlist/index.js +0 -5
  243. package/dist/modules/waitlist/schema.d.ts +0 -39
  244. package/dist/modules/waitlist/schema.js +0 -18
  245. package/dist/modules/waitlist/service.d.ts +0 -13
  246. package/dist/modules/waitlist/service.js +0 -28
  247. package/dist/modules/waitlist/types.d.ts +0 -14
  248. package/dist/modules/waitlist/types.js +0 -2
  249. package/dist/permission.d.ts +0 -43
  250. package/dist/permission.js +0 -54
  251. package/dist/query.d.ts +0 -194
  252. package/dist/query.js +0 -204
  253. package/dist/role.d.ts +0 -70
  254. package/dist/role.js +0 -94
  255. package/dist/schemas/nodes.d.ts +0 -0
  256. package/dist/schemas/nodes.js +0 -1
  257. package/dist/service-client.d.ts +0 -7
  258. package/dist/service-client.js +0 -14
  259. package/dist/service.d.ts +0 -11
  260. package/dist/service.js +0 -23
  261. package/dist/services/account.d.ts +0 -530
  262. package/dist/services/account.js +0 -1259
  263. package/dist/services/applets.d.ts +0 -9
  264. package/dist/services/applets.js +0 -40
  265. package/dist/services/avatars.d.ts +0 -115
  266. package/dist/services/avatars.js +0 -251
  267. package/dist/services/chat-flow.d.ts +0 -7
  268. package/dist/services/chat-flow.js +0 -26
  269. package/dist/services/community.d.ts +0 -19
  270. package/dist/services/community.js +0 -69
  271. package/dist/services/configuration.d.ts +0 -5
  272. package/dist/services/configuration.js +0 -11
  273. package/dist/services/databases.d.ts +0 -613
  274. package/dist/services/databases.js +0 -1736
  275. package/dist/services/functions.d.ts +0 -319
  276. package/dist/services/functions.js +0 -810
  277. package/dist/services/graphql.d.ts +0 -25
  278. package/dist/services/graphql.js +0 -57
  279. package/dist/services/health.d.ts +0 -231
  280. package/dist/services/health.js +0 -463
  281. package/dist/services/locale.d.ts +0 -80
  282. package/dist/services/locale.js +0 -144
  283. package/dist/services/messaging.d.ts +0 -685
  284. package/dist/services/messaging.js +0 -1920
  285. package/dist/services/node.d.ts +0 -5
  286. package/dist/services/node.js +0 -11
  287. package/dist/services/permissions.d.ts +0 -20
  288. package/dist/services/permissions.js +0 -90
  289. package/dist/services/pricing.d.ts +0 -15
  290. package/dist/services/pricing.js +0 -21
  291. package/dist/services/projects.d.ts +0 -542
  292. package/dist/services/projects.js +0 -1526
  293. package/dist/services/roles.d.ts +0 -19
  294. package/dist/services/roles.js +0 -72
  295. package/dist/services/schema.d.ts +0 -17
  296. package/dist/services/schema.js +0 -48
  297. package/dist/services/storage.d.ts +0 -189
  298. package/dist/services/storage.js +0 -474
  299. package/dist/services/subscription.d.ts +0 -15
  300. package/dist/services/subscription.js +0 -30
  301. package/dist/services/teams.d.ts +0 -167
  302. package/dist/services/teams.js +0 -395
  303. package/dist/services/tenant-subscription.d.ts +0 -12
  304. package/dist/services/tenant-subscription.js +0 -52
  305. package/dist/services/tenant.d.ts +0 -32
  306. package/dist/services/tenant.js +0 -124
  307. package/dist/services/users.d.ts +0 -499
  308. package/dist/services/users.js +0 -1283
@@ -1,542 +0,0 @@
1
- import { Client, Models } from "../client";
2
- import { Api } from "../enums/api";
3
- import { ApiService } from "../enums/api-service";
4
- import { AuthMethod } from "../enums/auth-method";
5
- import { EmailTemplateLocale } from "../enums/email-template-locale";
6
- import { EmailTemplateType } from "../enums/email-template-type";
7
- import { OAuthProvider } from "../modules/account/enums/o-auth-provider";
8
- import { PlatformType } from "../enums/platform-type";
9
- import { Region } from "../enums/region";
10
- import { SMTPSecure } from "../enums/s-m-t-p-secure";
11
- import { SmsTemplateLocale } from "../enums/sms-template-locale";
12
- import { SmsTemplateType } from "../enums/sms-template-type";
13
- export declare class Projects {
14
- client: Client;
15
- constructor(client: Client);
16
- /**
17
- * List projects
18
- *
19
- *
20
- * @param {string[]} queries
21
- * @param {string} search
22
- * @throws {AppcondaException}
23
- * @returns {Promise<Models.ProjectList>}
24
- */
25
- list(queries?: string[], search?: string): Promise<Models.ProjectList>;
26
- /**
27
- * Create project
28
- *
29
- *
30
- * @param {string} projectId
31
- * @param {string} name
32
- * @param {string} teamId
33
- * @param {Region} region
34
- * @param {string} description
35
- * @param {string} logo
36
- * @param {string} url
37
- * @param {string} legalName
38
- * @param {string} legalCountry
39
- * @param {string} legalState
40
- * @param {string} legalCity
41
- * @param {string} legalAddress
42
- * @param {string} legalTaxId
43
- * @throws {AppcondaException}
44
- * @returns {Promise<Models.Project>}
45
- */
46
- create(projectId: string, name: string, teamId: string, region?: Region, description?: string, logo?: string, url?: string, legalName?: string, legalCountry?: string, legalState?: string, legalCity?: string, legalAddress?: string, legalTaxId?: string): Promise<Models.Project>;
47
- /**
48
- * Get project
49
- *
50
- *
51
- * @param {string} projectId
52
- * @throws {AppcondaException}
53
- * @returns {Promise<Models.Project>}
54
- */
55
- get(projectId: string): Promise<Models.Project>;
56
- /**
57
- * Update project
58
- *
59
- *
60
- * @param {string} projectId
61
- * @param {string} name
62
- * @param {string} description
63
- * @param {string} logo
64
- * @param {string} url
65
- * @param {string} legalName
66
- * @param {string} legalCountry
67
- * @param {string} legalState
68
- * @param {string} legalCity
69
- * @param {string} legalAddress
70
- * @param {string} legalTaxId
71
- * @throws {AppcondaException}
72
- * @returns {Promise<Models.Project>}
73
- */
74
- update(projectId: string, name: string, description?: string, logo?: string, url?: string, legalName?: string, legalCountry?: string, legalState?: string, legalCity?: string, legalAddress?: string, legalTaxId?: string): Promise<Models.Project>;
75
- /**
76
- * Delete project
77
- *
78
- *
79
- * @param {string} projectId
80
- * @throws {AppcondaException}
81
- * @returns {Promise<{}>}
82
- */
83
- delete(projectId: string): Promise<{}>;
84
- /**
85
- * Update API status
86
- *
87
- *
88
- * @param {string} projectId
89
- * @param {Api} api
90
- * @param {boolean} status
91
- * @throws {AppcondaException}
92
- * @returns {Promise<Models.Project>}
93
- */
94
- updateApiStatus(projectId: string, api: Api, status: boolean): Promise<Models.Project>;
95
- /**
96
- * Update all API status
97
- *
98
- *
99
- * @param {string} projectId
100
- * @param {boolean} status
101
- * @throws {AppcondaException}
102
- * @returns {Promise<Models.Project>}
103
- */
104
- updateApiStatusAll(projectId: string, status: boolean): Promise<Models.Project>;
105
- /**
106
- * Update project authentication duration
107
- *
108
- *
109
- * @param {string} projectId
110
- * @param {number} duration
111
- * @throws {AppcondaException}
112
- * @returns {Promise<Models.Project>}
113
- */
114
- updateAuthDuration(projectId: string, duration: number): Promise<Models.Project>;
115
- /**
116
- * Update project users limit
117
- *
118
- *
119
- * @param {string} projectId
120
- * @param {number} limit
121
- * @throws {AppcondaException}
122
- * @returns {Promise<Models.Project>}
123
- */
124
- updateAuthLimit(projectId: string, limit: number): Promise<Models.Project>;
125
- /**
126
- * Update project user sessions limit
127
- *
128
- *
129
- * @param {string} projectId
130
- * @param {number} limit
131
- * @throws {AppcondaException}
132
- * @returns {Promise<Models.Project>}
133
- */
134
- updateAuthSessionsLimit(projectId: string, limit: number): Promise<Models.Project>;
135
- /**
136
- * Update the mock numbers for the project
137
- *
138
- *
139
- * @param {string} projectId
140
- * @param {object[]} numbers
141
- * @throws {AppcondaException}
142
- * @returns {Promise<Models.Project>}
143
- */
144
- updateMockNumbers(projectId: string, numbers: object[]): Promise<Models.Project>;
145
- /**
146
- * Update authentication password dictionary status. Use this endpoint to enable or disable the dicitonary check for user password
147
- *
148
- *
149
- * @param {string} projectId
150
- * @param {boolean} enabled
151
- * @throws {AppcondaException}
152
- * @returns {Promise<Models.Project>}
153
- */
154
- updateAuthPasswordDictionary(projectId: string, enabled: boolean): Promise<Models.Project>;
155
- /**
156
- * Update authentication password history. Use this endpoint to set the number of password history to save and 0 to disable password history.
157
- *
158
- *
159
- * @param {string} projectId
160
- * @param {number} limit
161
- * @throws {AppcondaException}
162
- * @returns {Promise<Models.Project>}
163
- */
164
- updateAuthPasswordHistory(projectId: string, limit: number): Promise<Models.Project>;
165
- /**
166
- * Enable or disable checking user passwords for similarity with their personal data.
167
- *
168
- *
169
- * @param {string} projectId
170
- * @param {boolean} enabled
171
- * @throws {AppcondaException}
172
- * @returns {Promise<Models.Project>}
173
- */
174
- updatePersonalDataCheck(projectId: string, enabled: boolean): Promise<Models.Project>;
175
- /**
176
- * Update project sessions emails
177
- *
178
- *
179
- * @param {string} projectId
180
- * @param {boolean} alerts
181
- * @throws {AppcondaException}
182
- * @returns {Promise<Models.Project>}
183
- */
184
- updateSessionAlerts(projectId: string, alerts: boolean): Promise<Models.Project>;
185
- /**
186
- * Update project auth method status. Use this endpoint to enable or disable a given auth method for this project.
187
- *
188
- *
189
- * @param {string} projectId
190
- * @param {AuthMethod} method
191
- * @param {boolean} status
192
- * @throws {AppcondaException}
193
- * @returns {Promise<Models.Project>}
194
- */
195
- updateAuthStatus(projectId: string, method: AuthMethod, status: boolean): Promise<Models.Project>;
196
- /**
197
- * Create JWT
198
- *
199
- *
200
- * @param {string} projectId
201
- * @param {string[]} scopes
202
- * @param {number} duration
203
- * @throws {AppcondaException}
204
- * @returns {Promise<Models.Jwt>}
205
- */
206
- createJWT(projectId: string, scopes: string[], duration?: number): Promise<Models.Jwt>;
207
- /**
208
- * List keys
209
- *
210
- *
211
- * @param {string} projectId
212
- * @throws {AppcondaException}
213
- * @returns {Promise<Models.KeyList>}
214
- */
215
- listKeys(projectId: string): Promise<Models.KeyList>;
216
- /**
217
- * Create key
218
- *
219
- *
220
- * @param {string} projectId
221
- * @param {string} name
222
- * @param {string[]} scopes
223
- * @param {string} expire
224
- * @throws {AppcondaException}
225
- * @returns {Promise<Models.Key>}
226
- */
227
- createKey(projectId: string, name: string, scopes: string[], expire?: string): Promise<Models.Key>;
228
- /**
229
- * Get key
230
- *
231
- *
232
- * @param {string} projectId
233
- * @param {string} keyId
234
- * @throws {AppcondaException}
235
- * @returns {Promise<Models.Key>}
236
- */
237
- getKey(projectId: string, keyId: string): Promise<Models.Key>;
238
- /**
239
- * Update key
240
- *
241
- *
242
- * @param {string} projectId
243
- * @param {string} keyId
244
- * @param {string} name
245
- * @param {string[]} scopes
246
- * @param {string} expire
247
- * @throws {AppcondaException}
248
- * @returns {Promise<Models.Key>}
249
- */
250
- updateKey(projectId: string, keyId: string, name: string, scopes: string[], expire?: string): Promise<Models.Key>;
251
- /**
252
- * Delete key
253
- *
254
- *
255
- * @param {string} projectId
256
- * @param {string} keyId
257
- * @throws {AppcondaException}
258
- * @returns {Promise<{}>}
259
- */
260
- deleteKey(projectId: string, keyId: string): Promise<{}>;
261
- /**
262
- * Update project OAuth2
263
- *
264
- *
265
- * @param {string} projectId
266
- * @param {OAuthProvider} provider
267
- * @param {string} appId
268
- * @param {string} secret
269
- * @param {boolean} enabled
270
- * @throws {AppcondaException}
271
- * @returns {Promise<Models.Project>}
272
- */
273
- updateOAuth2(projectId: string, provider: OAuthProvider, appId?: string, secret?: string, enabled?: boolean): Promise<Models.Project>;
274
- /**
275
- * List platforms
276
- *
277
- *
278
- * @param {string} projectId
279
- * @throws {AppcondaException}
280
- * @returns {Promise<Models.PlatformList>}
281
- */
282
- listPlatforms(projectId: string): Promise<Models.PlatformList>;
283
- /**
284
- * Create platform
285
- *
286
- *
287
- * @param {string} projectId
288
- * @param {PlatformType} type
289
- * @param {string} name
290
- * @param {string} key
291
- * @param {string} store
292
- * @param {string} hostname
293
- * @throws {AppcondaException}
294
- * @returns {Promise<Models.Platform>}
295
- */
296
- createPlatform(projectId: string, type: PlatformType, name: string, key?: string, store?: string, hostname?: string): Promise<Models.Platform>;
297
- /**
298
- * Get platform
299
- *
300
- *
301
- * @param {string} projectId
302
- * @param {string} platformId
303
- * @throws {AppcondaException}
304
- * @returns {Promise<Models.Platform>}
305
- */
306
- getPlatform(projectId: string, platformId: string): Promise<Models.Platform>;
307
- /**
308
- * Update platform
309
- *
310
- *
311
- * @param {string} projectId
312
- * @param {string} platformId
313
- * @param {string} name
314
- * @param {string} key
315
- * @param {string} store
316
- * @param {string} hostname
317
- * @throws {AppcondaException}
318
- * @returns {Promise<Models.Platform>}
319
- */
320
- updatePlatform(projectId: string, platformId: string, name: string, key?: string, store?: string, hostname?: string): Promise<Models.Platform>;
321
- /**
322
- * Delete platform
323
- *
324
- *
325
- * @param {string} projectId
326
- * @param {string} platformId
327
- * @throws {AppcondaException}
328
- * @returns {Promise<{}>}
329
- */
330
- deletePlatform(projectId: string, platformId: string): Promise<{}>;
331
- /**
332
- * Update service status
333
- *
334
- *
335
- * @param {string} projectId
336
- * @param {ApiService} service
337
- * @param {boolean} status
338
- * @throws {AppcondaException}
339
- * @returns {Promise<Models.Project>}
340
- */
341
- updateServiceStatus(projectId: string, service: ApiService, status: boolean): Promise<Models.Project>;
342
- /**
343
- * Update all service status
344
- *
345
- *
346
- * @param {string} projectId
347
- * @param {boolean} status
348
- * @throws {AppcondaException}
349
- * @returns {Promise<Models.Project>}
350
- */
351
- updateServiceStatusAll(projectId: string, status: boolean): Promise<Models.Project>;
352
- /**
353
- * Update SMTP
354
- *
355
- *
356
- * @param {string} projectId
357
- * @param {boolean} enabled
358
- * @param {string} senderName
359
- * @param {string} senderEmail
360
- * @param {string} replyTo
361
- * @param {string} host
362
- * @param {number} port
363
- * @param {string} username
364
- * @param {string} password
365
- * @param {SMTPSecure} secure
366
- * @throws {AppcondaException}
367
- * @returns {Promise<Models.Project>}
368
- */
369
- updateSmtp(projectId: string, enabled: boolean, senderName?: string, senderEmail?: string, replyTo?: string, host?: string, port?: number, username?: string, password?: string, secure?: SMTPSecure): Promise<Models.Project>;
370
- /**
371
- * Create SMTP test
372
- *
373
- *
374
- * @param {string} projectId
375
- * @param {string[]} emails
376
- * @param {string} senderName
377
- * @param {string} senderEmail
378
- * @param {string} host
379
- * @param {string} replyTo
380
- * @param {number} port
381
- * @param {string} username
382
- * @param {string} password
383
- * @param {SMTPSecure} secure
384
- * @throws {AppcondaException}
385
- * @returns {Promise<{}>}
386
- */
387
- createSmtpTest(projectId: string, emails: string[], senderName: string, senderEmail: string, host: string, replyTo?: string, port?: number, username?: string, password?: string, secure?: SMTPSecure): Promise<{}>;
388
- /**
389
- * Update project team
390
- *
391
- *
392
- * @param {string} projectId
393
- * @param {string} teamId
394
- * @throws {AppcondaException}
395
- * @returns {Promise<Models.Project>}
396
- */
397
- updateTeam(projectId: string, teamId: string): Promise<Models.Project>;
398
- /**
399
- * Get custom email template
400
- *
401
- *
402
- * @param {string} projectId
403
- * @param {EmailTemplateType} type
404
- * @param {EmailTemplateLocale} locale
405
- * @throws {AppcondaException}
406
- * @returns {Promise<Models.EmailTemplate>}
407
- */
408
- getEmailTemplate(projectId: string, type: EmailTemplateType, locale: EmailTemplateLocale): Promise<Models.EmailTemplate>;
409
- /**
410
- * Update custom email templates
411
- *
412
- *
413
- * @param {string} projectId
414
- * @param {EmailTemplateType} type
415
- * @param {EmailTemplateLocale} locale
416
- * @param {string} subject
417
- * @param {string} message
418
- * @param {string} senderName
419
- * @param {string} senderEmail
420
- * @param {string} replyTo
421
- * @throws {AppcondaException}
422
- * @returns {Promise<Models.Project>}
423
- */
424
- updateEmailTemplate(projectId: string, type: EmailTemplateType, locale: EmailTemplateLocale, subject: string, message: string, senderName?: string, senderEmail?: string, replyTo?: string): Promise<Models.Project>;
425
- /**
426
- * Reset custom email template
427
- *
428
- *
429
- * @param {string} projectId
430
- * @param {EmailTemplateType} type
431
- * @param {EmailTemplateLocale} locale
432
- * @throws {AppcondaException}
433
- * @returns {Promise<Models.EmailTemplate>}
434
- */
435
- deleteEmailTemplate(projectId: string, type: EmailTemplateType, locale: EmailTemplateLocale): Promise<Models.EmailTemplate>;
436
- /**
437
- * Get custom SMS template
438
- *
439
- *
440
- * @param {string} projectId
441
- * @param {SmsTemplateType} type
442
- * @param {SmsTemplateLocale} locale
443
- * @throws {AppcondaException}
444
- * @returns {Promise<Models.SmsTemplate>}
445
- */
446
- getSmsTemplate(projectId: string, type: SmsTemplateType, locale: SmsTemplateLocale): Promise<Models.SmsTemplate>;
447
- /**
448
- * Update custom SMS template
449
- *
450
- *
451
- * @param {string} projectId
452
- * @param {SmsTemplateType} type
453
- * @param {SmsTemplateLocale} locale
454
- * @param {string} message
455
- * @throws {AppcondaException}
456
- * @returns {Promise<Models.SmsTemplate>}
457
- */
458
- updateSmsTemplate(projectId: string, type: SmsTemplateType, locale: SmsTemplateLocale, message: string): Promise<Models.SmsTemplate>;
459
- /**
460
- * Reset custom SMS template
461
- *
462
- *
463
- * @param {string} projectId
464
- * @param {SmsTemplateType} type
465
- * @param {SmsTemplateLocale} locale
466
- * @throws {AppcondaException}
467
- * @returns {Promise<Models.SmsTemplate>}
468
- */
469
- deleteSmsTemplate(projectId: string, type: SmsTemplateType, locale: SmsTemplateLocale): Promise<Models.SmsTemplate>;
470
- /**
471
- * List webhooks
472
- *
473
- *
474
- * @param {string} projectId
475
- * @throws {AppcondaException}
476
- * @returns {Promise<Models.WebhookList>}
477
- */
478
- listWebhooks(projectId: string): Promise<Models.WebhookList>;
479
- /**
480
- * Create webhook
481
- *
482
- *
483
- * @param {string} projectId
484
- * @param {string} name
485
- * @param {string[]} events
486
- * @param {string} url
487
- * @param {boolean} security
488
- * @param {boolean} enabled
489
- * @param {string} httpUser
490
- * @param {string} httpPass
491
- * @throws {AppcondaException}
492
- * @returns {Promise<Models.Webhook>}
493
- */
494
- createWebhook(projectId: string, name: string, events: string[], url: string, security: boolean, enabled?: boolean, httpUser?: string, httpPass?: string): Promise<Models.Webhook>;
495
- /**
496
- * Get webhook
497
- *
498
- *
499
- * @param {string} projectId
500
- * @param {string} webhookId
501
- * @throws {AppcondaException}
502
- * @returns {Promise<Models.Webhook>}
503
- */
504
- getWebhook(projectId: string, webhookId: string): Promise<Models.Webhook>;
505
- /**
506
- * Update webhook
507
- *
508
- *
509
- * @param {string} projectId
510
- * @param {string} webhookId
511
- * @param {string} name
512
- * @param {string[]} events
513
- * @param {string} url
514
- * @param {boolean} security
515
- * @param {boolean} enabled
516
- * @param {string} httpUser
517
- * @param {string} httpPass
518
- * @throws {AppcondaException}
519
- * @returns {Promise<Models.Webhook>}
520
- */
521
- updateWebhook(projectId: string, webhookId: string, name: string, events: string[], url: string, security: boolean, enabled?: boolean, httpUser?: string, httpPass?: string): Promise<Models.Webhook>;
522
- /**
523
- * Delete webhook
524
- *
525
- *
526
- * @param {string} projectId
527
- * @param {string} webhookId
528
- * @throws {AppcondaException}
529
- * @returns {Promise<{}>}
530
- */
531
- deleteWebhook(projectId: string, webhookId: string): Promise<{}>;
532
- /**
533
- * Update webhook signature key
534
- *
535
- *
536
- * @param {string} projectId
537
- * @param {string} webhookId
538
- * @throws {AppcondaException}
539
- * @returns {Promise<Models.Webhook>}
540
- */
541
- updateWebhookSignature(projectId: string, webhookId: string): Promise<Models.Webhook>;
542
- }