@dynamic-labs/sdk-api 0.0.1079 → 0.0.1080

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.
@@ -0,0 +1,45 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface GaslessBillingTotals
16
+ */
17
+ export interface GaslessBillingTotals {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GaslessBillingTotals
22
+ */
23
+ networkFeeUsd: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GaslessBillingTotals
28
+ */
29
+ serviceFeeUsd: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GaslessBillingTotals
34
+ */
35
+ totalUsd: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof GaslessBillingTotals
40
+ */
41
+ transactionCount: number;
42
+ }
43
+ export declare function GaslessBillingTotalsFromJSON(json: any): GaslessBillingTotals;
44
+ export declare function GaslessBillingTotalsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GaslessBillingTotals;
45
+ export declare function GaslessBillingTotalsToJSON(value?: GaslessBillingTotals | null): any;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function GaslessBillingTotalsFromJSON(json) {
15
+ return GaslessBillingTotalsFromJSONTyped(json);
16
+ }
17
+ function GaslessBillingTotalsFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'networkFeeUsd': json['networkFeeUsd'],
23
+ 'serviceFeeUsd': json['serviceFeeUsd'],
24
+ 'totalUsd': json['totalUsd'],
25
+ 'transactionCount': json['transactionCount'],
26
+ };
27
+ }
28
+ function GaslessBillingTotalsToJSON(value) {
29
+ if (value === undefined) {
30
+ return undefined;
31
+ }
32
+ if (value === null) {
33
+ return null;
34
+ }
35
+ return {
36
+ 'networkFeeUsd': value.networkFeeUsd,
37
+ 'serviceFeeUsd': value.serviceFeeUsd,
38
+ 'totalUsd': value.totalUsd,
39
+ 'transactionCount': value.transactionCount,
40
+ };
41
+ }
42
+
43
+ export { GaslessBillingTotalsFromJSON, GaslessBillingTotalsFromJSONTyped, GaslessBillingTotalsToJSON };
@@ -0,0 +1,55 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function GaslessTransactionItemFromJSON(json) {
9
+ return GaslessTransactionItemFromJSONTyped(json);
10
+ }
11
+ function GaslessTransactionItemFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'chainId': json['chainId'],
17
+ 'chainType': json['chainType'],
18
+ 'createdAt': (new Date(json['createdAt'])),
19
+ 'errorMessage': !runtime.exists(json, 'errorMessage') ? undefined : json['errorMessage'],
20
+ 'id': json['id'],
21
+ 'networkFeeUsd': !runtime.exists(json, 'networkFeeUsd') ? undefined : json['networkFeeUsd'],
22
+ 'serviceFeeUsd': !runtime.exists(json, 'serviceFeeUsd') ? undefined : json['serviceFeeUsd'],
23
+ 'sponsorAddress': !runtime.exists(json, 'sponsorAddress') ? undefined : json['sponsorAddress'],
24
+ 'status': json['status'],
25
+ 'transactionHash': !runtime.exists(json, 'transactionHash') ? undefined : json['transactionHash'],
26
+ 'userId': json['userId'],
27
+ 'walletAddress': json['walletAddress'],
28
+ };
29
+ }
30
+ function GaslessTransactionItemToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'chainId': value.chainId,
39
+ 'chainType': value.chainType,
40
+ 'createdAt': (value.createdAt.toISOString()),
41
+ 'errorMessage': value.errorMessage,
42
+ 'id': value.id,
43
+ 'networkFeeUsd': value.networkFeeUsd,
44
+ 'serviceFeeUsd': value.serviceFeeUsd,
45
+ 'sponsorAddress': value.sponsorAddress,
46
+ 'status': value.status,
47
+ 'transactionHash': value.transactionHash,
48
+ 'userId': value.userId,
49
+ 'walletAddress': value.walletAddress,
50
+ };
51
+ }
52
+
53
+ exports.GaslessTransactionItemFromJSON = GaslessTransactionItemFromJSON;
54
+ exports.GaslessTransactionItemFromJSONTyped = GaslessTransactionItemFromJSONTyped;
55
+ exports.GaslessTransactionItemToJSON = GaslessTransactionItemToJSON;
@@ -0,0 +1,93 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface GaslessTransactionItem
16
+ */
17
+ export interface GaslessTransactionItem {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GaslessTransactionItem
22
+ */
23
+ chainId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GaslessTransactionItem
28
+ */
29
+ chainType: string;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof GaslessTransactionItem
34
+ */
35
+ createdAt: Date;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof GaslessTransactionItem
40
+ */
41
+ errorMessage?: string | null;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof GaslessTransactionItem
46
+ */
47
+ id: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof GaslessTransactionItem
52
+ */
53
+ networkFeeUsd?: string | null;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof GaslessTransactionItem
58
+ */
59
+ serviceFeeUsd?: string | null;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof GaslessTransactionItem
64
+ */
65
+ sponsorAddress?: string | null;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof GaslessTransactionItem
70
+ */
71
+ status: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof GaslessTransactionItem
76
+ */
77
+ transactionHash?: string | null;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof GaslessTransactionItem
82
+ */
83
+ userId: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof GaslessTransactionItem
88
+ */
89
+ walletAddress: string;
90
+ }
91
+ export declare function GaslessTransactionItemFromJSON(json: any): GaslessTransactionItem;
92
+ export declare function GaslessTransactionItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): GaslessTransactionItem;
93
+ export declare function GaslessTransactionItemToJSON(value?: GaslessTransactionItem | null): any;
@@ -0,0 +1,49 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function GaslessTransactionItemFromJSON(json) {
5
+ return GaslessTransactionItemFromJSONTyped(json);
6
+ }
7
+ function GaslessTransactionItemFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'chainId': json['chainId'],
13
+ 'chainType': json['chainType'],
14
+ 'createdAt': (new Date(json['createdAt'])),
15
+ 'errorMessage': !exists(json, 'errorMessage') ? undefined : json['errorMessage'],
16
+ 'id': json['id'],
17
+ 'networkFeeUsd': !exists(json, 'networkFeeUsd') ? undefined : json['networkFeeUsd'],
18
+ 'serviceFeeUsd': !exists(json, 'serviceFeeUsd') ? undefined : json['serviceFeeUsd'],
19
+ 'sponsorAddress': !exists(json, 'sponsorAddress') ? undefined : json['sponsorAddress'],
20
+ 'status': json['status'],
21
+ 'transactionHash': !exists(json, 'transactionHash') ? undefined : json['transactionHash'],
22
+ 'userId': json['userId'],
23
+ 'walletAddress': json['walletAddress'],
24
+ };
25
+ }
26
+ function GaslessTransactionItemToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'chainId': value.chainId,
35
+ 'chainType': value.chainType,
36
+ 'createdAt': (value.createdAt.toISOString()),
37
+ 'errorMessage': value.errorMessage,
38
+ 'id': value.id,
39
+ 'networkFeeUsd': value.networkFeeUsd,
40
+ 'serviceFeeUsd': value.serviceFeeUsd,
41
+ 'sponsorAddress': value.sponsorAddress,
42
+ 'status': value.status,
43
+ 'transactionHash': value.transactionHash,
44
+ 'userId': value.userId,
45
+ 'walletAddress': value.walletAddress,
46
+ };
47
+ }
48
+
49
+ export { GaslessTransactionItemFromJSON, GaslessTransactionItemFromJSONTyped, GaslessTransactionItemToJSON };
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var GaslessTransactionItem = require('./GaslessTransactionItem.cjs');
6
+
7
+ /* tslint:disable */
8
+ function GaslessTransactionsListResponseFromJSON(json) {
9
+ return GaslessTransactionsListResponseFromJSONTyped(json);
10
+ }
11
+ function GaslessTransactionsListResponseFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'nextCursor': json['nextCursor'],
17
+ 'totalCount': json['totalCount'],
18
+ 'transactions': (json['transactions'].map(GaslessTransactionItem.GaslessTransactionItemFromJSON)),
19
+ };
20
+ }
21
+ function GaslessTransactionsListResponseToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'nextCursor': value.nextCursor,
30
+ 'totalCount': value.totalCount,
31
+ 'transactions': (value.transactions.map(GaslessTransactionItem.GaslessTransactionItemToJSON)),
32
+ };
33
+ }
34
+
35
+ exports.GaslessTransactionsListResponseFromJSON = GaslessTransactionsListResponseFromJSON;
36
+ exports.GaslessTransactionsListResponseFromJSONTyped = GaslessTransactionsListResponseFromJSONTyped;
37
+ exports.GaslessTransactionsListResponseToJSON = GaslessTransactionsListResponseToJSON;
@@ -0,0 +1,40 @@
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 { GaslessTransactionItem } from './GaslessTransactionItem';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GaslessTransactionsListResponse
17
+ */
18
+ export interface GaslessTransactionsListResponse {
19
+ /**
20
+ * Cursor for fetching the next page, null if no more pages
21
+ * @type {string}
22
+ * @memberof GaslessTransactionsListResponse
23
+ */
24
+ nextCursor: string | null;
25
+ /**
26
+ * Total number of transactions matching the filters
27
+ * @type {number}
28
+ * @memberof GaslessTransactionsListResponse
29
+ */
30
+ totalCount: number;
31
+ /**
32
+ *
33
+ * @type {Array<GaslessTransactionItem>}
34
+ * @memberof GaslessTransactionsListResponse
35
+ */
36
+ transactions: Array<GaslessTransactionItem>;
37
+ }
38
+ export declare function GaslessTransactionsListResponseFromJSON(json: any): GaslessTransactionsListResponse;
39
+ export declare function GaslessTransactionsListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GaslessTransactionsListResponse;
40
+ export declare function GaslessTransactionsListResponseToJSON(value?: GaslessTransactionsListResponse | null): any;
@@ -0,0 +1,31 @@
1
+ import { GaslessTransactionItemFromJSON, GaslessTransactionItemToJSON } from './GaslessTransactionItem.js';
2
+
3
+ /* tslint:disable */
4
+ function GaslessTransactionsListResponseFromJSON(json) {
5
+ return GaslessTransactionsListResponseFromJSONTyped(json);
6
+ }
7
+ function GaslessTransactionsListResponseFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'nextCursor': json['nextCursor'],
13
+ 'totalCount': json['totalCount'],
14
+ 'transactions': (json['transactions'].map(GaslessTransactionItemFromJSON)),
15
+ };
16
+ }
17
+ function GaslessTransactionsListResponseToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'nextCursor': value.nextCursor,
26
+ 'totalCount': value.totalCount,
27
+ 'transactions': (value.transactions.map(GaslessTransactionItemToJSON)),
28
+ };
29
+ }
30
+
31
+ export { GaslessTransactionsListResponseFromJSON, GaslessTransactionsListResponseFromJSONTyped, GaslessTransactionsListResponseToJSON };
@@ -304,6 +304,12 @@ export * from './Funding';
304
304
  export * from './FundingExternalWallets';
305
305
  export * from './FundingExternalWalletsDefaultSettings';
306
306
  export * from './FundingExternalWalletsMinAmount';
307
+ export * from './GaslessBillingChainBreakdown';
308
+ export * from './GaslessBillingPeriod';
309
+ export * from './GaslessBillingSummaryResponse';
310
+ export * from './GaslessBillingTotals';
311
+ export * from './GaslessTransactionItem';
312
+ export * from './GaslessTransactionsListResponse';
307
313
  export * from './Gate';
308
314
  export * from './GateCreateRequest';
309
315
  export * from './GateRule';