rozod 6.5.0 → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,31 +11,6 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_ItemConfiguration_Api_Asse
11
11
  nextPageCursor: z.string(),
12
12
  data: z.array(Roblox_ItemConfiguration_Api_AssetCreationsResponse),
13
13
  });
14
- const Roblox_ItemConfiguration_Api_TagDetails = z.object({
15
- tagId: z.string(),
16
- name: z.string(),
17
- localizedDisplayName: z.string(),
18
- status: z.enum(["Success", "MissingItem"]),
19
- });
20
- const Roblox_ItemConfiguration_Api_ItemTagDetails = z.object({
21
- id: z.string(),
22
- tag: Roblox_ItemConfiguration_Api_TagDetails,
23
- });
24
- const Roblox_ItemConfiguration_Api_ItemWithTags = z.object({
25
- id: z.string(),
26
- itemTags: z.array(Roblox_ItemConfiguration_Api_ItemTagDetails),
27
- });
28
- const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_ItemConfiguration_Api_ItemWithTags_ =
29
- z.object({ data: z.array(Roblox_ItemConfiguration_Api_ItemWithTags) });
30
- const Roblox_ItemConfiguration_Api_CreateItemTagRequest = z.object({
31
- itemId: z.string(),
32
- tagId: z.string(),
33
- });
34
- const Roblox_ItemConfiguration_Api_ItemTagsMetadataResponse = z.object({
35
- isItemTagsFeatureEnabled: z.boolean(),
36
- enabledAssetTypes: z.array(z.string()),
37
- maximumItemTagsPerItem: z.number().int(),
38
- });
39
14
  const Roblox_ItemConfiguration_Api_AssetCreationsDetailsRequest = z.object({
40
15
  AssetIds: z.array(z.number()),
41
16
  });
@@ -79,7 +54,6 @@ const Roblox_ItemConfiguration_Api_AssetCreationsDetailsResponse = z.object({
79
54
  isDelisted: z.boolean(),
80
55
  isCreatedForBundle: z.boolean(),
81
56
  });
82
- const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
83
57
 
84
58
  /**
85
59
  * @api POST https://itemconfiguration.roblox.com/v1/creations/get-asset-details
@@ -198,147 +172,15 @@ export const getCreationsGetAssets = endpoint({
198
172
  },
199
173
  ],
200
174
  });
201
- /**
202
- * @api GET https://itemconfiguration.roblox.com/v1/item-tags
203
- * @summary Gets all related item tags for each item id listed.
204
- * @param itemIds
205
- */
206
- export const getItemTags = endpoint({
207
- method: "GET",
208
- path: "/v1/item-tags",
209
- baseUrl: "https://itemconfiguration.roblox.com",
210
- requestFormat: "json",
211
- serializationMethod: {
212
- itemIds: {
213
- style: "form",
214
- },
215
- },
216
- parameters: {
217
- itemIds: z.array(z.string()),
218
- },
219
- response:
220
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_ItemConfiguration_Api_ItemWithTags_,
221
- errors: [
222
- {
223
- status: 400,
224
- description: `1: No item tag Ids requested
225
- 2: Too many item tag Ids requested
226
- 3: Invalid item id
227
- 6: Invalid item namespace`,
228
- },
229
- {
230
- status: 404,
231
- description: `10: The endpoint was not found`,
232
- },
233
- {
234
- status: 429,
235
- description: `7: Too many requests`,
236
- },
237
- ],
238
- });
239
- /**
240
- * @api POST https://itemconfiguration.roblox.com/v1/item-tags
241
- * @summary Creates a new item tag.
242
- * @param body
243
- */
244
- export const postItemTags = endpoint({
245
- method: "POST",
246
- path: "/v1/item-tags",
247
- baseUrl: "https://itemconfiguration.roblox.com",
248
- requestFormat: "json",
249
- serializationMethod: {
250
- body: {},
251
- },
252
- parameters: {},
253
- body: Roblox_ItemConfiguration_Api_CreateItemTagRequest,
254
- response: Roblox_ItemConfiguration_Api_ItemTagDetails,
255
- errors: [
256
- {
257
- status: 400,
258
- description: `3: Invalid item id
259
- 4: Invalid tag id
260
- 6: Invalid item namespace
261
- 8: The given item is ineligible for item tags
262
- 9: The given item has already reached its maximum item tag count`,
263
- },
264
- {
265
- status: 401,
266
- description: `0: Authorization has been denied for this request.`,
267
- },
268
- {
269
- status: 403,
270
- description: `0: Token Validation Failed
271
- 5: The current user is missing permissions for the endpoint`,
272
- },
273
- {
274
- status: 404,
275
- description: `10: The endpoint was not found`,
276
- },
277
- {
278
- status: 429,
279
- description: `7: Too many requests`,
280
- },
281
- ],
282
- });
283
- /**
284
- * @api DELETE https://itemconfiguration.roblox.com/v1/item-tags/:itemTagId
285
- * @summary Deletes an item tag from an item.
286
- * @param itemTagId
287
- */
288
- export const deleteItemTagsItemtagid = endpoint({
289
- method: "DELETE",
290
- path: "/v1/item-tags/:itemTagId",
291
- baseUrl: "https://itemconfiguration.roblox.com",
292
- requestFormat: "json",
293
- serializationMethod: {
294
- itemTagId: {
295
- style: "simple",
296
- },
297
- },
298
- parameters: {
299
- itemTagId: z.string(),
300
- },
301
- response: z.object({}),
302
- errors: [
303
- {
304
- status: 401,
305
- description: `0: Authorization has been denied for this request.`,
306
- },
307
- {
308
- status: 403,
309
- description: `0: Token Validation Failed
310
- 5: The current user is missing permissions for the endpoint`,
311
- },
312
- {
313
- status: 404,
314
- description: `10: The endpoint was not found`,
315
- },
316
- {
317
- status: 429,
318
- description: `7: Too many requests`,
319
- },
320
- ],
321
- });
322
- /**
323
- * @api GET https://itemconfiguration.roblox.com/v1/item-tags/metadata
324
- * @summary Gets the metadata related to item tags.
325
- */
326
- export const getItemTagsMetadata = endpoint({
327
- method: "GET",
328
- path: "/v1/item-tags/metadata",
329
- baseUrl: "https://itemconfiguration.roblox.com",
330
- requestFormat: "json",
331
- response: Roblox_ItemConfiguration_Api_ItemTagsMetadataResponse,
332
- errors: [
333
- {
334
- status: 404,
335
- description: `10: The endpoint was not found`,
336
- },
337
- ],
338
- });
339
175
 
340
176
  // Patched endpoints removed from Roblox API docs (v6.1.0 compat)
341
177
 
178
+ const Roblox_ItemConfiguration_Api_TagDetails = z.object({
179
+ tagId: z.string(),
180
+ name: z.string(),
181
+ localizedDisplayName: z.string(),
182
+ status: z.enum(['Success', 'MissingItem']),
183
+ });
342
184
  const Patch_ApiArrayResponse_TagDetails = z.object({
343
185
  data: z.array(Roblox_ItemConfiguration_Api_TagDetails),
344
186
  });
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getTagsPrefixSearch = exports.getTags = exports.getItemTagsMetadata = exports.deleteItemTagsItemtagid = exports.postItemTags = exports.getItemTags = exports.getCreationsGetAssets = exports.postCreationsGetAssetDetails = void 0;
3
+ exports.getTagsPrefixSearch = exports.getTags = exports.getCreationsGetAssets = exports.postCreationsGetAssetDetails = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const __1 = require("..");
6
6
  const Roblox_ItemConfiguration_Api_AssetCreationsResponse = zod_1.z.object({
@@ -12,32 +12,6 @@ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_ItemConfiguration_Api_Asse
12
12
  nextPageCursor: zod_1.z.string(),
13
13
  data: zod_1.z.array(Roblox_ItemConfiguration_Api_AssetCreationsResponse),
14
14
  });
15
- const Roblox_ItemConfiguration_Api_TagDetails = zod_1.z.object({
16
- tagId: zod_1.z.string(),
17
- name: zod_1.z.string(),
18
- localizedDisplayName: zod_1.z.string(),
19
- status: zod_1.z.enum(['Success', 'MissingItem']),
20
- });
21
- const Roblox_ItemConfiguration_Api_ItemTagDetails = zod_1.z.object({
22
- id: zod_1.z.string(),
23
- tag: Roblox_ItemConfiguration_Api_TagDetails,
24
- });
25
- const Roblox_ItemConfiguration_Api_ItemWithTags = zod_1.z.object({
26
- id: zod_1.z.string(),
27
- itemTags: zod_1.z.array(Roblox_ItemConfiguration_Api_ItemTagDetails),
28
- });
29
- const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_ItemConfiguration_Api_ItemWithTags_ = zod_1.z.object({
30
- data: zod_1.z.array(Roblox_ItemConfiguration_Api_ItemWithTags),
31
- });
32
- const Roblox_ItemConfiguration_Api_CreateItemTagRequest = zod_1.z.object({
33
- itemId: zod_1.z.string(),
34
- tagId: zod_1.z.string(),
35
- });
36
- const Roblox_ItemConfiguration_Api_ItemTagsMetadataResponse = zod_1.z.object({
37
- isItemTagsFeatureEnabled: zod_1.z.boolean(),
38
- enabledAssetTypes: zod_1.z.array(zod_1.z.string()),
39
- maximumItemTagsPerItem: zod_1.z.number().int(),
40
- });
41
15
  const Roblox_ItemConfiguration_Api_AssetCreationsDetailsRequest = zod_1.z.object({
42
16
  AssetIds: zod_1.z.array(zod_1.z.number()),
43
17
  });
@@ -76,7 +50,6 @@ const Roblox_ItemConfiguration_Api_AssetCreationsDetailsResponse = zod_1.z.objec
76
50
  isDelisted: zod_1.z.boolean(),
77
51
  isCreatedForBundle: zod_1.z.boolean(),
78
52
  });
79
- const Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
80
53
  /**
81
54
  * @api POST https://itemconfiguration.roblox.com/v1/creations/get-asset-details
82
55
  * @summary Gets the asset status and other configuration details for the given assetIds list.
@@ -193,144 +166,13 @@ exports.getCreationsGetAssets = (0, __1.endpoint)({
193
166
  },
194
167
  ],
195
168
  });
196
- /**
197
- * @api GET https://itemconfiguration.roblox.com/v1/item-tags
198
- * @summary Gets all related item tags for each item id listed.
199
- * @param itemIds
200
- */
201
- exports.getItemTags = (0, __1.endpoint)({
202
- method: 'GET',
203
- path: '/v1/item-tags',
204
- baseUrl: 'https://itemconfiguration.roblox.com',
205
- requestFormat: 'json',
206
- serializationMethod: {
207
- itemIds: {
208
- style: 'form',
209
- },
210
- },
211
- parameters: {
212
- itemIds: zod_1.z.array(zod_1.z.string()),
213
- },
214
- response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_ItemConfiguration_Api_ItemWithTags_,
215
- errors: [
216
- {
217
- status: 400,
218
- description: `1: No item tag Ids requested
219
- 2: Too many item tag Ids requested
220
- 3: Invalid item id
221
- 6: Invalid item namespace`,
222
- },
223
- {
224
- status: 404,
225
- description: `10: The endpoint was not found`,
226
- },
227
- {
228
- status: 429,
229
- description: `7: Too many requests`,
230
- },
231
- ],
232
- });
233
- /**
234
- * @api POST https://itemconfiguration.roblox.com/v1/item-tags
235
- * @summary Creates a new item tag.
236
- * @param body
237
- */
238
- exports.postItemTags = (0, __1.endpoint)({
239
- method: 'POST',
240
- path: '/v1/item-tags',
241
- baseUrl: 'https://itemconfiguration.roblox.com',
242
- requestFormat: 'json',
243
- serializationMethod: {
244
- body: {},
245
- },
246
- parameters: {},
247
- body: Roblox_ItemConfiguration_Api_CreateItemTagRequest,
248
- response: Roblox_ItemConfiguration_Api_ItemTagDetails,
249
- errors: [
250
- {
251
- status: 400,
252
- description: `3: Invalid item id
253
- 4: Invalid tag id
254
- 6: Invalid item namespace
255
- 8: The given item is ineligible for item tags
256
- 9: The given item has already reached its maximum item tag count`,
257
- },
258
- {
259
- status: 401,
260
- description: `0: Authorization has been denied for this request.`,
261
- },
262
- {
263
- status: 403,
264
- description: `0: Token Validation Failed
265
- 5: The current user is missing permissions for the endpoint`,
266
- },
267
- {
268
- status: 404,
269
- description: `10: The endpoint was not found`,
270
- },
271
- {
272
- status: 429,
273
- description: `7: Too many requests`,
274
- },
275
- ],
276
- });
277
- /**
278
- * @api DELETE https://itemconfiguration.roblox.com/v1/item-tags/:itemTagId
279
- * @summary Deletes an item tag from an item.
280
- * @param itemTagId
281
- */
282
- exports.deleteItemTagsItemtagid = (0, __1.endpoint)({
283
- method: 'DELETE',
284
- path: '/v1/item-tags/:itemTagId',
285
- baseUrl: 'https://itemconfiguration.roblox.com',
286
- requestFormat: 'json',
287
- serializationMethod: {
288
- itemTagId: {
289
- style: 'simple',
290
- },
291
- },
292
- parameters: {
293
- itemTagId: zod_1.z.string(),
294
- },
295
- response: zod_1.z.object({}),
296
- errors: [
297
- {
298
- status: 401,
299
- description: `0: Authorization has been denied for this request.`,
300
- },
301
- {
302
- status: 403,
303
- description: `0: Token Validation Failed
304
- 5: The current user is missing permissions for the endpoint`,
305
- },
306
- {
307
- status: 404,
308
- description: `10: The endpoint was not found`,
309
- },
310
- {
311
- status: 429,
312
- description: `7: Too many requests`,
313
- },
314
- ],
315
- });
316
- /**
317
- * @api GET https://itemconfiguration.roblox.com/v1/item-tags/metadata
318
- * @summary Gets the metadata related to item tags.
319
- */
320
- exports.getItemTagsMetadata = (0, __1.endpoint)({
321
- method: 'GET',
322
- path: '/v1/item-tags/metadata',
323
- baseUrl: 'https://itemconfiguration.roblox.com',
324
- requestFormat: 'json',
325
- response: Roblox_ItemConfiguration_Api_ItemTagsMetadataResponse,
326
- errors: [
327
- {
328
- status: 404,
329
- description: `10: The endpoint was not found`,
330
- },
331
- ],
332
- });
333
169
  // Patched endpoints removed from Roblox API docs (v6.1.0 compat)
170
+ const Roblox_ItemConfiguration_Api_TagDetails = zod_1.z.object({
171
+ tagId: zod_1.z.string(),
172
+ name: zod_1.z.string(),
173
+ localizedDisplayName: zod_1.z.string(),
174
+ status: zod_1.z.enum(['Success', 'MissingItem']),
175
+ });
334
176
  const Patch_ApiArrayResponse_TagDetails = zod_1.z.object({
335
177
  data: zod_1.z.array(Roblox_ItemConfiguration_Api_TagDetails),
336
178
  });
package/lib/index.js CHANGED
@@ -695,14 +695,38 @@ function changeHBAKeys(keys) {
695
695
  }
696
696
  async function handleRetryFetch(url, requestOptions, retries, retryDelay, body, method) {
697
697
  let response = undefined;
698
- while (response === undefined) {
698
+ while (true) {
699
699
  try {
700
700
  response = await fetch(url, {
701
701
  method,
702
702
  body,
703
703
  ...requestOptions,
704
704
  });
705
- break;
705
+ const retryable = response.status === 429 ||
706
+ response.status === 500 ||
707
+ response.status === 502 ||
708
+ response.status === 503 ||
709
+ response.status === 504;
710
+ if (retryable && retries > 0) {
711
+ retries--;
712
+ const retryAfterHeader = response.headers.get('retry-after');
713
+ let delay = retryDelay;
714
+ if (retryAfterHeader) {
715
+ const secs = Number(retryAfterHeader);
716
+ if (Number.isFinite(secs) && secs > 0) {
717
+ delay = secs * 1000;
718
+ }
719
+ else {
720
+ const dateMs = Date.parse(retryAfterHeader);
721
+ if (Number.isFinite(dateMs)) {
722
+ delay = Math.max(0, dateMs - Date.now());
723
+ }
724
+ }
725
+ }
726
+ await new Promise((resolve) => setTimeout(resolve, delay));
727
+ continue;
728
+ }
729
+ return response;
706
730
  }
707
731
  catch (error) {
708
732
  if (retries <= 0) {
@@ -712,7 +736,6 @@ async function handleRetryFetch(url, requestOptions, retries, retryDelay, body,
712
736
  await new Promise((resolve) => setTimeout(resolve, retryDelay));
713
737
  }
714
738
  }
715
- return response;
716
739
  }
717
740
  const localStorageCache = new cache_1.Cache(new cache_1.LocalStorageStore());
718
741
  const chromeStorageCache = new cache_1.Cache(new cache_1.ChromeStore());
@@ -17,14 +17,14 @@ export declare const patchAssetPermissionsApiV1AssetsPermissions: import("../.."
17
17
  code: "UnknownError" | "InvalidRequest" | "AssetNotFound" | "CannotManageAsset" | "PublicAssetCannotBeGrantedTo" | "CannotManageSubject" | "SubjectNotFound" | "AssetTypeNotEnabled" | "PermissionLimitReached" | "DependenciesLimitReached";
18
18
  }[] | null;
19
19
  }, {
20
- subjectType: "Invalid" | "User" | "Group" | "GroupRoleset" | "All" | "Universe";
21
- subjectId: string | null;
22
- action: "Invalid" | "Edit" | "Use" | "Download" | "CopyFromRcc" | "UpdateFromRcc";
23
- requests: {
20
+ subjectType?: "Invalid" | "User" | "Group" | "GroupRoleset" | "All" | "Universe" | undefined;
21
+ subjectId?: string | null | undefined;
22
+ action?: "Invalid" | "Edit" | "Use" | "Download" | "CopyFromRcc" | "UpdateFromRcc" | undefined;
23
+ requests?: {
24
24
  assetId: number;
25
25
  grantToDependencies: boolean;
26
26
  parentVersionNumber: number;
27
- }[] | null;
28
- assetIds: number[] | null;
29
- enableDeepAccessCheck: boolean;
27
+ }[] | null | undefined;
28
+ assetIds?: number[] | null | undefined;
29
+ enableDeepAccessCheck?: boolean | undefined;
30
30
  }>;
@@ -62,7 +62,7 @@ exports.patchAssetPermissionsApiV1AssetsPermissions = (0, __1.endpoint)({
62
62
  body: {},
63
63
  },
64
64
  parameters: {},
65
- body: BatchGrantPermissionsRequest,
65
+ body: BatchGrantPermissionsRequest.partial(),
66
66
  response: BatchGrantPermissionsResponse,
67
67
  errors: [
68
68
  {
@@ -178,7 +178,7 @@ export declare const patchAssetsAssetId: import("../..").EndpointGeneric<{
178
178
  };
179
179
  };
180
180
  }, {
181
- request: {
181
+ request?: {
182
182
  assetType: string;
183
183
  assetId: number;
184
184
  creationContext: {
@@ -207,8 +207,8 @@ export declare const patchAssetsAssetId: import("../..").EndpointGeneric<{
207
207
  title: string;
208
208
  uri: string;
209
209
  };
210
- };
211
- fileContent: File;
210
+ } | undefined;
211
+ fileContent?: File | undefined;
212
212
  }>;
213
213
  /**
214
214
  * **Archive Asset** · `BETA`
@@ -165,7 +165,7 @@ exports.patchAssetsAssetId = (0, __1.endpoint)({
165
165
  assetId: zod_1.z.string(),
166
166
  updateMask: zod_1.z.string().optional(),
167
167
  },
168
- body: Assets_CreateAsset_Body,
168
+ body: Assets_CreateAsset_Body.partial(),
169
169
  response: Operation,
170
170
  errors: [
171
171
  {
@@ -129,7 +129,7 @@ export declare const patchUniversesUniverseIdOrderedDataStoresOrderedDataStoreSc
129
129
  id: string;
130
130
  value: number;
131
131
  }, {
132
- value: number;
132
+ value?: number | undefined;
133
133
  }>;
134
134
  /**
135
135
  * **Increment** · `BETA`
@@ -268,7 +268,7 @@ exports.patchUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntr
268
268
  entry: zod_1.z.string(),
269
269
  allow_missing: zod_1.z.boolean().optional(),
270
270
  },
271
- body: zod_1.z.object({ value: zod_1.z.number().int() }),
271
+ body: zod_1.z.object({ value: zod_1.z.number().int() }).partial(),
272
272
  response: Entry,
273
273
  errors: [
274
274
  {
@@ -51,13 +51,13 @@ export declare const patchDeveloperProductsV2UniversesUniverseIdDeveloperProduct
51
51
  universeId: number;
52
52
  productId: number;
53
53
  }, void, {
54
- name: string | null;
55
- description: string | null;
56
- isForSale: boolean | null;
57
- price: number | null;
58
- imageFile: File | null;
59
- isRegionalPricingEnabled: boolean | null;
60
- storePageEnabled: boolean | null;
54
+ name?: string | null | undefined;
55
+ description?: string | null | undefined;
56
+ isForSale?: boolean | null | undefined;
57
+ price?: number | null | undefined;
58
+ imageFile?: File | null | undefined;
59
+ isRegionalPricingEnabled?: boolean | null | undefined;
60
+ storePageEnabled?: boolean | null | undefined;
61
61
  }>;
62
62
  /**
63
63
  * `BETA`
@@ -155,7 +155,7 @@ exports.patchDeveloperProductsV2UniversesUniverseIdDeveloperProductsProductId =
155
155
  universeId: zod_1.z.number().int(),
156
156
  productId: zod_1.z.number().int(),
157
157
  },
158
- body: DeveloperProducts_UpdateDeveloperProductV2_Body,
158
+ body: DeveloperProducts_UpdateDeveloperProductV2_Body.partial(),
159
159
  response: zod_1.z.void(),
160
160
  errors: [
161
161
  {
@@ -48,12 +48,12 @@ export declare const patchGamePassesV1UniversesUniverseIdGamePassesGamePassId: i
48
48
  universeId: number;
49
49
  gamePassId: number;
50
50
  }, void, {
51
- name: string | null;
52
- description: string | null;
53
- file: File | null;
54
- isForSale: boolean | null;
55
- price: number | null;
56
- isRegionalPricingEnabled: boolean | null;
51
+ name?: string | null | undefined;
52
+ description?: string | null | undefined;
53
+ file?: File | null | undefined;
54
+ isForSale?: boolean | null | undefined;
55
+ price?: number | null | undefined;
56
+ isRegionalPricingEnabled?: boolean | null | undefined;
57
57
  }>;
58
58
  /**
59
59
  * `BETA`
@@ -142,7 +142,7 @@ exports.patchGamePassesV1UniversesUniverseIdGamePassesGamePassId = (0, __1.endpo
142
142
  universeId: zod_1.z.number().int(),
143
143
  gamePassId: zod_1.z.number().int(),
144
144
  },
145
- body: GamePasses_UpdateGamePass_Body,
145
+ body: GamePasses_UpdateGamePass_Body.partial(),
146
146
  response: zod_1.z.void(),
147
147
  errors: [
148
148
  {
@@ -107,12 +107,12 @@ export declare const patchCloudV2UniversesUniverseIdSecretsSecretId: import("../
107
107
  create_time: string | null;
108
108
  update_time: string | null;
109
109
  }, {
110
- id: string | null;
111
- secret: string | null;
112
- key_id: string | null;
113
- domain: string | null;
114
- create_time: string | null;
115
- update_time: string | null;
110
+ id?: string | null | undefined;
111
+ secret?: string | null | undefined;
112
+ key_id?: string | null | undefined;
113
+ domain?: string | null | undefined;
114
+ create_time?: string | null | undefined;
115
+ update_time?: string | null | undefined;
116
116
  }>;
117
117
  /**
118
118
  * `BETA`
@@ -161,7 +161,7 @@ exports.patchCloudV2UniversesUniverseIdSecretsSecretId = (0, __1.endpoint)({
161
161
  universeId: zod_1.z.number().int(),
162
162
  secretId: zod_1.z.string(),
163
163
  },
164
- body: Secret,
164
+ body: Secret.partial(),
165
165
  response: Secret,
166
166
  errors: [
167
167
  {