@sureel/sdk 1.16.6 → 1.16.7

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 (67) hide show
  1. package/api/sureel-api.d.ts +20 -10
  2. package/api/sureel-api.d.ts.map +1 -1
  3. package/api/sureel-api.js +25 -11
  4. package/api/sureel-api.js.map +1 -1
  5. package/esm/api/sureel-api.d.ts +20 -10
  6. package/esm/api/sureel-api.d.ts.map +1 -1
  7. package/esm/api/sureel-api.js +25 -11
  8. package/esm/api/sureel-api.js.map +1 -1
  9. package/esm/models/artifacts-per-epoch-entry.d.ts +2 -2
  10. package/esm/models/customer-profile-data.d.ts +3 -3
  11. package/esm/models/customer-profile-data.d.ts.map +1 -1
  12. package/esm/models/index.d.ts +4 -0
  13. package/esm/models/index.d.ts.map +1 -1
  14. package/esm/models/index.js +4 -0
  15. package/esm/models/index.js.map +1 -1
  16. package/esm/models/nilv-roster-summary-state.d.ts +19 -0
  17. package/esm/models/nilv-roster-summary-state.d.ts.map +1 -0
  18. package/esm/models/nilv-roster-summary-state.js +15 -0
  19. package/esm/models/nilv-roster-summary-state.js.map +1 -0
  20. package/esm/models/nilv-roster-summary.d.ts +52 -0
  21. package/esm/models/nilv-roster-summary.d.ts.map +1 -0
  22. package/esm/models/nilv-roster-summary.js +15 -0
  23. package/esm/models/nilv-roster-summary.js.map +1 -0
  24. package/esm/models/nilv-roster-updated-by.d.ts +19 -0
  25. package/esm/models/nilv-roster-updated-by.d.ts.map +1 -0
  26. package/esm/models/nilv-roster-updated-by.js +15 -0
  27. package/esm/models/nilv-roster-updated-by.js.map +1 -0
  28. package/esm/models/roster-artist-profile-data.d.ts +272 -0
  29. package/esm/models/roster-artist-profile-data.d.ts.map +1 -0
  30. package/esm/models/roster-artist-profile-data.js +15 -0
  31. package/esm/models/roster-artist-profile-data.js.map +1 -0
  32. package/esm/models/track-inference-artifacts-body.d.ts +15 -3
  33. package/esm/models/track-inference-artifacts-body.d.ts.map +1 -1
  34. package/esm/models/track-training-artifacts-body.d.ts +8 -2
  35. package/esm/models/track-training-artifacts-body.d.ts.map +1 -1
  36. package/esm/models/training-artifact-entry.d.ts +1 -1
  37. package/esm/models/training-artifact-entry.d.ts.map +1 -1
  38. package/models/artifacts-per-epoch-entry.d.ts +2 -2
  39. package/models/customer-profile-data.d.ts +3 -3
  40. package/models/customer-profile-data.d.ts.map +1 -1
  41. package/models/index.d.ts +4 -0
  42. package/models/index.d.ts.map +1 -1
  43. package/models/index.js +4 -0
  44. package/models/index.js.map +1 -1
  45. package/models/nilv-roster-summary-state.d.ts +19 -0
  46. package/models/nilv-roster-summary-state.d.ts.map +1 -0
  47. package/models/nilv-roster-summary-state.js +16 -0
  48. package/models/nilv-roster-summary-state.js.map +1 -0
  49. package/models/nilv-roster-summary.d.ts +52 -0
  50. package/models/nilv-roster-summary.d.ts.map +1 -0
  51. package/models/nilv-roster-summary.js +16 -0
  52. package/models/nilv-roster-summary.js.map +1 -0
  53. package/models/nilv-roster-updated-by.d.ts +19 -0
  54. package/models/nilv-roster-updated-by.d.ts.map +1 -0
  55. package/models/nilv-roster-updated-by.js +16 -0
  56. package/models/nilv-roster-updated-by.js.map +1 -0
  57. package/models/roster-artist-profile-data.d.ts +272 -0
  58. package/models/roster-artist-profile-data.d.ts.map +1 -0
  59. package/models/roster-artist-profile-data.js +16 -0
  60. package/models/roster-artist-profile-data.js.map +1 -0
  61. package/models/track-inference-artifacts-body.d.ts +15 -3
  62. package/models/track-inference-artifacts-body.d.ts.map +1 -1
  63. package/models/track-training-artifacts-body.d.ts +8 -2
  64. package/models/track-training-artifacts-body.d.ts.map +1 -1
  65. package/models/training-artifact-entry.d.ts +1 -1
  66. package/models/training-artifact-entry.d.ts.map +1 -1
  67. package/package.json +1 -1
@@ -0,0 +1,272 @@
1
+ /**
2
+ * Sureel API
3
+ * ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
4
+ *
5
+ * The version of the OpenAPI document:
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 type { ArtistCollectionRecordIntersection } from "./artist-collection-record-intersection";
13
+ import type { ArtistProfileDataUserRole } from "./artist-profile-data-user-role";
14
+ import type { ExternalAiMonitoringObject } from "./external-ai-monitoring-object";
15
+ import type { Metrics } from "./metrics";
16
+ import type { NilvRosterSummary } from "./nilv-roster-summary";
17
+ import type { SubscriptionTier } from "./subscription-tier";
18
+ import type { UpdatedAt } from "./updated-at";
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface RosterArtistProfileData
23
+ */
24
+ export interface RosterArtistProfileData {
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof RosterArtistProfileData
29
+ */
30
+ username: string;
31
+ /**
32
+ *
33
+ * @type {Array<string>}
34
+ * @memberof RosterArtistProfileData
35
+ */
36
+ old_usernames?: Array<string>;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof RosterArtistProfileData
41
+ */
42
+ auth0_id?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof RosterArtistProfileData
47
+ */
48
+ profile_picture_s3_key?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof RosterArtistProfileData
53
+ */
54
+ cover_image_s3_key?: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof RosterArtistProfileData
59
+ */
60
+ picture?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof RosterArtistProfileData
65
+ */
66
+ cover_image?: string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof RosterArtistProfileData
71
+ */
72
+ family_name?: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof RosterArtistProfileData
77
+ */
78
+ given_name?: string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof RosterArtistProfileData
83
+ */
84
+ email?: string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof RosterArtistProfileData
89
+ */
90
+ profile_description?: string;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof RosterArtistProfileData
95
+ */
96
+ url_external_website?: string;
97
+ /**
98
+ *
99
+ * @type {UpdatedAt}
100
+ * @memberof RosterArtistProfileData
101
+ */
102
+ updated_at?: UpdatedAt;
103
+ /**
104
+ *
105
+ * @type {ArtistProfileDataUserRole}
106
+ * @memberof RosterArtistProfileData
107
+ */
108
+ user_role?: ArtistProfileDataUserRole;
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof RosterArtistProfileData
113
+ */
114
+ stripe_customer_id?: string;
115
+ /**
116
+ *
117
+ * @type {SubscriptionTier}
118
+ * @memberof RosterArtistProfileData
119
+ */
120
+ subscription_tier?: SubscriptionTier;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof RosterArtistProfileData
125
+ */
126
+ customer_name?: string;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof RosterArtistProfileData
131
+ */
132
+ connected_api_user?: string;
133
+ /**
134
+ *
135
+ * @type {string}
136
+ * @memberof RosterArtistProfileData
137
+ */
138
+ logo?: string;
139
+ /**
140
+ *
141
+ * @type {boolean}
142
+ * @memberof RosterArtistProfileData
143
+ */
144
+ api_terms_and_conditions?: boolean;
145
+ /**
146
+ *
147
+ * @type {number}
148
+ * @memberof RosterArtistProfileData
149
+ */
150
+ created_at?: number;
151
+ /**
152
+ *
153
+ * @type {boolean}
154
+ * @memberof RosterArtistProfileData
155
+ */
156
+ zero_balance_email_sent?: boolean;
157
+ /**
158
+ *
159
+ * @type {boolean}
160
+ * @memberof RosterArtistProfileData
161
+ */
162
+ low_balance_email_sent?: boolean;
163
+ /**
164
+ *
165
+ * @type {number}
166
+ * @memberof RosterArtistProfileData
167
+ */
168
+ balance_treshold?: number;
169
+ /**
170
+ *
171
+ * @type {Array<string>}
172
+ * @memberof RosterArtistProfileData
173
+ */
174
+ sub_labels?: Array<string>;
175
+ /**
176
+ *
177
+ * @type {Metrics}
178
+ * @memberof RosterArtistProfileData
179
+ */
180
+ metrics?: Metrics;
181
+ /**
182
+ *
183
+ * @type {string}
184
+ * @memberof RosterArtistProfileData
185
+ */
186
+ external_id?: string;
187
+ /**
188
+ *
189
+ * @type {string}
190
+ * @memberof RosterArtistProfileData
191
+ */
192
+ spotify_user_id?: string;
193
+ /**
194
+ *
195
+ * @type {string}
196
+ * @memberof RosterArtistProfileData
197
+ */
198
+ spotify_display_name?: string;
199
+ /**
200
+ *
201
+ * @type {boolean}
202
+ * @memberof RosterArtistProfileData
203
+ */
204
+ verified?: boolean;
205
+ /**
206
+ *
207
+ * @type {number}
208
+ * @memberof RosterArtistProfileData
209
+ */
210
+ tutorial_completed_at?: number;
211
+ /**
212
+ *
213
+ * @type {boolean}
214
+ * @memberof RosterArtistProfileData
215
+ */
216
+ terms_and_conditions?: boolean;
217
+ /**
218
+ *
219
+ * @type {boolean}
220
+ * @memberof RosterArtistProfileData
221
+ */
222
+ show_in_frontend?: boolean;
223
+ /**
224
+ *
225
+ * @type {Array<string>}
226
+ * @memberof RosterArtistProfileData
227
+ */
228
+ collection_uuids?: Array<string>;
229
+ /**
230
+ *
231
+ * @type {Array<ArtistCollectionRecordIntersection>}
232
+ * @memberof RosterArtistProfileData
233
+ */
234
+ collections?: Array<ArtistCollectionRecordIntersection>;
235
+ /**
236
+ *
237
+ * @type {string}
238
+ * @memberof RosterArtistProfileData
239
+ */
240
+ attribution_setup_status?: string;
241
+ /**
242
+ *
243
+ * @type {Array<string>}
244
+ * @memberof RosterArtistProfileData
245
+ */
246
+ suno_analysis_request_ids?: Array<string>;
247
+ /**
248
+ * The external AI monitoring results for the given collection or user.
249
+ * @type {Array<ExternalAiMonitoringObject>}
250
+ * @memberof RosterArtistProfileData
251
+ */
252
+ suno_analysis_result?: Array<ExternalAiMonitoringObject>;
253
+ /**
254
+ * The name of the company/record label associated with the artist.
255
+ * @type {string}
256
+ * @memberof RosterArtistProfileData
257
+ */
258
+ company_name?: string;
259
+ /**
260
+ *
261
+ * @type {string}
262
+ * @memberof RosterArtistProfileData
263
+ */
264
+ lastEvaluatedKey?: string;
265
+ /**
266
+ *
267
+ * @type {NilvRosterSummary}
268
+ * @memberof RosterArtistProfileData
269
+ */
270
+ nilv?: NilvRosterSummary;
271
+ }
272
+ //# sourceMappingURL=roster-artist-profile-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roster-artist-profile-data.d.ts","sourceRoot":"","sources":["../../src/models/roster-artist-profile-data.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Sureel API
6
+ * ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
7
+ *
8
+ * The version of the OpenAPI document:
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=roster-artist-profile-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roster-artist-profile-data.js","sourceRoot":"","sources":["../../src/models/roster-artist-profile-data.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -22,17 +22,29 @@ export interface TrackInferenceArtifactsBody {
22
22
  */
23
23
  model_name: string;
24
24
  /**
25
- * Unique identifier for the inference request, used to track the process.
25
+ * Unique identifier for each generated track, allowing Sureel attribution to be mapped back to the generated audios on the Mirage side.
26
26
  * @type {string}
27
27
  * @memberof TrackInferenceArtifactsBody
28
28
  */
29
29
  inference_request_id: string;
30
+ /**
31
+ * File path to the model manifest file. Declares the model_family, artifact_schema_version, adapter_applied flag and all model and processing configuration. The \'model_manifest_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .JSON.
32
+ * @type {string}
33
+ * @memberof TrackInferenceArtifactsBody
34
+ */
35
+ model_manifest_file: string;
30
36
  /**
31
37
  * File path to the text inputs file. The \'text_inputs_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .JSON.
32
38
  * @type {string}
33
39
  * @memberof TrackInferenceArtifactsBody
34
40
  */
35
41
  text_inputs_file: string;
42
+ /**
43
+ * File path to the per-generation configuration file. The \'config_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .JSON.
44
+ * @type {string}
45
+ * @memberof TrackInferenceArtifactsBody
46
+ */
47
+ config_file: string;
36
48
  /**
37
49
  * List of input content audio files. Each item can either be an audio URL or the audio path returned from the `/files/upload-files` or `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
38
50
  * @type {Array<string>}
@@ -52,7 +64,7 @@ export interface TrackInferenceArtifactsBody {
52
64
  */
53
65
  output_audios: Array<string>;
54
66
  /**
55
- * File path to the artifacts file. The \'artifacts_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .NPY.
67
+ * File path to the artifacts file containing the real activation vectors. The \'artifacts_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .NPY (single array) and .NPZ (multi-array).
56
68
  * @type {string}
57
69
  * @memberof TrackInferenceArtifactsBody
58
70
  */
@@ -62,6 +74,6 @@ export interface TrackInferenceArtifactsBody {
62
74
  * @type {string}
63
75
  * @memberof TrackInferenceArtifactsBody
64
76
  */
65
- conditioning_file: string;
77
+ conditioning_file?: string;
66
78
  }
67
79
  //# sourceMappingURL=track-inference-artifacts-body.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"track-inference-artifacts-body.d.ts","sourceRoot":"","sources":["../../src/models/track-inference-artifacts-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAA;IAC5B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC7B;;;;OAIG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC3B;;;;OAIG;IACH,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC5B;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAA;IACtB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAA;CAC5B"}
1
+ {"version":3,"file":"track-inference-artifacts-body.d.ts","sourceRoot":"","sources":["../../src/models/track-inference-artifacts-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAA;IAC5B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAA;IAC3B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC7B;;;;OAIG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC3B;;;;OAIG;IACH,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC5B;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAA;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC7B"}
@@ -23,17 +23,23 @@ export interface TrackTrainingArtifactsBody {
23
23
  */
24
24
  model_name: string;
25
25
  /**
26
- * ID of the audio file.
26
+ * Sureel per-track Registry ID, supplied by Sureel alongside the audio file.
27
27
  * @type {string}
28
28
  * @memberof TrackTrainingArtifactsBody
29
29
  */
30
30
  audio_id: string;
31
31
  /**
32
- * File path to the captions file. The \'captions_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .JSON.
32
+ * File path to the captions file containing the per-track caption and optionally the lyrics. The \'captions_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .JSON.
33
33
  * @type {string}
34
34
  * @memberof TrackTrainingArtifactsBody
35
35
  */
36
36
  captions_file: string;
37
+ /**
38
+ * File path to the model manifest file. Declares the model_family, artifact_schema_version, adapter_applied flag and all model and processing configuration. The \'model_manifest_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .JSON.
39
+ * @type {string}
40
+ * @memberof TrackTrainingArtifactsBody
41
+ */
42
+ model_manifest_file: string;
37
43
  /**
38
44
  * List of training artifacts.
39
45
  * @type {Array<TrainingArtifactEntry>}
@@ -1 +1 @@
1
- {"version":3,"file":"track-training-artifacts-body.d.ts","sourceRoot":"","sources":["../../src/models/track-training-artifacts-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AAEtE;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,kBAAkB,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAA;CACnD"}
1
+ {"version":3,"file":"track-training-artifacts-body.d.ts","sourceRoot":"","sources":["../../src/models/track-training-artifacts-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AAEtE;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAA;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAA;CACnD"}
@@ -33,7 +33,7 @@ export interface TrainingArtifactEntry {
33
33
  * @type {string}
34
34
  * @memberof TrainingArtifactEntry
35
35
  */
36
- conditioning_file: string;
36
+ conditioning_file?: string;
37
37
  /**
38
38
  * List of artifacts per epoch.
39
39
  * @type {Array<ArtifactsPerEpochEntry>}
@@ -1 +1 @@
1
- {"version":3,"file":"training-artifact-entry.d.ts","sourceRoot":"","sources":["../../src/models/training-artifact-entry.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AAEzE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAA;IACpC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;;;OAIG;IACH,mBAAmB,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAA;CACrD"}
1
+ {"version":3,"file":"training-artifact-entry.d.ts","sourceRoot":"","sources":["../../src/models/training-artifact-entry.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AAEzE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAA;IACpC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B;;;;OAIG;IACH,mBAAmB,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAA;CACrD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sureel/sdk",
3
- "version": "v1.16.6",
3
+ "version": "v1.16.7",
4
4
  "description": "Official Typescript library for the Sureel API.",
5
5
  "repository": {
6
6
  "type": "git",