@dynamic-labs/sdk-api 0.0.308 → 0.0.310

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 (35) hide show
  1. package/package.json +1 -1
  2. package/src/apis/WalletsApi.cjs +42 -0
  3. package/src/apis/WalletsApi.d.ts +13 -1
  4. package/src/apis/WalletsApi.js +42 -0
  5. package/src/apis/WebhooksApi.cjs +281 -0
  6. package/src/apis/WebhooksApi.d.ts +105 -0
  7. package/src/apis/WebhooksApi.js +277 -0
  8. package/src/apis/index.d.ts +1 -0
  9. package/src/index.cjs +34 -0
  10. package/src/index.js +9 -0
  11. package/src/models/CreateUserEmbeddedWalletsRequest.cjs +35 -0
  12. package/src/models/CreateUserEmbeddedWalletsRequest.d.ts +34 -0
  13. package/src/models/CreateUserEmbeddedWalletsRequest.js +29 -0
  14. package/src/models/Webhook.cjs +49 -0
  15. package/src/models/Webhook.d.ts +75 -0
  16. package/src/models/Webhook.js +43 -0
  17. package/src/models/WebhookCreateRequest.cjs +47 -0
  18. package/src/models/WebhookCreateRequest.d.ts +39 -0
  19. package/src/models/WebhookCreateRequest.js +41 -0
  20. package/src/models/WebhookMessage.cjs +57 -0
  21. package/src/models/WebhookMessage.d.ts +99 -0
  22. package/src/models/WebhookMessage.js +51 -0
  23. package/src/models/WebhookMessageRedeliveryResponse.cjs +33 -0
  24. package/src/models/WebhookMessageRedeliveryResponse.d.ts +27 -0
  25. package/src/models/WebhookMessageRedeliveryResponse.js +27 -0
  26. package/src/models/WebhookMessagesResponse.cjs +36 -0
  27. package/src/models/WebhookMessagesResponse.d.ts +34 -0
  28. package/src/models/WebhookMessagesResponse.js +30 -0
  29. package/src/models/WebhookUpdateRequest.cjs +47 -0
  30. package/src/models/WebhookUpdateRequest.d.ts +39 -0
  31. package/src/models/WebhookUpdateRequest.js +41 -0
  32. package/src/models/WebhooksResponse.cjs +36 -0
  33. package/src/models/WebhooksResponse.d.ts +34 -0
  34. package/src/models/WebhooksResponse.js +30 -0
  35. package/src/models/index.d.ts +8 -0
@@ -0,0 +1,36 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var Webhook = require('./Webhook.cjs');
7
+
8
+ /* tslint:disable */
9
+ function WebhooksResponseFromJSON(json) {
10
+ return WebhooksResponseFromJSONTyped(json);
11
+ }
12
+ function WebhooksResponseFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'cursor': !runtime.exists(json, 'cursor') ? undefined : json['cursor'],
18
+ 'data': !runtime.exists(json, 'data') ? undefined : (json['data'].map(Webhook.WebhookFromJSON)),
19
+ };
20
+ }
21
+ function WebhooksResponseToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'cursor': value.cursor,
30
+ 'data': value.data === undefined ? undefined : (value.data.map(Webhook.WebhookToJSON)),
31
+ };
32
+ }
33
+
34
+ exports.WebhooksResponseFromJSON = WebhooksResponseFromJSON;
35
+ exports.WebhooksResponseFromJSONTyped = WebhooksResponseFromJSONTyped;
36
+ exports.WebhooksResponseToJSON = WebhooksResponseToJSON;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Webhook } from './Webhook';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface WebhooksResponse
17
+ */
18
+ export interface WebhooksResponse {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof WebhooksResponse
23
+ */
24
+ cursor?: string;
25
+ /**
26
+ *
27
+ * @type {Array<Webhook>}
28
+ * @memberof WebhooksResponse
29
+ */
30
+ data?: Array<Webhook>;
31
+ }
32
+ export declare function WebhooksResponseFromJSON(json: any): WebhooksResponse;
33
+ export declare function WebhooksResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhooksResponse;
34
+ export declare function WebhooksResponseToJSON(value?: WebhooksResponse | null): any;
@@ -0,0 +1,30 @@
1
+ import { exists } from '../runtime.js';
2
+ import { WebhookFromJSON, WebhookToJSON } from './Webhook.js';
3
+
4
+ /* tslint:disable */
5
+ function WebhooksResponseFromJSON(json) {
6
+ return WebhooksResponseFromJSONTyped(json);
7
+ }
8
+ function WebhooksResponseFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'cursor': !exists(json, 'cursor') ? undefined : json['cursor'],
14
+ 'data': !exists(json, 'data') ? undefined : (json['data'].map(WebhookFromJSON)),
15
+ };
16
+ }
17
+ function WebhooksResponseToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'cursor': value.cursor,
26
+ 'data': value.data === undefined ? undefined : (value.data.map(WebhookToJSON)),
27
+ };
28
+ }
29
+
30
+ export { WebhooksResponseFromJSON, WebhooksResponseFromJSONTyped, WebhooksResponseToJSON };
@@ -25,6 +25,7 @@ export * from './CreateProjectResponseProject';
25
25
  export * from './CreateProjectResponseProjectProjectEnvironments';
26
26
  export * from './CreateTokenResponse';
27
27
  export * from './CreateTurnkeyEmbeddedWalletSpecificOpts';
28
+ export * from './CreateUserEmbeddedWalletsRequest';
28
29
  export * from './CreateWalletRequest';
29
30
  export * from './Duration';
30
31
  export * from './DynamicJwt';
@@ -193,4 +194,11 @@ export * from './VisitorsResponse';
193
194
  export * from './Wallet';
194
195
  export * from './WalletProperties';
195
196
  export * from './WalletProviderEnum';
197
+ export * from './Webhook';
198
+ export * from './WebhookCreateRequest';
199
+ export * from './WebhookMessage';
200
+ export * from './WebhookMessageRedeliveryResponse';
201
+ export * from './WebhookMessagesResponse';
202
+ export * from './WebhookUpdateRequest';
203
+ export * from './WebhooksResponse';
196
204
  export * from './WhenToImplementEnum';