@crestal/nation-sdk 0.7.46 → 0.8.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.
@@ -104,6 +104,7 @@ docs/SkillInput.md
104
104
  docs/SkillOutput.md
105
105
  docs/SystemMessageType.md
106
106
  docs/Tag.md
107
+ docs/TokenAmount.md
107
108
  docs/TopupRecordInput.md
108
109
  docs/TopupRecordOutput.md
109
110
  docs/TopupRecordsResponse.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @crestal/nation-sdk@0.7.46
1
+ ## @crestal/nation-sdk@0.8.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @crestal/nation-sdk@0.7.46 --save
39
+ npm install @crestal/nation-sdk@0.8.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -207,6 +207,7 @@ Class | Method | HTTP request | Description
207
207
  - [SkillOutput](docs/SkillOutput.md)
208
208
  - [SystemMessageType](docs/SystemMessageType.md)
209
209
  - [Tag](docs/Tag.md)
210
+ - [TokenAmount](docs/TokenAmount.md)
210
211
  - [TopupRecordInput](docs/TopupRecordInput.md)
211
212
  - [TopupRecordOutput](docs/TopupRecordOutput.md)
212
213
  - [TopupRecordsResponse](docs/TopupRecordsResponse.md)
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.7.46
7
+ * The version of the OpenAPI document: 0.8.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1959,6 +1959,11 @@ export interface Tag {
1959
1959
  'created_at'?: string | null;
1960
1960
  'category'?: string | null;
1961
1961
  }
1962
+ /**
1963
+ * Token amount converted to token units
1964
+ */
1965
+ export interface TokenAmount {
1966
+ }
1962
1967
  /**
1963
1968
  * Top-up record fetched from Supabase.
1964
1969
  */
@@ -1993,6 +1998,7 @@ export interface TopupRecordInput {
1993
1998
  */
1994
1999
  'token_address': string;
1995
2000
  'amount': Amount;
2001
+ 'token_amount'?: TokenAmount | null;
1996
2002
  'contract_address'?: string | null;
1997
2003
  'inserted_at'?: string | null;
1998
2004
  'credit_event_id'?: string | null;
@@ -2036,6 +2042,7 @@ export interface TopupRecordOutput {
2036
2042
  * Token amount in raw units
2037
2043
  */
2038
2044
  'amount': string;
2045
+ 'token_amount'?: string | null;
2039
2046
  'contract_address'?: string | null;
2040
2047
  'inserted_at'?: string | null;
2041
2048
  'credit_event_id'?: string | null;
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.7.46
7
+ * The version of the OpenAPI document: 0.8.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.7.46
7
+ * The version of the OpenAPI document: 0.8.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.7.46
7
+ * The version of the OpenAPI document: 0.8.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.7.46
5
+ * The version of the OpenAPI document: 0.8.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1919,6 +1919,11 @@ export interface Tag {
1919
1919
  'created_at'?: string | null;
1920
1920
  'category'?: string | null;
1921
1921
  }
1922
+ /**
1923
+ * Token amount converted to token units
1924
+ */
1925
+ export interface TokenAmount {
1926
+ }
1922
1927
  /**
1923
1928
  * Top-up record fetched from Supabase.
1924
1929
  */
@@ -1953,6 +1958,7 @@ export interface TopupRecordInput {
1953
1958
  */
1954
1959
  'token_address': string;
1955
1960
  'amount': Amount;
1961
+ 'token_amount'?: TokenAmount | null;
1956
1962
  'contract_address'?: string | null;
1957
1963
  'inserted_at'?: string | null;
1958
1964
  'credit_event_id'?: string | null;
@@ -1996,6 +2002,7 @@ export interface TopupRecordOutput {
1996
2002
  * Token amount in raw units
1997
2003
  */
1998
2004
  'amount': string;
2005
+ 'token_amount'?: string | null;
1999
2006
  'contract_address'?: string | null;
2000
2007
  'inserted_at'?: string | null;
2001
2008
  'credit_event_id'?: string | null;
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.7.46
8
+ * The version of the OpenAPI document: 0.8.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.7.46
5
+ * The version of the OpenAPI document: 0.8.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.7.46
8
+ * The version of the OpenAPI document: 0.8.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.7.46
5
+ * The version of the OpenAPI document: 0.8.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.7.46
8
+ * The version of the OpenAPI document: 0.8.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.7.46
5
+ * The version of the OpenAPI document: 0.8.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.7.46
8
+ * The version of the OpenAPI document: 0.8.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.7.46
5
+ * The version of the OpenAPI document: 0.8.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Nation IntentKit API
6
6
  * API for Nation IntentKit services
7
7
  *
8
- * The version of the OpenAPI document: 0.7.46
8
+ * The version of the OpenAPI document: 0.8.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,8 +27,8 @@ Name | Type | Description | Notes
27
27
  **supports_presence_penalty** | **boolean** | | [optional] [default to true]
28
28
  **api_base** | **string** | | [optional] [default to undefined]
29
29
  **timeout** | **number** | | [optional] [default to 180]
30
- **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-13T16:58:08.680+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-13T16:58:08.680+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-14T08:55:53.747+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-14T08:55:53.747+00:00]
32
32
  **provider_name** | **string** | | [default to undefined]
33
33
 
34
34
  ## Example
@@ -27,8 +27,8 @@ Name | Type | Description | Notes
27
27
  **supports_presence_penalty** | **boolean** | | [optional] [default to true]
28
28
  **api_base** | **string** | | [optional] [default to undefined]
29
29
  **timeout** | **number** | | [optional] [default to 180]
30
- **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-13T16:58:08.680+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-13T16:58:08.680+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-14T08:55:53.747+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-14T08:55:53.747+00:00]
32
32
  **provider_name** | **string** | | [default to undefined]
33
33
 
34
34
  ## Example
@@ -0,0 +1,19 @@
1
+ # TokenAmount
2
+
3
+ Token amount converted to token units
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { TokenAmount } from '@crestal/nation-sdk';
14
+
15
+ const instance: TokenAmount = {
16
+ };
17
+ ```
18
+
19
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
15
15
  **to_address** | **string** | Beneficiary address for the top-up | [default to undefined]
16
16
  **token_address** | **string** | Token contract used for the top-up | [default to undefined]
17
17
  **amount** | [**Amount**](Amount.md) | | [default to undefined]
18
+ **token_amount** | [**TokenAmount**](TokenAmount.md) | | [optional] [default to undefined]
18
19
  **contract_address** | **string** | | [optional] [default to undefined]
19
20
  **inserted_at** | **string** | | [optional] [default to undefined]
20
21
  **credit_event_id** | **string** | | [optional] [default to undefined]
@@ -36,6 +37,7 @@ const instance: TopupRecordInput = {
36
37
  to_address,
37
38
  token_address,
38
39
  amount,
40
+ token_amount,
39
41
  contract_address,
40
42
  inserted_at,
41
43
  credit_event_id,
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
15
15
  **to_address** | **string** | Beneficiary address for the top-up | [default to undefined]
16
16
  **token_address** | **string** | Token contract used for the top-up | [default to undefined]
17
17
  **amount** | **string** | Token amount in raw units | [default to undefined]
18
+ **token_amount** | **string** | | [optional] [default to undefined]
18
19
  **contract_address** | **string** | | [optional] [default to undefined]
19
20
  **inserted_at** | **string** | | [optional] [default to undefined]
20
21
  **credit_event_id** | **string** | | [optional] [default to undefined]
@@ -36,6 +37,7 @@ const instance: TopupRecordOutput = {
36
37
  to_address,
37
38
  token_address,
38
39
  amount,
40
+ token_amount,
39
41
  contract_address,
40
42
  inserted_at,
41
43
  credit_event_id,
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.7.46
7
+ * The version of the OpenAPI document: 0.8.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crestal/nation-sdk",
3
- "version": "0.7.46",
3
+ "version": "0.8.0",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {