@crestal/nation-sdk 0.7.40 → 0.7.42

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 (77) hide show
  1. package/.openapi-generator/FILES +50 -7
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +52 -9
  4. package/api.ts +486 -2353
  5. package/base.ts +1 -25
  6. package/common.ts +1 -38
  7. package/configuration.ts +1 -18
  8. package/dist/api.d.ts +481 -2356
  9. package/dist/api.js +5 -150
  10. package/dist/base.d.ts +1 -25
  11. package/dist/base.js +1 -20
  12. package/dist/common.d.ts +1 -38
  13. package/dist/common.js +1 -38
  14. package/dist/configuration.d.ts +1 -18
  15. package/dist/configuration.js +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +1 -1
  18. package/docs/AgentApi.md +1 -1
  19. package/docs/AgentAssetsResponse.md +1 -1
  20. package/docs/AgentDraft.md +2 -0
  21. package/docs/Amount.md +19 -0
  22. package/docs/AssetInput.md +23 -0
  23. package/docs/{Asset.md → AssetOutput.md} +3 -3
  24. package/docs/Balance.md +19 -0
  25. package/docs/BalanceAfter.md +19 -0
  26. package/docs/BaseAmount.md +19 -0
  27. package/docs/BaseDiscountAmount.md +19 -0
  28. package/docs/BaseFreeAmount.md +19 -0
  29. package/docs/BaseLlmAmount.md +19 -0
  30. package/docs/BaseOriginalAmount.md +19 -0
  31. package/docs/BasePermanentAmount.md +19 -0
  32. package/docs/BaseRewardAmount.md +19 -0
  33. package/docs/BaseSkillAmount.md +19 -0
  34. package/docs/ChangeAmount.md +19 -0
  35. package/docs/CreditAmount.md +19 -0
  36. package/docs/CreditApi.md +2 -2
  37. package/docs/CreditEventInput.md +109 -0
  38. package/docs/{CreditEvent.md → CreditEventOutput.md} +3 -3
  39. package/docs/CreditEventWithAgentInput.md +111 -0
  40. package/docs/{CreditEventWithAgent.md → CreditEventWithAgentOutput.md} +3 -3
  41. package/docs/CreditEventsResponse.md +1 -1
  42. package/docs/CreditTransactionRespInput.md +43 -0
  43. package/docs/{CreditTransactionResp.md → CreditTransactionRespOutput.md} +4 -4
  44. package/docs/CreditTransactionsResponse.md +1 -1
  45. package/docs/FeeAgentAmount.md +19 -0
  46. package/docs/FeeAgentFreeAmount.md +19 -0
  47. package/docs/FeeAgentPermanentAmount.md +19 -0
  48. package/docs/FeeAgentRewardAmount.md +19 -0
  49. package/docs/FeeDevAmount.md +19 -0
  50. package/docs/FeeDevFreeAmount.md +19 -0
  51. package/docs/FeeDevPermanentAmount.md +19 -0
  52. package/docs/FeeDevRewardAmount.md +19 -0
  53. package/docs/FeePlatformAmount.md +19 -0
  54. package/docs/FeePlatformFreeAmount.md +19 -0
  55. package/docs/FeePlatformPermanentAmount.md +19 -0
  56. package/docs/FeePlatformRewardAmount.md +19 -0
  57. package/docs/FreeAmount.md +19 -0
  58. package/docs/FreeAmount1.md +19 -0
  59. package/docs/InputPrice.md +18 -0
  60. package/docs/LLMModelInfoWithProviderNameInput.md +67 -0
  61. package/docs/{LLMModelInfoWithProviderName.md → LLMModelInfoWithProviderNameOutput.md} +5 -5
  62. package/docs/MetadataApi.md +4 -4
  63. package/docs/OutputPrice.md +18 -0
  64. package/docs/PermanentAmount.md +19 -0
  65. package/docs/PermanentAmount1.md +19 -0
  66. package/docs/Price.md +19 -0
  67. package/docs/PriceSelfKey.md +19 -0
  68. package/docs/RewardAmount.md +19 -0
  69. package/docs/RewardAmount1.md +19 -0
  70. package/docs/SkillInput.md +43 -0
  71. package/docs/{Skill.md → SkillOutput.md} +3 -3
  72. package/docs/TopupRecordInput.md +47 -0
  73. package/docs/{TopupRecord.md → TopupRecordOutput.md} +3 -3
  74. package/docs/TopupRecordsResponse.md +1 -1
  75. package/docs/TotalAmount.md +19 -0
  76. package/index.ts +1 -1
  77. package/package.json +1 -1
@@ -25,8 +25,21 @@ docs/AgentState.md
25
25
  docs/AgentStatistics.md
26
26
  docs/AgentUpdate.md
27
27
  docs/AgentUserInput.md
28
- docs/Asset.md
28
+ docs/Amount.md
29
+ docs/AssetInput.md
30
+ docs/AssetOutput.md
29
31
  docs/AuthorType.md
32
+ docs/Balance.md
33
+ docs/BalanceAfter.md
34
+ docs/BaseAmount.md
35
+ docs/BaseDiscountAmount.md
36
+ docs/BaseFreeAmount.md
37
+ docs/BaseLlmAmount.md
38
+ docs/BaseOriginalAmount.md
39
+ docs/BasePermanentAmount.md
40
+ docs/BaseRewardAmount.md
41
+ docs/BaseSkillAmount.md
42
+ docs/ChangeAmount.md
30
43
  docs/Chat.md
31
44
  docs/ChatApi.md
32
45
  docs/ChatMessage.md
@@ -37,34 +50,64 @@ docs/ChatMessageSkillCall.md
37
50
  docs/ChatMessagesResponse.md
38
51
  docs/ChatUpdateRequest.md
39
52
  docs/CreditAccount.md
53
+ docs/CreditAmount.md
40
54
  docs/CreditApi.md
41
55
  docs/CreditDebit.md
42
- docs/CreditEvent.md
43
- docs/CreditEventWithAgent.md
56
+ docs/CreditEventInput.md
57
+ docs/CreditEventOutput.md
58
+ docs/CreditEventWithAgentInput.md
59
+ docs/CreditEventWithAgentOutput.md
44
60
  docs/CreditEventsResponse.md
45
- docs/CreditTransactionResp.md
61
+ docs/CreditTransactionRespInput.md
62
+ docs/CreditTransactionRespOutput.md
46
63
  docs/CreditTransactionsResponse.md
47
64
  docs/CreditType.md
48
65
  docs/Direction.md
49
66
  docs/DraftApi.md
50
67
  docs/EventType.md
68
+ docs/FeeAgentAmount.md
69
+ docs/FeeAgentFreeAmount.md
70
+ docs/FeeAgentPermanentAmount.md
71
+ docs/FeeAgentRewardAmount.md
72
+ docs/FeeDevAmount.md
73
+ docs/FeeDevFreeAmount.md
74
+ docs/FeeDevPermanentAmount.md
75
+ docs/FeeDevRewardAmount.md
51
76
  docs/FeePercentage.md
77
+ docs/FeePlatformAmount.md
78
+ docs/FeePlatformFreeAmount.md
79
+ docs/FeePlatformPermanentAmount.md
80
+ docs/FeePlatformRewardAmount.md
52
81
  docs/FileUploadResponse.md
82
+ docs/FreeAmount.md
83
+ docs/FreeAmount1.md
53
84
  docs/GenerationDetailResponse.md
54
85
  docs/GenerationsListResponse.md
55
86
  docs/GeneratorApi.md
56
87
  docs/HTTPValidationError.md
57
88
  docs/HealthApi.md
58
- docs/LLMModelInfoWithProviderName.md
89
+ docs/InputPrice.md
90
+ docs/LLMModelInfoWithProviderNameInput.md
91
+ docs/LLMModelInfoWithProviderNameOutput.md
59
92
  docs/LLMProvider.md
60
93
  docs/MetadataApi.md
61
94
  docs/OAuthApi.md
95
+ docs/OutputPrice.md
62
96
  docs/OwnerType.md
63
- docs/Skill.md
97
+ docs/PermanentAmount.md
98
+ docs/PermanentAmount1.md
99
+ docs/Price.md
100
+ docs/PriceSelfKey.md
101
+ docs/RewardAmount.md
102
+ docs/RewardAmount1.md
103
+ docs/SkillInput.md
104
+ docs/SkillOutput.md
64
105
  docs/SystemMessageType.md
65
106
  docs/Tag.md
66
- docs/TopupRecord.md
107
+ docs/TopupRecordInput.md
108
+ docs/TopupRecordOutput.md
67
109
  docs/TopupRecordsResponse.md
110
+ docs/TotalAmount.md
68
111
  docs/TransactionType.md
69
112
  docs/TwitterAuthResponse.md
70
113
  docs/UpstreamType.md
@@ -1 +1 @@
1
- 7.14.0
1
+ 7.16.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @crestal/nation-sdk@0.7.40
1
+ ## @crestal/nation-sdk@0.7.42
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.40 --save
39
+ npm install @crestal/nation-sdk@0.7.42 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -135,8 +135,21 @@ Class | Method | HTTP request | Description
135
135
  - [AgentStatistics](docs/AgentStatistics.md)
136
136
  - [AgentUpdate](docs/AgentUpdate.md)
137
137
  - [AgentUserInput](docs/AgentUserInput.md)
138
- - [Asset](docs/Asset.md)
138
+ - [Amount](docs/Amount.md)
139
+ - [AssetInput](docs/AssetInput.md)
140
+ - [AssetOutput](docs/AssetOutput.md)
139
141
  - [AuthorType](docs/AuthorType.md)
142
+ - [Balance](docs/Balance.md)
143
+ - [BalanceAfter](docs/BalanceAfter.md)
144
+ - [BaseAmount](docs/BaseAmount.md)
145
+ - [BaseDiscountAmount](docs/BaseDiscountAmount.md)
146
+ - [BaseFreeAmount](docs/BaseFreeAmount.md)
147
+ - [BaseLlmAmount](docs/BaseLlmAmount.md)
148
+ - [BaseOriginalAmount](docs/BaseOriginalAmount.md)
149
+ - [BasePermanentAmount](docs/BasePermanentAmount.md)
150
+ - [BaseRewardAmount](docs/BaseRewardAmount.md)
151
+ - [BaseSkillAmount](docs/BaseSkillAmount.md)
152
+ - [ChangeAmount](docs/ChangeAmount.md)
140
153
  - [Chat](docs/Chat.md)
141
154
  - [ChatMessage](docs/ChatMessage.md)
142
155
  - [ChatMessageAttachment](docs/ChatMessageAttachment.md)
@@ -146,28 +159,58 @@ Class | Method | HTTP request | Description
146
159
  - [ChatMessagesResponse](docs/ChatMessagesResponse.md)
147
160
  - [ChatUpdateRequest](docs/ChatUpdateRequest.md)
148
161
  - [CreditAccount](docs/CreditAccount.md)
162
+ - [CreditAmount](docs/CreditAmount.md)
149
163
  - [CreditDebit](docs/CreditDebit.md)
150
- - [CreditEvent](docs/CreditEvent.md)
151
- - [CreditEventWithAgent](docs/CreditEventWithAgent.md)
164
+ - [CreditEventInput](docs/CreditEventInput.md)
165
+ - [CreditEventOutput](docs/CreditEventOutput.md)
166
+ - [CreditEventWithAgentInput](docs/CreditEventWithAgentInput.md)
167
+ - [CreditEventWithAgentOutput](docs/CreditEventWithAgentOutput.md)
152
168
  - [CreditEventsResponse](docs/CreditEventsResponse.md)
153
- - [CreditTransactionResp](docs/CreditTransactionResp.md)
169
+ - [CreditTransactionRespInput](docs/CreditTransactionRespInput.md)
170
+ - [CreditTransactionRespOutput](docs/CreditTransactionRespOutput.md)
154
171
  - [CreditTransactionsResponse](docs/CreditTransactionsResponse.md)
155
172
  - [CreditType](docs/CreditType.md)
156
173
  - [Direction](docs/Direction.md)
157
174
  - [EventType](docs/EventType.md)
175
+ - [FeeAgentAmount](docs/FeeAgentAmount.md)
176
+ - [FeeAgentFreeAmount](docs/FeeAgentFreeAmount.md)
177
+ - [FeeAgentPermanentAmount](docs/FeeAgentPermanentAmount.md)
178
+ - [FeeAgentRewardAmount](docs/FeeAgentRewardAmount.md)
179
+ - [FeeDevAmount](docs/FeeDevAmount.md)
180
+ - [FeeDevFreeAmount](docs/FeeDevFreeAmount.md)
181
+ - [FeeDevPermanentAmount](docs/FeeDevPermanentAmount.md)
182
+ - [FeeDevRewardAmount](docs/FeeDevRewardAmount.md)
158
183
  - [FeePercentage](docs/FeePercentage.md)
184
+ - [FeePlatformAmount](docs/FeePlatformAmount.md)
185
+ - [FeePlatformFreeAmount](docs/FeePlatformFreeAmount.md)
186
+ - [FeePlatformPermanentAmount](docs/FeePlatformPermanentAmount.md)
187
+ - [FeePlatformRewardAmount](docs/FeePlatformRewardAmount.md)
159
188
  - [FileUploadResponse](docs/FileUploadResponse.md)
189
+ - [FreeAmount](docs/FreeAmount.md)
190
+ - [FreeAmount1](docs/FreeAmount1.md)
160
191
  - [GenerationDetailResponse](docs/GenerationDetailResponse.md)
161
192
  - [GenerationsListResponse](docs/GenerationsListResponse.md)
162
193
  - [HTTPValidationError](docs/HTTPValidationError.md)
163
- - [LLMModelInfoWithProviderName](docs/LLMModelInfoWithProviderName.md)
194
+ - [InputPrice](docs/InputPrice.md)
195
+ - [LLMModelInfoWithProviderNameInput](docs/LLMModelInfoWithProviderNameInput.md)
196
+ - [LLMModelInfoWithProviderNameOutput](docs/LLMModelInfoWithProviderNameOutput.md)
164
197
  - [LLMProvider](docs/LLMProvider.md)
198
+ - [OutputPrice](docs/OutputPrice.md)
165
199
  - [OwnerType](docs/OwnerType.md)
166
- - [Skill](docs/Skill.md)
200
+ - [PermanentAmount](docs/PermanentAmount.md)
201
+ - [PermanentAmount1](docs/PermanentAmount1.md)
202
+ - [Price](docs/Price.md)
203
+ - [PriceSelfKey](docs/PriceSelfKey.md)
204
+ - [RewardAmount](docs/RewardAmount.md)
205
+ - [RewardAmount1](docs/RewardAmount1.md)
206
+ - [SkillInput](docs/SkillInput.md)
207
+ - [SkillOutput](docs/SkillOutput.md)
167
208
  - [SystemMessageType](docs/SystemMessageType.md)
168
209
  - [Tag](docs/Tag.md)
169
- - [TopupRecord](docs/TopupRecord.md)
210
+ - [TopupRecordInput](docs/TopupRecordInput.md)
211
+ - [TopupRecordOutput](docs/TopupRecordOutput.md)
170
212
  - [TopupRecordsResponse](docs/TopupRecordsResponse.md)
213
+ - [TotalAmount](docs/TotalAmount.md)
171
214
  - [TransactionType](docs/TransactionType.md)
172
215
  - [TwitterAuthResponse](docs/TwitterAuthResponse.md)
173
216
  - [UpstreamType](docs/UpstreamType.md)