@databricks/sdk-marketplaces 0.1.0-dev.2 → 0.1.0-dev.3

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/src/v1/model.ts CHANGED
@@ -199,19 +199,21 @@ export interface CreateFileRequest {
199
199
  displayName?: string | undefined;
200
200
  }
201
201
 
202
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
203
- export interface CreateFileRequest_Response {
202
+ export interface CreateFileResponse {
204
203
  /** Pre-signed POST URL to blob storage */
205
204
  uploadUrl?: string | undefined;
206
205
  fileInfo?: FileInfo | undefined;
207
206
  }
208
207
 
208
+ export interface CreateInstallationResponse {
209
+ installation?: InstallationDetail | undefined;
210
+ }
211
+
209
212
  export interface CreateListingRequest {
210
213
  listing?: Listing | undefined;
211
214
  }
212
215
 
213
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
214
- export interface CreateListingRequest_Response {
216
+ export interface CreateListingResponse {
215
217
  listingId?: string | undefined;
216
218
  }
217
219
 
@@ -231,16 +233,14 @@ export interface CreatePersonalizationRequest {
231
233
  acceptedConsumerTerms?: ConsumerTerms | undefined;
232
234
  }
233
235
 
234
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
235
- export interface CreatePersonalizationRequest_Response {
236
+ export interface CreatePersonalizationResponse {
236
237
  id?: string | undefined;
237
238
  }
238
239
 
239
240
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
240
241
  export interface CreateProviderAnalyticsDashboardRequest {}
241
242
 
242
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
243
- export interface CreateProviderAnalyticsDashboardRequest_Response {
243
+ export interface CreateProviderAnalyticsDashboardResponse {
244
244
  id?: string | undefined;
245
245
  }
246
246
 
@@ -248,8 +248,7 @@ export interface CreateProviderRequest {
248
248
  provider?: ProviderInfo | undefined;
249
249
  }
250
250
 
251
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
252
- export interface CreateProviderRequest_Response {
251
+ export interface CreateProviderResponse {
253
252
  id?: string | undefined;
254
253
  }
255
254
 
@@ -276,22 +275,25 @@ export interface DeleteFileRequest {
276
275
  fileId?: string | undefined;
277
276
  }
278
277
 
279
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
280
- export interface DeleteFileRequest_Response {}
278
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
279
+ export interface DeleteFileResponse {}
280
+
281
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
282
+ export interface DeleteInstallationResponse {}
281
283
 
282
284
  export interface DeleteListingRequest {
283
285
  id?: string | undefined;
284
286
  }
285
287
 
286
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
287
- export interface DeleteListingRequest_Response {}
288
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
289
+ export interface DeleteListingResponse {}
288
290
 
289
291
  export interface DeleteProviderRequest {
290
292
  id?: string | undefined;
291
293
  }
292
294
 
293
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
294
- export interface DeleteProviderRequest_Response {}
295
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
296
+ export interface DeleteProviderResponse {}
295
297
 
296
298
  export interface Exchange {
297
299
  id?: string | undefined;
@@ -348,6 +350,11 @@ export interface FileParent {
348
350
  fileParentType?: FileParentType | undefined;
349
351
  }
350
352
 
353
+ export interface GetAllPersonalizationRequestsForConsumerResponse {
354
+ personalizationRequests?: PersonalizationRequest[] | undefined;
355
+ nextPageToken?: string | undefined;
356
+ }
357
+
351
358
  export interface GetExchangeRequest {
352
359
  id?: string | undefined;
353
360
  }
@@ -360,8 +367,7 @@ export interface GetFileRequest {
360
367
  fileId?: string | undefined;
361
368
  }
362
369
 
363
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
364
- export interface GetFileRequest_Response {
370
+ export interface GetFileResponse {
365
371
  fileInfo?: FileInfo | undefined;
366
372
  }
367
373
 
@@ -371,12 +377,6 @@ export interface GetInstallationDetails {
371
377
  pageSize?: number | undefined;
372
378
  }
373
379
 
374
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
375
- export interface GetInstallationDetails_Response {
376
- installations?: InstallationDetail[] | undefined;
377
- nextPageToken?: string | undefined;
378
- }
379
-
380
380
  /**
381
381
  * this is effectively a static request for now and will return latest version of the dashboard template
382
382
  * that exists on server.
@@ -384,8 +384,7 @@ export interface GetInstallationDetails_Response {
384
384
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
385
385
  export interface GetLatestVersionProviderAnalyticsDashboardRequest {}
386
386
 
387
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
388
- export interface GetLatestVersionProviderAnalyticsDashboardRequest_Response {
387
+ export interface GetLatestVersionProviderAnalyticsDashboardResponse {
389
388
  /** version here is latest logical version of the dashboard template */
390
389
  version?: bigint | undefined;
391
390
  }
@@ -396,8 +395,7 @@ export interface GetListingContent {
396
395
  pageSize?: number | undefined;
397
396
  }
398
397
 
399
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
400
- export interface GetListingContent_Response {
398
+ export interface GetListingContentMetadataResponse {
401
399
  sharedDataObjects?: SharedDataObject[] | undefined;
402
400
  nextPageToken?: string | undefined;
403
401
  }
@@ -406,17 +404,20 @@ export interface GetListingRequest {
406
404
  id?: string | undefined;
407
405
  }
408
406
 
409
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
410
- export interface GetListingRequest_Response {
407
+ export interface GetListingResponse {
411
408
  listing?: Listing | undefined;
412
409
  }
413
410
 
411
+ export interface GetListingsResponse {
412
+ listings?: Listing[] | undefined;
413
+ nextPageToken?: string | undefined;
414
+ }
415
+
414
416
  export interface GetPersonalizationRequestsForConsumer {
415
417
  listingId?: string | undefined;
416
418
  }
417
419
 
418
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
419
- export interface GetPersonalizationRequestsForConsumer_Response {
420
+ export interface GetPersonalizationRequestsForConsumerResponse {
420
421
  personalizationRequests?: PersonalizationRequest[] | undefined;
421
422
  }
422
423
 
@@ -425,8 +426,7 @@ export interface GetPersonalizationRequestsForProviderRequest {
425
426
  pageSize?: number | undefined;
426
427
  }
427
428
 
428
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
429
- export interface GetPersonalizationRequestsForProviderRequest_Response {
429
+ export interface GetPersonalizationRequestsForProviderResponse {
430
430
  personalizationRequests?: PersonalizationRequest[] | undefined;
431
431
  nextPageToken?: string | undefined;
432
432
  }
@@ -435,8 +435,7 @@ export interface GetProviderRequest {
435
435
  id?: string | undefined;
436
436
  }
437
437
 
438
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
439
- export interface GetProviderRequest_Response {
438
+ export interface GetProviderResponse {
440
439
  provider?: ProviderInfo | undefined;
441
440
  }
442
441
 
@@ -444,17 +443,20 @@ export interface GetPublishedListingForConsumer {
444
443
  id?: string | undefined;
445
444
  }
446
445
 
447
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
448
- export interface GetPublishedListingForConsumer_Response {
446
+ export interface GetPublishedListingForConsumerResponse {
449
447
  listing?: Listing | undefined;
450
448
  }
451
449
 
450
+ export interface GetPublishedListingsForConsumerResponse {
451
+ listings?: Listing[] | undefined;
452
+ nextPageToken?: string | undefined;
453
+ }
454
+
452
455
  export interface GetPublishedProviderForConsumer {
453
456
  id?: string | undefined;
454
457
  }
455
458
 
456
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
457
- export interface GetPublishedProviderForConsumer_Response {
459
+ export interface GetPublishedProviderForConsumerResponse {
458
460
  provider?: ProviderInfo | undefined;
459
461
  }
460
462
 
@@ -468,11 +470,6 @@ export interface InstallListing {
468
470
  acceptedConsumerTerms?: ConsumerTerms | undefined;
469
471
  }
470
472
 
471
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
472
- export interface InstallListing_Response {
473
- installation?: InstallationDetail | undefined;
474
- }
475
-
476
473
  export interface InstallationDetail {
477
474
  id?: string | undefined;
478
475
  listingId?: string | undefined;
@@ -489,6 +486,11 @@ export interface InstallationDetail {
489
486
  tokenDetail?: TokenDetail | undefined;
490
487
  }
491
488
 
489
+ export interface ListAllInstallationsResponse {
490
+ installations?: InstallationDetail[] | undefined;
491
+ nextPageToken?: string | undefined;
492
+ }
493
+
492
494
  export interface ListExchangeFiltersRequest {
493
495
  exchangeId?: string | undefined;
494
496
  pageToken?: string | undefined;
@@ -527,19 +529,22 @@ export interface ListFilesRequest {
527
529
  pageSize?: number | undefined;
528
530
  }
529
531
 
530
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
531
- export interface ListFilesRequest_Response {
532
+ export interface ListFilesResponse {
532
533
  fileInfos?: FileInfo[] | undefined;
533
534
  nextPageToken?: string | undefined;
534
535
  }
535
536
 
537
+ export interface ListFulfillmentsResponse {
538
+ fulfillments?: ListingFulfillment[] | undefined;
539
+ nextPageToken?: string | undefined;
540
+ }
541
+
536
542
  export interface ListInstallationsRequest {
537
543
  pageToken?: string | undefined;
538
544
  pageSize?: number | undefined;
539
545
  }
540
546
 
541
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
542
- export interface ListInstallationsRequest_Response {
547
+ export interface ListInstallationsResponse {
543
548
  installations?: InstallationDetail[] | undefined;
544
549
  nextPageToken?: string | undefined;
545
550
  }
@@ -550,12 +555,6 @@ export interface ListListingFulfillmentsRequest {
550
555
  pageSize?: number | undefined;
551
556
  }
552
557
 
553
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
554
- export interface ListListingFulfillmentsRequest_Response {
555
- fulfillments?: ListingFulfillment[] | undefined;
556
- nextPageToken?: string | undefined;
557
- }
558
-
559
558
  export interface ListListingsForExchangeRequest {
560
559
  exchangeId?: string | undefined;
561
560
  pageToken?: string | undefined;
@@ -572,28 +571,15 @@ export interface ListListingsRequest {
572
571
  pageSize?: number | undefined;
573
572
  }
574
573
 
575
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
576
- export interface ListListingsRequest_Response {
577
- listings?: Listing[] | undefined;
578
- nextPageToken?: string | undefined;
579
- }
580
-
581
574
  export interface ListPersonalizationRequestsForConsumerRequest {
582
575
  pageToken?: string | undefined;
583
576
  pageSize?: number | undefined;
584
577
  }
585
578
 
586
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
587
- export interface ListPersonalizationRequestsForConsumerRequest_Response {
588
- personalizationRequests?: PersonalizationRequest[] | undefined;
589
- nextPageToken?: string | undefined;
590
- }
591
-
592
579
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
593
580
  export interface ListProviderAnalyticsDashboardRequest {}
594
581
 
595
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
596
- export interface ListProviderAnalyticsDashboardRequest_Response {
582
+ export interface ListProviderAnalyticsDashboardResponse {
597
583
  id?: string | undefined;
598
584
  version?: bigint | undefined;
599
585
  /** dashboard_id will be used to open Lakeview dashboard. */
@@ -605,8 +591,7 @@ export interface ListProvidersRequest {
605
591
  pageSize?: number | undefined;
606
592
  }
607
593
 
608
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
609
- export interface ListProvidersRequest_Response {
594
+ export interface ListProvidersResponse {
610
595
  providers?: ProviderInfo[] | undefined;
611
596
  nextPageToken?: string | undefined;
612
597
  }
@@ -631,20 +616,13 @@ export interface ListPublishedListingsForConsumerRequest {
631
616
  providerIds?: string[] | undefined;
632
617
  }
633
618
 
634
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
635
- export interface ListPublishedListingsForConsumerRequest_Response {
636
- listings?: Listing[] | undefined;
637
- nextPageToken?: string | undefined;
638
- }
639
-
640
619
  export interface ListPublishedProvidersForConsumer {
641
620
  pageToken?: string | undefined;
642
621
  pageSize?: number | undefined;
643
622
  isFeatured?: boolean | undefined;
644
623
  }
645
624
 
646
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
647
- export interface ListPublishedProvidersForConsumer_Response {
625
+ export interface ListPublishedProvidersForConsumerResponse {
648
626
  providers?: ProviderInfo[] | undefined;
649
627
  nextPageToken?: string | undefined;
650
628
  }
@@ -830,8 +808,7 @@ export interface SearchPublishedListingsForConsumer {
830
808
  pageSize?: number | undefined;
831
809
  }
832
810
 
833
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
834
- export interface SearchPublishedListingsForConsumer_Response {
811
+ export interface SearchPublishedListingsForConsumerResponse {
835
812
  listings?: Listing[] | undefined;
836
813
  nextPageToken?: string | undefined;
837
814
  }
@@ -884,9 +861,6 @@ export interface UninstallListing {
884
861
  installationId?: string | undefined;
885
862
  }
886
863
 
887
- // eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-empty-object-type -- Proto-style nested message name.
888
- export interface UninstallListing_Response {}
889
-
890
864
  export interface UpdateExchangeFilterRequest {
891
865
  id?: string | undefined;
892
866
  filter?: ExchangeFilter | undefined;
@@ -912,8 +886,7 @@ export interface UpdateInstallationDetail {
912
886
  rotateToken?: boolean | undefined;
913
887
  }
914
888
 
915
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
916
- export interface UpdateInstallationDetail_Response {
889
+ export interface UpdateInstallationResponse {
917
890
  installation?: InstallationDetail | undefined;
918
891
  }
919
892
 
@@ -922,8 +895,7 @@ export interface UpdateListingRequest {
922
895
  listing?: Listing | undefined;
923
896
  }
924
897
 
925
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
926
- export interface UpdateListingRequest_Response {
898
+ export interface UpdateListingResponse {
927
899
  listing?: Listing | undefined;
928
900
  }
929
901
 
@@ -935,8 +907,7 @@ export interface UpdatePersonalizationRequestStatusRequest {
935
907
  share?: ShareInfo | undefined;
936
908
  }
937
909
 
938
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
939
- export interface UpdatePersonalizationRequestStatusRequest_Response {
910
+ export interface UpdatePersonalizationRequestStatusResponse {
940
911
  request?: PersonalizationRequest | undefined;
941
912
  }
942
913
 
@@ -950,8 +921,7 @@ export interface UpdateProviderAnalyticsDashboardRequest {
950
921
  version?: bigint | undefined;
951
922
  }
952
923
 
953
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
954
- export interface UpdateProviderAnalyticsDashboardRequest_Response {
924
+ export interface UpdateProviderAnalyticsDashboardResponse {
955
925
  /** id & version should be the same as the request */
956
926
  id?: string | undefined;
957
927
  version?: bigint | undefined;
@@ -964,8 +934,7 @@ export interface UpdateProviderRequest {
964
934
  provider?: ProviderInfo | undefined;
965
935
  }
966
936
 
967
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
968
- export interface UpdateProviderRequest_Response {
937
+ export interface UpdateProviderResponse {
969
938
  provider?: ProviderInfo | undefined;
970
939
  }
971
940
 
@@ -1030,8 +999,7 @@ export const unmarshalCreateExchangeResponseSchema: z.ZodType<CreateExchangeResp
1030
999
  exchangeId: d.exchange_id,
1031
1000
  }));
1032
1001
 
1033
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1034
- export const unmarshalCreateFileRequest_ResponseSchema: z.ZodType<CreateFileRequest_Response> =
1002
+ export const unmarshalCreateFileResponseSchema: z.ZodType<CreateFileResponse> =
1035
1003
  z
1036
1004
  .object({
1037
1005
  upload_url: z.string().optional(),
@@ -1042,8 +1010,16 @@ export const unmarshalCreateFileRequest_ResponseSchema: z.ZodType<CreateFileRequ
1042
1010
  fileInfo: d.file_info,
1043
1011
  }));
1044
1012
 
1045
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1046
- export const unmarshalCreateListingRequest_ResponseSchema: z.ZodType<CreateListingRequest_Response> =
1013
+ export const unmarshalCreateInstallationResponseSchema: z.ZodType<CreateInstallationResponse> =
1014
+ z
1015
+ .object({
1016
+ installation: z.lazy(() => unmarshalInstallationDetailSchema).optional(),
1017
+ })
1018
+ .transform(d => ({
1019
+ installation: d.installation,
1020
+ }));
1021
+
1022
+ export const unmarshalCreateListingResponseSchema: z.ZodType<CreateListingResponse> =
1047
1023
  z
1048
1024
  .object({
1049
1025
  listing_id: z.string().optional(),
@@ -1052,8 +1028,7 @@ export const unmarshalCreateListingRequest_ResponseSchema: z.ZodType<CreateListi
1052
1028
  listingId: d.listing_id,
1053
1029
  }));
1054
1030
 
1055
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1056
- export const unmarshalCreatePersonalizationRequest_ResponseSchema: z.ZodType<CreatePersonalizationRequest_Response> =
1031
+ export const unmarshalCreatePersonalizationResponseSchema: z.ZodType<CreatePersonalizationResponse> =
1057
1032
  z
1058
1033
  .object({
1059
1034
  id: z.string().optional(),
@@ -1062,8 +1037,7 @@ export const unmarshalCreatePersonalizationRequest_ResponseSchema: z.ZodType<Cre
1062
1037
  id: d.id,
1063
1038
  }));
1064
1039
 
1065
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1066
- export const unmarshalCreateProviderAnalyticsDashboardRequest_ResponseSchema: z.ZodType<CreateProviderAnalyticsDashboardRequest_Response> =
1040
+ export const unmarshalCreateProviderAnalyticsDashboardResponseSchema: z.ZodType<CreateProviderAnalyticsDashboardResponse> =
1067
1041
  z
1068
1042
  .object({
1069
1043
  id: z.string().optional(),
@@ -1072,8 +1046,7 @@ export const unmarshalCreateProviderAnalyticsDashboardRequest_ResponseSchema: z.
1072
1046
  id: d.id,
1073
1047
  }));
1074
1048
 
1075
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1076
- export const unmarshalCreateProviderRequest_ResponseSchema: z.ZodType<CreateProviderRequest_Response> =
1049
+ export const unmarshalCreateProviderResponseSchema: z.ZodType<CreateProviderResponse> =
1077
1050
  z
1078
1051
  .object({
1079
1052
  id: z.string().optional(),
@@ -1101,16 +1074,16 @@ export const unmarshalDeleteExchangeFilterResponseSchema: z.ZodType<DeleteExchan
1101
1074
  export const unmarshalDeleteExchangeResponseSchema: z.ZodType<DeleteExchangeResponse> =
1102
1075
  z.object({});
1103
1076
 
1104
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1105
- export const unmarshalDeleteFileRequest_ResponseSchema: z.ZodType<DeleteFileRequest_Response> =
1077
+ export const unmarshalDeleteFileResponseSchema: z.ZodType<DeleteFileResponse> =
1078
+ z.object({});
1079
+
1080
+ export const unmarshalDeleteInstallationResponseSchema: z.ZodType<DeleteInstallationResponse> =
1106
1081
  z.object({});
1107
1082
 
1108
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1109
- export const unmarshalDeleteListingRequest_ResponseSchema: z.ZodType<DeleteListingRequest_Response> =
1083
+ export const unmarshalDeleteListingResponseSchema: z.ZodType<DeleteListingResponse> =
1110
1084
  z.object({});
1111
1085
 
1112
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1113
- export const unmarshalDeleteProviderRequest_ResponseSchema: z.ZodType<DeleteProviderRequest_Response> =
1086
+ export const unmarshalDeleteProviderResponseSchema: z.ZodType<DeleteProviderResponse> =
1114
1087
  z.object({});
1115
1088
 
1116
1089
  export const unmarshalExchangeSchema: z.ZodType<Exchange> = z
@@ -1240,41 +1213,37 @@ export const unmarshalFileParentSchema: z.ZodType<FileParent> = z
1240
1213
  fileParentType: d.file_parent_type,
1241
1214
  }));
1242
1215
 
1243
- export const unmarshalGetExchangeResponseSchema: z.ZodType<GetExchangeResponse> =
1216
+ export const unmarshalGetAllPersonalizationRequestsForConsumerResponseSchema: z.ZodType<GetAllPersonalizationRequestsForConsumerResponse> =
1244
1217
  z
1245
1218
  .object({
1246
- exchange: z.lazy(() => unmarshalExchangeSchema).optional(),
1219
+ personalization_requests: z
1220
+ .array(z.lazy(() => unmarshalPersonalizationRequestSchema))
1221
+ .optional(),
1222
+ next_page_token: z.string().optional(),
1247
1223
  })
1248
1224
  .transform(d => ({
1249
- exchange: d.exchange,
1225
+ personalizationRequests: d.personalization_requests,
1226
+ nextPageToken: d.next_page_token,
1250
1227
  }));
1251
1228
 
1252
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1253
- export const unmarshalGetFileRequest_ResponseSchema: z.ZodType<GetFileRequest_Response> =
1229
+ export const unmarshalGetExchangeResponseSchema: z.ZodType<GetExchangeResponse> =
1254
1230
  z
1255
1231
  .object({
1256
- file_info: z.lazy(() => unmarshalFileInfoSchema).optional(),
1232
+ exchange: z.lazy(() => unmarshalExchangeSchema).optional(),
1257
1233
  })
1258
1234
  .transform(d => ({
1259
- fileInfo: d.file_info,
1235
+ exchange: d.exchange,
1260
1236
  }));
1261
1237
 
1262
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1263
- export const unmarshalGetInstallationDetails_ResponseSchema: z.ZodType<GetInstallationDetails_Response> =
1264
- z
1265
- .object({
1266
- installations: z
1267
- .array(z.lazy(() => unmarshalInstallationDetailSchema))
1268
- .optional(),
1269
- next_page_token: z.string().optional(),
1270
- })
1271
- .transform(d => ({
1272
- installations: d.installations,
1273
- nextPageToken: d.next_page_token,
1274
- }));
1238
+ export const unmarshalGetFileResponseSchema: z.ZodType<GetFileResponse> = z
1239
+ .object({
1240
+ file_info: z.lazy(() => unmarshalFileInfoSchema).optional(),
1241
+ })
1242
+ .transform(d => ({
1243
+ fileInfo: d.file_info,
1244
+ }));
1275
1245
 
1276
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1277
- export const unmarshalGetLatestVersionProviderAnalyticsDashboardRequest_ResponseSchema: z.ZodType<GetLatestVersionProviderAnalyticsDashboardRequest_Response> =
1246
+ export const unmarshalGetLatestVersionProviderAnalyticsDashboardResponseSchema: z.ZodType<GetLatestVersionProviderAnalyticsDashboardResponse> =
1278
1247
  z
1279
1248
  .object({
1280
1249
  version: z
@@ -1286,8 +1255,7 @@ export const unmarshalGetLatestVersionProviderAnalyticsDashboardRequest_Response
1286
1255
  version: d.version,
1287
1256
  }));
1288
1257
 
1289
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1290
- export const unmarshalGetListingContent_ResponseSchema: z.ZodType<GetListingContent_Response> =
1258
+ export const unmarshalGetListingContentMetadataResponseSchema: z.ZodType<GetListingContentMetadataResponse> =
1291
1259
  z
1292
1260
  .object({
1293
1261
  shared_data_objects: z
@@ -1300,8 +1268,7 @@ export const unmarshalGetListingContent_ResponseSchema: z.ZodType<GetListingCont
1300
1268
  nextPageToken: d.next_page_token,
1301
1269
  }));
1302
1270
 
1303
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1304
- export const unmarshalGetListingRequest_ResponseSchema: z.ZodType<GetListingRequest_Response> =
1271
+ export const unmarshalGetListingResponseSchema: z.ZodType<GetListingResponse> =
1305
1272
  z
1306
1273
  .object({
1307
1274
  listing: z.lazy(() => unmarshalListingSchema).optional(),
@@ -1310,8 +1277,18 @@ export const unmarshalGetListingRequest_ResponseSchema: z.ZodType<GetListingRequ
1310
1277
  listing: d.listing,
1311
1278
  }));
1312
1279
 
1313
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1314
- export const unmarshalGetPersonalizationRequestsForConsumer_ResponseSchema: z.ZodType<GetPersonalizationRequestsForConsumer_Response> =
1280
+ export const unmarshalGetListingsResponseSchema: z.ZodType<GetListingsResponse> =
1281
+ z
1282
+ .object({
1283
+ listings: z.array(z.lazy(() => unmarshalListingSchema)).optional(),
1284
+ next_page_token: z.string().optional(),
1285
+ })
1286
+ .transform(d => ({
1287
+ listings: d.listings,
1288
+ nextPageToken: d.next_page_token,
1289
+ }));
1290
+
1291
+ export const unmarshalGetPersonalizationRequestsForConsumerResponseSchema: z.ZodType<GetPersonalizationRequestsForConsumerResponse> =
1315
1292
  z
1316
1293
  .object({
1317
1294
  personalization_requests: z
@@ -1322,8 +1299,7 @@ export const unmarshalGetPersonalizationRequestsForConsumer_ResponseSchema: z.Zo
1322
1299
  personalizationRequests: d.personalization_requests,
1323
1300
  }));
1324
1301
 
1325
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1326
- export const unmarshalGetPersonalizationRequestsForProviderRequest_ResponseSchema: z.ZodType<GetPersonalizationRequestsForProviderRequest_Response> =
1302
+ export const unmarshalGetPersonalizationRequestsForProviderResponseSchema: z.ZodType<GetPersonalizationRequestsForProviderResponse> =
1327
1303
  z
1328
1304
  .object({
1329
1305
  personalization_requests: z
@@ -1336,8 +1312,7 @@ export const unmarshalGetPersonalizationRequestsForProviderRequest_ResponseSchem
1336
1312
  nextPageToken: d.next_page_token,
1337
1313
  }));
1338
1314
 
1339
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1340
- export const unmarshalGetProviderRequest_ResponseSchema: z.ZodType<GetProviderRequest_Response> =
1315
+ export const unmarshalGetProviderResponseSchema: z.ZodType<GetProviderResponse> =
1341
1316
  z
1342
1317
  .object({
1343
1318
  provider: z.lazy(() => unmarshalProviderInfoSchema).optional(),
@@ -1346,8 +1321,7 @@ export const unmarshalGetProviderRequest_ResponseSchema: z.ZodType<GetProviderRe
1346
1321
  provider: d.provider,
1347
1322
  }));
1348
1323
 
1349
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1350
- export const unmarshalGetPublishedListingForConsumer_ResponseSchema: z.ZodType<GetPublishedListingForConsumer_Response> =
1324
+ export const unmarshalGetPublishedListingForConsumerResponseSchema: z.ZodType<GetPublishedListingForConsumerResponse> =
1351
1325
  z
1352
1326
  .object({
1353
1327
  listing: z.lazy(() => unmarshalListingSchema).optional(),
@@ -1356,24 +1330,24 @@ export const unmarshalGetPublishedListingForConsumer_ResponseSchema: z.ZodType<G
1356
1330
  listing: d.listing,
1357
1331
  }));
1358
1332
 
1359
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1360
- export const unmarshalGetPublishedProviderForConsumer_ResponseSchema: z.ZodType<GetPublishedProviderForConsumer_Response> =
1333
+ export const unmarshalGetPublishedListingsForConsumerResponseSchema: z.ZodType<GetPublishedListingsForConsumerResponse> =
1361
1334
  z
1362
1335
  .object({
1363
- provider: z.lazy(() => unmarshalProviderInfoSchema).optional(),
1336
+ listings: z.array(z.lazy(() => unmarshalListingSchema)).optional(),
1337
+ next_page_token: z.string().optional(),
1364
1338
  })
1365
1339
  .transform(d => ({
1366
- provider: d.provider,
1340
+ listings: d.listings,
1341
+ nextPageToken: d.next_page_token,
1367
1342
  }));
1368
1343
 
1369
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1370
- export const unmarshalInstallListing_ResponseSchema: z.ZodType<InstallListing_Response> =
1344
+ export const unmarshalGetPublishedProviderForConsumerResponseSchema: z.ZodType<GetPublishedProviderForConsumerResponse> =
1371
1345
  z
1372
1346
  .object({
1373
- installation: z.lazy(() => unmarshalInstallationDetailSchema).optional(),
1347
+ provider: z.lazy(() => unmarshalProviderInfoSchema).optional(),
1374
1348
  })
1375
1349
  .transform(d => ({
1376
- installation: d.installation,
1350
+ provider: d.provider,
1377
1351
  }));
1378
1352
 
1379
1353
  export const unmarshalInstallationDetailSchema: z.ZodType<InstallationDetail> =
@@ -1412,6 +1386,19 @@ export const unmarshalInstallationDetailSchema: z.ZodType<InstallationDetail> =
1412
1386
  tokenDetail: d.token_detail,
1413
1387
  }));
1414
1388
 
1389
+ export const unmarshalListAllInstallationsResponseSchema: z.ZodType<ListAllInstallationsResponse> =
1390
+ z
1391
+ .object({
1392
+ installations: z
1393
+ .array(z.lazy(() => unmarshalInstallationDetailSchema))
1394
+ .optional(),
1395
+ next_page_token: z.string().optional(),
1396
+ })
1397
+ .transform(d => ({
1398
+ installations: d.installations,
1399
+ nextPageToken: d.next_page_token,
1400
+ }));
1401
+
1415
1402
  export const unmarshalListExchangeFiltersResponseSchema: z.ZodType<ListExchangeFiltersResponse> =
1416
1403
  z
1417
1404
  .object({
@@ -1447,20 +1434,30 @@ export const unmarshalListExchangesResponseSchema: z.ZodType<ListExchangesRespon
1447
1434
  nextPageToken: d.next_page_token,
1448
1435
  }));
1449
1436
 
1450
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1451
- export const unmarshalListFilesRequest_ResponseSchema: z.ZodType<ListFilesRequest_Response> =
1437
+ export const unmarshalListFilesResponseSchema: z.ZodType<ListFilesResponse> = z
1438
+ .object({
1439
+ file_infos: z.array(z.lazy(() => unmarshalFileInfoSchema)).optional(),
1440
+ next_page_token: z.string().optional(),
1441
+ })
1442
+ .transform(d => ({
1443
+ fileInfos: d.file_infos,
1444
+ nextPageToken: d.next_page_token,
1445
+ }));
1446
+
1447
+ export const unmarshalListFulfillmentsResponseSchema: z.ZodType<ListFulfillmentsResponse> =
1452
1448
  z
1453
1449
  .object({
1454
- file_infos: z.array(z.lazy(() => unmarshalFileInfoSchema)).optional(),
1450
+ fulfillments: z
1451
+ .array(z.lazy(() => unmarshalListingFulfillmentSchema))
1452
+ .optional(),
1455
1453
  next_page_token: z.string().optional(),
1456
1454
  })
1457
1455
  .transform(d => ({
1458
- fileInfos: d.file_infos,
1456
+ fulfillments: d.fulfillments,
1459
1457
  nextPageToken: d.next_page_token,
1460
1458
  }));
1461
1459
 
1462
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1463
- export const unmarshalListInstallationsRequest_ResponseSchema: z.ZodType<ListInstallationsRequest_Response> =
1460
+ export const unmarshalListInstallationsResponseSchema: z.ZodType<ListInstallationsResponse> =
1464
1461
  z
1465
1462
  .object({
1466
1463
  installations: z
@@ -1473,20 +1470,6 @@ export const unmarshalListInstallationsRequest_ResponseSchema: z.ZodType<ListIns
1473
1470
  nextPageToken: d.next_page_token,
1474
1471
  }));
1475
1472
 
1476
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1477
- export const unmarshalListListingFulfillmentsRequest_ResponseSchema: z.ZodType<ListListingFulfillmentsRequest_Response> =
1478
- z
1479
- .object({
1480
- fulfillments: z
1481
- .array(z.lazy(() => unmarshalListingFulfillmentSchema))
1482
- .optional(),
1483
- next_page_token: z.string().optional(),
1484
- })
1485
- .transform(d => ({
1486
- fulfillments: d.fulfillments,
1487
- nextPageToken: d.next_page_token,
1488
- }));
1489
-
1490
1473
  export const unmarshalListListingsForExchangeResponseSchema: z.ZodType<ListListingsForExchangeResponse> =
1491
1474
  z
1492
1475
  .object({
@@ -1500,34 +1483,7 @@ export const unmarshalListListingsForExchangeResponseSchema: z.ZodType<ListListi
1500
1483
  nextPageToken: d.next_page_token,
1501
1484
  }));
1502
1485
 
1503
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1504
- export const unmarshalListListingsRequest_ResponseSchema: z.ZodType<ListListingsRequest_Response> =
1505
- z
1506
- .object({
1507
- listings: z.array(z.lazy(() => unmarshalListingSchema)).optional(),
1508
- next_page_token: z.string().optional(),
1509
- })
1510
- .transform(d => ({
1511
- listings: d.listings,
1512
- nextPageToken: d.next_page_token,
1513
- }));
1514
-
1515
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1516
- export const unmarshalListPersonalizationRequestsForConsumerRequest_ResponseSchema: z.ZodType<ListPersonalizationRequestsForConsumerRequest_Response> =
1517
- z
1518
- .object({
1519
- personalization_requests: z
1520
- .array(z.lazy(() => unmarshalPersonalizationRequestSchema))
1521
- .optional(),
1522
- next_page_token: z.string().optional(),
1523
- })
1524
- .transform(d => ({
1525
- personalizationRequests: d.personalization_requests,
1526
- nextPageToken: d.next_page_token,
1527
- }));
1528
-
1529
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1530
- export const unmarshalListProviderAnalyticsDashboardRequest_ResponseSchema: z.ZodType<ListProviderAnalyticsDashboardRequest_Response> =
1486
+ export const unmarshalListProviderAnalyticsDashboardResponseSchema: z.ZodType<ListProviderAnalyticsDashboardResponse> =
1531
1487
  z
1532
1488
  .object({
1533
1489
  id: z.string().optional(),
@@ -1543,8 +1499,7 @@ export const unmarshalListProviderAnalyticsDashboardRequest_ResponseSchema: z.Zo
1543
1499
  dashboardId: d.dashboard_id,
1544
1500
  }));
1545
1501
 
1546
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1547
- export const unmarshalListProvidersRequest_ResponseSchema: z.ZodType<ListProvidersRequest_Response> =
1502
+ export const unmarshalListProvidersResponseSchema: z.ZodType<ListProvidersResponse> =
1548
1503
  z
1549
1504
  .object({
1550
1505
  providers: z.array(z.lazy(() => unmarshalProviderInfoSchema)).optional(),
@@ -1555,20 +1510,7 @@ export const unmarshalListProvidersRequest_ResponseSchema: z.ZodType<ListProvide
1555
1510
  nextPageToken: d.next_page_token,
1556
1511
  }));
1557
1512
 
1558
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1559
- export const unmarshalListPublishedListingsForConsumerRequest_ResponseSchema: z.ZodType<ListPublishedListingsForConsumerRequest_Response> =
1560
- z
1561
- .object({
1562
- listings: z.array(z.lazy(() => unmarshalListingSchema)).optional(),
1563
- next_page_token: z.string().optional(),
1564
- })
1565
- .transform(d => ({
1566
- listings: d.listings,
1567
- nextPageToken: d.next_page_token,
1568
- }));
1569
-
1570
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1571
- export const unmarshalListPublishedProvidersForConsumer_ResponseSchema: z.ZodType<ListPublishedProvidersForConsumer_Response> =
1513
+ export const unmarshalListPublishedProvidersForConsumerResponseSchema: z.ZodType<ListPublishedProvidersForConsumerResponse> =
1572
1514
  z
1573
1515
  .object({
1574
1516
  providers: z.array(z.lazy(() => unmarshalProviderInfoSchema)).optional(),
@@ -1839,8 +1781,7 @@ export const unmarshalRepoInfoSchema: z.ZodType<RepoInfo> = z
1839
1781
  gitRepoUrl: d.git_repo_url,
1840
1782
  }));
1841
1783
 
1842
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1843
- export const unmarshalSearchPublishedListingsForConsumer_ResponseSchema: z.ZodType<SearchPublishedListingsForConsumer_Response> =
1784
+ export const unmarshalSearchPublishedListingsForConsumerResponseSchema: z.ZodType<SearchPublishedListingsForConsumerResponse> =
1844
1785
  z
1845
1786
  .object({
1846
1787
  listings: z.array(z.lazy(() => unmarshalListingSchema)).optional(),
@@ -1914,10 +1855,6 @@ export const unmarshalTokenInfoSchema: z.ZodType<TokenInfo> = z
1914
1855
  updatedBy: d.updated_by,
1915
1856
  }));
1916
1857
 
1917
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1918
- export const unmarshalUninstallListing_ResponseSchema: z.ZodType<UninstallListing_Response> =
1919
- z.object({});
1920
-
1921
1858
  export const unmarshalUpdateExchangeFilterResponseSchema: z.ZodType<UpdateExchangeFilterResponse> =
1922
1859
  z
1923
1860
  .object({
@@ -1936,8 +1873,7 @@ export const unmarshalUpdateExchangeResponseSchema: z.ZodType<UpdateExchangeResp
1936
1873
  exchange: d.exchange,
1937
1874
  }));
1938
1875
 
1939
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1940
- export const unmarshalUpdateInstallationDetail_ResponseSchema: z.ZodType<UpdateInstallationDetail_Response> =
1876
+ export const unmarshalUpdateInstallationResponseSchema: z.ZodType<UpdateInstallationResponse> =
1941
1877
  z
1942
1878
  .object({
1943
1879
  installation: z.lazy(() => unmarshalInstallationDetailSchema).optional(),
@@ -1946,8 +1882,7 @@ export const unmarshalUpdateInstallationDetail_ResponseSchema: z.ZodType<UpdateI
1946
1882
  installation: d.installation,
1947
1883
  }));
1948
1884
 
1949
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1950
- export const unmarshalUpdateListingRequest_ResponseSchema: z.ZodType<UpdateListingRequest_Response> =
1885
+ export const unmarshalUpdateListingResponseSchema: z.ZodType<UpdateListingResponse> =
1951
1886
  z
1952
1887
  .object({
1953
1888
  listing: z.lazy(() => unmarshalListingSchema).optional(),
@@ -1956,8 +1891,7 @@ export const unmarshalUpdateListingRequest_ResponseSchema: z.ZodType<UpdateListi
1956
1891
  listing: d.listing,
1957
1892
  }));
1958
1893
 
1959
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1960
- export const unmarshalUpdatePersonalizationRequestStatusRequest_ResponseSchema: z.ZodType<UpdatePersonalizationRequestStatusRequest_Response> =
1894
+ export const unmarshalUpdatePersonalizationRequestStatusResponseSchema: z.ZodType<UpdatePersonalizationRequestStatusResponse> =
1961
1895
  z
1962
1896
  .object({
1963
1897
  request: z.lazy(() => unmarshalPersonalizationRequestSchema).optional(),
@@ -1966,8 +1900,7 @@ export const unmarshalUpdatePersonalizationRequestStatusRequest_ResponseSchema:
1966
1900
  request: d.request,
1967
1901
  }));
1968
1902
 
1969
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1970
- export const unmarshalUpdateProviderAnalyticsDashboardRequest_ResponseSchema: z.ZodType<UpdateProviderAnalyticsDashboardRequest_Response> =
1903
+ export const unmarshalUpdateProviderAnalyticsDashboardResponseSchema: z.ZodType<UpdateProviderAnalyticsDashboardResponse> =
1971
1904
  z
1972
1905
  .object({
1973
1906
  id: z.string().optional(),
@@ -1983,8 +1916,7 @@ export const unmarshalUpdateProviderAnalyticsDashboardRequest_ResponseSchema: z.
1983
1916
  dashboardId: d.dashboard_id,
1984
1917
  }));
1985
1918
 
1986
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1987
- export const unmarshalUpdateProviderRequest_ResponseSchema: z.ZodType<UpdateProviderRequest_Response> =
1919
+ export const unmarshalUpdateProviderResponseSchema: z.ZodType<UpdateProviderResponse> =
1988
1920
  z
1989
1921
  .object({
1990
1922
  provider: z.lazy(() => unmarshalProviderInfoSchema).optional(),