@azure/ai-projects 1.0.0-beta.2 → 1.0.0-beta.4
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/LICENSE +4 -4
- package/README.md +270 -186
- package/dist/browser/agents/assistants.d.ts.map +1 -1
- package/dist/browser/agents/assistants.js +4 -2
- package/dist/browser/agents/assistants.js.map +1 -1
- package/dist/browser/agents/customModels.d.ts +4 -29
- package/dist/browser/agents/customModels.d.ts.map +1 -1
- package/dist/browser/agents/customModels.js.map +1 -1
- package/dist/browser/agents/files.d.ts +5 -4
- package/dist/browser/agents/files.d.ts.map +1 -1
- package/dist/browser/agents/files.js +55 -27
- package/dist/browser/agents/files.js.map +1 -1
- package/dist/browser/agents/index.d.ts +10 -10
- package/dist/browser/agents/index.d.ts.map +1 -1
- package/dist/browser/agents/index.js.map +1 -1
- package/dist/browser/agents/inputOutputs.d.ts +3 -3
- package/dist/browser/agents/inputOutputs.d.ts.map +1 -1
- package/dist/browser/agents/inputOutputs.js.map +1 -1
- package/dist/browser/agents/inputValidations.d.ts.map +1 -1
- package/dist/browser/agents/inputValidations.js +3 -2
- package/dist/browser/agents/inputValidations.js.map +1 -1
- package/dist/browser/agents/messages.js +2 -2
- package/dist/browser/agents/messages.js.map +1 -1
- package/dist/browser/agents/poller.d.ts +8 -33
- package/dist/browser/agents/poller.d.ts.map +1 -1
- package/dist/browser/agents/poller.js +130 -53
- package/dist/browser/agents/poller.js.map +1 -1
- package/dist/browser/agents/streamingModels.d.ts +17 -15
- package/dist/browser/agents/streamingModels.d.ts.map +1 -1
- package/dist/browser/agents/streamingModels.js.map +1 -1
- package/dist/browser/agents/traceUtility.d.ts +3 -3
- package/dist/browser/agents/traceUtility.d.ts.map +1 -1
- package/dist/browser/agents/traceUtility.js.map +1 -1
- package/dist/browser/agents/utils.d.ts +72 -4
- package/dist/browser/agents/utils.d.ts.map +1 -1
- package/dist/browser/agents/utils.js +100 -3
- package/dist/browser/agents/utils.js.map +1 -1
- package/dist/browser/agents/vectorStores.d.ts +3 -4
- package/dist/browser/agents/vectorStores.d.ts.map +1 -1
- package/dist/browser/agents/vectorStores.js +44 -26
- package/dist/browser/agents/vectorStores.js.map +1 -1
- package/dist/browser/agents/vectorStoresFileBatches.d.ts +5 -4
- package/dist/browser/agents/vectorStoresFileBatches.d.ts.map +1 -1
- package/dist/browser/agents/vectorStoresFileBatches.js +46 -32
- package/dist/browser/agents/vectorStoresFileBatches.js.map +1 -1
- package/dist/browser/agents/vectorStoresFiles.d.ts +4 -4
- package/dist/browser/agents/vectorStoresFiles.d.ts.map +1 -1
- package/dist/browser/agents/vectorStoresFiles.js +57 -28
- package/dist/browser/agents/vectorStoresFiles.js.map +1 -1
- package/dist/browser/constants.d.ts +1 -1
- package/dist/browser/constants.js +1 -1
- package/dist/browser/constants.js.map +1 -1
- package/dist/browser/customization/convertModelsToWrite.d.ts.map +1 -1
- package/dist/browser/customization/convertModelsToWrite.js +43 -94
- package/dist/browser/customization/convertModelsToWrite.js.map +1 -1
- package/dist/browser/customization/convertOutputModelsFromWire.d.ts.map +1 -1
- package/dist/browser/customization/convertOutputModelsFromWire.js +53 -11
- package/dist/browser/customization/convertOutputModelsFromWire.js.map +1 -1
- package/dist/browser/customization/convertParametersToWire.d.ts +1 -1
- package/dist/browser/customization/convertParametersToWire.d.ts.map +1 -1
- package/dist/browser/customization/convertParametersToWire.js.map +1 -1
- package/dist/browser/customization/models.d.ts +146 -151
- package/dist/browser/customization/models.d.ts.map +1 -1
- package/dist/browser/customization/models.js.map +1 -1
- package/dist/browser/customization/outputModels.d.ts +188 -37
- package/dist/browser/customization/outputModels.d.ts.map +1 -1
- package/dist/browser/customization/outputModels.js.map +1 -1
- package/dist/browser/customization/streamingModels.d.ts +2 -1
- package/dist/browser/customization/streamingModels.d.ts.map +1 -1
- package/dist/browser/customization/streamingModels.js.map +1 -1
- package/dist/browser/customization/streamingWireModels.d.ts +2 -1
- package/dist/browser/customization/streamingWireModels.d.ts.map +1 -1
- package/dist/browser/customization/streamingWireModels.js.map +1 -1
- package/dist/browser/generated/src/clientDefinitions.d.ts +3 -3
- package/dist/browser/generated/src/clientDefinitions.d.ts.map +1 -1
- package/dist/browser/generated/src/clientDefinitions.js.map +1 -1
- package/dist/browser/generated/src/isUnexpected.d.ts +1 -1
- package/dist/browser/generated/src/isUnexpected.d.ts.map +1 -1
- package/dist/browser/generated/src/isUnexpected.js.map +1 -1
- package/dist/browser/generated/src/models.d.ts +191 -157
- package/dist/browser/generated/src/models.d.ts.map +1 -1
- package/dist/browser/generated/src/models.js.map +1 -1
- package/dist/browser/generated/src/outputModels.d.ts +277 -47
- package/dist/browser/generated/src/outputModels.d.ts.map +1 -1
- package/dist/browser/generated/src/outputModels.js.map +1 -1
- package/dist/browser/generated/src/paginateHelper.d.ts +28 -3
- package/dist/browser/generated/src/paginateHelper.d.ts.map +1 -1
- package/dist/browser/generated/src/paginateHelper.js +99 -2
- package/dist/browser/generated/src/paginateHelper.js.map +1 -1
- package/dist/browser/generated/src/parameters.d.ts +67 -10
- package/dist/browser/generated/src/parameters.d.ts.map +1 -1
- package/dist/browser/generated/src/parameters.js.map +1 -1
- package/dist/browser/generated/src/projectsClient.d.ts +5 -5
- package/dist/browser/generated/src/projectsClient.d.ts.map +1 -1
- package/dist/browser/generated/src/projectsClient.js +3 -3
- package/dist/browser/generated/src/projectsClient.js.map +1 -1
- package/dist/browser/generated/src/responses.d.ts +5 -4
- package/dist/browser/generated/src/responses.d.ts.map +1 -1
- package/dist/browser/generated/src/responses.js.map +1 -1
- package/dist/commonjs/agents/assistants.d.ts.map +1 -1
- package/dist/commonjs/agents/assistants.js +4 -2
- package/dist/commonjs/agents/assistants.js.map +1 -1
- package/dist/commonjs/agents/customModels.d.ts +4 -29
- package/dist/commonjs/agents/customModels.d.ts.map +1 -1
- package/dist/commonjs/agents/customModels.js.map +1 -1
- package/dist/commonjs/agents/files.d.ts +5 -4
- package/dist/commonjs/agents/files.d.ts.map +1 -1
- package/dist/commonjs/agents/files.js +55 -26
- package/dist/commonjs/agents/files.js.map +1 -1
- package/dist/commonjs/agents/index.d.ts +10 -10
- package/dist/commonjs/agents/index.d.ts.map +1 -1
- package/dist/commonjs/agents/index.js.map +1 -1
- package/dist/commonjs/agents/inputOutputs.d.ts +3 -3
- package/dist/commonjs/agents/inputOutputs.d.ts.map +1 -1
- package/dist/commonjs/agents/inputOutputs.js.map +1 -1
- package/dist/commonjs/agents/inputValidations.d.ts.map +1 -1
- package/dist/commonjs/agents/inputValidations.js +3 -2
- package/dist/commonjs/agents/inputValidations.js.map +1 -1
- package/dist/commonjs/agents/messages.js +2 -2
- package/dist/commonjs/agents/messages.js.map +1 -1
- package/dist/commonjs/agents/poller.d.ts +8 -33
- package/dist/commonjs/agents/poller.d.ts.map +1 -1
- package/dist/commonjs/agents/poller.js +131 -55
- package/dist/commonjs/agents/poller.js.map +1 -1
- package/dist/commonjs/agents/streamingModels.d.ts +17 -15
- package/dist/commonjs/agents/streamingModels.d.ts.map +1 -1
- package/dist/commonjs/agents/streamingModels.js.map +1 -1
- package/dist/commonjs/agents/traceUtility.d.ts +3 -3
- package/dist/commonjs/agents/traceUtility.d.ts.map +1 -1
- package/dist/commonjs/agents/traceUtility.js.map +1 -1
- package/dist/commonjs/agents/utils.d.ts +72 -4
- package/dist/commonjs/agents/utils.d.ts.map +1 -1
- package/dist/commonjs/agents/utils.js +100 -3
- package/dist/commonjs/agents/utils.js.map +1 -1
- package/dist/commonjs/agents/vectorStores.d.ts +3 -4
- package/dist/commonjs/agents/vectorStores.d.ts.map +1 -1
- package/dist/commonjs/agents/vectorStores.js +43 -25
- package/dist/commonjs/agents/vectorStores.js.map +1 -1
- package/dist/commonjs/agents/vectorStoresFileBatches.d.ts +5 -4
- package/dist/commonjs/agents/vectorStoresFileBatches.d.ts.map +1 -1
- package/dist/commonjs/agents/vectorStoresFileBatches.js +46 -31
- package/dist/commonjs/agents/vectorStoresFileBatches.js.map +1 -1
- package/dist/commonjs/agents/vectorStoresFiles.d.ts +4 -4
- package/dist/commonjs/agents/vectorStoresFiles.d.ts.map +1 -1
- package/dist/commonjs/agents/vectorStoresFiles.js +56 -27
- package/dist/commonjs/agents/vectorStoresFiles.js.map +1 -1
- package/dist/commonjs/constants.d.ts +1 -1
- package/dist/commonjs/constants.js +1 -1
- package/dist/commonjs/constants.js.map +1 -1
- package/dist/commonjs/customization/convertModelsToWrite.d.ts.map +1 -1
- package/dist/commonjs/customization/convertModelsToWrite.js +43 -94
- package/dist/commonjs/customization/convertModelsToWrite.js.map +1 -1
- package/dist/commonjs/customization/convertOutputModelsFromWire.d.ts.map +1 -1
- package/dist/commonjs/customization/convertOutputModelsFromWire.js +53 -11
- package/dist/commonjs/customization/convertOutputModelsFromWire.js.map +1 -1
- package/dist/commonjs/customization/convertParametersToWire.d.ts +1 -1
- package/dist/commonjs/customization/convertParametersToWire.d.ts.map +1 -1
- package/dist/commonjs/customization/convertParametersToWire.js.map +1 -1
- package/dist/commonjs/customization/models.d.ts +146 -151
- package/dist/commonjs/customization/models.d.ts.map +1 -1
- package/dist/commonjs/customization/models.js.map +1 -1
- package/dist/commonjs/customization/outputModels.d.ts +188 -37
- package/dist/commonjs/customization/outputModels.d.ts.map +1 -1
- package/dist/commonjs/customization/outputModels.js.map +1 -1
- package/dist/commonjs/customization/streamingModels.d.ts +2 -1
- package/dist/commonjs/customization/streamingModels.d.ts.map +1 -1
- package/dist/commonjs/customization/streamingModels.js.map +1 -1
- package/dist/commonjs/customization/streamingWireModels.d.ts +2 -1
- package/dist/commonjs/customization/streamingWireModels.d.ts.map +1 -1
- package/dist/commonjs/customization/streamingWireModels.js.map +1 -1
- package/dist/commonjs/generated/src/clientDefinitions.d.ts +3 -3
- package/dist/commonjs/generated/src/clientDefinitions.d.ts.map +1 -1
- package/dist/commonjs/generated/src/clientDefinitions.js.map +1 -1
- package/dist/commonjs/generated/src/isUnexpected.d.ts +1 -1
- package/dist/commonjs/generated/src/isUnexpected.d.ts.map +1 -1
- package/dist/commonjs/generated/src/isUnexpected.js.map +1 -1
- package/dist/commonjs/generated/src/models.d.ts +191 -157
- package/dist/commonjs/generated/src/models.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models.js.map +1 -1
- package/dist/commonjs/generated/src/outputModels.d.ts +277 -47
- package/dist/commonjs/generated/src/outputModels.d.ts.map +1 -1
- package/dist/commonjs/generated/src/outputModels.js.map +1 -1
- package/dist/commonjs/generated/src/paginateHelper.d.ts +28 -3
- package/dist/commonjs/generated/src/paginateHelper.d.ts.map +1 -1
- package/dist/commonjs/generated/src/paginateHelper.js +99 -2
- package/dist/commonjs/generated/src/paginateHelper.js.map +1 -1
- package/dist/commonjs/generated/src/parameters.d.ts +67 -10
- package/dist/commonjs/generated/src/parameters.d.ts.map +1 -1
- package/dist/commonjs/generated/src/parameters.js.map +1 -1
- package/dist/commonjs/generated/src/projectsClient.d.ts +5 -5
- package/dist/commonjs/generated/src/projectsClient.d.ts.map +1 -1
- package/dist/commonjs/generated/src/projectsClient.js +3 -3
- package/dist/commonjs/generated/src/projectsClient.js.map +1 -1
- package/dist/commonjs/generated/src/responses.d.ts +5 -4
- package/dist/commonjs/generated/src/responses.d.ts.map +1 -1
- package/dist/commonjs/generated/src/responses.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/agents/assistants.d.ts.map +1 -1
- package/dist/esm/agents/assistants.js +4 -2
- package/dist/esm/agents/assistants.js.map +1 -1
- package/dist/esm/agents/customModels.d.ts +4 -29
- package/dist/esm/agents/customModels.d.ts.map +1 -1
- package/dist/esm/agents/customModels.js.map +1 -1
- package/dist/esm/agents/files.d.ts +5 -4
- package/dist/esm/agents/files.d.ts.map +1 -1
- package/dist/esm/agents/files.js +55 -27
- package/dist/esm/agents/files.js.map +1 -1
- package/dist/esm/agents/index.d.ts +10 -10
- package/dist/esm/agents/index.d.ts.map +1 -1
- package/dist/esm/agents/index.js.map +1 -1
- package/dist/esm/agents/inputOutputs.d.ts +3 -3
- package/dist/esm/agents/inputOutputs.d.ts.map +1 -1
- package/dist/esm/agents/inputOutputs.js.map +1 -1
- package/dist/esm/agents/inputValidations.d.ts.map +1 -1
- package/dist/esm/agents/inputValidations.js +3 -2
- package/dist/esm/agents/inputValidations.js.map +1 -1
- package/dist/esm/agents/messages.js +2 -2
- package/dist/esm/agents/messages.js.map +1 -1
- package/dist/esm/agents/poller.d.ts +8 -33
- package/dist/esm/agents/poller.d.ts.map +1 -1
- package/dist/esm/agents/poller.js +130 -53
- package/dist/esm/agents/poller.js.map +1 -1
- package/dist/esm/agents/streamingModels.d.ts +17 -15
- package/dist/esm/agents/streamingModels.d.ts.map +1 -1
- package/dist/esm/agents/streamingModels.js.map +1 -1
- package/dist/esm/agents/traceUtility.d.ts +3 -3
- package/dist/esm/agents/traceUtility.d.ts.map +1 -1
- package/dist/esm/agents/traceUtility.js.map +1 -1
- package/dist/esm/agents/utils.d.ts +72 -4
- package/dist/esm/agents/utils.d.ts.map +1 -1
- package/dist/esm/agents/utils.js +100 -3
- package/dist/esm/agents/utils.js.map +1 -1
- package/dist/esm/agents/vectorStores.d.ts +3 -4
- package/dist/esm/agents/vectorStores.d.ts.map +1 -1
- package/dist/esm/agents/vectorStores.js +44 -26
- package/dist/esm/agents/vectorStores.js.map +1 -1
- package/dist/esm/agents/vectorStoresFileBatches.d.ts +5 -4
- package/dist/esm/agents/vectorStoresFileBatches.d.ts.map +1 -1
- package/dist/esm/agents/vectorStoresFileBatches.js +46 -32
- package/dist/esm/agents/vectorStoresFileBatches.js.map +1 -1
- package/dist/esm/agents/vectorStoresFiles.d.ts +4 -4
- package/dist/esm/agents/vectorStoresFiles.d.ts.map +1 -1
- package/dist/esm/agents/vectorStoresFiles.js +57 -28
- package/dist/esm/agents/vectorStoresFiles.js.map +1 -1
- package/dist/esm/constants.d.ts +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/esm/constants.js.map +1 -1
- package/dist/esm/customization/convertModelsToWrite.d.ts.map +1 -1
- package/dist/esm/customization/convertModelsToWrite.js +43 -94
- package/dist/esm/customization/convertModelsToWrite.js.map +1 -1
- package/dist/esm/customization/convertOutputModelsFromWire.d.ts.map +1 -1
- package/dist/esm/customization/convertOutputModelsFromWire.js +53 -11
- package/dist/esm/customization/convertOutputModelsFromWire.js.map +1 -1
- package/dist/esm/customization/convertParametersToWire.d.ts +1 -1
- package/dist/esm/customization/convertParametersToWire.d.ts.map +1 -1
- package/dist/esm/customization/convertParametersToWire.js.map +1 -1
- package/dist/esm/customization/models.d.ts +146 -151
- package/dist/esm/customization/models.d.ts.map +1 -1
- package/dist/esm/customization/models.js.map +1 -1
- package/dist/esm/customization/outputModels.d.ts +188 -37
- package/dist/esm/customization/outputModels.d.ts.map +1 -1
- package/dist/esm/customization/outputModels.js.map +1 -1
- package/dist/esm/customization/streamingModels.d.ts +2 -1
- package/dist/esm/customization/streamingModels.d.ts.map +1 -1
- package/dist/esm/customization/streamingModels.js.map +1 -1
- package/dist/esm/customization/streamingWireModels.d.ts +2 -1
- package/dist/esm/customization/streamingWireModels.d.ts.map +1 -1
- package/dist/esm/customization/streamingWireModels.js.map +1 -1
- package/dist/esm/generated/src/clientDefinitions.d.ts +3 -3
- package/dist/esm/generated/src/clientDefinitions.d.ts.map +1 -1
- package/dist/esm/generated/src/clientDefinitions.js.map +1 -1
- package/dist/esm/generated/src/isUnexpected.d.ts +1 -1
- package/dist/esm/generated/src/isUnexpected.d.ts.map +1 -1
- package/dist/esm/generated/src/isUnexpected.js.map +1 -1
- package/dist/esm/generated/src/models.d.ts +191 -157
- package/dist/esm/generated/src/models.d.ts.map +1 -1
- package/dist/esm/generated/src/models.js.map +1 -1
- package/dist/esm/generated/src/outputModels.d.ts +277 -47
- package/dist/esm/generated/src/outputModels.d.ts.map +1 -1
- package/dist/esm/generated/src/outputModels.js.map +1 -1
- package/dist/esm/generated/src/paginateHelper.d.ts +28 -3
- package/dist/esm/generated/src/paginateHelper.d.ts.map +1 -1
- package/dist/esm/generated/src/paginateHelper.js +99 -2
- package/dist/esm/generated/src/paginateHelper.js.map +1 -1
- package/dist/esm/generated/src/parameters.d.ts +67 -10
- package/dist/esm/generated/src/parameters.d.ts.map +1 -1
- package/dist/esm/generated/src/parameters.js.map +1 -1
- package/dist/esm/generated/src/projectsClient.d.ts +5 -5
- package/dist/esm/generated/src/projectsClient.d.ts.map +1 -1
- package/dist/esm/generated/src/projectsClient.js +3 -3
- package/dist/esm/generated/src/projectsClient.js.map +1 -1
- package/dist/esm/generated/src/responses.d.ts +5 -4
- package/dist/esm/generated/src/responses.d.ts.map +1 -1
- package/dist/esm/generated/src/responses.js.map +1 -1
- package/dist/react-native/agents/assistants.d.ts.map +1 -1
- package/dist/react-native/agents/assistants.js +4 -2
- package/dist/react-native/agents/assistants.js.map +1 -1
- package/dist/react-native/agents/customModels.d.ts +4 -29
- package/dist/react-native/agents/customModels.d.ts.map +1 -1
- package/dist/react-native/agents/customModels.js.map +1 -1
- package/dist/react-native/agents/files.d.ts +5 -4
- package/dist/react-native/agents/files.d.ts.map +1 -1
- package/dist/react-native/agents/files.js +55 -27
- package/dist/react-native/agents/files.js.map +1 -1
- package/dist/react-native/agents/index.d.ts +10 -10
- package/dist/react-native/agents/index.d.ts.map +1 -1
- package/dist/react-native/agents/index.js.map +1 -1
- package/dist/react-native/agents/inputOutputs.d.ts +3 -3
- package/dist/react-native/agents/inputOutputs.d.ts.map +1 -1
- package/dist/react-native/agents/inputOutputs.js.map +1 -1
- package/dist/react-native/agents/inputValidations.d.ts.map +1 -1
- package/dist/react-native/agents/inputValidations.js +3 -2
- package/dist/react-native/agents/inputValidations.js.map +1 -1
- package/dist/react-native/agents/messages.js +2 -2
- package/dist/react-native/agents/messages.js.map +1 -1
- package/dist/react-native/agents/poller.d.ts +8 -33
- package/dist/react-native/agents/poller.d.ts.map +1 -1
- package/dist/react-native/agents/poller.js +130 -53
- package/dist/react-native/agents/poller.js.map +1 -1
- package/dist/react-native/agents/streamingModels.d.ts +17 -15
- package/dist/react-native/agents/streamingModels.d.ts.map +1 -1
- package/dist/react-native/agents/streamingModels.js.map +1 -1
- package/dist/react-native/agents/traceUtility.d.ts +3 -3
- package/dist/react-native/agents/traceUtility.d.ts.map +1 -1
- package/dist/react-native/agents/traceUtility.js.map +1 -1
- package/dist/react-native/agents/utils.d.ts +72 -4
- package/dist/react-native/agents/utils.d.ts.map +1 -1
- package/dist/react-native/agents/utils.js +100 -3
- package/dist/react-native/agents/utils.js.map +1 -1
- package/dist/react-native/agents/vectorStores.d.ts +3 -4
- package/dist/react-native/agents/vectorStores.d.ts.map +1 -1
- package/dist/react-native/agents/vectorStores.js +44 -26
- package/dist/react-native/agents/vectorStores.js.map +1 -1
- package/dist/react-native/agents/vectorStoresFileBatches.d.ts +5 -4
- package/dist/react-native/agents/vectorStoresFileBatches.d.ts.map +1 -1
- package/dist/react-native/agents/vectorStoresFileBatches.js +46 -32
- package/dist/react-native/agents/vectorStoresFileBatches.js.map +1 -1
- package/dist/react-native/agents/vectorStoresFiles.d.ts +4 -4
- package/dist/react-native/agents/vectorStoresFiles.d.ts.map +1 -1
- package/dist/react-native/agents/vectorStoresFiles.js +57 -28
- package/dist/react-native/agents/vectorStoresFiles.js.map +1 -1
- package/dist/react-native/constants.d.ts +1 -1
- package/dist/react-native/constants.js +1 -1
- package/dist/react-native/constants.js.map +1 -1
- package/dist/react-native/customization/convertModelsToWrite.d.ts.map +1 -1
- package/dist/react-native/customization/convertModelsToWrite.js +43 -94
- package/dist/react-native/customization/convertModelsToWrite.js.map +1 -1
- package/dist/react-native/customization/convertOutputModelsFromWire.d.ts.map +1 -1
- package/dist/react-native/customization/convertOutputModelsFromWire.js +53 -11
- package/dist/react-native/customization/convertOutputModelsFromWire.js.map +1 -1
- package/dist/react-native/customization/convertParametersToWire.d.ts +1 -1
- package/dist/react-native/customization/convertParametersToWire.d.ts.map +1 -1
- package/dist/react-native/customization/convertParametersToWire.js.map +1 -1
- package/dist/react-native/customization/models.d.ts +146 -151
- package/dist/react-native/customization/models.d.ts.map +1 -1
- package/dist/react-native/customization/models.js.map +1 -1
- package/dist/react-native/customization/outputModels.d.ts +188 -37
- package/dist/react-native/customization/outputModels.d.ts.map +1 -1
- package/dist/react-native/customization/outputModels.js.map +1 -1
- package/dist/react-native/customization/streamingModels.d.ts +2 -1
- package/dist/react-native/customization/streamingModels.d.ts.map +1 -1
- package/dist/react-native/customization/streamingModels.js.map +1 -1
- package/dist/react-native/customization/streamingWireModels.d.ts +2 -1
- package/dist/react-native/customization/streamingWireModels.d.ts.map +1 -1
- package/dist/react-native/customization/streamingWireModels.js.map +1 -1
- package/dist/react-native/generated/src/clientDefinitions.d.ts +3 -3
- package/dist/react-native/generated/src/clientDefinitions.d.ts.map +1 -1
- package/dist/react-native/generated/src/clientDefinitions.js.map +1 -1
- package/dist/react-native/generated/src/isUnexpected.d.ts +1 -1
- package/dist/react-native/generated/src/isUnexpected.d.ts.map +1 -1
- package/dist/react-native/generated/src/isUnexpected.js.map +1 -1
- package/dist/react-native/generated/src/models.d.ts +191 -157
- package/dist/react-native/generated/src/models.d.ts.map +1 -1
- package/dist/react-native/generated/src/models.js.map +1 -1
- package/dist/react-native/generated/src/outputModels.d.ts +277 -47
- package/dist/react-native/generated/src/outputModels.d.ts.map +1 -1
- package/dist/react-native/generated/src/outputModels.js.map +1 -1
- package/dist/react-native/generated/src/paginateHelper.d.ts +28 -3
- package/dist/react-native/generated/src/paginateHelper.d.ts.map +1 -1
- package/dist/react-native/generated/src/paginateHelper.js +99 -2
- package/dist/react-native/generated/src/paginateHelper.js.map +1 -1
- package/dist/react-native/generated/src/parameters.d.ts +67 -10
- package/dist/react-native/generated/src/parameters.d.ts.map +1 -1
- package/dist/react-native/generated/src/parameters.js.map +1 -1
- package/dist/react-native/generated/src/projectsClient.d.ts +5 -5
- package/dist/react-native/generated/src/projectsClient.d.ts.map +1 -1
- package/dist/react-native/generated/src/projectsClient.js +3 -3
- package/dist/react-native/generated/src/projectsClient.js.map +1 -1
- package/dist/react-native/generated/src/responses.d.ts +5 -4
- package/dist/react-native/generated/src/responses.d.ts.map +1 -1
- package/dist/react-native/generated/src/responses.js.map +1 -1
- package/package.json +33 -34
|
@@ -3,8 +3,105 @@
|
|
|
3
3
|
// Licensed under the MIT License.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.paginate = paginate;
|
|
6
|
-
const
|
|
6
|
+
const tslib_1 = require("tslib");
|
|
7
7
|
const core_client_1 = require("@azure-rest/core-client");
|
|
8
|
+
/**
|
|
9
|
+
* returns an async iterator that iterates over results. It also has a `byPage`
|
|
10
|
+
* method that returns pages of items at once.
|
|
11
|
+
*
|
|
12
|
+
* @param pagedResult - an object that specifies how to get pages.
|
|
13
|
+
* @returns a paged async iterator that iterates over results.
|
|
14
|
+
*/
|
|
15
|
+
function getPagedAsyncIterator(pagedResult) {
|
|
16
|
+
var _a;
|
|
17
|
+
const iter = getItemAsyncIterator(pagedResult);
|
|
18
|
+
return {
|
|
19
|
+
next() {
|
|
20
|
+
return iter.next();
|
|
21
|
+
},
|
|
22
|
+
[Symbol.asyncIterator]() {
|
|
23
|
+
return this;
|
|
24
|
+
},
|
|
25
|
+
byPage: (_a = pagedResult === null || pagedResult === void 0 ? void 0 : pagedResult.byPage) !== null && _a !== void 0 ? _a : ((settings) => {
|
|
26
|
+
const { continuationToken } = settings !== null && settings !== void 0 ? settings : {};
|
|
27
|
+
return getPageAsyncIterator(pagedResult, {
|
|
28
|
+
pageLink: continuationToken,
|
|
29
|
+
});
|
|
30
|
+
}),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function getItemAsyncIterator(pagedResult) {
|
|
34
|
+
return tslib_1.__asyncGenerator(this, arguments, function* getItemAsyncIterator_1() {
|
|
35
|
+
var _a, e_1, _b, _c, _d, e_2, _e, _f;
|
|
36
|
+
const pages = getPageAsyncIterator(pagedResult);
|
|
37
|
+
const firstVal = yield tslib_1.__await(pages.next());
|
|
38
|
+
// if the result does not have an array shape, i.e. TPage = TElement, then we return it as is
|
|
39
|
+
if (!Array.isArray(firstVal.value)) {
|
|
40
|
+
// can extract elements from this page
|
|
41
|
+
const { toElements } = pagedResult;
|
|
42
|
+
if (toElements) {
|
|
43
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(toElements(firstVal.value))));
|
|
44
|
+
try {
|
|
45
|
+
for (var _g = true, pages_1 = tslib_1.__asyncValues(pages), pages_1_1; pages_1_1 = yield tslib_1.__await(pages_1.next()), _a = pages_1_1.done, !_a; _g = true) {
|
|
46
|
+
_c = pages_1_1.value;
|
|
47
|
+
_g = false;
|
|
48
|
+
const page = _c;
|
|
49
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(toElements(page))));
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
53
|
+
finally {
|
|
54
|
+
try {
|
|
55
|
+
if (!_g && !_a && (_b = pages_1.return)) yield tslib_1.__await(_b.call(pages_1));
|
|
56
|
+
}
|
|
57
|
+
finally { if (e_1) throw e_1.error; }
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
yield yield tslib_1.__await(firstVal.value);
|
|
62
|
+
// `pages` is of type `AsyncIterableIterator<TPage>` but TPage = TElement in this case
|
|
63
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(pages)));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(firstVal.value)));
|
|
68
|
+
try {
|
|
69
|
+
for (var _h = true, pages_2 = tslib_1.__asyncValues(pages), pages_2_1; pages_2_1 = yield tslib_1.__await(pages_2.next()), _d = pages_2_1.done, !_d; _h = true) {
|
|
70
|
+
_f = pages_2_1.value;
|
|
71
|
+
_h = false;
|
|
72
|
+
const page = _f;
|
|
73
|
+
// pages is of type `AsyncIterableIterator<TPage>` so `page` is of type `TPage`. In this branch,
|
|
74
|
+
// it must be the case that `TPage = TElement[]`
|
|
75
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
79
|
+
finally {
|
|
80
|
+
try {
|
|
81
|
+
if (!_h && !_d && (_e = pages_2.return)) yield tslib_1.__await(_e.call(pages_2));
|
|
82
|
+
}
|
|
83
|
+
finally { if (e_2) throw e_2.error; }
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
function getPageAsyncIterator(pagedResult_1) {
|
|
89
|
+
return tslib_1.__asyncGenerator(this, arguments, function* getPageAsyncIterator_1(pagedResult, options = {}) {
|
|
90
|
+
const { pageLink } = options;
|
|
91
|
+
let response = yield tslib_1.__await(pagedResult.getPage(pageLink !== null && pageLink !== void 0 ? pageLink : pagedResult.firstPageLink));
|
|
92
|
+
if (!response) {
|
|
93
|
+
return yield tslib_1.__await(void 0);
|
|
94
|
+
}
|
|
95
|
+
yield yield tslib_1.__await(response.page);
|
|
96
|
+
while (response.nextPageLink) {
|
|
97
|
+
response = yield tslib_1.__await(pagedResult.getPage(response.nextPageLink));
|
|
98
|
+
if (!response) {
|
|
99
|
+
return yield tslib_1.__await(void 0);
|
|
100
|
+
}
|
|
101
|
+
yield yield tslib_1.__await(response.page);
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
}
|
|
8
105
|
/**
|
|
9
106
|
* Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
|
|
10
107
|
* @param client - Client to use for sending the next page requests
|
|
@@ -35,7 +132,7 @@ function paginate(client, initialResponse, options = {}) {
|
|
|
35
132
|
};
|
|
36
133
|
},
|
|
37
134
|
};
|
|
38
|
-
return
|
|
135
|
+
return getPagedAsyncIterator(pagedResult);
|
|
39
136
|
}
|
|
40
137
|
/**
|
|
41
138
|
* Gets for the value of nextLink in the body
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paginateHelper.js","sourceRoot":"","sources":["../../../../src/generated/src/paginateHelper.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AA2DlC,4BAgCC;AAzFD,oDAI4B;AAC5B,yDAIiC;AAyCjC;;;;;;GAMG;AACH,SAAgB,QAAQ,CACtB,MAAc,EACd,eAA0B,EAC1B,UAAoC,EAAE;IAItC,IAAI,QAAQ,GAAG,IAAI,CAAC;IACpB,MAAM,QAAQ,GAAG,OAAO,CAAC;IACzB,MAAM,YAAY,GAAG,UAAU,CAAC;IAChC,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC;IAClC,MAAM,WAAW,GAA4B;QAC3C,aAAa,EAAE,EAAE;QACjB,OAAO,EACL,OAAO,aAAa,KAAK,UAAU;YACjC,CAAC,CAAC,aAAa;YACf,CAAC,CAAC,KAAK,EAAE,QAAgB,EAAE,EAAE;gBACzB,MAAM,MAAM,GAAG,QAAQ;oBACrB,CAAC,CAAC,eAAe;oBACjB,CAAC,CAAC,MAAM,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,GAAG,EAAE,CAAC;gBAC/C,QAAQ,GAAG,KAAK,CAAC;gBACjB,kBAAkB,CAAC,MAAM,CAAC,CAAC;gBAC3B,MAAM,QAAQ,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;gBACxD,MAAM,MAAM,GAAG,WAAW,CAAW,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;gBAC5D,OAAO;oBACL,IAAI,EAAE,MAAM;oBACZ,YAAY,EAAE,QAAQ;iBACvB,CAAC;YACJ,CAAC;KACR,CAAC;IAEF,OAAO,IAAA,mCAAqB,EAAC,WAAW,CAAC,CAAC;AAC5C,CAAC;AAED;;GAEG;AACH,SAAS,WAAW,CAAC,IAAa,EAAE,YAAqB;IACvD,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,QAAQ,GAAI,IAAgC,CAAC,YAAY,CAAC,CAAC;IAEjE,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,CAAC;QACpE,MAAM,IAAI,KAAK,CACb,iBAAiB,YAAY,kCAAkC,CAChE,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;GAEG;AACH,SAAS,WAAW,CAAc,IAAa,EAAE,QAAgB;IAC/D,MAAM,KAAK,GAAI,IAAgC,CAAC,QAAQ,CAAQ,CAAC;IAEjE,qEAAqE;IACrE,qEAAqE;IACrE,iDAAiD;IACjD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CACb,kFAAkF,QAAQ,EAAE,CAC7F,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC;AACrB,CAAC;AAED;;GAEG;AACH,SAAS,kBAAkB,CAAC,QAA+B;IACzD,MAAM,kBAAkB,GAAG;QACzB,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;KACN,CAAC;IACF,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAClD,MAAM,IAAA,6BAAe,EACnB,gDAAgD,QAAQ,CAAC,MAAM,EAAE,EACjE,QAAQ,CACT,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n getPagedAsyncIterator,\n PagedAsyncIterableIterator,\n PagedResult,\n} from \"@azure/core-paging\";\nimport {\n Client,\n createRestError,\n PathUncheckedResponse,\n} from \"@azure-rest/core-client\";\n\n/**\n * Helper type to extract the type of an array\n */\nexport type GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n/**\n * The type of a custom function that defines how to get a page and a link to the next one if any.\n */\nexport type GetPage<TPage> = (\n pageLink: string,\n maxPageSize?: number,\n) => Promise<{\n page: TPage;\n nextPageLink?: string;\n}>;\n\n/**\n * Options for the paging helper\n */\nexport interface PagingOptions<TResponse> {\n /**\n * Custom function to extract pagination details for crating the PagedAsyncIterableIterator\n */\n customGetPage?: GetPage<PaginateReturn<TResponse>[]>;\n}\n\n/**\n * Helper type to infer the Type of the paged elements from the response type\n * This type is generated based on the swagger information for x-ms-pageable\n * specifically on the itemName property which indicates the property of the response\n * where the page items are found. The default value is `value`.\n * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter\n */\nexport type PaginateReturn<TResult> = TResult extends {\n body: { value?: infer TPage };\n}\n ? GetArrayType<TPage>\n : Array<unknown>;\n\n/**\n * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension\n * @param client - Client to use for sending the next page requests\n * @param initialResponse - Initial response containing the nextLink and current page of elements\n * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results\n * @returns - PagedAsyncIterableIterator to iterate the elements\n */\nexport function paginate<TResponse extends PathUncheckedResponse>(\n client: Client,\n initialResponse: TResponse,\n options: PagingOptions<TResponse> = {},\n): PagedAsyncIterableIterator<PaginateReturn<TResponse>> {\n // Extract element type from initial response\n type TElement = PaginateReturn<TResponse>;\n let firstRun = true;\n const itemName = \"value\";\n const nextLinkName = \"nextLink\";\n const { customGetPage } = options;\n const pagedResult: PagedResult<TElement[]> = {\n firstPageLink: \"\",\n getPage:\n typeof customGetPage === \"function\"\n ? customGetPage\n : async (pageLink: string) => {\n const result = firstRun\n ? initialResponse\n : await client.pathUnchecked(pageLink).get();\n firstRun = false;\n checkPagingRequest(result);\n const nextLink = getNextLink(result.body, nextLinkName);\n const values = getElements<TElement>(result.body, itemName);\n return {\n page: values,\n nextPageLink: nextLink,\n };\n },\n };\n\n return getPagedAsyncIterator(pagedResult);\n}\n\n/**\n * Gets for the value of nextLink in the body\n */\nfunction getNextLink(body: unknown, nextLinkName?: string): string | undefined {\n if (!nextLinkName) {\n return undefined;\n }\n\n const nextLink = (body as Record<string, unknown>)[nextLinkName];\n\n if (typeof nextLink !== \"string\" && typeof nextLink !== \"undefined\") {\n throw new Error(\n `Body Property ${nextLinkName} should be a string or undefined`,\n );\n }\n\n return nextLink;\n}\n\n/**\n * Gets the elements of the current request in the body.\n */\nfunction getElements<T = unknown>(body: unknown, itemName: string): T[] {\n const value = (body as Record<string, unknown>)[itemName] as T[];\n\n // value has to be an array according to the x-ms-pageable extension.\n // The fact that this must be an array is used above to calculate the\n // type of elements in the page in PaginateReturn\n if (!Array.isArray(value)) {\n throw new Error(\n `Couldn't paginate response\\n Body doesn't contain an array property with name: ${itemName}`,\n );\n }\n\n return value ?? [];\n}\n\n/**\n * Checks if a request failed\n */\nfunction checkPagingRequest(response: PathUncheckedResponse): void {\n const Http2xxStatusCodes = [\n \"200\",\n \"201\",\n \"202\",\n \"203\",\n \"204\",\n \"205\",\n \"206\",\n \"207\",\n \"208\",\n \"226\",\n ];\n if (!Http2xxStatusCodes.includes(response.status)) {\n throw createRestError(\n `Pagination failed with unexpected statusCode ${response.status}`,\n response,\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"paginateHelper.js","sourceRoot":"","sources":["../../../../src/generated/src/paginateHelper.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAuMlC,4BAgCC;;AApOD,yDAA0D;AAE1D;;;;;;GAMG;AACH,SAAS,qBAAqB,CAM5B,WAAqD;;IAErD,MAAM,IAAI,GAAG,oBAAoB,CAC/B,WAAW,CACZ,CAAC;IACF,OAAO;QACL,IAAI;YACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;QACrB,CAAC;QACD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,CAAC;IAEjE,qEAAqE;IACrE,qEAAqE;IACrE,iDAAiD;IACjD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CACb,kFAAkF,QAAQ,EAAE,CAC7F,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC;AACrB,CAAC;AAED;;GAEG;AACH,SAAS,kBAAkB,CAAC,QAA+B;IACzD,MAAM,kBAAkB,GAAG;QACzB,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;KACN,CAAC;IACF,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAClD,MAAM,IAAA,6BAAe,EACnB,gDAAgD,QAAQ,CAAC,MAAM,EAAE,EACjE,QAAQ,CACT,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { Client, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError } from \"@azure-rest/core-client\";\n\n/**\n * returns an async iterator that iterates over results. It also has a `byPage`\n * method that returns pages of items at once.\n *\n * @param pagedResult - an object that specifies how to get pages.\n * @returns a paged async iterator that iterates over results.\n */\nfunction getPagedAsyncIterator<\n TElement,\n TPage = TElement[],\n TPageSettings = PageSettings,\n TLink = string,\n>(\n pagedResult: PagedResult<TPage, TPageSettings, TLink>,\n): PagedAsyncIterableIterator<TElement, TPage, TPageSettings> {\n const iter = getItemAsyncIterator<TElement, TPage, TLink, TPageSettings>(\n pagedResult,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage:\n pagedResult?.byPage ??\n (((settings?: PageSettings) => {\n const { continuationToken } = settings ?? {};\n return getPageAsyncIterator(pagedResult, {\n pageLink: continuationToken as unknown as TLink | undefined,\n });\n }) as unknown as (\n settings?: TPageSettings,\n ) => AsyncIterableIterator<TPage>),\n };\n}\n\nasync function* getItemAsyncIterator<TElement, TPage, TLink, TPageSettings>(\n pagedResult: PagedResult<TPage, TPageSettings, TLink>,\n): AsyncIterableIterator<TElement> {\n const pages = getPageAsyncIterator(pagedResult);\n const firstVal = await pages.next();\n // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is\n if (!Array.isArray(firstVal.value)) {\n // can extract elements from this page\n const { toElements } = pagedResult;\n if (toElements) {\n yield* toElements(firstVal.value) as TElement[];\n for await (const page of pages) {\n yield* toElements(page) as TElement[];\n }\n } else {\n yield firstVal.value;\n // `pages` is of type `AsyncIterableIterator<TPage>` but TPage = TElement in this case\n yield* pages as unknown as AsyncIterableIterator<TElement>;\n }\n } else {\n yield* firstVal.value;\n for await (const page of pages) {\n // pages is of type `AsyncIterableIterator<TPage>` so `page` is of type `TPage`. In this branch,\n // it must be the case that `TPage = TElement[]`\n yield* page as unknown as TElement[];\n }\n }\n}\n\nasync function* getPageAsyncIterator<TPage, TLink, TPageSettings>(\n pagedResult: PagedResult<TPage, TPageSettings, TLink>,\n options: {\n pageLink?: TLink;\n } = {},\n): AsyncIterableIterator<TPage> {\n const { pageLink } = options;\n let response = await pagedResult.getPage(\n pageLink ?? pagedResult.firstPageLink,\n );\n if (!response) {\n return;\n }\n yield response.page;\n while (response.nextPageLink) {\n response = await pagedResult.getPage(response.nextPageLink);\n if (!response) {\n return;\n }\n yield response.page;\n }\n}\n\n/**\n * An interface that tracks the settings for paged iteration\n */\nexport interface PageSettings {\n /**\n * The token that keeps track of where to continue the iterator\n */\n continuationToken?: string;\n}\n\n/**\n * An interface that allows async iterable iteration both to completion and by page.\n */\nexport interface PagedAsyncIterableIterator<\n TElement,\n TPage = TElement[],\n TPageSettings = PageSettings,\n> {\n /**\n * The next method, part of the iteration protocol\n */\n next(): Promise<IteratorResult<TElement>>;\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator](): PagedAsyncIterableIterator<\n TElement,\n TPage,\n TPageSettings\n >;\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;\n}\n\n/**\n * An interface that describes how to communicate with the service.\n */\ninterface PagedResult<TPage, TPageSettings = PageSettings, TLink = string> {\n /**\n * Link to the first page of results.\n */\n firstPageLink: TLink;\n /**\n * A method that returns a page of results.\n */\n getPage: (\n pageLink: TLink,\n ) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>;\n /**\n * a function to implement the `byPage` method on the paged async iterator.\n */\n byPage?: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;\n\n /**\n * A function to extract elements from a page.\n */\n toElements?: (page: TPage) => unknown[];\n}\n\n/**\n * Helper type to extract the type of an array\n */\nexport type GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n/**\n * The type of a custom function that defines how to get a page and a link to the next one if any.\n */\nexport type GetPage<TPage> = (pageLink: string) => Promise<{\n page: TPage;\n nextPageLink?: string;\n}>;\n\n/**\n * Options for the paging helper\n */\nexport interface PagingOptions<TResponse> {\n /**\n * Custom function to extract pagination details for crating the PagedAsyncIterableIterator\n */\n customGetPage?: GetPage<PaginateReturn<TResponse>[]>;\n}\n\n/**\n * Helper type to infer the Type of the paged elements from the response type\n * This type is generated based on the swagger information for x-ms-pageable\n * specifically on the itemName property which indicates the property of the response\n * where the page items are found. The default value is `value`.\n * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter\n */\nexport type PaginateReturn<TResult> = TResult extends {\n body: { value?: infer TPage };\n}\n ? GetArrayType<TPage>\n : Array<unknown>;\n\n/**\n * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension\n * @param client - Client to use for sending the next page requests\n * @param initialResponse - Initial response containing the nextLink and current page of elements\n * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results\n * @returns - PagedAsyncIterableIterator to iterate the elements\n */\nexport function paginate<TResponse extends PathUncheckedResponse>(\n client: Client,\n initialResponse: TResponse,\n options: PagingOptions<TResponse> = {},\n): PagedAsyncIterableIterator<PaginateReturn<TResponse>> {\n // Extract element type from initial response\n type TElement = PaginateReturn<TResponse>;\n let firstRun = true;\n const itemName = \"value\";\n const nextLinkName = \"nextLink\";\n const { customGetPage } = options;\n const pagedResult: PagedResult<TElement[]> = {\n firstPageLink: \"\",\n getPage:\n typeof customGetPage === \"function\"\n ? customGetPage\n : async (pageLink: string) => {\n const result = firstRun\n ? initialResponse\n : await client.pathUnchecked(pageLink).get();\n firstRun = false;\n checkPagingRequest(result);\n const nextLink = getNextLink(result.body, nextLinkName);\n const values = getElements<TElement>(result.body, itemName);\n return {\n page: values,\n nextPageLink: nextLink,\n };\n },\n };\n\n return getPagedAsyncIterator(pagedResult);\n}\n\n/**\n * Gets for the value of nextLink in the body\n */\nfunction getNextLink(body: unknown, nextLinkName?: string): string | undefined {\n if (!nextLinkName) {\n return undefined;\n }\n\n const nextLink = (body as Record<string, unknown>)[nextLinkName];\n\n if (typeof nextLink !== \"string\" && typeof nextLink !== \"undefined\") {\n throw new Error(\n `Body Property ${nextLinkName} should be a string or undefined`,\n );\n }\n\n return nextLink;\n}\n\n/**\n * Gets the elements of the current request in the body.\n */\nfunction getElements<T = unknown>(body: unknown, itemName: string): T[] {\n const value = (body as Record<string, unknown>)[itemName] as T[];\n\n // value has to be an array according to the x-ms-pageable extension.\n // The fact that this must be an array is used above to calculate the\n // type of elements in the page in PaginateReturn\n if (!Array.isArray(value)) {\n throw new Error(\n `Couldn't paginate response\\n Body doesn't contain an array property with name: ${itemName}`,\n );\n }\n\n return value ?? [];\n}\n\n/**\n * Checks if a request failed\n */\nfunction checkPagingRequest(response: PathUncheckedResponse): void {\n const Http2xxStatusCodes = [\n \"200\",\n \"201\",\n \"202\",\n \"203\",\n \"204\",\n \"205\",\n \"206\",\n \"207\",\n \"208\",\n \"226\",\n ];\n if (!Http2xxStatusCodes.includes(response.status)) {\n throw createRestError(\n `Pagination failed with unexpected statusCode ${response.status}`,\n response,\n );\n }\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RawHttpHeadersInput } from "@azure/core-rest-pipeline";
|
|
2
|
-
import { RequestParameters } from "@azure-rest/core-client";
|
|
3
|
-
import { CreateAgentOptions, ListSortOrder, UpdateAgentOptions, AgentThreadCreationOptions, UpdateAgentThreadOptions, ThreadMessageOptions, CreateRunOptions, ToolOutput, CreateAndRunThreadOptions, FilePurpose, VectorStoreOptions, VectorStoreUpdateOptions, VectorStoreFileStatusFilter, VectorStoreDataSource, VectorStoreChunkingStrategyRequest, ConnectionType, Evaluation, EvaluationSchedule } from "./models.js";
|
|
1
|
+
import type { RawHttpHeadersInput } from "@azure/core-rest-pipeline";
|
|
2
|
+
import type { RequestParameters } from "@azure-rest/core-client";
|
|
3
|
+
import type { CreateAgentOptions, ListSortOrder, UpdateAgentOptions, AgentThreadCreationOptions, UpdateAgentThreadOptions, ThreadMessageOptions, RunAdditionalFieldList, CreateRunOptions, ToolOutput, CreateAndRunThreadOptions, FilePurpose, HttpPartFile, HttpPartFilePurpose, HttpPartString, VectorStoreOptions, VectorStoreUpdateOptions, VectorStoreFileStatusFilter, VectorStoreDataSource, VectorStoreChunkingStrategyRequest, ConnectionType, Evaluation, EvaluationSchedule } from "./models.js";
|
|
4
4
|
export interface CreateAgentBodyParam {
|
|
5
5
|
body: CreateAgentOptions;
|
|
6
6
|
}
|
|
@@ -73,7 +73,26 @@ export type UpdateMessageParameters = UpdateMessageBodyParam & RequestParameters
|
|
|
73
73
|
export interface CreateRunBodyParam {
|
|
74
74
|
body: CreateRunOptions;
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
/** This is the wrapper object for the parameter `include[]` with explode set to false and style set to form. */
|
|
77
|
+
export interface CreateRunIncludeQueryParam {
|
|
78
|
+
/** Value of the parameter */
|
|
79
|
+
value: RunAdditionalFieldList[];
|
|
80
|
+
/** Should we explode the value? */
|
|
81
|
+
explode: false;
|
|
82
|
+
/** Style of the value */
|
|
83
|
+
style: "form";
|
|
84
|
+
}
|
|
85
|
+
export interface CreateRunQueryParamProperties {
|
|
86
|
+
/**
|
|
87
|
+
* A list of additional fields to include in the response.
|
|
88
|
+
* Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.
|
|
89
|
+
*/
|
|
90
|
+
"include[]"?: RunAdditionalFieldList[] | CreateRunIncludeQueryParam;
|
|
91
|
+
}
|
|
92
|
+
export interface CreateRunQueryParam {
|
|
93
|
+
queryParameters?: CreateRunQueryParamProperties;
|
|
94
|
+
}
|
|
95
|
+
export type CreateRunParameters = CreateRunQueryParam & CreateRunBodyParam & RequestParameters;
|
|
77
96
|
export interface ListRunsQueryParamProperties {
|
|
78
97
|
/** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */
|
|
79
98
|
limit?: number;
|
|
@@ -111,8 +130,41 @@ export interface CreateThreadAndRunBodyParam {
|
|
|
111
130
|
body: CreateAndRunThreadOptions;
|
|
112
131
|
}
|
|
113
132
|
export type CreateThreadAndRunParameters = CreateThreadAndRunBodyParam & RequestParameters;
|
|
114
|
-
|
|
133
|
+
/** This is the wrapper object for the parameter `include[]` with explode set to false and style set to form. */
|
|
134
|
+
export interface GetRunStepIncludeQueryParam {
|
|
135
|
+
/** Value of the parameter */
|
|
136
|
+
value: RunAdditionalFieldList[];
|
|
137
|
+
/** Should we explode the value? */
|
|
138
|
+
explode: false;
|
|
139
|
+
/** Style of the value */
|
|
140
|
+
style: "form";
|
|
141
|
+
}
|
|
142
|
+
export interface GetRunStepQueryParamProperties {
|
|
143
|
+
/**
|
|
144
|
+
* A list of additional fields to include in the response.
|
|
145
|
+
* Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.
|
|
146
|
+
*/
|
|
147
|
+
"include[]"?: RunAdditionalFieldList[] | GetRunStepIncludeQueryParam;
|
|
148
|
+
}
|
|
149
|
+
export interface GetRunStepQueryParam {
|
|
150
|
+
queryParameters?: GetRunStepQueryParamProperties;
|
|
151
|
+
}
|
|
152
|
+
export type GetRunStepParameters = GetRunStepQueryParam & RequestParameters;
|
|
153
|
+
/** This is the wrapper object for the parameter `include[]` with explode set to false and style set to form. */
|
|
154
|
+
export interface ListRunStepsIncludeQueryParam {
|
|
155
|
+
/** Value of the parameter */
|
|
156
|
+
value: RunAdditionalFieldList[];
|
|
157
|
+
/** Should we explode the value? */
|
|
158
|
+
explode: false;
|
|
159
|
+
/** Style of the value */
|
|
160
|
+
style: "form";
|
|
161
|
+
}
|
|
115
162
|
export interface ListRunStepsQueryParamProperties {
|
|
163
|
+
/**
|
|
164
|
+
* A list of additional fields to include in the response.
|
|
165
|
+
* Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.
|
|
166
|
+
*/
|
|
167
|
+
"include[]"?: RunAdditionalFieldList[] | ListRunStepsIncludeQueryParam;
|
|
116
168
|
/** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */
|
|
117
169
|
limit?: number;
|
|
118
170
|
/**
|
|
@@ -143,19 +195,20 @@ export interface ListFilesQueryParam {
|
|
|
143
195
|
}
|
|
144
196
|
export type ListFilesParameters = ListFilesQueryParam & RequestParameters;
|
|
145
197
|
export interface UploadFileBodyParam {
|
|
198
|
+
/** Multipart body */
|
|
146
199
|
body: FormData | Array<{
|
|
147
200
|
name: "file";
|
|
148
|
-
body:
|
|
201
|
+
body: HttpPartFile;
|
|
149
202
|
filename?: string;
|
|
150
203
|
contentType?: string;
|
|
151
204
|
} | {
|
|
152
205
|
name: "purpose";
|
|
153
|
-
body:
|
|
206
|
+
body: HttpPartFilePurpose;
|
|
154
207
|
filename?: string;
|
|
155
208
|
contentType?: string;
|
|
156
209
|
} | {
|
|
157
210
|
name: "filename";
|
|
158
|
-
body:
|
|
211
|
+
body: HttpPartString;
|
|
159
212
|
}>;
|
|
160
213
|
}
|
|
161
214
|
export interface UploadFileMediaTypesParam {
|
|
@@ -221,7 +274,7 @@ export type ListVectorStoreFilesParameters = ListVectorStoreFilesQueryParam & Re
|
|
|
221
274
|
export interface CreateVectorStoreFileBodyParam {
|
|
222
275
|
body: {
|
|
223
276
|
file_id?: string;
|
|
224
|
-
|
|
277
|
+
data_source?: VectorStoreDataSource;
|
|
225
278
|
chunking_strategy?: VectorStoreChunkingStrategyRequest;
|
|
226
279
|
};
|
|
227
280
|
}
|
|
@@ -264,7 +317,11 @@ export interface ListVectorStoreFileBatchFilesQueryParam {
|
|
|
264
317
|
export type ListVectorStoreFileBatchFilesParameters = ListVectorStoreFileBatchFilesQueryParam & RequestParameters;
|
|
265
318
|
export type GetWorkspaceParameters = RequestParameters;
|
|
266
319
|
export interface ListConnectionsQueryParamProperties {
|
|
267
|
-
/**
|
|
320
|
+
/**
|
|
321
|
+
* Category of the workspace connection.
|
|
322
|
+
*
|
|
323
|
+
* Possible values: "AzureOpenAI", "Serverless", "AzureBlob", "AIServices", "CognitiveSearch", "ApiKey", "CustomKeys", "CognitiveService"
|
|
324
|
+
*/
|
|
268
325
|
category?: ConnectionType;
|
|
269
326
|
/** Indicates whether to list datastores. Service default: do not list datastores. */
|
|
270
327
|
includeAll?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/parameters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/parameters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,0BAA0B,EAC1B,wBAAwB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BAAkB;IACjC,sFAAsF;IACtF,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,mBAAmB,GAAG,kBAAkB,CAAC;CACpD;AAED,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,GAAG,iBAAiB,CAAC;AAE/E,MAAM,WAAW,8BAA8B;IAC7C,sFAAsF;IACtF,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,gCAAgC;IAC/C,6BAA6B;IAC7B,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED,MAAM,WAAW,kCAAkC;IACjD,OAAO,CAAC,EAAE,mBAAmB,GAAG,8BAA8B,CAAC;CAChE;AAED,MAAM,MAAM,iCAAiC,GAC3C,kCAAkC,GAChC,gCAAgC,GAChC,iBAAiB,CAAC;AAEtB,MAAM,WAAW,mBAAmB;IAClC,sFAAsF;IACtF,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,gCAAgC;IAC/C,4CAA4C;IAC5C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,sBAAsB;IACrC,eAAe,CAAC,EAAE,gCAAgC,CAAC;CACpD;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,mBAAmB,GAAG,mBAAmB,CAAC;CACrD;AAED,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,GACzD,uBAAuB,GACvB,iBAAiB,CAAC;AACpB,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/src/parameters.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RawHttpHeadersInput } from \"@azure/core-rest-pipeline\";\nimport { RequestParameters } from \"@azure-rest/core-client\";\nimport {\n CreateAgentOptions,\n ListSortOrder,\n UpdateAgentOptions,\n AgentThreadCreationOptions,\n UpdateAgentThreadOptions,\n ThreadMessageOptions,\n CreateRunOptions,\n ToolOutput,\n CreateAndRunThreadOptions,\n FilePurpose,\n VectorStoreOptions,\n VectorStoreUpdateOptions,\n VectorStoreFileStatusFilter,\n VectorStoreDataSource,\n VectorStoreChunkingStrategyRequest,\n ConnectionType,\n Evaluation,\n EvaluationSchedule,\n} from \"./models.js\";\n\nexport interface CreateAgentBodyParam {\n body: CreateAgentOptions;\n}\n\nexport type CreateAgentParameters = CreateAgentBodyParam & RequestParameters;\n\nexport interface ListAgentsQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListAgentsQueryParam {\n queryParameters?: ListAgentsQueryParamProperties;\n}\n\nexport type ListAgentsParameters = ListAgentsQueryParam & RequestParameters;\nexport type GetAgentParameters = RequestParameters;\n\nexport interface UpdateAgentBodyParam {\n body: UpdateAgentOptions;\n}\n\nexport type UpdateAgentParameters = UpdateAgentBodyParam & RequestParameters;\nexport type DeleteAgentParameters = RequestParameters;\n\nexport interface CreateThreadBodyParam {\n body: AgentThreadCreationOptions;\n}\n\nexport type CreateThreadParameters = CreateThreadBodyParam & RequestParameters;\nexport type GetThreadParameters = RequestParameters;\n\nexport interface UpdateThreadBodyParam {\n body: UpdateAgentThreadOptions;\n}\n\nexport type UpdateThreadParameters = UpdateThreadBodyParam & RequestParameters;\nexport type DeleteThreadParameters = RequestParameters;\n\nexport interface CreateMessageBodyParam {\n body: ThreadMessageOptions;\n}\n\nexport type CreateMessageParameters = CreateMessageBodyParam &\n RequestParameters;\n\nexport interface ListMessagesQueryParamProperties {\n /** Filter messages by the run ID that generated them. */\n runId?: string;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListMessagesQueryParam {\n queryParameters?: ListMessagesQueryParamProperties;\n}\n\nexport type ListMessagesParameters = ListMessagesQueryParam & RequestParameters;\nexport type GetMessageParameters = RequestParameters;\n\nexport interface UpdateMessageBodyParam {\n body: { metadata?: Record<string, string> | null };\n}\n\nexport type UpdateMessageParameters = UpdateMessageBodyParam &\n RequestParameters;\n\nexport interface CreateRunBodyParam {\n body: CreateRunOptions;\n}\n\nexport type CreateRunParameters = CreateRunBodyParam & RequestParameters;\n\nexport interface ListRunsQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListRunsQueryParam {\n queryParameters?: ListRunsQueryParamProperties;\n}\n\nexport type ListRunsParameters = ListRunsQueryParam & RequestParameters;\nexport type GetRunParameters = RequestParameters;\n\nexport interface UpdateRunBodyParam {\n body: { metadata?: Record<string, string> | null };\n}\n\nexport type UpdateRunParameters = UpdateRunBodyParam & RequestParameters;\n\nexport interface SubmitToolOutputsToRunBodyParam {\n body: { tool_outputs: Array<ToolOutput>; stream?: boolean | null };\n}\n\nexport type SubmitToolOutputsToRunParameters = SubmitToolOutputsToRunBodyParam &\n RequestParameters;\nexport type CancelRunParameters = RequestParameters;\n\nexport interface CreateThreadAndRunBodyParam {\n body: CreateAndRunThreadOptions;\n}\n\nexport type CreateThreadAndRunParameters = CreateThreadAndRunBodyParam &\n RequestParameters;\nexport type GetRunStepParameters = RequestParameters;\n\nexport interface ListRunStepsQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListRunStepsQueryParam {\n queryParameters?: ListRunStepsQueryParamProperties;\n}\n\nexport type ListRunStepsParameters = ListRunStepsQueryParam & RequestParameters;\n\nexport interface ListFilesQueryParamProperties {\n /**\n * The purpose of the file.\n *\n * Possible values: \"fine-tune\", \"fine-tune-results\", \"assistants\", \"assistants_output\", \"batch\", \"batch_output\", \"vision\"\n */\n purpose?: FilePurpose;\n}\n\nexport interface ListFilesQueryParam {\n queryParameters?: ListFilesQueryParamProperties;\n}\n\nexport type ListFilesParameters = ListFilesQueryParam & RequestParameters;\n\nexport interface UploadFileBodyParam {\n body:\n | FormData\n | Array<\n | {\n name: \"file\";\n body:\n | string\n | Uint8Array\n | ReadableStream<Uint8Array>\n | NodeJS.ReadableStream\n | File;\n filename?: string;\n contentType?: string;\n }\n | {\n name: \"purpose\";\n body: FilePurpose;\n filename?: string;\n contentType?: string;\n }\n | { name: \"filename\"; body: string }\n >;\n}\n\nexport interface UploadFileMediaTypesParam {\n /** The name of the file to upload. */\n contentType: \"multipart/form-data\";\n}\n\nexport type UploadFileParameters = UploadFileMediaTypesParam &\n UploadFileBodyParam &\n RequestParameters;\nexport type DeleteFileParameters = RequestParameters;\nexport type GetFileParameters = RequestParameters;\nexport type GetFileContentParameters = RequestParameters;\n\nexport interface ListVectorStoresQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListVectorStoresQueryParam {\n queryParameters?: ListVectorStoresQueryParamProperties;\n}\n\nexport type ListVectorStoresParameters = ListVectorStoresQueryParam &\n RequestParameters;\n\nexport interface CreateVectorStoreBodyParam {\n body: VectorStoreOptions;\n}\n\nexport type CreateVectorStoreParameters = CreateVectorStoreBodyParam &\n RequestParameters;\nexport type GetVectorStoreParameters = RequestParameters;\n\nexport interface ModifyVectorStoreBodyParam {\n body: VectorStoreUpdateOptions;\n}\n\nexport type ModifyVectorStoreParameters = ModifyVectorStoreBodyParam &\n RequestParameters;\nexport type DeleteVectorStoreParameters = RequestParameters;\n\nexport interface ListVectorStoreFilesQueryParamProperties {\n /**\n * Filter by file status.\n *\n * Possible values: \"in_progress\", \"completed\", \"failed\", \"cancelled\"\n */\n filter?: VectorStoreFileStatusFilter;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListVectorStoreFilesQueryParam {\n queryParameters?: ListVectorStoreFilesQueryParamProperties;\n}\n\nexport type ListVectorStoreFilesParameters = ListVectorStoreFilesQueryParam &\n RequestParameters;\n\nexport interface CreateVectorStoreFileBodyParam {\n body: {\n file_id?: string;\n data_sources?: Array<VectorStoreDataSource>;\n chunking_strategy?: VectorStoreChunkingStrategyRequest;\n };\n}\n\nexport type CreateVectorStoreFileParameters = CreateVectorStoreFileBodyParam &\n RequestParameters;\nexport type GetVectorStoreFileParameters = RequestParameters;\nexport type DeleteVectorStoreFileParameters = RequestParameters;\n\nexport interface CreateVectorStoreFileBatchBodyParam {\n body: {\n file_ids?: string[];\n data_sources?: Array<VectorStoreDataSource>;\n chunking_strategy?: VectorStoreChunkingStrategyRequest;\n };\n}\n\nexport type CreateVectorStoreFileBatchParameters =\n CreateVectorStoreFileBatchBodyParam & RequestParameters;\nexport type GetVectorStoreFileBatchParameters = RequestParameters;\nexport type CancelVectorStoreFileBatchParameters = RequestParameters;\n\nexport interface ListVectorStoreFileBatchFilesQueryParamProperties {\n /**\n * Filter by file status.\n *\n * Possible values: \"in_progress\", \"completed\", \"failed\", \"cancelled\"\n */\n filter?: VectorStoreFileStatusFilter;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListVectorStoreFileBatchFilesQueryParam {\n queryParameters?: ListVectorStoreFileBatchFilesQueryParamProperties;\n}\n\nexport type ListVectorStoreFileBatchFilesParameters =\n ListVectorStoreFileBatchFilesQueryParam & RequestParameters;\nexport type GetWorkspaceParameters = RequestParameters;\n\nexport interface ListConnectionsQueryParamProperties {\n /** Category of the workspace connection. */\n category?: ConnectionType;\n /** Indicates whether to list datastores. Service default: do not list datastores. */\n includeAll?: boolean;\n /** Target of the workspace connection. */\n target?: string;\n}\n\nexport interface ListConnectionsQueryParam {\n queryParameters?: ListConnectionsQueryParamProperties;\n}\n\nexport type ListConnectionsParameters = ListConnectionsQueryParam &\n RequestParameters;\nexport type GetConnectionParameters = RequestParameters;\n\nexport interface GetConnectionWithSecretsBodyParam {\n body: { ignored: string };\n}\n\nexport type GetConnectionWithSecretsParameters =\n GetConnectionWithSecretsBodyParam & RequestParameters;\nexport type GetAppInsightsParameters = RequestParameters;\n\nexport interface GetHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface GetHeaderParam {\n headers?: RawHttpHeadersInput & GetHeaders;\n}\n\nexport type GetParameters = GetHeaderParam & RequestParameters;\n\nexport interface CreateBodyParam {\n /** Evaluation to run. */\n body: Evaluation;\n}\n\nexport type CreateParameters = CreateBodyParam & RequestParameters;\n\nexport interface ListHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface ListQueryParamProperties {\n /** The number of result items to return. */\n top?: number;\n /** The number of result items to skip. */\n skip?: number;\n /** The maximum number of result items per page. */\n maxpagesize?: number;\n}\n\nexport interface ListQueryParam {\n queryParameters?: ListQueryParamProperties;\n}\n\nexport interface ListHeaderParam {\n headers?: RawHttpHeadersInput & ListHeaders;\n}\n\nexport type ListParameters = ListQueryParam &\n ListHeaderParam &\n RequestParameters;\n\nexport interface UpdateHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The resource instance. */\nexport type EvaluationResourceMergeAndPatch = Partial<Evaluation>;\n\nexport interface UpdateBodyParam {\n /** The resource instance. */\n body: EvaluationResourceMergeAndPatch;\n}\n\nexport interface UpdateHeaderParam {\n headers?: RawHttpHeadersInput & UpdateHeaders;\n}\n\nexport interface UpdateMediaTypesParam {\n /** This request has a JSON Merge Patch body. */\n contentType: \"application/merge-patch+json\";\n}\n\nexport type UpdateParameters = UpdateHeaderParam &\n UpdateMediaTypesParam &\n UpdateBodyParam &\n RequestParameters;\n\nexport interface GetScheduleHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface GetScheduleHeaderParam {\n headers?: RawHttpHeadersInput & GetScheduleHeaders;\n}\n\nexport type GetScheduleParameters = GetScheduleHeaderParam & RequestParameters;\n\nexport interface CreateOrReplaceScheduleHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface CreateOrReplaceScheduleBodyParam {\n /** The resource instance. */\n body: EvaluationSchedule;\n}\n\nexport interface CreateOrReplaceScheduleHeaderParam {\n headers?: RawHttpHeadersInput & CreateOrReplaceScheduleHeaders;\n}\n\nexport type CreateOrReplaceScheduleParameters =\n CreateOrReplaceScheduleHeaderParam &\n CreateOrReplaceScheduleBodyParam &\n RequestParameters;\n\nexport interface ListScheduleHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface ListScheduleQueryParamProperties {\n /** The number of result items to return. */\n top?: number;\n /** The number of result items to skip. */\n skip?: number;\n /** The maximum number of result items per page. */\n maxpagesize?: number;\n}\n\nexport interface ListScheduleQueryParam {\n queryParameters?: ListScheduleQueryParamProperties;\n}\n\nexport interface ListScheduleHeaderParam {\n headers?: RawHttpHeadersInput & ListScheduleHeaders;\n}\n\nexport type ListScheduleParameters = ListScheduleQueryParam &\n ListScheduleHeaderParam &\n RequestParameters;\nexport type DisableScheduleParameters = RequestParameters;\n"]}
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/src/parameters.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeadersInput } from \"@azure/core-rest-pipeline\";\nimport type { RequestParameters } from \"@azure-rest/core-client\";\nimport type {\n CreateAgentOptions,\n ListSortOrder,\n UpdateAgentOptions,\n AgentThreadCreationOptions,\n UpdateAgentThreadOptions,\n ThreadMessageOptions,\n RunAdditionalFieldList,\n CreateRunOptions,\n ToolOutput,\n CreateAndRunThreadOptions,\n FilePurpose,\n HttpPartFile,\n HttpPartFilePurpose,\n HttpPartString,\n VectorStoreOptions,\n VectorStoreUpdateOptions,\n VectorStoreFileStatusFilter,\n VectorStoreDataSource,\n VectorStoreChunkingStrategyRequest,\n ConnectionType,\n Evaluation,\n EvaluationSchedule,\n} from \"./models.js\";\n\nexport interface CreateAgentBodyParam {\n body: CreateAgentOptions;\n}\n\nexport type CreateAgentParameters = CreateAgentBodyParam & RequestParameters;\n\nexport interface ListAgentsQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListAgentsQueryParam {\n queryParameters?: ListAgentsQueryParamProperties;\n}\n\nexport type ListAgentsParameters = ListAgentsQueryParam & RequestParameters;\nexport type GetAgentParameters = RequestParameters;\n\nexport interface UpdateAgentBodyParam {\n body: UpdateAgentOptions;\n}\n\nexport type UpdateAgentParameters = UpdateAgentBodyParam & RequestParameters;\nexport type DeleteAgentParameters = RequestParameters;\n\nexport interface CreateThreadBodyParam {\n body: AgentThreadCreationOptions;\n}\n\nexport type CreateThreadParameters = CreateThreadBodyParam & RequestParameters;\nexport type GetThreadParameters = RequestParameters;\n\nexport interface UpdateThreadBodyParam {\n body: UpdateAgentThreadOptions;\n}\n\nexport type UpdateThreadParameters = UpdateThreadBodyParam & RequestParameters;\nexport type DeleteThreadParameters = RequestParameters;\n\nexport interface CreateMessageBodyParam {\n body: ThreadMessageOptions;\n}\n\nexport type CreateMessageParameters = CreateMessageBodyParam &\n RequestParameters;\n\nexport interface ListMessagesQueryParamProperties {\n /** Filter messages by the run ID that generated them. */\n runId?: string;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListMessagesQueryParam {\n queryParameters?: ListMessagesQueryParamProperties;\n}\n\nexport type ListMessagesParameters = ListMessagesQueryParam & RequestParameters;\nexport type GetMessageParameters = RequestParameters;\n\nexport interface UpdateMessageBodyParam {\n body: { metadata?: Record<string, string> | null };\n}\n\nexport type UpdateMessageParameters = UpdateMessageBodyParam &\n RequestParameters;\n\nexport interface CreateRunBodyParam {\n body: CreateRunOptions;\n}\n\n/** This is the wrapper object for the parameter `include[]` with explode set to false and style set to form. */\nexport interface CreateRunIncludeQueryParam {\n /** Value of the parameter */\n value: RunAdditionalFieldList[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\n}\n\nexport interface CreateRunQueryParamProperties {\n /**\n * A list of additional fields to include in the response.\n * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.\n */\n \"include[]\"?: RunAdditionalFieldList[] | CreateRunIncludeQueryParam;\n}\n\nexport interface CreateRunQueryParam {\n queryParameters?: CreateRunQueryParamProperties;\n}\n\nexport type CreateRunParameters = CreateRunQueryParam &\n CreateRunBodyParam &\n RequestParameters;\n\nexport interface ListRunsQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListRunsQueryParam {\n queryParameters?: ListRunsQueryParamProperties;\n}\n\nexport type ListRunsParameters = ListRunsQueryParam & RequestParameters;\nexport type GetRunParameters = RequestParameters;\n\nexport interface UpdateRunBodyParam {\n body: { metadata?: Record<string, string> | null };\n}\n\nexport type UpdateRunParameters = UpdateRunBodyParam & RequestParameters;\n\nexport interface SubmitToolOutputsToRunBodyParam {\n body: { tool_outputs: Array<ToolOutput>; stream?: boolean | null };\n}\n\nexport type SubmitToolOutputsToRunParameters = SubmitToolOutputsToRunBodyParam &\n RequestParameters;\nexport type CancelRunParameters = RequestParameters;\n\nexport interface CreateThreadAndRunBodyParam {\n body: CreateAndRunThreadOptions;\n}\n\nexport type CreateThreadAndRunParameters = CreateThreadAndRunBodyParam &\n RequestParameters;\n\n/** This is the wrapper object for the parameter `include[]` with explode set to false and style set to form. */\nexport interface GetRunStepIncludeQueryParam {\n /** Value of the parameter */\n value: RunAdditionalFieldList[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\n}\n\nexport interface GetRunStepQueryParamProperties {\n /**\n * A list of additional fields to include in the response.\n * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.\n */\n \"include[]\"?: RunAdditionalFieldList[] | GetRunStepIncludeQueryParam;\n}\n\nexport interface GetRunStepQueryParam {\n queryParameters?: GetRunStepQueryParamProperties;\n}\n\nexport type GetRunStepParameters = GetRunStepQueryParam & RequestParameters;\n\n/** This is the wrapper object for the parameter `include[]` with explode set to false and style set to form. */\nexport interface ListRunStepsIncludeQueryParam {\n /** Value of the parameter */\n value: RunAdditionalFieldList[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\n}\n\nexport interface ListRunStepsQueryParamProperties {\n /**\n * A list of additional fields to include in the response.\n * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.\n */\n \"include[]\"?: RunAdditionalFieldList[] | ListRunStepsIncludeQueryParam;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListRunStepsQueryParam {\n queryParameters?: ListRunStepsQueryParamProperties;\n}\n\nexport type ListRunStepsParameters = ListRunStepsQueryParam & RequestParameters;\n\nexport interface ListFilesQueryParamProperties {\n /**\n * The purpose of the file.\n *\n * Possible values: \"fine-tune\", \"fine-tune-results\", \"assistants\", \"assistants_output\", \"batch\", \"batch_output\", \"vision\"\n */\n purpose?: FilePurpose;\n}\n\nexport interface ListFilesQueryParam {\n queryParameters?: ListFilesQueryParamProperties;\n}\n\nexport type ListFilesParameters = ListFilesQueryParam & RequestParameters;\n\nexport interface UploadFileBodyParam {\n /** Multipart body */\n body:\n | FormData\n | Array<\n | {\n name: \"file\";\n body: HttpPartFile;\n filename?: string;\n contentType?: string;\n }\n | {\n name: \"purpose\";\n body: HttpPartFilePurpose;\n filename?: string;\n contentType?: string;\n }\n | { name: \"filename\"; body: HttpPartString }\n >;\n}\n\nexport interface UploadFileMediaTypesParam {\n /** The name of the file to upload. */\n contentType: \"multipart/form-data\";\n}\n\nexport type UploadFileParameters = UploadFileMediaTypesParam &\n UploadFileBodyParam &\n RequestParameters;\nexport type DeleteFileParameters = RequestParameters;\nexport type GetFileParameters = RequestParameters;\nexport type GetFileContentParameters = RequestParameters;\n\nexport interface ListVectorStoresQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListVectorStoresQueryParam {\n queryParameters?: ListVectorStoresQueryParamProperties;\n}\n\nexport type ListVectorStoresParameters = ListVectorStoresQueryParam &\n RequestParameters;\n\nexport interface CreateVectorStoreBodyParam {\n body: VectorStoreOptions;\n}\n\nexport type CreateVectorStoreParameters = CreateVectorStoreBodyParam &\n RequestParameters;\nexport type GetVectorStoreParameters = RequestParameters;\n\nexport interface ModifyVectorStoreBodyParam {\n body: VectorStoreUpdateOptions;\n}\n\nexport type ModifyVectorStoreParameters = ModifyVectorStoreBodyParam &\n RequestParameters;\nexport type DeleteVectorStoreParameters = RequestParameters;\n\nexport interface ListVectorStoreFilesQueryParamProperties {\n /**\n * Filter by file status.\n *\n * Possible values: \"in_progress\", \"completed\", \"failed\", \"cancelled\"\n */\n filter?: VectorStoreFileStatusFilter;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListVectorStoreFilesQueryParam {\n queryParameters?: ListVectorStoreFilesQueryParamProperties;\n}\n\nexport type ListVectorStoreFilesParameters = ListVectorStoreFilesQueryParam &\n RequestParameters;\n\nexport interface CreateVectorStoreFileBodyParam {\n body: {\n file_id?: string;\n data_source?: VectorStoreDataSource;\n chunking_strategy?: VectorStoreChunkingStrategyRequest;\n };\n}\n\nexport type CreateVectorStoreFileParameters = CreateVectorStoreFileBodyParam &\n RequestParameters;\nexport type GetVectorStoreFileParameters = RequestParameters;\nexport type DeleteVectorStoreFileParameters = RequestParameters;\n\nexport interface CreateVectorStoreFileBatchBodyParam {\n body: {\n file_ids?: string[];\n data_sources?: Array<VectorStoreDataSource>;\n chunking_strategy?: VectorStoreChunkingStrategyRequest;\n };\n}\n\nexport type CreateVectorStoreFileBatchParameters =\n CreateVectorStoreFileBatchBodyParam & RequestParameters;\nexport type GetVectorStoreFileBatchParameters = RequestParameters;\nexport type CancelVectorStoreFileBatchParameters = RequestParameters;\n\nexport interface ListVectorStoreFileBatchFilesQueryParamProperties {\n /**\n * Filter by file status.\n *\n * Possible values: \"in_progress\", \"completed\", \"failed\", \"cancelled\"\n */\n filter?: VectorStoreFileStatusFilter;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListVectorStoreFileBatchFilesQueryParam {\n queryParameters?: ListVectorStoreFileBatchFilesQueryParamProperties;\n}\n\nexport type ListVectorStoreFileBatchFilesParameters =\n ListVectorStoreFileBatchFilesQueryParam & RequestParameters;\nexport type GetWorkspaceParameters = RequestParameters;\n\nexport interface ListConnectionsQueryParamProperties {\n /**\n * Category of the workspace connection.\n *\n * Possible values: \"AzureOpenAI\", \"Serverless\", \"AzureBlob\", \"AIServices\", \"CognitiveSearch\", \"ApiKey\", \"CustomKeys\", \"CognitiveService\"\n */\n category?: ConnectionType;\n /** Indicates whether to list datastores. Service default: do not list datastores. */\n includeAll?: boolean;\n /** Target of the workspace connection. */\n target?: string;\n}\n\nexport interface ListConnectionsQueryParam {\n queryParameters?: ListConnectionsQueryParamProperties;\n}\n\nexport type ListConnectionsParameters = ListConnectionsQueryParam &\n RequestParameters;\nexport type GetConnectionParameters = RequestParameters;\n\nexport interface GetConnectionWithSecretsBodyParam {\n body: { ignored: string };\n}\n\nexport type GetConnectionWithSecretsParameters =\n GetConnectionWithSecretsBodyParam & RequestParameters;\nexport type GetAppInsightsParameters = RequestParameters;\n\nexport interface GetHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface GetHeaderParam {\n headers?: RawHttpHeadersInput & GetHeaders;\n}\n\nexport type GetParameters = GetHeaderParam & RequestParameters;\n\nexport interface CreateBodyParam {\n /** Evaluation to run. */\n body: Evaluation;\n}\n\nexport type CreateParameters = CreateBodyParam & RequestParameters;\n\nexport interface ListHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface ListQueryParamProperties {\n /** The number of result items to return. */\n top?: number;\n /** The number of result items to skip. */\n skip?: number;\n /** The maximum number of result items per page. */\n maxpagesize?: number;\n}\n\nexport interface ListQueryParam {\n queryParameters?: ListQueryParamProperties;\n}\n\nexport interface ListHeaderParam {\n headers?: RawHttpHeadersInput & ListHeaders;\n}\n\nexport type ListParameters = ListQueryParam &\n ListHeaderParam &\n RequestParameters;\n\nexport interface UpdateHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The resource instance. */\nexport type EvaluationResourceMergeAndPatch = Partial<Evaluation>;\n\nexport interface UpdateBodyParam {\n /** The resource instance. */\n body: EvaluationResourceMergeAndPatch;\n}\n\nexport interface UpdateHeaderParam {\n headers?: RawHttpHeadersInput & UpdateHeaders;\n}\n\nexport interface UpdateMediaTypesParam {\n /** This request has a JSON Merge Patch body. */\n contentType: \"application/merge-patch+json\";\n}\n\nexport type UpdateParameters = UpdateHeaderParam &\n UpdateMediaTypesParam &\n UpdateBodyParam &\n RequestParameters;\n\nexport interface GetScheduleHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface GetScheduleHeaderParam {\n headers?: RawHttpHeadersInput & GetScheduleHeaders;\n}\n\nexport type GetScheduleParameters = GetScheduleHeaderParam & RequestParameters;\n\nexport interface CreateOrReplaceScheduleHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface CreateOrReplaceScheduleBodyParam {\n /** The resource instance. */\n body: EvaluationSchedule;\n}\n\nexport interface CreateOrReplaceScheduleHeaderParam {\n headers?: RawHttpHeadersInput & CreateOrReplaceScheduleHeaders;\n}\n\nexport type CreateOrReplaceScheduleParameters =\n CreateOrReplaceScheduleHeaderParam &\n CreateOrReplaceScheduleBodyParam &\n RequestParameters;\n\nexport interface ListScheduleHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface ListScheduleQueryParamProperties {\n /** The number of result items to return. */\n top?: number;\n /** The number of result items to skip. */\n skip?: number;\n /** The maximum number of result items per page. */\n maxpagesize?: number;\n}\n\nexport interface ListScheduleQueryParam {\n queryParameters?: ListScheduleQueryParamProperties;\n}\n\nexport interface ListScheduleHeaderParam {\n headers?: RawHttpHeadersInput & ListScheduleHeaders;\n}\n\nexport type ListScheduleParameters = ListScheduleQueryParam &\n ListScheduleHeaderParam &\n RequestParameters;\nexport type DisableScheduleParameters = RequestParameters;\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ClientOptions } from "@azure-rest/core-client";
|
|
2
|
-
import { TokenCredential } from "@azure/core-auth";
|
|
3
|
-
import { ProjectsClient } from "./clientDefinitions.js";
|
|
1
|
+
import type { ClientOptions } from "@azure-rest/core-client";
|
|
2
|
+
import type { TokenCredential } from "@azure/core-auth";
|
|
3
|
+
import type { ProjectsClient } from "./clientDefinitions.js";
|
|
4
4
|
/** The optional parameters for the client */
|
|
5
5
|
export interface ProjectsClientOptions extends ClientOptions {
|
|
6
6
|
/** The api version option of the client */
|
|
@@ -8,10 +8,10 @@ export interface ProjectsClientOptions extends ClientOptions {
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Initialize a new instance of `ProjectsClient`
|
|
11
|
-
* @param endpointParam - The Azure AI
|
|
11
|
+
* @param endpointParam - The Azure AI Foundry project endpoint, in the form `https://<azure-region>.api.azureml.ms` or `https://<private-link-guid>.<azure-region>.api.azureml.ms`, where <azure-region> is the Azure region where the project is deployed (e.g. westus) and <private-link-guid> is the GUID of the Enterprise private link.
|
|
12
12
|
* @param subscriptionId - The Azure subscription ID.
|
|
13
13
|
* @param resourceGroupName - The name of the Azure Resource Group.
|
|
14
|
-
* @param projectName - The Azure AI
|
|
14
|
+
* @param projectName - The Azure AI Foundry project name.
|
|
15
15
|
* @param credentials - uniquely identify client credential
|
|
16
16
|
* @param options - the parameter for all optional parameters
|
|
17
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectsClient.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/projectsClient.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"projectsClient.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/projectsClient.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,6CAA6C;AAC7C,MAAM,WAAW,qBAAsB,SAAQ,aAAa;IAC1D,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,eAAe,EAC5B,EAAE,UAAiC,EAAE,GAAG,OAAO,EAAE,GAAE,qBAA0B,GAC5E,cAAc,CA4ChB"}
|
|
@@ -8,10 +8,10 @@ const core_client_1 = require("@azure-rest/core-client");
|
|
|
8
8
|
const logger_js_1 = require("./logger.js");
|
|
9
9
|
/**
|
|
10
10
|
* Initialize a new instance of `ProjectsClient`
|
|
11
|
-
* @param endpointParam - The Azure AI
|
|
11
|
+
* @param endpointParam - The Azure AI Foundry project endpoint, in the form `https://<azure-region>.api.azureml.ms` or `https://<private-link-guid>.<azure-region>.api.azureml.ms`, where <azure-region> is the Azure region where the project is deployed (e.g. westus) and <private-link-guid> is the GUID of the Enterprise private link.
|
|
12
12
|
* @param subscriptionId - The Azure subscription ID.
|
|
13
13
|
* @param resourceGroupName - The name of the Azure Resource Group.
|
|
14
|
-
* @param projectName - The Azure AI
|
|
14
|
+
* @param projectName - The Azure AI Foundry project name.
|
|
15
15
|
* @param credentials - uniquely identify client credential
|
|
16
16
|
* @param options - the parameter for all optional parameters
|
|
17
17
|
*/
|
|
@@ -19,7 +19,7 @@ function createClient(endpointParam, subscriptionId, resourceGroupName, projectN
|
|
|
19
19
|
var _b, _c, _d, _e, _f, _g;
|
|
20
20
|
var { apiVersion = "2024-07-01-preview" } = _a, options = tslib_1.__rest(_a, ["apiVersion"]);
|
|
21
21
|
const endpointUrl = (_c = (_b = options.endpoint) !== null && _b !== void 0 ? _b : options.baseUrl) !== null && _c !== void 0 ? _c : `${endpointParam}/agents/v1.0/subscriptions/${subscriptionId}/resourceGroups/${resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/${projectName}`;
|
|
22
|
-
const userAgentInfo = `azsdk-js-ai-projects-rest/1.0.0-beta.
|
|
22
|
+
const userAgentInfo = `azsdk-js-ai-projects-rest/1.0.0-beta.4`;
|
|
23
23
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
24
24
|
? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`
|
|
25
25
|
: `${userAgentInfo}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectsClient.js","sourceRoot":"","sources":["../../../../src/generated/src/projectsClient.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;
|
|
1
|
+
{"version":3,"file":"projectsClient.js","sourceRoot":"","sources":["../../../../src/generated/src/projectsClient.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAuBlC,+BAmDC;;AAvED,yDAAoD;AACpD,2CAAqC;AAUrC;;;;;;;;GAQG;AACH,SAAwB,YAAY,CAClC,aAAqB,EACrB,cAAsB,EACtB,iBAAyB,EACzB,WAAmB,EACnB,WAA4B,EAC5B,KAA2E,EAAE;;QAA7E,EAAE,UAAU,GAAG,oBAAoB,OAA0C,EAArC,OAAO,sBAA/C,cAAiD,CAAF;IAE/C,MAAM,WAAW,GACf,MAAA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,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport { logger } from \"./logger.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { ProjectsClient } from \"./clientDefinitions.js\";\n\n/** The optional parameters for the client */\nexport interface ProjectsClientOptions extends ClientOptions {\n /** The api version option of the client */\n apiVersion?: string;\n}\n\n/**\n * Initialize a new instance of `ProjectsClient`\n * @param endpointParam - The Azure AI Foundry project endpoint, in the form `https://<azure-region>.api.azureml.ms` or `https://<private-link-guid>.<azure-region>.api.azureml.ms`, where <azure-region> is the Azure region where the project is deployed (e.g. westus) and <private-link-guid> is the GUID of the Enterprise private link.\n * @param subscriptionId - The Azure subscription ID.\n * @param resourceGroupName - The name of the Azure Resource Group.\n * @param projectName - The Azure AI Foundry project name.\n * @param credentials - uniquely identify client credential\n * @param options - the parameter for all optional parameters\n */\nexport default function createClient(\n endpointParam: string,\n subscriptionId: string,\n resourceGroupName: string,\n projectName: string,\n credentials: TokenCredential,\n { apiVersion = \"2024-07-01-preview\", ...options }: ProjectsClientOptions = {},\n): ProjectsClient {\n const endpointUrl =\n options.endpoint ??\n options.baseUrl ??\n `${endpointParam}/agents/v1.0/subscriptions/${subscriptionId}/resourceGroups/${resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/${projectName}`;\n const userAgentInfo = `azsdk-js-ai-projects-rest/1.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`\n : `${userAgentInfo}`;\n options = {\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n loggingOptions: {\n logger: options.loggingOptions?.logger ?? logger.info,\n },\n credentials: {\n scopes: options.credentials?.scopes ?? [\n \"https://management.azure.com/.default\",\n ],\n },\n };\n const client = getClient(endpointUrl, credentials, options) as ProjectsClient;\n\n client.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n client.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\") && apiVersion) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n\n return client;\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RawHttpHeaders } from "@azure/core-rest-pipeline";
|
|
2
|
-
import { HttpResponse, ErrorResponse } from "@azure-rest/core-client";
|
|
3
|
-
import { AgentOutput, OpenAIPageableListOfAgentOutput,
|
|
1
|
+
import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
|
|
2
|
+
import type { HttpResponse, ErrorResponse } from "@azure-rest/core-client";
|
|
3
|
+
import type { AgentOutput, OpenAIPageableListOfAgentOutput, AgentDeletionStatusOutput, AgentThreadOutput, ThreadDeletionStatusOutput, ThreadMessageOutput, OpenAIPageableListOfThreadMessageOutput, ThreadRunOutput, OpenAIPageableListOfThreadRunOutput, RunStepOutput, OpenAIPageableListOfRunStepOutput, FileListResponseOutput, OpenAIFileOutput, FileDeletionStatusOutput, OpenAIPageableListOfVectorStoreOutput, VectorStoreOutput, VectorStoreDeletionStatusOutput, OpenAIPageableListOfVectorStoreFileOutput, VectorStoreFileOutput, VectorStoreFileDeletionStatusOutput, VectorStoreFileBatchOutput, GetWorkspaceResponseOutput, ListConnectionsResponseOutput, GetConnectionResponseOutput, GetAppInsightsResponseOutput, EvaluationOutput, PagedEvaluationOutput, EvaluationScheduleOutput, PagedEvaluationScheduleOutput } from "./outputModels.js";
|
|
4
4
|
/** The new agent instance. */
|
|
5
5
|
export interface CreateAgent200Response extends HttpResponse {
|
|
6
6
|
status: "200";
|
|
@@ -368,7 +368,8 @@ export interface GetFileDefaultResponse extends HttpResponse {
|
|
|
368
368
|
/** The request has succeeded. */
|
|
369
369
|
export interface GetFileContent200Response extends HttpResponse {
|
|
370
370
|
status: "200";
|
|
371
|
-
|
|
371
|
+
/** Value may contain any sequence of octets */
|
|
372
|
+
body: Uint8Array;
|
|
372
373
|
}
|
|
373
374
|
export interface GetFileContentDefaultHeaders {
|
|
374
375
|
/** String error code indicating what went wrong. */
|