@azure-rest/communication-job-router 1.1.0-alpha.20241122.8 → 1.1.0-alpha.20241203.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/azureCommunicationRoutingServiceClient.d.ts +17 -0
- package/dist/browser/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/azureCommunicationRoutingServiceClient.js +1 -1
- package/dist/browser/azureCommunicationRoutingServiceClient.js.map +1 -0
- package/dist/browser/clientDefinitions.d.ts +159 -0
- package/dist/browser/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/clientDefinitions.js.map +1 -0
- package/dist/browser/index.d.ts +11 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +13 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/isUnexpected.d.ts +35 -0
- package/dist/browser/isUnexpected.d.ts.map +1 -0
- package/dist/browser/isUnexpected.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/models.d.ts +532 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/outputModels.d.ts +631 -0
- package/dist/browser/outputModels.d.ts.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/paginateHelper.d.ts +43 -0
- package/dist/browser/paginateHelper.d.ts.map +1 -0
- package/dist/browser/parameters.d.ts +245 -0
- package/dist/browser/parameters.d.ts.map +1 -0
- package/dist/browser/parameters.js.map +1 -0
- package/dist/browser/responses.d.ts +616 -0
- package/dist/browser/responses.d.ts.map +1 -0
- package/dist/browser/responses.js.map +1 -0
- package/dist/commonjs/azureCommunicationRoutingServiceClient.d.ts +17 -0
- package/dist/commonjs/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
- package/dist/commonjs/azureCommunicationRoutingServiceClient.js +45 -0
- package/dist/commonjs/azureCommunicationRoutingServiceClient.js.map +1 -0
- package/dist/commonjs/clientDefinitions.d.ts +159 -0
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/clientDefinitions.js +5 -0
- package/dist/commonjs/clientDefinitions.js.map +1 -0
- package/dist/commonjs/index.d.ts +11 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/isUnexpected.d.ts +35 -0
- package/dist/commonjs/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/isUnexpected.js +105 -0
- package/dist/commonjs/isUnexpected.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models.d.ts +532 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/outputModels.d.ts +631 -0
- package/dist/commonjs/outputModels.d.ts.map +1 -0
- package/dist/commonjs/outputModels.js +5 -0
- package/dist/commonjs/outputModels.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/paginateHelper.d.ts +43 -0
- package/dist/commonjs/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/paginateHelper.js +73 -0
- package/dist/commonjs/paginateHelper.js.map +1 -0
- package/dist/commonjs/parameters.d.ts +245 -0
- package/dist/commonjs/parameters.d.ts.map +1 -0
- package/dist/commonjs/parameters.js +5 -0
- package/dist/commonjs/parameters.js.map +1 -0
- package/dist/commonjs/responses.d.ts +616 -0
- package/dist/commonjs/responses.d.ts.map +1 -0
- package/dist/commonjs/responses.js +5 -0
- package/dist/commonjs/responses.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/azureCommunicationRoutingServiceClient.d.ts +17 -0
- package/dist/esm/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
- package/dist/esm/azureCommunicationRoutingServiceClient.js +42 -0
- package/dist/esm/azureCommunicationRoutingServiceClient.js.map +1 -0
- package/dist/esm/clientDefinitions.d.ts +159 -0
- package/dist/esm/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/clientDefinitions.js +4 -0
- package/dist/esm/clientDefinitions.js.map +1 -0
- package/dist/esm/index.d.ts +11 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isUnexpected.d.ts +35 -0
- package/dist/esm/isUnexpected.d.ts.map +1 -0
- package/dist/esm/isUnexpected.js +102 -0
- package/dist/esm/isUnexpected.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models.d.ts +532 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/outputModels.d.ts +631 -0
- package/dist/esm/outputModels.d.ts.map +1 -0
- package/dist/esm/outputModels.js +4 -0
- package/dist/esm/outputModels.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/paginateHelper.d.ts +43 -0
- package/dist/esm/paginateHelper.d.ts.map +1 -0
- package/dist/esm/paginateHelper.js +70 -0
- package/dist/esm/paginateHelper.js.map +1 -0
- package/dist/esm/parameters.d.ts +245 -0
- package/dist/esm/parameters.d.ts.map +1 -0
- package/dist/esm/parameters.js +4 -0
- package/dist/esm/parameters.js.map +1 -0
- package/dist/esm/responses.d.ts +616 -0
- package/dist/esm/responses.d.ts.map +1 -0
- package/dist/esm/responses.js +4 -0
- package/dist/esm/responses.js.map +1 -0
- package/dist/react-native/azureCommunicationRoutingServiceClient.d.ts +17 -0
- package/dist/react-native/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
- package/dist/react-native/azureCommunicationRoutingServiceClient.js +42 -0
- package/dist/react-native/azureCommunicationRoutingServiceClient.js.map +1 -0
- package/dist/react-native/clientDefinitions.d.ts +159 -0
- package/dist/react-native/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/clientDefinitions.js +4 -0
- package/dist/react-native/clientDefinitions.js.map +1 -0
- package/dist/react-native/index.d.ts +11 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/isUnexpected.d.ts +35 -0
- package/dist/react-native/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/isUnexpected.js +102 -0
- package/dist/react-native/isUnexpected.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models.d.ts +532 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/outputModels.d.ts +631 -0
- package/dist/react-native/outputModels.d.ts.map +1 -0
- package/dist/react-native/outputModels.js +4 -0
- package/dist/react-native/outputModels.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/paginateHelper.d.ts +43 -0
- package/dist/react-native/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/paginateHelper.js +70 -0
- package/dist/react-native/paginateHelper.js.map +1 -0
- package/dist/react-native/parameters.d.ts +245 -0
- package/dist/react-native/parameters.d.ts.map +1 -0
- package/dist/react-native/parameters.js +4 -0
- package/dist/react-native/parameters.js.map +1 -0
- package/dist/react-native/responses.d.ts +616 -0
- package/dist/react-native/responses.d.ts.map +1 -0
- package/dist/react-native/responses.js +4 -0
- package/dist/react-native/responses.js.map +1 -0
- package/package.json +68 -48
- package/dist/index.js +0 -229
- package/dist/index.js.map +0 -1
- package/dist-esm/src/azureCommunicationRoutingServiceClient.js.map +0 -1
- package/dist-esm/src/clientDefinitions.js.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/isUnexpected.js.map +0 -1
- package/dist-esm/src/parameters.js.map +0 -1
- package/dist-esm/src/responses.js.map +0 -1
- package/review/communication-job-router.api.md +0 -2485
- package/types/communication-job-router.d.ts +0 -2677
- /package/{dist-esm/src → dist/browser}/clientDefinitions.js +0 -0
- /package/{dist-esm/src → dist/browser}/isUnexpected.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/models.js +0 -0
- /package/{dist-esm/src → dist/browser}/models.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/outputModels.js +0 -0
- /package/{dist-esm/src → dist/browser}/outputModels.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/paginateHelper.js +0 -0
- /package/{dist-esm/src → dist/browser}/paginateHelper.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/parameters.js +0 -0
- /package/{dist-esm/src → dist/browser}/responses.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isUnexpected.js","sourceRoot":"","sources":["../../src/isUnexpected.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n UpsertClassificationPolicy200Response,\n UpsertClassificationPolicy201Response,\n UpsertClassificationPolicyDefaultResponse,\n GetClassificationPolicy200Response,\n GetClassificationPolicyDefaultResponse,\n DeleteClassificationPolicy204Response,\n DeleteClassificationPolicyDefaultResponse,\n ListClassificationPolicies200Response,\n ListClassificationPoliciesDefaultResponse,\n UpsertDistributionPolicy200Response,\n UpsertDistributionPolicy201Response,\n UpsertDistributionPolicyDefaultResponse,\n GetDistributionPolicy200Response,\n GetDistributionPolicyDefaultResponse,\n DeleteDistributionPolicy204Response,\n DeleteDistributionPolicyDefaultResponse,\n ListDistributionPolicies200Response,\n ListDistributionPoliciesDefaultResponse,\n UpsertExceptionPolicy200Response,\n UpsertExceptionPolicy201Response,\n UpsertExceptionPolicyDefaultResponse,\n GetExceptionPolicy200Response,\n GetExceptionPolicyDefaultResponse,\n DeleteExceptionPolicy204Response,\n DeleteExceptionPolicyDefaultResponse,\n ListExceptionPolicies200Response,\n ListExceptionPoliciesDefaultResponse,\n UpsertQueue200Response,\n UpsertQueue201Response,\n UpsertQueueDefaultResponse,\n GetQueue200Response,\n GetQueueDefaultResponse,\n DeleteQueue204Response,\n DeleteQueueDefaultResponse,\n ListQueues200Response,\n ListQueuesDefaultResponse,\n UpsertJob200Response,\n UpsertJob201Response,\n UpsertJobDefaultResponse,\n GetJob200Response,\n GetJobDefaultResponse,\n DeleteJob204Response,\n DeleteJobDefaultResponse,\n Reclassify200Response,\n ReclassifyDefaultResponse,\n Cancel200Response,\n CancelDefaultResponse,\n Complete200Response,\n CompleteDefaultResponse,\n Close200Response,\n CloseDefaultResponse,\n ListJobs200Response,\n ListJobsDefaultResponse,\n GetInQueuePosition200Response,\n GetInQueuePositionDefaultResponse,\n Unassign200Response,\n UnassignDefaultResponse,\n Accept200Response,\n AcceptDefaultResponse,\n Decline200Response,\n DeclineDefaultResponse,\n GetQueueStatistics200Response,\n GetQueueStatisticsDefaultResponse,\n UpsertWorker200Response,\n UpsertWorker201Response,\n UpsertWorkerDefaultResponse,\n GetWorker200Response,\n GetWorkerDefaultResponse,\n DeleteWorker204Response,\n DeleteWorkerDefaultResponse,\n ListWorkers200Response,\n ListWorkersDefaultResponse,\n} from \"./responses\";\n\nconst responseMap: Record<string, string[]> = {\n \"PATCH /routing/classificationPolicies/{classificationPolicyId}\": [\"200\", \"201\"],\n \"GET /routing/classificationPolicies/{classificationPolicyId}\": [\"200\"],\n \"DELETE /routing/classificationPolicies/{classificationPolicyId}\": [\"204\"],\n \"GET /routing/classificationPolicies\": [\"200\"],\n \"PATCH /routing/distributionPolicies/{distributionPolicyId}\": [\"200\", \"201\"],\n \"GET /routing/distributionPolicies/{distributionPolicyId}\": [\"200\"],\n \"DELETE /routing/distributionPolicies/{distributionPolicyId}\": [\"204\"],\n \"GET /routing/distributionPolicies\": [\"200\"],\n \"PATCH /routing/exceptionPolicies/{exceptionPolicyId}\": [\"200\", \"201\"],\n \"GET /routing/exceptionPolicies/{exceptionPolicyId}\": [\"200\"],\n \"DELETE /routing/exceptionPolicies/{exceptionPolicyId}\": [\"204\"],\n \"GET /routing/exceptionPolicies\": [\"200\"],\n \"PATCH /routing/queues/{queueId}\": [\"200\", \"201\"],\n \"GET /routing/queues/{queueId}\": [\"200\"],\n \"DELETE /routing/queues/{queueId}\": [\"204\"],\n \"GET /routing/queues\": [\"200\"],\n \"PATCH /routing/jobs/{jobId}\": [\"200\", \"201\"],\n \"GET /routing/jobs/{jobId}\": [\"200\"],\n \"DELETE /routing/jobs/{jobId}\": [\"204\"],\n \"POST /routing/jobs/{jobId}:reclassify\": [\"200\"],\n \"POST /routing/jobs/{jobId}:cancel\": [\"200\"],\n \"POST /routing/jobs/{jobId}/assignments/{assignmentId}:complete\": [\"200\"],\n \"POST /routing/jobs/{jobId}/assignments/{assignmentId}:close\": [\"200\"],\n \"GET /routing/jobs\": [\"200\"],\n \"GET /routing/jobs/{jobId}/position\": [\"200\"],\n \"POST /routing/jobs/{jobId}/assignments/{assignmentId}:unassign\": [\"200\"],\n \"POST /routing/workers/{workerId}/offers/{offerId}:accept\": [\"200\"],\n \"POST /routing/workers/{workerId}/offers/{offerId}:decline\": [\"200\"],\n \"GET /routing/queues/{queueId}/statistics\": [\"200\"],\n \"PATCH /routing/workers/{workerId}\": [\"200\", \"201\"],\n \"GET /routing/workers/{workerId}\": [\"200\"],\n \"DELETE /routing/workers/{workerId}\": [\"204\"],\n \"GET /routing/workers\": [\"200\"],\n};\n\nexport function isUnexpected(\n response:\n | UpsertClassificationPolicy200Response\n | UpsertClassificationPolicy201Response\n | UpsertClassificationPolicyDefaultResponse,\n): response is UpsertClassificationPolicyDefaultResponse;\nexport function isUnexpected(\n response: GetClassificationPolicy200Response | GetClassificationPolicyDefaultResponse,\n): response is GetClassificationPolicyDefaultResponse;\nexport function isUnexpected(\n response: DeleteClassificationPolicy204Response | DeleteClassificationPolicyDefaultResponse,\n): response is DeleteClassificationPolicyDefaultResponse;\nexport function isUnexpected(\n response: ListClassificationPolicies200Response | ListClassificationPoliciesDefaultResponse,\n): response is ListClassificationPoliciesDefaultResponse;\nexport function isUnexpected(\n response:\n | UpsertDistributionPolicy200Response\n | UpsertDistributionPolicy201Response\n | UpsertDistributionPolicyDefaultResponse,\n): response is UpsertDistributionPolicyDefaultResponse;\nexport function isUnexpected(\n response: GetDistributionPolicy200Response | GetDistributionPolicyDefaultResponse,\n): response is GetDistributionPolicyDefaultResponse;\nexport function isUnexpected(\n response: DeleteDistributionPolicy204Response | DeleteDistributionPolicyDefaultResponse,\n): response is DeleteDistributionPolicyDefaultResponse;\nexport function isUnexpected(\n response: ListDistributionPolicies200Response | ListDistributionPoliciesDefaultResponse,\n): response is ListDistributionPoliciesDefaultResponse;\nexport function isUnexpected(\n response:\n | UpsertExceptionPolicy200Response\n | UpsertExceptionPolicy201Response\n | UpsertExceptionPolicyDefaultResponse,\n): response is UpsertExceptionPolicyDefaultResponse;\nexport function isUnexpected(\n response: GetExceptionPolicy200Response | GetExceptionPolicyDefaultResponse,\n): response is GetExceptionPolicyDefaultResponse;\nexport function isUnexpected(\n response: DeleteExceptionPolicy204Response | DeleteExceptionPolicyDefaultResponse,\n): response is DeleteExceptionPolicyDefaultResponse;\nexport function isUnexpected(\n response: ListExceptionPolicies200Response | ListExceptionPoliciesDefaultResponse,\n): response is ListExceptionPoliciesDefaultResponse;\nexport function isUnexpected(\n response: UpsertQueue200Response | UpsertQueue201Response | UpsertQueueDefaultResponse,\n): response is UpsertQueueDefaultResponse;\nexport function isUnexpected(\n response: GetQueue200Response | GetQueueDefaultResponse,\n): response is GetQueueDefaultResponse;\nexport function isUnexpected(\n response: DeleteQueue204Response | DeleteQueueDefaultResponse,\n): response is DeleteQueueDefaultResponse;\nexport function isUnexpected(\n response: ListQueues200Response | ListQueuesDefaultResponse,\n): response is ListQueuesDefaultResponse;\nexport function isUnexpected(\n response: UpsertJob200Response | UpsertJob201Response | UpsertJobDefaultResponse,\n): response is UpsertJobDefaultResponse;\nexport function isUnexpected(\n response: GetJob200Response | GetJobDefaultResponse,\n): response is GetJobDefaultResponse;\nexport function isUnexpected(\n response: DeleteJob204Response | DeleteJobDefaultResponse,\n): response is DeleteJobDefaultResponse;\nexport function isUnexpected(\n response: Reclassify200Response | ReclassifyDefaultResponse,\n): response is ReclassifyDefaultResponse;\nexport function isUnexpected(\n response: Cancel200Response | CancelDefaultResponse,\n): response is CancelDefaultResponse;\nexport function isUnexpected(\n response: Complete200Response | CompleteDefaultResponse,\n): response is CompleteDefaultResponse;\nexport function isUnexpected(\n response: Close200Response | CloseDefaultResponse,\n): response is CloseDefaultResponse;\nexport function isUnexpected(\n response: ListJobs200Response | ListJobsDefaultResponse,\n): response is ListJobsDefaultResponse;\nexport function isUnexpected(\n response: GetInQueuePosition200Response | GetInQueuePositionDefaultResponse,\n): response is GetInQueuePositionDefaultResponse;\nexport function isUnexpected(\n response: Unassign200Response | UnassignDefaultResponse,\n): response is UnassignDefaultResponse;\nexport function isUnexpected(\n response: Accept200Response | AcceptDefaultResponse,\n): response is AcceptDefaultResponse;\nexport function isUnexpected(\n response: Decline200Response | DeclineDefaultResponse,\n): response is DeclineDefaultResponse;\nexport function isUnexpected(\n response: GetQueueStatistics200Response | GetQueueStatisticsDefaultResponse,\n): response is GetQueueStatisticsDefaultResponse;\nexport function isUnexpected(\n response: UpsertWorker200Response | UpsertWorker201Response | UpsertWorkerDefaultResponse,\n): response is UpsertWorkerDefaultResponse;\nexport function isUnexpected(\n response: GetWorker200Response | GetWorkerDefaultResponse,\n): response is GetWorkerDefaultResponse;\nexport function isUnexpected(\n response: DeleteWorker204Response | DeleteWorkerDefaultResponse,\n): response is DeleteWorkerDefaultResponse;\nexport function isUnexpected(\n response: ListWorkers200Response | ListWorkersDefaultResponse,\n): response is ListWorkersDefaultResponse;\nexport function isUnexpected(\n response:\n | UpsertClassificationPolicy200Response\n | UpsertClassificationPolicy201Response\n | UpsertClassificationPolicyDefaultResponse\n | GetClassificationPolicy200Response\n | GetClassificationPolicyDefaultResponse\n | DeleteClassificationPolicy204Response\n | DeleteClassificationPolicyDefaultResponse\n | ListClassificationPolicies200Response\n | ListClassificationPoliciesDefaultResponse\n | UpsertDistributionPolicy200Response\n | UpsertDistributionPolicy201Response\n | UpsertDistributionPolicyDefaultResponse\n | GetDistributionPolicy200Response\n | GetDistributionPolicyDefaultResponse\n | DeleteDistributionPolicy204Response\n | DeleteDistributionPolicyDefaultResponse\n | ListDistributionPolicies200Response\n | ListDistributionPoliciesDefaultResponse\n | UpsertExceptionPolicy200Response\n | UpsertExceptionPolicy201Response\n | UpsertExceptionPolicyDefaultResponse\n | GetExceptionPolicy200Response\n | GetExceptionPolicyDefaultResponse\n | DeleteExceptionPolicy204Response\n | DeleteExceptionPolicyDefaultResponse\n | ListExceptionPolicies200Response\n | ListExceptionPoliciesDefaultResponse\n | UpsertQueue200Response\n | UpsertQueue201Response\n | UpsertQueueDefaultResponse\n | GetQueue200Response\n | GetQueueDefaultResponse\n | DeleteQueue204Response\n | DeleteQueueDefaultResponse\n | ListQueues200Response\n | ListQueuesDefaultResponse\n | UpsertJob200Response\n | UpsertJob201Response\n | UpsertJobDefaultResponse\n | GetJob200Response\n | GetJobDefaultResponse\n | DeleteJob204Response\n | DeleteJobDefaultResponse\n | Reclassify200Response\n | ReclassifyDefaultResponse\n | Cancel200Response\n | CancelDefaultResponse\n | Complete200Response\n | CompleteDefaultResponse\n | Close200Response\n | CloseDefaultResponse\n | ListJobs200Response\n | ListJobsDefaultResponse\n | GetInQueuePosition200Response\n | GetInQueuePositionDefaultResponse\n | Unassign200Response\n | UnassignDefaultResponse\n | Accept200Response\n | AcceptDefaultResponse\n | Decline200Response\n | DeclineDefaultResponse\n | GetQueueStatistics200Response\n | GetQueueStatisticsDefaultResponse\n | UpsertWorker200Response\n | UpsertWorker201Response\n | UpsertWorkerDefaultResponse\n | GetWorker200Response\n | GetWorkerDefaultResponse\n | DeleteWorker204Response\n | DeleteWorkerDefaultResponse\n | ListWorkers200Response\n | ListWorkersDefaultResponse,\n): response is\n | UpsertClassificationPolicyDefaultResponse\n | GetClassificationPolicyDefaultResponse\n | DeleteClassificationPolicyDefaultResponse\n | ListClassificationPoliciesDefaultResponse\n | UpsertDistributionPolicyDefaultResponse\n | GetDistributionPolicyDefaultResponse\n | DeleteDistributionPolicyDefaultResponse\n | ListDistributionPoliciesDefaultResponse\n | UpsertExceptionPolicyDefaultResponse\n | GetExceptionPolicyDefaultResponse\n | DeleteExceptionPolicyDefaultResponse\n | ListExceptionPoliciesDefaultResponse\n | UpsertQueueDefaultResponse\n | GetQueueDefaultResponse\n | DeleteQueueDefaultResponse\n | ListQueuesDefaultResponse\n | UpsertJobDefaultResponse\n | GetJobDefaultResponse\n | DeleteJobDefaultResponse\n | ReclassifyDefaultResponse\n | CancelDefaultResponse\n | CompleteDefaultResponse\n | CloseDefaultResponse\n | ListJobsDefaultResponse\n | GetInQueuePositionDefaultResponse\n | UnassignDefaultResponse\n | AcceptDefaultResponse\n | DeclineDefaultResponse\n | GetQueueStatisticsDefaultResponse\n | UpsertWorkerDefaultResponse\n | GetWorkerDefaultResponse\n | DeleteWorkerDefaultResponse\n | ListWorkersDefaultResponse {\n const lroOriginal = response.headers[\"x-ms-original-url\"];\n const url = new URL(lroOriginal ?? response.request.url);\n const method = response.request.method;\n let pathDetails = responseMap[`${method} ${url.pathname}`];\n if (!pathDetails) {\n pathDetails = getParametrizedPathSuccess(method, url.pathname);\n }\n return !pathDetails.includes(response.status);\n}\n\nfunction getParametrizedPathSuccess(method: string, path: string): string[] {\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: string[] = [];\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(responseMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../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 ClassificationPolicy,\n DistributionPolicy,\n ExceptionPolicy,\n RouterQueue,\n RouterJob,\n ReclassifyJobOptions,\n CancelJobOptions,\n CompleteJobOptions,\n CloseJobOptions,\n UnassignJobOptions,\n DeclineJobOfferOptions,\n RouterWorker,\n} from \"./models\";\n\nexport interface UpsertClassificationPolicyHeaders {\n /** The request should only proceed if an entity matches this string. */\n \"If-Match\"?: string;\n /** The request should only proceed if the entity was not modified after this time. */\n \"If-Unmodified-Since\"?: string;\n}\n\n/** The resource instance. */\nexport type ClassificationPolicyResourceMergeAndPatch = Partial<ClassificationPolicy>;\n\nexport interface UpsertClassificationPolicyBodyParam {\n /** The resource instance. */\n body: ClassificationPolicyResourceMergeAndPatch;\n}\n\nexport interface UpsertClassificationPolicyHeaderParam {\n headers?: RawHttpHeadersInput & UpsertClassificationPolicyHeaders;\n}\n\nexport interface UpsertClassificationPolicyMediaTypesParam {\n /** This request has a JSON Merge Patch body. */\n contentType: \"application/merge-patch+json\";\n}\n\nexport type UpsertClassificationPolicyParameters = UpsertClassificationPolicyHeaderParam &\n UpsertClassificationPolicyMediaTypesParam &\n UpsertClassificationPolicyBodyParam &\n RequestParameters;\nexport type GetClassificationPolicyParameters = RequestParameters;\nexport type DeleteClassificationPolicyParameters = RequestParameters;\n\nexport interface ListClassificationPoliciesQueryParamProperties {\n /** Number of objects to return per page. */\n maxpagesize?: number;\n}\n\nexport interface ListClassificationPoliciesQueryParam {\n queryParameters?: ListClassificationPoliciesQueryParamProperties;\n}\n\nexport type ListClassificationPoliciesParameters = ListClassificationPoliciesQueryParam &\n RequestParameters;\n\nexport interface UpsertDistributionPolicyHeaders {\n /** The request should only proceed if an entity matches this string. */\n \"If-Match\"?: string;\n /** The request should only proceed if the entity was not modified after this time. */\n \"If-Unmodified-Since\"?: string;\n}\n\n/** The resource instance. */\nexport type DistributionPolicyResourceMergeAndPatch = Partial<DistributionPolicy>;\n\nexport interface UpsertDistributionPolicyBodyParam {\n /** The resource instance. */\n body: DistributionPolicyResourceMergeAndPatch;\n}\n\nexport interface UpsertDistributionPolicyHeaderParam {\n headers?: RawHttpHeadersInput & UpsertDistributionPolicyHeaders;\n}\n\nexport interface UpsertDistributionPolicyMediaTypesParam {\n /** This request has a JSON Merge Patch body. */\n contentType: \"application/merge-patch+json\";\n}\n\nexport type UpsertDistributionPolicyParameters = UpsertDistributionPolicyHeaderParam &\n UpsertDistributionPolicyMediaTypesParam &\n UpsertDistributionPolicyBodyParam &\n RequestParameters;\nexport type GetDistributionPolicyParameters = RequestParameters;\nexport type DeleteDistributionPolicyParameters = RequestParameters;\n\nexport interface ListDistributionPoliciesQueryParamProperties {\n /** Number of objects to return per page. */\n maxpagesize?: number;\n}\n\nexport interface ListDistributionPoliciesQueryParam {\n queryParameters?: ListDistributionPoliciesQueryParamProperties;\n}\n\nexport type ListDistributionPoliciesParameters = ListDistributionPoliciesQueryParam &\n RequestParameters;\n\nexport interface UpsertExceptionPolicyHeaders {\n /** The request should only proceed if an entity matches this string. */\n \"If-Match\"?: string;\n /** The request should only proceed if the entity was not modified after this time. */\n \"If-Unmodified-Since\"?: string;\n}\n\n/** The resource instance. */\nexport type ExceptionPolicyResourceMergeAndPatch = Partial<ExceptionPolicy>;\n\nexport interface UpsertExceptionPolicyBodyParam {\n /** The resource instance. */\n body: ExceptionPolicyResourceMergeAndPatch;\n}\n\nexport interface UpsertExceptionPolicyHeaderParam {\n headers?: RawHttpHeadersInput & UpsertExceptionPolicyHeaders;\n}\n\nexport interface UpsertExceptionPolicyMediaTypesParam {\n /** This request has a JSON Merge Patch body. */\n contentType: \"application/merge-patch+json\";\n}\n\nexport type UpsertExceptionPolicyParameters = UpsertExceptionPolicyHeaderParam &\n UpsertExceptionPolicyMediaTypesParam &\n UpsertExceptionPolicyBodyParam &\n RequestParameters;\nexport type GetExceptionPolicyParameters = RequestParameters;\nexport type DeleteExceptionPolicyParameters = RequestParameters;\n\nexport interface ListExceptionPoliciesQueryParamProperties {\n /** Number of objects to return per page. */\n maxpagesize?: number;\n}\n\nexport interface ListExceptionPoliciesQueryParam {\n queryParameters?: ListExceptionPoliciesQueryParamProperties;\n}\n\nexport type ListExceptionPoliciesParameters = ListExceptionPoliciesQueryParam & RequestParameters;\n\nexport interface UpsertQueueHeaders {\n /** The request should only proceed if an entity matches this string. */\n \"If-Match\"?: string;\n /** The request should only proceed if the entity was not modified after this time. */\n \"If-Unmodified-Since\"?: string;\n}\n\n/** The resource instance. */\nexport type RouterQueueResourceMergeAndPatch = Partial<RouterQueue>;\n\nexport interface UpsertQueueBodyParam {\n /** The resource instance. */\n body: RouterQueueResourceMergeAndPatch;\n}\n\nexport interface UpsertQueueHeaderParam {\n headers?: RawHttpHeadersInput & UpsertQueueHeaders;\n}\n\nexport interface UpsertQueueMediaTypesParam {\n /** This request has a JSON Merge Patch body. */\n contentType: \"application/merge-patch+json\";\n}\n\nexport type UpsertQueueParameters = UpsertQueueHeaderParam &\n UpsertQueueMediaTypesParam &\n UpsertQueueBodyParam &\n RequestParameters;\nexport type GetQueueParameters = RequestParameters;\nexport type DeleteQueueParameters = RequestParameters;\n\nexport interface ListQueuesQueryParamProperties {\n /** Number of objects to return per page. */\n maxpagesize?: number;\n}\n\nexport interface ListQueuesQueryParam {\n queryParameters?: ListQueuesQueryParamProperties;\n}\n\nexport type ListQueuesParameters = ListQueuesQueryParam & RequestParameters;\n\nexport interface UpsertJobHeaders {\n /** The request should only proceed if an entity matches this string. */\n \"If-Match\"?: string;\n /** The request should only proceed if the entity was not modified after this time. */\n \"If-Unmodified-Since\"?: string;\n}\n\n/** The resource instance. */\nexport type RouterJobResourceMergeAndPatch = Partial<RouterJob>;\n\nexport interface UpsertJobBodyParam {\n /** The resource instance. */\n body: RouterJobResourceMergeAndPatch;\n}\n\nexport interface UpsertJobHeaderParam {\n headers?: RawHttpHeadersInput & UpsertJobHeaders;\n}\n\nexport interface UpsertJobMediaTypesParam {\n /** This request has a JSON Merge Patch body. */\n contentType: \"application/merge-patch+json\";\n}\n\nexport type UpsertJobParameters = UpsertJobHeaderParam &\n UpsertJobMediaTypesParam &\n UpsertJobBodyParam &\n RequestParameters;\nexport type GetJobParameters = RequestParameters;\nexport type DeleteJobParameters = RequestParameters;\n\nexport interface ReclassifyBodyParam {\n /** Request object for reclassifying a job. */\n body?: ReclassifyJobOptions;\n}\n\nexport type ReclassifyParameters = ReclassifyBodyParam & RequestParameters;\n\nexport interface CancelBodyParam {\n /** Request model for cancelling job. */\n body?: CancelJobOptions;\n}\n\nexport type CancelParameters = CancelBodyParam & RequestParameters;\n\nexport interface CompleteBodyParam {\n /** Request model for completing job. */\n body?: CompleteJobOptions;\n}\n\nexport type CompleteParameters = CompleteBodyParam & RequestParameters;\n\nexport interface CloseBodyParam {\n /** Request model for closing job. */\n body?: CloseJobOptions;\n}\n\nexport type CloseParameters = CloseBodyParam & RequestParameters;\n\nexport interface ListJobsQueryParamProperties {\n /** Number of objects to return per page. */\n maxpagesize?: number;\n /**\n * If specified, filter jobs by status.\n *\n * Possible values: \"all\", \"pendingClassification\", \"queued\", \"assigned\", \"completed\", \"closed\", \"cancelled\", \"classificationFailed\", \"created\", \"pendingSchedule\", \"scheduled\", \"scheduleFailed\", \"waitingForActivation\", \"active\"\n */\n status?: string;\n /** If specified, filter jobs by queue. */\n queueId?: string;\n /** If specified, filter jobs by channel. */\n channelId?: string;\n /** If specified, filter jobs by classificationPolicy. */\n classificationPolicyId?: string;\n /** If specified, filter on jobs that was scheduled before or at given timestamp. Range: (-Inf, scheduledBefore]. */\n scheduledBefore?: Date | string;\n /** If specified, filter on jobs that was scheduled at or after given value. Range: [scheduledAfter, +Inf). */\n scheduledAfter?: Date | string;\n}\n\nexport interface ListJobsQueryParam {\n queryParameters?: ListJobsQueryParamProperties;\n}\n\nexport type ListJobsParameters = ListJobsQueryParam & RequestParameters;\nexport type GetInQueuePositionParameters = RequestParameters;\n\nexport interface UnassignBodyParam {\n /** Request body for unassign route. */\n body?: UnassignJobOptions;\n}\n\nexport type UnassignParameters = UnassignBodyParam & RequestParameters;\nexport type AcceptParameters = RequestParameters;\n\nexport interface DeclineBodyParam {\n /** Request model for declining offer. */\n body?: DeclineJobOfferOptions;\n}\n\nexport type DeclineParameters = DeclineBodyParam & RequestParameters;\nexport type GetQueueStatisticsParameters = RequestParameters;\n\nexport interface UpsertWorkerHeaders {\n /** The request should only proceed if an entity matches this string. */\n \"If-Match\"?: string;\n /** The request should only proceed if the entity was not modified after this time. */\n \"If-Unmodified-Since\"?: string;\n}\n\n/** The resource instance. */\nexport type RouterWorkerResourceMergeAndPatch = Partial<RouterWorker>;\n\nexport interface UpsertWorkerBodyParam {\n /** The resource instance. */\n body: RouterWorkerResourceMergeAndPatch;\n}\n\nexport interface UpsertWorkerHeaderParam {\n headers?: RawHttpHeadersInput & UpsertWorkerHeaders;\n}\n\nexport interface UpsertWorkerMediaTypesParam {\n /** This request has a JSON Merge Patch body. */\n contentType: \"application/merge-patch+json\";\n}\n\nexport type UpsertWorkerParameters = UpsertWorkerHeaderParam &\n UpsertWorkerMediaTypesParam &\n UpsertWorkerBodyParam &\n RequestParameters;\nexport type GetWorkerParameters = RequestParameters;\nexport type DeleteWorkerParameters = RequestParameters;\n\nexport interface ListWorkersQueryParamProperties {\n /** Number of objects to return per page. */\n maxpagesize?: number;\n /**\n * If specified, select workers by worker state.\n *\n * Possible values: \"active\", \"draining\", \"inactive\", \"all\"\n */\n state?: string;\n /** If specified, select workers who have a channel configuration with this channel. */\n channelId?: string;\n /** If specified, select workers who are assigned to this queue. */\n queueId?: string;\n /** If set to true, select only workers who have capacity for the channel specified by `channelId` or for any channel if `channelId` not specified. If set to false, then will return all workers including workers without any capacity for jobs. Defaults to false. */\n hasCapacity?: boolean;\n}\n\nexport interface ListWorkersQueryParam {\n queryParameters?: ListWorkersQueryParamProperties;\n}\n\nexport type ListWorkersParameters = ListWorkersQueryParam & RequestParameters;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse, ErrorResponse } from \"@azure-rest/core-client\";\nimport type {\n ClassificationPolicyOutput,\n PagedClassificationPolicyOutput,\n DistributionPolicyOutput,\n PagedDistributionPolicyOutput,\n ExceptionPolicyOutput,\n PagedExceptionPolicyOutput,\n RouterQueueOutput,\n PagedRouterQueueOutput,\n RouterJobOutput,\n ReclassifyJobResultOutput,\n CancelJobResultOutput,\n CompleteJobResultOutput,\n CloseJobResultOutput,\n PagedRouterJobOutput,\n RouterJobPositionDetailsOutput,\n UnassignJobResultOutput,\n AcceptJobOfferResultOutput,\n DeclineJobOfferResultOutput,\n RouterQueueStatisticsOutput,\n RouterWorkerOutput,\n PagedRouterWorkerOutput,\n} from \"./outputModels\";\n\nexport interface UpsertClassificationPolicy200Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface UpsertClassificationPolicy200Response extends HttpResponse {\n status: \"200\";\n body: ClassificationPolicyOutput;\n headers: RawHttpHeaders & UpsertClassificationPolicy200Headers;\n}\n\nexport interface UpsertClassificationPolicy201Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface UpsertClassificationPolicy201Response extends HttpResponse {\n status: \"201\";\n body: ClassificationPolicyOutput;\n headers: RawHttpHeaders & UpsertClassificationPolicy201Headers;\n}\n\nexport interface UpsertClassificationPolicyDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpsertClassificationPolicyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpsertClassificationPolicyDefaultHeaders;\n}\n\nexport interface GetClassificationPolicy200Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetClassificationPolicy200Response extends HttpResponse {\n status: \"200\";\n body: ClassificationPolicyOutput;\n headers: RawHttpHeaders & GetClassificationPolicy200Headers;\n}\n\nexport interface GetClassificationPolicyDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetClassificationPolicyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetClassificationPolicyDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteClassificationPolicy204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DeleteClassificationPolicyDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteClassificationPolicyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteClassificationPolicyDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListClassificationPolicies200Response extends HttpResponse {\n status: \"200\";\n body: PagedClassificationPolicyOutput;\n}\n\nexport interface ListClassificationPoliciesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListClassificationPoliciesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListClassificationPoliciesDefaultHeaders;\n}\n\nexport interface UpsertDistributionPolicy200Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface UpsertDistributionPolicy200Response extends HttpResponse {\n status: \"200\";\n body: DistributionPolicyOutput;\n headers: RawHttpHeaders & UpsertDistributionPolicy200Headers;\n}\n\nexport interface UpsertDistributionPolicy201Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface UpsertDistributionPolicy201Response extends HttpResponse {\n status: \"201\";\n body: DistributionPolicyOutput;\n headers: RawHttpHeaders & UpsertDistributionPolicy201Headers;\n}\n\nexport interface UpsertDistributionPolicyDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpsertDistributionPolicyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpsertDistributionPolicyDefaultHeaders;\n}\n\nexport interface GetDistributionPolicy200Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetDistributionPolicy200Response extends HttpResponse {\n status: \"200\";\n body: DistributionPolicyOutput;\n headers: RawHttpHeaders & GetDistributionPolicy200Headers;\n}\n\nexport interface GetDistributionPolicyDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDistributionPolicyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetDistributionPolicyDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteDistributionPolicy204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DeleteDistributionPolicyDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteDistributionPolicyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteDistributionPolicyDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListDistributionPolicies200Response extends HttpResponse {\n status: \"200\";\n body: PagedDistributionPolicyOutput;\n}\n\nexport interface ListDistributionPoliciesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListDistributionPoliciesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListDistributionPoliciesDefaultHeaders;\n}\n\nexport interface UpsertExceptionPolicy200Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface UpsertExceptionPolicy200Response extends HttpResponse {\n status: \"200\";\n body: ExceptionPolicyOutput;\n headers: RawHttpHeaders & UpsertExceptionPolicy200Headers;\n}\n\nexport interface UpsertExceptionPolicy201Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface UpsertExceptionPolicy201Response extends HttpResponse {\n status: \"201\";\n body: ExceptionPolicyOutput;\n headers: RawHttpHeaders & UpsertExceptionPolicy201Headers;\n}\n\nexport interface UpsertExceptionPolicyDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpsertExceptionPolicyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpsertExceptionPolicyDefaultHeaders;\n}\n\nexport interface GetExceptionPolicy200Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetExceptionPolicy200Response extends HttpResponse {\n status: \"200\";\n body: ExceptionPolicyOutput;\n headers: RawHttpHeaders & GetExceptionPolicy200Headers;\n}\n\nexport interface GetExceptionPolicyDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetExceptionPolicyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetExceptionPolicyDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteExceptionPolicy204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DeleteExceptionPolicyDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteExceptionPolicyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteExceptionPolicyDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListExceptionPolicies200Response extends HttpResponse {\n status: \"200\";\n body: PagedExceptionPolicyOutput;\n}\n\nexport interface ListExceptionPoliciesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListExceptionPoliciesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListExceptionPoliciesDefaultHeaders;\n}\n\nexport interface UpsertQueue200Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface UpsertQueue200Response extends HttpResponse {\n status: \"200\";\n body: RouterQueueOutput;\n headers: RawHttpHeaders & UpsertQueue200Headers;\n}\n\nexport interface UpsertQueue201Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface UpsertQueue201Response extends HttpResponse {\n status: \"201\";\n body: RouterQueueOutput;\n headers: RawHttpHeaders & UpsertQueue201Headers;\n}\n\nexport interface UpsertQueueDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpsertQueueDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpsertQueueDefaultHeaders;\n}\n\nexport interface GetQueue200Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetQueue200Response extends HttpResponse {\n status: \"200\";\n body: RouterQueueOutput;\n headers: RawHttpHeaders & GetQueue200Headers;\n}\n\nexport interface GetQueueDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetQueueDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetQueueDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteQueue204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DeleteQueueDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteQueueDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteQueueDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListQueues200Response extends HttpResponse {\n status: \"200\";\n body: PagedRouterQueueOutput;\n}\n\nexport interface ListQueuesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListQueuesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListQueuesDefaultHeaders;\n}\n\nexport interface UpsertJob200Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface UpsertJob200Response extends HttpResponse {\n status: \"200\";\n body: RouterJobOutput;\n headers: RawHttpHeaders & UpsertJob200Headers;\n}\n\nexport interface UpsertJob201Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface UpsertJob201Response extends HttpResponse {\n status: \"201\";\n body: RouterJobOutput;\n headers: RawHttpHeaders & UpsertJob201Headers;\n}\n\nexport interface UpsertJobDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpsertJobDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpsertJobDefaultHeaders;\n}\n\nexport interface GetJob200Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetJob200Response extends HttpResponse {\n status: \"200\";\n body: RouterJobOutput;\n headers: RawHttpHeaders & GetJob200Headers;\n}\n\nexport interface GetJobDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetJobDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetJobDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteJob204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DeleteJobDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteJobDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteJobDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface Reclassify200Response extends HttpResponse {\n status: \"200\";\n body: ReclassifyJobResultOutput;\n}\n\nexport interface ReclassifyDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ReclassifyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ReclassifyDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface Cancel200Response extends HttpResponse {\n status: \"200\";\n body: CancelJobResultOutput;\n}\n\nexport interface CancelDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CancelDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CancelDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface Complete200Response extends HttpResponse {\n status: \"200\";\n body: CompleteJobResultOutput;\n}\n\nexport interface CompleteDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CompleteDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CompleteDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface Close200Response extends HttpResponse {\n status: \"200\";\n body: CloseJobResultOutput;\n}\n\nexport interface CloseDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CloseDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CloseDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListJobs200Response extends HttpResponse {\n status: \"200\";\n body: PagedRouterJobOutput;\n}\n\nexport interface ListJobsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListJobsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListJobsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetInQueuePosition200Response extends HttpResponse {\n status: \"200\";\n body: RouterJobPositionDetailsOutput;\n}\n\nexport interface GetInQueuePositionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetInQueuePositionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetInQueuePositionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface Unassign200Response extends HttpResponse {\n status: \"200\";\n body: UnassignJobResultOutput;\n}\n\nexport interface UnassignDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UnassignDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UnassignDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface Accept200Response extends HttpResponse {\n status: \"200\";\n body: AcceptJobOfferResultOutput;\n}\n\nexport interface AcceptDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AcceptDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & AcceptDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface Decline200Response extends HttpResponse {\n status: \"200\";\n body: DeclineJobOfferResultOutput;\n}\n\nexport interface DeclineDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeclineDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeclineDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetQueueStatistics200Response extends HttpResponse {\n status: \"200\";\n body: RouterQueueStatisticsOutput;\n}\n\nexport interface GetQueueStatisticsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetQueueStatisticsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetQueueStatisticsDefaultHeaders;\n}\n\nexport interface UpsertWorker200Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface UpsertWorker200Response extends HttpResponse {\n status: \"200\";\n body: RouterWorkerOutput;\n headers: RawHttpHeaders & UpsertWorker200Headers;\n}\n\nexport interface UpsertWorker201Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface UpsertWorker201Response extends HttpResponse {\n status: \"201\";\n body: RouterWorkerOutput;\n headers: RawHttpHeaders & UpsertWorker201Headers;\n}\n\nexport interface UpsertWorkerDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpsertWorkerDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpsertWorkerDefaultHeaders;\n}\n\nexport interface GetWorker200Headers {\n /** The entity tag for the response. */\n etag?: string;\n /** The last modified timestamp. */\n \"last-modified\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetWorker200Response extends HttpResponse {\n status: \"200\";\n body: RouterWorkerOutput;\n headers: RawHttpHeaders & GetWorker200Headers;\n}\n\nexport interface GetWorkerDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetWorkerDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetWorkerDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteWorker204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DeleteWorkerDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteWorkerDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteWorkerDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListWorkers200Response extends HttpResponse {\n status: \"200\";\n body: PagedRouterWorkerOutput;\n}\n\nexport interface ListWorkersDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListWorkersDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListWorkersDefaultHeaders;\n}\n"]}
|