@appconda/nextjs 1.0.13 → 1.0.15

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 (125) hide show
  1. package/dist/cjs/sdk.js +74 -16
  2. package/dist/cjs/sdk.js.map +1 -1
  3. package/dist/esm/sdk.js +73 -17
  4. package/dist/esm/sdk.js.map +1 -1
  5. package/dist/iife/sdk.js +75 -18
  6. package/package.json +2 -1
  7. package/src/actions/actionClient.ts +42 -0
  8. package/src/actions/index.ts +1 -0
  9. package/src/actions/nodes.ts +12 -0
  10. package/src/index.ts +2 -0
  11. package/src/services/waitlist.ts +16 -0
  12. package/types/Cache/Adapter.d.ts +0 -10
  13. package/types/Cache/Adapters/Filesystem.d.ts +0 -16
  14. package/types/Cache/Adapters/Memory.d.ts +0 -18
  15. package/types/Cache/Adapters/None.d.ts +0 -12
  16. package/types/Cache/Adapters/Redis.d.ts +0 -14
  17. package/types/Cache/Adapters/Sharding.d.ts +0 -17
  18. package/types/Cache/Cache.d.ts +0 -16
  19. package/types/Cache/index.d.ts +0 -5
  20. package/types/Cache/test.d.ts +0 -0
  21. package/types/Services.d.ts +0 -6
  22. package/types/client.d.ts +0 -141
  23. package/types/decorators/Cache.d.ts +0 -1
  24. package/types/decorators/CacheKey.d.ts +0 -1
  25. package/types/decorators/Invalidate.d.ts +0 -1
  26. package/types/enums/api-service.d.ts +0 -13
  27. package/types/enums/api.d.ts +0 -5
  28. package/types/enums/auth-method.d.ts +0 -9
  29. package/types/enums/authentication-factor.d.ts +0 -6
  30. package/types/enums/authenticator-type.d.ts +0 -3
  31. package/types/enums/browser.d.ts +0 -16
  32. package/types/enums/compression.d.ts +0 -5
  33. package/types/enums/credit-card.d.ts +0 -18
  34. package/types/enums/database-usage-range.d.ts +0 -5
  35. package/types/enums/email-template-locale.d.ts +0 -133
  36. package/types/enums/email-template-type.d.ts +0 -9
  37. package/types/enums/entities/EntityLimitType.d.ts +0 -4
  38. package/types/enums/entities/PropertyAttributeName.d.ts +0 -27
  39. package/types/enums/entities/PropertyCondition.d.ts +0 -7
  40. package/types/enums/entities/PropertyType.d.ts +0 -12
  41. package/types/enums/entities/PropertyValueType.d.ts +0 -6
  42. package/types/enums/entities/RowAccess.d.ts +0 -2
  43. package/types/enums/entities/ViewFilterCondition.d.ts +0 -12
  44. package/types/enums/execution-method.d.ts +0 -8
  45. package/types/enums/flag.d.ts +0 -197
  46. package/types/enums/function-usage-range.d.ts +0 -5
  47. package/types/enums/image-format.d.ts +0 -7
  48. package/types/enums/image-gravity.d.ts +0 -11
  49. package/types/enums/index-type.d.ts +0 -5
  50. package/types/enums/messaging-provider-type.d.ts +0 -5
  51. package/types/enums/name.d.ts +0 -14
  52. package/types/enums/o-auth-provider copy.d.ts +0 -41
  53. package/types/enums/o-auth-provider.d.ts +0 -41
  54. package/types/enums/password-hash.d.ts +0 -13
  55. package/types/enums/platform-type.d.ts +0 -17
  56. package/types/enums/project-usage-range.d.ts +0 -4
  57. package/types/enums/region.d.ts +0 -4
  58. package/types/enums/relation-mutate.d.ts +0 -5
  59. package/types/enums/relationship-type.d.ts +0 -6
  60. package/types/enums/resource-type.d.ts +0 -4
  61. package/types/enums/runtime.d.ts +0 -48
  62. package/types/enums/s-m-t-p-secure.d.ts +0 -3
  63. package/types/enums/shared/ApplicationLayout.d.ts +0 -4
  64. package/types/enums/shared/Colors.d.ts +0 -24
  65. package/types/enums/shared/InputType.d.ts +0 -6
  66. package/types/enums/shared/Periodicity.d.ts +0 -7
  67. package/types/enums/shared/SvgIcon.d.ts +0 -37
  68. package/types/enums/shared/Theme.d.ts +0 -4
  69. package/types/enums/sms-template-locale.d.ts +0 -133
  70. package/types/enums/sms-template-type.d.ts +0 -6
  71. package/types/enums/smtp-encryption.d.ts +0 -5
  72. package/types/enums/storage-usage-range.d.ts +0 -5
  73. package/types/enums/subscriptions/PricingModel.d.ts +0 -11
  74. package/types/enums/subscriptions/SubscriptionBillingPeriod.d.ts +0 -10
  75. package/types/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +0 -10
  76. package/types/enums/subscriptions/SubscriptionPriceType.d.ts +0 -7
  77. package/types/enums/tenants/LinkedAccountStatus.d.ts +0 -5
  78. package/types/enums/tenants/TenantUserJoined.d.ts +0 -6
  79. package/types/enums/tenants/TenantUserStatus.d.ts +0 -6
  80. package/types/enums/tenants/TenantUserType.d.ts +0 -5
  81. package/types/enums/user-usage-range.d.ts +0 -5
  82. package/types/getAppcondaClient.d.ts +0 -2
  83. package/types/getSDKForCurrentUser.d.ts +0 -33
  84. package/types/id.d.ts +0 -20
  85. package/types/index.d.ts +0 -37
  86. package/types/inputFile.d.ts +0 -6
  87. package/types/lib/Registry/Registry.d.ts +0 -38
  88. package/types/lib/Registry/index.d.ts +0 -1
  89. package/types/models.d.ts +0 -3272
  90. package/types/permission.d.ts +0 -43
  91. package/types/query.d.ts +0 -194
  92. package/types/role.d.ts +0 -70
  93. package/types/service-client.d.ts +0 -7
  94. package/types/service.d.ts +0 -11
  95. package/types/services/account.d.ts +0 -530
  96. package/types/services/acl.d.ts +0 -28
  97. package/types/services/applets.d.ts +0 -9
  98. package/types/services/assistant.d.ts +0 -14
  99. package/types/services/avatars.d.ts +0 -115
  100. package/types/services/community.d.ts +0 -19
  101. package/types/services/configuration.d.ts +0 -5
  102. package/types/services/console.d.ts +0 -15
  103. package/types/services/databases.d.ts +0 -613
  104. package/types/services/functions.d.ts +0 -319
  105. package/types/services/graphql.d.ts +0 -25
  106. package/types/services/health.d.ts +0 -231
  107. package/types/services/locale.d.ts +0 -80
  108. package/types/services/messaging.d.ts +0 -685
  109. package/types/services/migrations.d.ts +0 -185
  110. package/types/services/node.d.ts +0 -5
  111. package/types/services/permissions.d.ts +0 -20
  112. package/types/services/pricing.d.ts +0 -15
  113. package/types/services/project.d.ts +0 -70
  114. package/types/services/projects.d.ts +0 -542
  115. package/types/services/proxy.d.ts +0 -59
  116. package/types/services/roles.d.ts +0 -19
  117. package/types/services/schema.d.ts +0 -17
  118. package/types/services/storage.d.ts +0 -189
  119. package/types/services/subscription-product.d.ts +0 -77
  120. package/types/services/subscription.d.ts +0 -15
  121. package/types/services/teams.d.ts +0 -167
  122. package/types/services/tenant-subscription.d.ts +0 -12
  123. package/types/services/tenant.d.ts +0 -32
  124. package/types/services/users.d.ts +0 -499
  125. package/types/services/vcs.d.ts +0 -108
@@ -1,115 +0,0 @@
1
- import { Client } from '../client';
2
- import { Browser } from '../enums/browser';
3
- import { CreditCard } from '../enums/credit-card';
4
- import { Flag } from '../enums/flag';
5
- export declare class Avatars {
6
- client: Client;
7
- constructor(client: Client);
8
- /**
9
- * Get browser icon
10
- *
11
- * You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET /account/sessions](https://appconda.io/docs/references/cloud/client-web/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.
12
-
13
- When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
14
- *
15
- * @param {Browser} code
16
- * @param {number} width
17
- * @param {number} height
18
- * @param {number} quality
19
- * @throws {AppcondaException}
20
- * @returns {Promise<ArrayBuffer>}
21
- */
22
- getBrowser(code: Browser, width?: number, height?: number, quality?: number): Promise<ArrayBuffer>;
23
- /**
24
- * Get credit card icon
25
- *
26
- * The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.
27
-
28
- When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
29
-
30
- *
31
- * @param {CreditCard} code
32
- * @param {number} width
33
- * @param {number} height
34
- * @param {number} quality
35
- * @throws {AppcondaException}
36
- * @returns {Promise<ArrayBuffer>}
37
- */
38
- getCreditCard(code: CreditCard, width?: number, height?: number, quality?: number): Promise<ArrayBuffer>;
39
- /**
40
- * Get favicon
41
- *
42
- * Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.
43
-
44
- This endpoint does not follow HTTP redirects.
45
- *
46
- * @param {string} url
47
- * @throws {AppcondaException}
48
- * @returns {Promise<ArrayBuffer>}
49
- */
50
- getFavicon(url: string): Promise<ArrayBuffer>;
51
- /**
52
- * Get country flag
53
- *
54
- * You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) standard.
55
-
56
- When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
57
-
58
- *
59
- * @param {Flag} code
60
- * @param {number} width
61
- * @param {number} height
62
- * @param {number} quality
63
- * @throws {AppcondaException}
64
- * @returns {Promise<ArrayBuffer>}
65
- */
66
- getFlag(code: Flag, width?: number, height?: number, quality?: number): Promise<ArrayBuffer>;
67
- /**
68
- * Get image from URL
69
- *
70
- * Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.
71
-
72
- When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.
73
-
74
- This endpoint does not follow HTTP redirects.
75
- *
76
- * @param {string} url
77
- * @param {number} width
78
- * @param {number} height
79
- * @throws {AppcondaException}
80
- * @returns {Promise<ArrayBuffer>}
81
- */
82
- getImage(url: string, width?: number, height?: number): Promise<ArrayBuffer>;
83
- /**
84
- * Get user initials
85
- *
86
- * Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the &#039;name&#039; parameter. If no name is given and no user is logged, an empty avatar will be returned.
87
-
88
- You can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user&#039;s initials when reloading the same theme will always return for the same initials.
89
-
90
- When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
91
-
92
- *
93
- * @param {string} name
94
- * @param {number} width
95
- * @param {number} height
96
- * @param {string} background
97
- * @throws {AppcondaException}
98
- * @returns {Promise<ArrayBuffer>}
99
- */
100
- getInitials(name?: string, width?: number, height?: number, background?: string): Promise<ArrayBuffer>;
101
- /**
102
- * Get QR code
103
- *
104
- * Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.
105
-
106
- *
107
- * @param {string} text
108
- * @param {number} size
109
- * @param {number} margin
110
- * @param {boolean} download
111
- * @throws {AppcondaException}
112
- * @returns {Promise<ArrayBuffer>}
113
- */
114
- getQR(text: string, size?: number, margin?: number, download?: boolean): Promise<ArrayBuffer>;
115
- }
@@ -1,19 +0,0 @@
1
- import { Client, Models } from "../client";
2
- export declare class Community {
3
- client: Client;
4
- constructor(client: Client);
5
- get(tenantId: string): Promise<Models.Tenant>;
6
- /**
7
- * Create account
8
- *
9
- * Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [/account/verfication](https://appconda.io/docs/references/cloud/client-web/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https://appconda.io/docs/references/cloud/client-web/account#createEmailSession).
10
- *
11
- * @param {string} tenantId
12
- * @param {string} name
13
- * @param {string} slug
14
- * @throws {AppcondaException}
15
- * @returns {Promise<Models.User<Preferences>>}
16
- */
17
- createSpaceGroup({ $id, name, description }: Models.SpaceGroup): Promise<Models.SpaceGroup>;
18
- listSpaceGroups(queries?: string[], search?: string): Promise<Models.SpaceGroupList>;
19
- }
@@ -1,5 +0,0 @@
1
- import { ServiceClient } from "../service-client";
2
- export declare class Configuration extends ServiceClient {
3
- protected getServiceName(): string;
4
- getAppConfiguration(): Promise<any>;
5
- }
@@ -1,15 +0,0 @@
1
- import { Client } from '../client';
2
- import type { Models } from '../models';
3
- export declare class Console {
4
- client: Client;
5
- constructor(client: Client);
6
- /**
7
- * Get variables
8
- *
9
- * Get all Environment Variables that are relevant for the console.
10
- *
11
- * @throws {AppcondaException}
12
- * @returns {Promise<Models.ConsoleVariables>}
13
- */
14
- variables(): Promise<Models.ConsoleVariables>;
15
- }