@amigo-ai/platform-sdk 0.98.0 → 0.99.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.
- package/dist/index.cjs +8 -4
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +2 -2
- package/dist/resources/intake.js +7 -3
- package/dist/resources/intake.js.map +1 -1
- package/dist/types/generated/api.d.ts +301 -15
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/external-integrations.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts +6 -5
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5047,12 +5047,15 @@ var IntakeResource = class extends WorkspaceScopedResource {
|
|
|
5047
5047
|
})
|
|
5048
5048
|
),
|
|
5049
5049
|
/** List uploads received against a link */
|
|
5050
|
-
listUploads: async (linkId) => extractData(
|
|
5050
|
+
listUploads: async (linkId, params) => extractData(
|
|
5051
5051
|
await this.client.GET("/v1/{workspace_id}/intake/links/{link_id}/uploads", {
|
|
5052
|
-
params: {
|
|
5052
|
+
params: {
|
|
5053
|
+
path: { workspace_id: this.workspaceId, link_id: linkId },
|
|
5054
|
+
query: params
|
|
5055
|
+
}
|
|
5053
5056
|
})
|
|
5054
5057
|
),
|
|
5055
|
-
/**
|
|
5058
|
+
/** Download the raw bytes for a single upload. */
|
|
5056
5059
|
downloadUpload: async (linkId, uploadId) => extractData(
|
|
5057
5060
|
await this.client.GET(
|
|
5058
5061
|
"/v1/{workspace_id}/intake/links/{link_id}/uploads/{upload_id}/download",
|
|
@@ -5063,7 +5066,8 @@ var IntakeResource = class extends WorkspaceScopedResource {
|
|
|
5063
5066
|
link_id: linkId,
|
|
5064
5067
|
upload_id: uploadId
|
|
5065
5068
|
}
|
|
5066
|
-
}
|
|
5069
|
+
},
|
|
5070
|
+
parseAs: "blob"
|
|
5067
5071
|
}
|
|
5068
5072
|
)
|
|
5069
5073
|
)
|