@azure-rest/communication-job-router 1.1.0-beta.1 → 1.1.0-beta.2
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/README.md +168 -115
- package/dist/browser/azureCommunicationRoutingServiceClient.d.ts +14 -0
- package/dist/browser/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
- package/dist/browser/azureCommunicationRoutingServiceClient.js +40 -0
- package/dist/browser/azureCommunicationRoutingServiceClient.js.map +1 -0
- package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
- package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
- package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.js +29 -0
- package/dist/browser/azureCommunicationRoutingServiceCustmizedClient.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 +4 -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-esm/src → dist/browser}/isUnexpected.js +1 -1
- 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-esm/src → dist/browser}/logger.js +1 -1
- package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
- package/dist/browser/models.d.ts +562 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.js +4 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/outputModels.d.ts +683 -0
- package/dist/browser/outputModels.d.ts.map +1 -0
- package/dist/browser/outputModels.js +4 -0
- package/dist/browser/outputModels.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/paginateHelper.d.ts +68 -0
- package/dist/browser/paginateHelper.d.ts.map +1 -0
- package/dist/browser/paginateHelper.js +167 -0
- package/dist/browser/paginateHelper.js.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 +4 -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 +4 -0
- package/dist/browser/responses.js.map +1 -0
- package/dist/commonjs/azureCommunicationRoutingServiceClient.d.ts +14 -0
- package/dist/commonjs/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
- package/dist/commonjs/azureCommunicationRoutingServiceClient.js +43 -0
- package/dist/commonjs/azureCommunicationRoutingServiceClient.js.map +1 -0
- package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
- package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
- package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.js +33 -0
- package/dist/commonjs/azureCommunicationRoutingServiceCustmizedClient.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 +562 -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 +683 -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 +68 -0
- package/dist/commonjs/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/paginateHelper.js +170 -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 +14 -0
- package/dist/esm/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
- package/dist/esm/azureCommunicationRoutingServiceClient.js +40 -0
- package/dist/esm/azureCommunicationRoutingServiceClient.js.map +1 -0
- package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
- package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
- package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.js +29 -0
- package/dist/esm/azureCommunicationRoutingServiceCustmizedClient.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 +562 -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 +683 -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 +68 -0
- package/dist/esm/paginateHelper.d.ts.map +1 -0
- package/dist/esm/paginateHelper.js +167 -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 +14 -0
- package/dist/react-native/azureCommunicationRoutingServiceClient.d.ts.map +1 -0
- package/dist/react-native/azureCommunicationRoutingServiceClient.js +40 -0
- package/dist/react-native/azureCommunicationRoutingServiceClient.js.map +1 -0
- package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.d.ts +17 -0
- package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.d.ts.map +1 -0
- package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.js +29 -0
- package/dist/react-native/azureCommunicationRoutingServiceCustmizedClient.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 +562 -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 +683 -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 +68 -0
- package/dist/react-native/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/paginateHelper.js +167 -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 +79 -63
- package/dist/index.js +0 -229
- package/dist/index.js.map +0 -1
- package/dist-esm/src/azureCommunicationRoutingServiceClient.js +0 -42
- package/dist-esm/src/azureCommunicationRoutingServiceClient.js.map +0 -1
- package/dist-esm/src/clientDefinitions.js +0 -4
- 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/models.js +0 -4
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/outputModels.js +0 -4
- package/dist-esm/src/outputModels.js.map +0 -1
- package/dist-esm/src/paginateHelper.js +0 -70
- package/dist-esm/src/paginateHelper.js.map +0 -1
- package/dist-esm/src/parameters.js +0 -4
- package/dist-esm/src/parameters.js.map +0 -1
- package/dist-esm/src/responses.js +0 -4
- 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
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import type { RawHttpHeadersInput } from "@azure/core-rest-pipeline";
|
|
2
|
+
import type { RequestParameters } from "@azure-rest/core-client";
|
|
3
|
+
import type { ClassificationPolicy, DistributionPolicy, ExceptionPolicy, RouterQueue, RouterJob, ReclassifyJobOptions, CancelJobOptions, CompleteJobOptions, CloseJobOptions, RouterJobStatusSelector, UnassignJobOptions, DeclineJobOfferOptions, RouterWorker, RouterWorkerStateSelector } from "./models.js";
|
|
4
|
+
export interface UpsertClassificationPolicyHeaders {
|
|
5
|
+
/** The request should only proceed if an entity matches this string. */
|
|
6
|
+
"If-Match"?: string;
|
|
7
|
+
/** The request should only proceed if the entity was not modified after this time. */
|
|
8
|
+
"If-Unmodified-Since"?: string;
|
|
9
|
+
}
|
|
10
|
+
/** The resource instance. */
|
|
11
|
+
export type ClassificationPolicyResourceMergeAndPatch = Partial<ClassificationPolicy>;
|
|
12
|
+
export interface UpsertClassificationPolicyBodyParam {
|
|
13
|
+
/** The resource instance. */
|
|
14
|
+
body: ClassificationPolicyResourceMergeAndPatch;
|
|
15
|
+
}
|
|
16
|
+
export interface UpsertClassificationPolicyHeaderParam {
|
|
17
|
+
headers?: RawHttpHeadersInput & UpsertClassificationPolicyHeaders;
|
|
18
|
+
}
|
|
19
|
+
export interface UpsertClassificationPolicyMediaTypesParam {
|
|
20
|
+
/** This request has a JSON Merge Patch body. */
|
|
21
|
+
contentType: "application/merge-patch+json";
|
|
22
|
+
}
|
|
23
|
+
export type UpsertClassificationPolicyParameters = UpsertClassificationPolicyHeaderParam & UpsertClassificationPolicyMediaTypesParam & UpsertClassificationPolicyBodyParam & RequestParameters;
|
|
24
|
+
export type GetClassificationPolicyParameters = RequestParameters;
|
|
25
|
+
export type DeleteClassificationPolicyParameters = RequestParameters;
|
|
26
|
+
export interface ListClassificationPoliciesQueryParamProperties {
|
|
27
|
+
/** Number of objects to return per page. */
|
|
28
|
+
maxpagesize?: number;
|
|
29
|
+
}
|
|
30
|
+
export interface ListClassificationPoliciesQueryParam {
|
|
31
|
+
queryParameters?: ListClassificationPoliciesQueryParamProperties;
|
|
32
|
+
}
|
|
33
|
+
export type ListClassificationPoliciesParameters = ListClassificationPoliciesQueryParam & RequestParameters;
|
|
34
|
+
export interface UpsertDistributionPolicyHeaders {
|
|
35
|
+
/** The request should only proceed if an entity matches this string. */
|
|
36
|
+
"If-Match"?: string;
|
|
37
|
+
/** The request should only proceed if the entity was not modified after this time. */
|
|
38
|
+
"If-Unmodified-Since"?: string;
|
|
39
|
+
}
|
|
40
|
+
/** The resource instance. */
|
|
41
|
+
export type DistributionPolicyResourceMergeAndPatch = Partial<DistributionPolicy>;
|
|
42
|
+
export interface UpsertDistributionPolicyBodyParam {
|
|
43
|
+
/** The resource instance. */
|
|
44
|
+
body: DistributionPolicyResourceMergeAndPatch;
|
|
45
|
+
}
|
|
46
|
+
export interface UpsertDistributionPolicyHeaderParam {
|
|
47
|
+
headers?: RawHttpHeadersInput & UpsertDistributionPolicyHeaders;
|
|
48
|
+
}
|
|
49
|
+
export interface UpsertDistributionPolicyMediaTypesParam {
|
|
50
|
+
/** This request has a JSON Merge Patch body. */
|
|
51
|
+
contentType: "application/merge-patch+json";
|
|
52
|
+
}
|
|
53
|
+
export type UpsertDistributionPolicyParameters = UpsertDistributionPolicyHeaderParam & UpsertDistributionPolicyMediaTypesParam & UpsertDistributionPolicyBodyParam & RequestParameters;
|
|
54
|
+
export type GetDistributionPolicyParameters = RequestParameters;
|
|
55
|
+
export type DeleteDistributionPolicyParameters = RequestParameters;
|
|
56
|
+
export interface ListDistributionPoliciesQueryParamProperties {
|
|
57
|
+
/** Number of objects to return per page. */
|
|
58
|
+
maxpagesize?: number;
|
|
59
|
+
}
|
|
60
|
+
export interface ListDistributionPoliciesQueryParam {
|
|
61
|
+
queryParameters?: ListDistributionPoliciesQueryParamProperties;
|
|
62
|
+
}
|
|
63
|
+
export type ListDistributionPoliciesParameters = ListDistributionPoliciesQueryParam & RequestParameters;
|
|
64
|
+
export interface UpsertExceptionPolicyHeaders {
|
|
65
|
+
/** The request should only proceed if an entity matches this string. */
|
|
66
|
+
"If-Match"?: string;
|
|
67
|
+
/** The request should only proceed if the entity was not modified after this time. */
|
|
68
|
+
"If-Unmodified-Since"?: string;
|
|
69
|
+
}
|
|
70
|
+
/** The resource instance. */
|
|
71
|
+
export type ExceptionPolicyResourceMergeAndPatch = Partial<ExceptionPolicy>;
|
|
72
|
+
export interface UpsertExceptionPolicyBodyParam {
|
|
73
|
+
/** The resource instance. */
|
|
74
|
+
body: ExceptionPolicyResourceMergeAndPatch;
|
|
75
|
+
}
|
|
76
|
+
export interface UpsertExceptionPolicyHeaderParam {
|
|
77
|
+
headers?: RawHttpHeadersInput & UpsertExceptionPolicyHeaders;
|
|
78
|
+
}
|
|
79
|
+
export interface UpsertExceptionPolicyMediaTypesParam {
|
|
80
|
+
/** This request has a JSON Merge Patch body. */
|
|
81
|
+
contentType: "application/merge-patch+json";
|
|
82
|
+
}
|
|
83
|
+
export type UpsertExceptionPolicyParameters = UpsertExceptionPolicyHeaderParam & UpsertExceptionPolicyMediaTypesParam & UpsertExceptionPolicyBodyParam & RequestParameters;
|
|
84
|
+
export type GetExceptionPolicyParameters = RequestParameters;
|
|
85
|
+
export type DeleteExceptionPolicyParameters = RequestParameters;
|
|
86
|
+
export interface ListExceptionPoliciesQueryParamProperties {
|
|
87
|
+
/** Number of objects to return per page. */
|
|
88
|
+
maxpagesize?: number;
|
|
89
|
+
}
|
|
90
|
+
export interface ListExceptionPoliciesQueryParam {
|
|
91
|
+
queryParameters?: ListExceptionPoliciesQueryParamProperties;
|
|
92
|
+
}
|
|
93
|
+
export type ListExceptionPoliciesParameters = ListExceptionPoliciesQueryParam & RequestParameters;
|
|
94
|
+
export interface UpsertQueueHeaders {
|
|
95
|
+
/** The request should only proceed if an entity matches this string. */
|
|
96
|
+
"If-Match"?: string;
|
|
97
|
+
/** The request should only proceed if the entity was not modified after this time. */
|
|
98
|
+
"If-Unmodified-Since"?: string;
|
|
99
|
+
}
|
|
100
|
+
/** The resource instance. */
|
|
101
|
+
export type RouterQueueResourceMergeAndPatch = Partial<RouterQueue>;
|
|
102
|
+
export interface UpsertQueueBodyParam {
|
|
103
|
+
/** The resource instance. */
|
|
104
|
+
body: RouterQueueResourceMergeAndPatch;
|
|
105
|
+
}
|
|
106
|
+
export interface UpsertQueueHeaderParam {
|
|
107
|
+
headers?: RawHttpHeadersInput & UpsertQueueHeaders;
|
|
108
|
+
}
|
|
109
|
+
export interface UpsertQueueMediaTypesParam {
|
|
110
|
+
/** This request has a JSON Merge Patch body. */
|
|
111
|
+
contentType: "application/merge-patch+json";
|
|
112
|
+
}
|
|
113
|
+
export type UpsertQueueParameters = UpsertQueueHeaderParam & UpsertQueueMediaTypesParam & UpsertQueueBodyParam & RequestParameters;
|
|
114
|
+
export type GetQueueParameters = RequestParameters;
|
|
115
|
+
export type DeleteQueueParameters = RequestParameters;
|
|
116
|
+
export interface ListQueuesQueryParamProperties {
|
|
117
|
+
/** Number of objects to return per page. */
|
|
118
|
+
maxpagesize?: number;
|
|
119
|
+
}
|
|
120
|
+
export interface ListQueuesQueryParam {
|
|
121
|
+
queryParameters?: ListQueuesQueryParamProperties;
|
|
122
|
+
}
|
|
123
|
+
export type ListQueuesParameters = ListQueuesQueryParam & RequestParameters;
|
|
124
|
+
export interface UpsertJobHeaders {
|
|
125
|
+
/** The request should only proceed if an entity matches this string. */
|
|
126
|
+
"If-Match"?: string;
|
|
127
|
+
/** The request should only proceed if the entity was not modified after this time. */
|
|
128
|
+
"If-Unmodified-Since"?: string;
|
|
129
|
+
}
|
|
130
|
+
/** The resource instance. */
|
|
131
|
+
export type RouterJobResourceMergeAndPatch = Partial<RouterJob>;
|
|
132
|
+
export interface UpsertJobBodyParam {
|
|
133
|
+
/** The resource instance. */
|
|
134
|
+
body: RouterJobResourceMergeAndPatch;
|
|
135
|
+
}
|
|
136
|
+
export interface UpsertJobHeaderParam {
|
|
137
|
+
headers?: RawHttpHeadersInput & UpsertJobHeaders;
|
|
138
|
+
}
|
|
139
|
+
export interface UpsertJobMediaTypesParam {
|
|
140
|
+
/** This request has a JSON Merge Patch body. */
|
|
141
|
+
contentType: "application/merge-patch+json";
|
|
142
|
+
}
|
|
143
|
+
export type UpsertJobParameters = UpsertJobHeaderParam & UpsertJobMediaTypesParam & UpsertJobBodyParam & RequestParameters;
|
|
144
|
+
export type GetJobParameters = RequestParameters;
|
|
145
|
+
export type DeleteJobParameters = RequestParameters;
|
|
146
|
+
export interface ReclassifyBodyParam {
|
|
147
|
+
/** Request object for reclassifying a job. */
|
|
148
|
+
body?: ReclassifyJobOptions;
|
|
149
|
+
}
|
|
150
|
+
export type ReclassifyParameters = ReclassifyBodyParam & RequestParameters;
|
|
151
|
+
export interface CancelBodyParam {
|
|
152
|
+
/** Request model for cancelling job. */
|
|
153
|
+
body?: CancelJobOptions;
|
|
154
|
+
}
|
|
155
|
+
export type CancelParameters = CancelBodyParam & RequestParameters;
|
|
156
|
+
export interface CompleteBodyParam {
|
|
157
|
+
/** Request model for completing job. */
|
|
158
|
+
body?: CompleteJobOptions;
|
|
159
|
+
}
|
|
160
|
+
export type CompleteParameters = CompleteBodyParam & RequestParameters;
|
|
161
|
+
export interface CloseBodyParam {
|
|
162
|
+
/** Request model for closing job. */
|
|
163
|
+
body?: CloseJobOptions;
|
|
164
|
+
}
|
|
165
|
+
export type CloseParameters = CloseBodyParam & RequestParameters;
|
|
166
|
+
export interface ListJobsQueryParamProperties {
|
|
167
|
+
/** Number of objects to return per page. */
|
|
168
|
+
maxpagesize?: number;
|
|
169
|
+
/**
|
|
170
|
+
* If specified, filter jobs by status.
|
|
171
|
+
*
|
|
172
|
+
* Possible values: "all", "pendingClassification", "queued", "assigned", "completed", "closed", "cancelled", "classificationFailed", "created", "pendingSchedule", "scheduled", "scheduleFailed", "waitingForActivation", "active"
|
|
173
|
+
*/
|
|
174
|
+
status?: RouterJobStatusSelector;
|
|
175
|
+
/** If specified, filter jobs by queue. */
|
|
176
|
+
queueId?: string;
|
|
177
|
+
/** If specified, filter jobs by channel. */
|
|
178
|
+
channelId?: string;
|
|
179
|
+
/** If specified, filter jobs by classificationPolicy. */
|
|
180
|
+
classificationPolicyId?: string;
|
|
181
|
+
/** If specified, filter on jobs that was scheduled before or at given timestamp. Range: (-Inf, scheduledBefore]. */
|
|
182
|
+
scheduledBefore?: Date | string;
|
|
183
|
+
/** If specified, filter on jobs that was scheduled at or after given value. Range: [scheduledAfter, +Inf). */
|
|
184
|
+
scheduledAfter?: Date | string;
|
|
185
|
+
}
|
|
186
|
+
export interface ListJobsQueryParam {
|
|
187
|
+
queryParameters?: ListJobsQueryParamProperties;
|
|
188
|
+
}
|
|
189
|
+
export type ListJobsParameters = ListJobsQueryParam & RequestParameters;
|
|
190
|
+
export type GetInQueuePositionParameters = RequestParameters;
|
|
191
|
+
export interface UnassignBodyParam {
|
|
192
|
+
/** Request body for unassign route. */
|
|
193
|
+
body?: UnassignJobOptions;
|
|
194
|
+
}
|
|
195
|
+
export type UnassignParameters = UnassignBodyParam & RequestParameters;
|
|
196
|
+
export type AcceptParameters = RequestParameters;
|
|
197
|
+
export interface DeclineBodyParam {
|
|
198
|
+
/** Request model for declining offer. */
|
|
199
|
+
body?: DeclineJobOfferOptions;
|
|
200
|
+
}
|
|
201
|
+
export type DeclineParameters = DeclineBodyParam & RequestParameters;
|
|
202
|
+
export type GetQueueStatisticsParameters = RequestParameters;
|
|
203
|
+
export interface UpsertWorkerHeaders {
|
|
204
|
+
/** The request should only proceed if an entity matches this string. */
|
|
205
|
+
"If-Match"?: string;
|
|
206
|
+
/** The request should only proceed if the entity was not modified after this time. */
|
|
207
|
+
"If-Unmodified-Since"?: string;
|
|
208
|
+
}
|
|
209
|
+
/** The resource instance. */
|
|
210
|
+
export type RouterWorkerResourceMergeAndPatch = Partial<RouterWorker>;
|
|
211
|
+
export interface UpsertWorkerBodyParam {
|
|
212
|
+
/** The resource instance. */
|
|
213
|
+
body: RouterWorkerResourceMergeAndPatch;
|
|
214
|
+
}
|
|
215
|
+
export interface UpsertWorkerHeaderParam {
|
|
216
|
+
headers?: RawHttpHeadersInput & UpsertWorkerHeaders;
|
|
217
|
+
}
|
|
218
|
+
export interface UpsertWorkerMediaTypesParam {
|
|
219
|
+
/** This request has a JSON Merge Patch body. */
|
|
220
|
+
contentType: "application/merge-patch+json";
|
|
221
|
+
}
|
|
222
|
+
export type UpsertWorkerParameters = UpsertWorkerHeaderParam & UpsertWorkerMediaTypesParam & UpsertWorkerBodyParam & RequestParameters;
|
|
223
|
+
export type GetWorkerParameters = RequestParameters;
|
|
224
|
+
export type DeleteWorkerParameters = RequestParameters;
|
|
225
|
+
export interface ListWorkersQueryParamProperties {
|
|
226
|
+
/** Number of objects to return per page. */
|
|
227
|
+
maxpagesize?: number;
|
|
228
|
+
/**
|
|
229
|
+
* If specified, select workers by worker state.
|
|
230
|
+
*
|
|
231
|
+
* Possible values: "active", "draining", "inactive", "all"
|
|
232
|
+
*/
|
|
233
|
+
state?: RouterWorkerStateSelector;
|
|
234
|
+
/** If specified, select workers who have a channel configuration with this channel. */
|
|
235
|
+
channelId?: string;
|
|
236
|
+
/** If specified, select workers who are assigned to this queue. */
|
|
237
|
+
queueId?: string;
|
|
238
|
+
/** 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. */
|
|
239
|
+
hasCapacity?: boolean;
|
|
240
|
+
}
|
|
241
|
+
export interface ListWorkersQueryParam {
|
|
242
|
+
queryParameters?: ListWorkersQueryParamProperties;
|
|
243
|
+
}
|
|
244
|
+
export type ListWorkersParameters = ListWorkersQueryParam & RequestParameters;
|
|
245
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../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,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,SAAS,EACT,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACvB,kBAAkB,EAClB,sBAAsB,EACtB,YAAY,EACZ,yBAAyB,EAC1B,MAAM,aAAa,CAAC;AAErB,MAAM,WAAW,iCAAiC;IAChD,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sFAAsF;IACtF,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,6BAA6B;AAC7B,MAAM,MAAM,yCAAyC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;AAEtF,MAAM,WAAW,mCAAmC;IAClD,6BAA6B;IAC7B,IAAI,EAAE,yCAAyC,CAAC;CACjD;AAED,MAAM,WAAW,qCAAqC;IACpD,OAAO,CAAC,EAAE,mBAAmB,GAAG,iCAAiC,CAAC;CACnE;AAED,MAAM,WAAW,yCAAyC;IACxD,gDAAgD;IAChD,WAAW,EAAE,8BAA8B,CAAC;CAC7C;AAED,MAAM,MAAM,oCAAoC,GAAG,qCAAqC,GACtF,yCAAyC,GACzC,mCAAmC,GACnC,i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,GAAG,qBAAqB,GAAG,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
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 RouterJobStatusSelector,\n UnassignJobOptions,\n DeclineJobOfferOptions,\n RouterWorker,\n RouterWorkerStateSelector,\n} from \"./models.js\";\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?: RouterJobStatusSelector;\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?: RouterWorkerStateSelector;\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"]}
|