@azure-tools/typespec-azure-core 0.29.0-dev.11 → 0.29.0-dev.13

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/lib/models.tsp CHANGED
@@ -120,12 +120,12 @@ model ConditionalRequestHeaders {
120
120
  @visibility("read", "query", "create", "update", "delete")
121
121
  @header("If-Unmodified-Since")
122
122
  @doc("The request should only proceed if the entity was not modified after this time.")
123
- ifUnmodifiedSince?: zonedDateTime;
123
+ ifUnmodifiedSince?: utcDateTime;
124
124
 
125
125
  @visibility("read", "query", "create", "update", "delete")
126
126
  @header("If-Modified-Since")
127
127
  @doc("The request should only proceed if the entity was modified after this time.")
128
- ifModifiedSince?: zonedDateTime;
128
+ ifModifiedSince?: utcDateTime;
129
129
  }
130
130
 
131
131
  @doc("""
@@ -158,7 +158,7 @@ model RepeatabilityRequestHeaders {
158
158
  @visibility("create", "update", "delete")
159
159
  @doc("Specifies the date and time at which the request was first created.")
160
160
  @header("Repeatability-First-Sent")
161
- repeatabilityFirstSent?: zonedDateTime;
161
+ repeatabilityFirstSent?: utcDateTime;
162
162
  }
163
163
 
164
164
  @doc("Provides the 'Repeatability-*' headers to enable repeatable requests.")
@@ -15,11 +15,12 @@ using Azure.Core.Traits.Private;
15
15
  // RPC Operations
16
16
 
17
17
  @Foundations.Private.needsRoute
18
- op RpcOperation<TParams, TResponse, Traits extends object = {}> is Foundations.Operation<
18
+ op RpcOperation<
19
19
  TParams,
20
20
  TResponse,
21
- Traits
22
- >;
21
+ Traits extends object = {},
22
+ TErrorResponse = Azure.Core.Foundations.ErrorResponse
23
+ > is Foundations.Operation<TParams, TResponse, Traits, TErrorResponse>;
23
24
 
24
25
  // Standard Resource Lifecycle Operations
25
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-azure-core",
3
- "version": "0.29.0-dev.11",
3
+ "version": "0.29.0-dev.13",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec Azure Core library",
6
6
  "homepage": "https://azure.github.io/typespec-azure",