@zephytiju/juntai-typescript-sdk 1.1.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.
Files changed (75) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +38 -0
  3. package/dist/clients/juntai.usage-cost/index.d.ts +5 -0
  4. package/dist/clients/juntai.usage-cost/index.js +4 -0
  5. package/dist/clients/platform.application-metadata/index.d.ts +5 -0
  6. package/dist/clients/platform.application-metadata/index.js +4 -0
  7. package/dist/generated/juntai.usage-cost/client/client.gen.d.ts +2 -0
  8. package/dist/generated/juntai.usage-cost/client/client.gen.js +216 -0
  9. package/dist/generated/juntai.usage-cost/client/index.d.ts +10 -0
  10. package/dist/generated/juntai.usage-cost/client/index.js +6 -0
  11. package/dist/generated/juntai.usage-cost/client/types.gen.d.ts +120 -0
  12. package/dist/generated/juntai.usage-cost/client/types.gen.js +2 -0
  13. package/dist/generated/juntai.usage-cost/client/utils.gen.d.ts +37 -0
  14. package/dist/generated/juntai.usage-cost/client/utils.gen.js +228 -0
  15. package/dist/generated/juntai.usage-cost/client.gen.d.ts +12 -0
  16. package/dist/generated/juntai.usage-cost/client.gen.js +3 -0
  17. package/dist/generated/juntai.usage-cost/core/auth.gen.d.ts +25 -0
  18. package/dist/generated/juntai.usage-cost/core/auth.gen.js +14 -0
  19. package/dist/generated/juntai.usage-cost/core/bodySerializer.gen.d.ts +25 -0
  20. package/dist/generated/juntai.usage-cost/core/bodySerializer.gen.js +57 -0
  21. package/dist/generated/juntai.usage-cost/core/params.gen.d.ts +43 -0
  22. package/dist/generated/juntai.usage-cost/core/params.gen.js +109 -0
  23. package/dist/generated/juntai.usage-cost/core/pathSerializer.gen.d.ts +33 -0
  24. package/dist/generated/juntai.usage-cost/core/pathSerializer.gen.js +106 -0
  25. package/dist/generated/juntai.usage-cost/core/queryKeySerializer.gen.d.ts +18 -0
  26. package/dist/generated/juntai.usage-cost/core/queryKeySerializer.gen.js +92 -0
  27. package/dist/generated/juntai.usage-cost/core/serverSentEvents.gen.d.ts +71 -0
  28. package/dist/generated/juntai.usage-cost/core/serverSentEvents.gen.js +132 -0
  29. package/dist/generated/juntai.usage-cost/core/types.gen.d.ts +83 -0
  30. package/dist/generated/juntai.usage-cost/core/types.gen.js +2 -0
  31. package/dist/generated/juntai.usage-cost/core/utils.gen.d.ts +19 -0
  32. package/dist/generated/juntai.usage-cost/core/utils.gen.js +87 -0
  33. package/dist/generated/juntai.usage-cost/index.d.ts +2 -0
  34. package/dist/generated/juntai.usage-cost/index.js +2 -0
  35. package/dist/generated/juntai.usage-cost/sdk.gen.d.ts +79 -0
  36. package/dist/generated/juntai.usage-cost/sdk.gen.js +162 -0
  37. package/dist/generated/juntai.usage-cost/types.gen.d.ts +1092 -0
  38. package/dist/generated/juntai.usage-cost/types.gen.js +2 -0
  39. package/dist/generated/platform.application-metadata/client/client.gen.d.ts +2 -0
  40. package/dist/generated/platform.application-metadata/client/client.gen.js +216 -0
  41. package/dist/generated/platform.application-metadata/client/index.d.ts +10 -0
  42. package/dist/generated/platform.application-metadata/client/index.js +6 -0
  43. package/dist/generated/platform.application-metadata/client/types.gen.d.ts +120 -0
  44. package/dist/generated/platform.application-metadata/client/types.gen.js +2 -0
  45. package/dist/generated/platform.application-metadata/client/utils.gen.d.ts +37 -0
  46. package/dist/generated/platform.application-metadata/client/utils.gen.js +228 -0
  47. package/dist/generated/platform.application-metadata/client.gen.d.ts +12 -0
  48. package/dist/generated/platform.application-metadata/client.gen.js +3 -0
  49. package/dist/generated/platform.application-metadata/core/auth.gen.d.ts +25 -0
  50. package/dist/generated/platform.application-metadata/core/auth.gen.js +14 -0
  51. package/dist/generated/platform.application-metadata/core/bodySerializer.gen.d.ts +25 -0
  52. package/dist/generated/platform.application-metadata/core/bodySerializer.gen.js +57 -0
  53. package/dist/generated/platform.application-metadata/core/params.gen.d.ts +43 -0
  54. package/dist/generated/platform.application-metadata/core/params.gen.js +109 -0
  55. package/dist/generated/platform.application-metadata/core/pathSerializer.gen.d.ts +33 -0
  56. package/dist/generated/platform.application-metadata/core/pathSerializer.gen.js +106 -0
  57. package/dist/generated/platform.application-metadata/core/queryKeySerializer.gen.d.ts +18 -0
  58. package/dist/generated/platform.application-metadata/core/queryKeySerializer.gen.js +92 -0
  59. package/dist/generated/platform.application-metadata/core/serverSentEvents.gen.d.ts +71 -0
  60. package/dist/generated/platform.application-metadata/core/serverSentEvents.gen.js +132 -0
  61. package/dist/generated/platform.application-metadata/core/types.gen.d.ts +83 -0
  62. package/dist/generated/platform.application-metadata/core/types.gen.js +2 -0
  63. package/dist/generated/platform.application-metadata/core/utils.gen.d.ts +19 -0
  64. package/dist/generated/platform.application-metadata/core/utils.gen.js +87 -0
  65. package/dist/generated/platform.application-metadata/index.d.ts +2 -0
  66. package/dist/generated/platform.application-metadata/index.js +2 -0
  67. package/dist/generated/platform.application-metadata/sdk.gen.d.ts +63 -0
  68. package/dist/generated/platform.application-metadata/sdk.gen.js +114 -0
  69. package/dist/generated/platform.application-metadata/types.gen.d.ts +1235 -0
  70. package/dist/generated/platform.application-metadata/types.gen.js +2 -0
  71. package/dist/index.d.ts +8 -0
  72. package/dist/index.js +8 -0
  73. package/dist/release-manifest.json +46 -0
  74. package/package.json +69 -0
  75. package/sources/openapi.lock.json +48 -0
@@ -0,0 +1,1235 @@
1
+ export type ClientOptions = {
2
+ baseUrl: `${string}://${string}` | (string & {});
3
+ };
4
+ /**
5
+ * Application
6
+ */
7
+ export type Application = {
8
+ /**
9
+ * Application Id
10
+ */
11
+ application_id: string;
12
+ /**
13
+ * Created At
14
+ */
15
+ created_at: string;
16
+ /**
17
+ * Created By
18
+ */
19
+ created_by: string;
20
+ /**
21
+ * Display Name
22
+ */
23
+ display_name: string;
24
+ /**
25
+ * Revision
26
+ */
27
+ revision: number;
28
+ /**
29
+ * Slug
30
+ */
31
+ slug: string;
32
+ /**
33
+ * Tenant Id
34
+ */
35
+ tenant_id: string;
36
+ /**
37
+ * Updated At
38
+ */
39
+ updated_at: string;
40
+ };
41
+ /**
42
+ * ApplicationPage
43
+ */
44
+ export type ApplicationPage = {
45
+ /**
46
+ * Items
47
+ */
48
+ items: Array<Application>;
49
+ next_cursor?: PageCursor | null;
50
+ };
51
+ /**
52
+ * ApplicationVersion
53
+ */
54
+ export type ApplicationVersion = {
55
+ /**
56
+ * Application Id
57
+ */
58
+ application_id: string;
59
+ /**
60
+ * Application Version Id
61
+ */
62
+ application_version_id: string;
63
+ /**
64
+ * Created At
65
+ */
66
+ created_at: string;
67
+ /**
68
+ * Created By
69
+ */
70
+ created_by: string;
71
+ /**
72
+ * Manifest Digest
73
+ */
74
+ manifest_digest?: string | null;
75
+ /**
76
+ * Parent Version Id
77
+ */
78
+ parent_version_id?: string | null;
79
+ /**
80
+ * Revision
81
+ */
82
+ revision: number;
83
+ /**
84
+ * Sealed At
85
+ */
86
+ sealed_at?: string | null;
87
+ state: VersionState;
88
+ /**
89
+ * Tenant Id
90
+ */
91
+ tenant_id: string;
92
+ /**
93
+ * Version Label
94
+ */
95
+ version_label: string;
96
+ };
97
+ /**
98
+ * ApplicationVersionHandoff
99
+ */
100
+ export type ApplicationVersionHandoff = {
101
+ /**
102
+ * Application Id
103
+ */
104
+ application_id: string;
105
+ /**
106
+ * Application Version Id
107
+ */
108
+ application_version_id: string;
109
+ /**
110
+ * Contract Version
111
+ */
112
+ contract_version?: 'application-handoff.v1';
113
+ /**
114
+ * Contributions
115
+ */
116
+ contributions: Array<HandoffContribution>;
117
+ /**
118
+ * Manifest Digest
119
+ */
120
+ manifest_digest: string;
121
+ /**
122
+ * Parent Version Id
123
+ */
124
+ parent_version_id?: string | null;
125
+ /**
126
+ * Sealed At
127
+ */
128
+ sealed_at: string;
129
+ /**
130
+ * Tenant Id
131
+ */
132
+ tenant_id: string;
133
+ /**
134
+ * Version Label
135
+ */
136
+ version_label: string;
137
+ };
138
+ /**
139
+ * ApplicationVersionPage
140
+ */
141
+ export type ApplicationVersionPage = {
142
+ /**
143
+ * Items
144
+ */
145
+ items: Array<ApplicationVersion>;
146
+ next_cursor?: PageCursor | null;
147
+ };
148
+ /**
149
+ * ArtifactContributionReference
150
+ *
151
+ * Exact immutable Artifact Registry version and digest.
152
+ */
153
+ export type ArtifactContributionReference = {
154
+ /**
155
+ * Artifact Id
156
+ */
157
+ artifact_id: string;
158
+ /**
159
+ * Digest
160
+ */
161
+ digest: string;
162
+ /**
163
+ * Version Id
164
+ */
165
+ version_id: string;
166
+ };
167
+ /**
168
+ * ConfigurationContributionReference
169
+ *
170
+ * Exact Configuration Registry identity/revision pair.
171
+ */
172
+ export type ConfigurationContributionReference = {
173
+ /**
174
+ * Configuration Id
175
+ */
176
+ configuration_id: string;
177
+ /**
178
+ * Revision Id
179
+ */
180
+ revision_id: string;
181
+ };
182
+ /**
183
+ * CreateApplicationRequest
184
+ */
185
+ export type CreateApplicationRequest = {
186
+ /**
187
+ * Display Name
188
+ */
189
+ display_name: string;
190
+ /**
191
+ * Slug
192
+ */
193
+ slug: string;
194
+ };
195
+ /**
196
+ * CreateApplicationVersionRequest
197
+ */
198
+ export type CreateApplicationVersionRequest = {
199
+ /**
200
+ * Parent Version Id
201
+ */
202
+ parent_version_id?: string | null;
203
+ /**
204
+ * Version Label
205
+ */
206
+ version_label: string;
207
+ };
208
+ /**
209
+ * DomainContribution
210
+ */
211
+ export type DomainContribution = {
212
+ /**
213
+ * Application Id
214
+ */
215
+ application_id: string;
216
+ /**
217
+ * Application Version Id
218
+ */
219
+ application_version_id: string;
220
+ artifact?: ArtifactContributionReference | null;
221
+ configuration?: ConfigurationContributionReference | null;
222
+ /**
223
+ * Contribution Key
224
+ */
225
+ contribution_key: string;
226
+ /**
227
+ * Created At
228
+ */
229
+ created_at: string;
230
+ /**
231
+ * Domain
232
+ */
233
+ domain: string;
234
+ producer: Producer;
235
+ reference_type: ReferenceType;
236
+ /**
237
+ * Tenant Id
238
+ */
239
+ tenant_id: string;
240
+ /**
241
+ * Updated At
242
+ */
243
+ updated_at: string;
244
+ };
245
+ /**
246
+ * DomainContributionPage
247
+ */
248
+ export type DomainContributionPage = {
249
+ /**
250
+ * Items
251
+ */
252
+ items: Array<DomainContribution>;
253
+ };
254
+ /**
255
+ * HTTPValidationError
256
+ */
257
+ export type HttpValidationError = {
258
+ /**
259
+ * Detail
260
+ */
261
+ detail?: Array<ValidationError>;
262
+ };
263
+ /**
264
+ * HandoffContribution
265
+ */
266
+ export type HandoffContribution = {
267
+ artifact?: ArtifactContributionReference | null;
268
+ configuration?: ConfigurationContributionReference | null;
269
+ /**
270
+ * Contribution Key
271
+ */
272
+ contribution_key: string;
273
+ /**
274
+ * Domain
275
+ */
276
+ domain: string;
277
+ producer: Producer;
278
+ reference_type: ReferenceType;
279
+ };
280
+ /**
281
+ * HealthResponse
282
+ */
283
+ export type HealthResponse = {
284
+ /**
285
+ * Service
286
+ */
287
+ service?: 'application-metadata';
288
+ /**
289
+ * Status
290
+ */
291
+ status?: 'ok';
292
+ };
293
+ /**
294
+ * PageCursor
295
+ *
296
+ * Opaque cursor value bound to one tenant, collection, and filter set.
297
+ */
298
+ export type PageCursor = string;
299
+ /**
300
+ * ProblemDetails
301
+ */
302
+ export type ProblemDetails = {
303
+ /**
304
+ * Code
305
+ */
306
+ code: string;
307
+ /**
308
+ * Correlation Id
309
+ */
310
+ correlation_id: string;
311
+ /**
312
+ * Detail
313
+ */
314
+ detail: string;
315
+ /**
316
+ * Instance
317
+ */
318
+ instance: string;
319
+ /**
320
+ * Status
321
+ */
322
+ status: number;
323
+ /**
324
+ * Title
325
+ */
326
+ title: string;
327
+ /**
328
+ * Type
329
+ */
330
+ type: string;
331
+ };
332
+ /**
333
+ * Producer
334
+ */
335
+ export type Producer = {
336
+ /**
337
+ * Release
338
+ */
339
+ release: string;
340
+ /**
341
+ * Service
342
+ */
343
+ service: string;
344
+ };
345
+ /**
346
+ * PutDomainContributionRequest
347
+ */
348
+ export type PutDomainContributionRequest = {
349
+ artifact?: ArtifactContributionReference | null;
350
+ configuration?: ConfigurationContributionReference | null;
351
+ producer: Producer;
352
+ reference_type: ReferenceType;
353
+ };
354
+ /**
355
+ * ReferenceType
356
+ */
357
+ export type ReferenceType = 'CONFIGURATION' | 'ARTIFACT';
358
+ /**
359
+ * UpdateApplicationRequest
360
+ */
361
+ export type UpdateApplicationRequest = {
362
+ /**
363
+ * Display Name
364
+ */
365
+ display_name: string;
366
+ };
367
+ /**
368
+ * ValidationError
369
+ */
370
+ export type ValidationError = {
371
+ /**
372
+ * Context
373
+ */
374
+ ctx?: {
375
+ [key: string]: unknown;
376
+ };
377
+ /**
378
+ * Input
379
+ */
380
+ input?: unknown;
381
+ /**
382
+ * Location
383
+ */
384
+ loc: Array<string | number>;
385
+ /**
386
+ * Message
387
+ */
388
+ msg: string;
389
+ /**
390
+ * Error Type
391
+ */
392
+ type: string;
393
+ };
394
+ /**
395
+ * VersionState
396
+ */
397
+ export type VersionState = 'OPEN' | 'SEALED';
398
+ /**
399
+ * _HTTPErrorDetails
400
+ */
401
+ export type HttpErrorDetails = {
402
+ /**
403
+ * Issues
404
+ */
405
+ issues?: Array<HttpValidationIssue>;
406
+ /**
407
+ * Request Id
408
+ */
409
+ request_id: string;
410
+ /**
411
+ * Truncated
412
+ */
413
+ truncated?: boolean;
414
+ };
415
+ /**
416
+ * _HTTPErrorEnvelope
417
+ */
418
+ export type HttpErrorEnvelope = {
419
+ /**
420
+ * Code
421
+ */
422
+ code: string;
423
+ details: HttpErrorDetails;
424
+ /**
425
+ * Message
426
+ */
427
+ message: string;
428
+ };
429
+ /**
430
+ * _HTTPValidationIssue
431
+ *
432
+ * A bounded validation issue safe to return across the HTTP boundary.
433
+ */
434
+ export type HttpValidationIssue = {
435
+ /**
436
+ * Location
437
+ */
438
+ location: Array<string | number>;
439
+ /**
440
+ * Type
441
+ */
442
+ type: string;
443
+ };
444
+ export type ListApplicationsData = {
445
+ body?: never;
446
+ path?: never;
447
+ query?: {
448
+ /**
449
+ * Slug
450
+ */
451
+ slug?: string | null;
452
+ /**
453
+ * Page Size
454
+ */
455
+ page_size?: number;
456
+ /**
457
+ * Cursor
458
+ */
459
+ cursor?: string | null;
460
+ };
461
+ url: '/v1/applications';
462
+ };
463
+ export type ListApplicationsErrors = {
464
+ /**
465
+ * Request does not match the endpoint contract
466
+ */
467
+ 400: HttpErrorEnvelope;
468
+ /**
469
+ * RFC 9457 problem details
470
+ */
471
+ 401: ProblemDetails;
472
+ /**
473
+ * Request is not authorized for the destination
474
+ */
475
+ 403: HttpErrorEnvelope;
476
+ /**
477
+ * Destination or entity was not found
478
+ */
479
+ 404: HttpErrorEnvelope;
480
+ /**
481
+ * Request authority has already been consumed
482
+ */
483
+ 409: HttpErrorEnvelope;
484
+ /**
485
+ * RFC 9457 problem details
486
+ */
487
+ 412: ProblemDetails;
488
+ /**
489
+ * RFC 9457 problem details
490
+ */
491
+ 422: ProblemDetails;
492
+ /**
493
+ * Request failed inside the framework boundary
494
+ */
495
+ 500: HttpErrorEnvelope;
496
+ /**
497
+ * HTTP adapter is not accepting requests
498
+ */
499
+ 503: HttpErrorEnvelope;
500
+ };
501
+ export type ListApplicationsError = ListApplicationsErrors[keyof ListApplicationsErrors];
502
+ export type ListApplicationsResponses = {
503
+ /**
504
+ * Successful Response
505
+ */
506
+ 200: ApplicationPage;
507
+ };
508
+ export type ListApplicationsResponse = ListApplicationsResponses[keyof ListApplicationsResponses];
509
+ export type CreateApplicationData = {
510
+ body: CreateApplicationRequest;
511
+ headers: {
512
+ /**
513
+ * Tenant- and operation-scoped idempotency key.
514
+ */
515
+ 'Idempotency-Key': string;
516
+ };
517
+ path?: never;
518
+ query?: never;
519
+ url: '/v1/applications';
520
+ };
521
+ export type CreateApplicationErrors = {
522
+ /**
523
+ * Request does not match the endpoint contract
524
+ */
525
+ 400: HttpErrorEnvelope;
526
+ /**
527
+ * RFC 9457 problem details
528
+ */
529
+ 401: ProblemDetails;
530
+ /**
531
+ * Request is not authorized for the destination
532
+ */
533
+ 403: HttpErrorEnvelope;
534
+ /**
535
+ * Destination or entity was not found
536
+ */
537
+ 404: HttpErrorEnvelope;
538
+ /**
539
+ * Request authority has already been consumed
540
+ */
541
+ 409: HttpErrorEnvelope;
542
+ /**
543
+ * RFC 9457 problem details
544
+ */
545
+ 412: ProblemDetails;
546
+ /**
547
+ * RFC 9457 problem details
548
+ */
549
+ 422: ProblemDetails;
550
+ /**
551
+ * Request failed inside the framework boundary
552
+ */
553
+ 500: HttpErrorEnvelope;
554
+ /**
555
+ * HTTP adapter is not accepting requests
556
+ */
557
+ 503: HttpErrorEnvelope;
558
+ };
559
+ export type CreateApplicationError = CreateApplicationErrors[keyof CreateApplicationErrors];
560
+ export type CreateApplicationResponses = {
561
+ /**
562
+ * Successful Response
563
+ */
564
+ 201: Application;
565
+ };
566
+ export type CreateApplicationResponse = CreateApplicationResponses[keyof CreateApplicationResponses];
567
+ export type GetApplicationData = {
568
+ body?: never;
569
+ path: {
570
+ /**
571
+ * Application Id
572
+ */
573
+ application_id: string;
574
+ };
575
+ query?: never;
576
+ url: '/v1/applications/{application_id}';
577
+ };
578
+ export type GetApplicationErrors = {
579
+ /**
580
+ * Request does not match the endpoint contract
581
+ */
582
+ 400: HttpErrorEnvelope;
583
+ /**
584
+ * RFC 9457 problem details
585
+ */
586
+ 401: ProblemDetails;
587
+ /**
588
+ * Request is not authorized for the destination
589
+ */
590
+ 403: HttpErrorEnvelope;
591
+ /**
592
+ * Destination or entity was not found
593
+ */
594
+ 404: HttpErrorEnvelope;
595
+ /**
596
+ * Request authority has already been consumed
597
+ */
598
+ 409: HttpErrorEnvelope;
599
+ /**
600
+ * RFC 9457 problem details
601
+ */
602
+ 412: ProblemDetails;
603
+ /**
604
+ * RFC 9457 problem details
605
+ */
606
+ 422: ProblemDetails;
607
+ /**
608
+ * Request failed inside the framework boundary
609
+ */
610
+ 500: HttpErrorEnvelope;
611
+ /**
612
+ * HTTP adapter is not accepting requests
613
+ */
614
+ 503: HttpErrorEnvelope;
615
+ };
616
+ export type GetApplicationError = GetApplicationErrors[keyof GetApplicationErrors];
617
+ export type GetApplicationResponses = {
618
+ /**
619
+ * Successful Response
620
+ */
621
+ 200: Application;
622
+ };
623
+ export type GetApplicationResponse = GetApplicationResponses[keyof GetApplicationResponses];
624
+ export type UpdateApplicationData = {
625
+ body: UpdateApplicationRequest;
626
+ headers: {
627
+ /**
628
+ * Tenant- and operation-scoped idempotency key.
629
+ */
630
+ 'Idempotency-Key': string;
631
+ /**
632
+ * Strong ETag for the current aggregate revision.
633
+ */
634
+ 'If-Match': string;
635
+ };
636
+ path: {
637
+ /**
638
+ * Application Id
639
+ */
640
+ application_id: string;
641
+ };
642
+ query?: never;
643
+ url: '/v1/applications/{application_id}';
644
+ };
645
+ export type UpdateApplicationErrors = {
646
+ /**
647
+ * Request does not match the endpoint contract
648
+ */
649
+ 400: HttpErrorEnvelope;
650
+ /**
651
+ * RFC 9457 problem details
652
+ */
653
+ 401: ProblemDetails;
654
+ /**
655
+ * Request is not authorized for the destination
656
+ */
657
+ 403: HttpErrorEnvelope;
658
+ /**
659
+ * Destination or entity was not found
660
+ */
661
+ 404: HttpErrorEnvelope;
662
+ /**
663
+ * Request authority has already been consumed
664
+ */
665
+ 409: HttpErrorEnvelope;
666
+ /**
667
+ * RFC 9457 problem details
668
+ */
669
+ 412: ProblemDetails;
670
+ /**
671
+ * RFC 9457 problem details
672
+ */
673
+ 422: ProblemDetails;
674
+ /**
675
+ * Request failed inside the framework boundary
676
+ */
677
+ 500: HttpErrorEnvelope;
678
+ /**
679
+ * HTTP adapter is not accepting requests
680
+ */
681
+ 503: HttpErrorEnvelope;
682
+ };
683
+ export type UpdateApplicationError = UpdateApplicationErrors[keyof UpdateApplicationErrors];
684
+ export type UpdateApplicationResponses = {
685
+ /**
686
+ * Successful Response
687
+ */
688
+ 200: Application;
689
+ };
690
+ export type UpdateApplicationResponse = UpdateApplicationResponses[keyof UpdateApplicationResponses];
691
+ export type ListApplicationVersionsData = {
692
+ body?: never;
693
+ path: {
694
+ /**
695
+ * Application Id
696
+ */
697
+ application_id: string;
698
+ };
699
+ query?: {
700
+ /**
701
+ * State
702
+ */
703
+ state?: VersionState | null;
704
+ /**
705
+ * Page Size
706
+ */
707
+ page_size?: number;
708
+ /**
709
+ * Cursor
710
+ */
711
+ cursor?: string | null;
712
+ };
713
+ url: '/v1/applications/{application_id}/versions';
714
+ };
715
+ export type ListApplicationVersionsErrors = {
716
+ /**
717
+ * Request does not match the endpoint contract
718
+ */
719
+ 400: HttpErrorEnvelope;
720
+ /**
721
+ * RFC 9457 problem details
722
+ */
723
+ 401: ProblemDetails;
724
+ /**
725
+ * Request is not authorized for the destination
726
+ */
727
+ 403: HttpErrorEnvelope;
728
+ /**
729
+ * Destination or entity was not found
730
+ */
731
+ 404: HttpErrorEnvelope;
732
+ /**
733
+ * Request authority has already been consumed
734
+ */
735
+ 409: HttpErrorEnvelope;
736
+ /**
737
+ * RFC 9457 problem details
738
+ */
739
+ 412: ProblemDetails;
740
+ /**
741
+ * RFC 9457 problem details
742
+ */
743
+ 422: ProblemDetails;
744
+ /**
745
+ * Request failed inside the framework boundary
746
+ */
747
+ 500: HttpErrorEnvelope;
748
+ /**
749
+ * HTTP adapter is not accepting requests
750
+ */
751
+ 503: HttpErrorEnvelope;
752
+ };
753
+ export type ListApplicationVersionsError = ListApplicationVersionsErrors[keyof ListApplicationVersionsErrors];
754
+ export type ListApplicationVersionsResponses = {
755
+ /**
756
+ * Successful Response
757
+ */
758
+ 200: ApplicationVersionPage;
759
+ };
760
+ export type ListApplicationVersionsResponse = ListApplicationVersionsResponses[keyof ListApplicationVersionsResponses];
761
+ export type CreateApplicationVersionData = {
762
+ body: CreateApplicationVersionRequest;
763
+ headers: {
764
+ /**
765
+ * Tenant- and operation-scoped idempotency key.
766
+ */
767
+ 'Idempotency-Key': string;
768
+ };
769
+ path: {
770
+ /**
771
+ * Application Id
772
+ */
773
+ application_id: string;
774
+ };
775
+ query?: never;
776
+ url: '/v1/applications/{application_id}/versions';
777
+ };
778
+ export type CreateApplicationVersionErrors = {
779
+ /**
780
+ * Request does not match the endpoint contract
781
+ */
782
+ 400: HttpErrorEnvelope;
783
+ /**
784
+ * RFC 9457 problem details
785
+ */
786
+ 401: ProblemDetails;
787
+ /**
788
+ * Request is not authorized for the destination
789
+ */
790
+ 403: HttpErrorEnvelope;
791
+ /**
792
+ * Destination or entity was not found
793
+ */
794
+ 404: HttpErrorEnvelope;
795
+ /**
796
+ * Request authority has already been consumed
797
+ */
798
+ 409: HttpErrorEnvelope;
799
+ /**
800
+ * RFC 9457 problem details
801
+ */
802
+ 412: ProblemDetails;
803
+ /**
804
+ * RFC 9457 problem details
805
+ */
806
+ 422: ProblemDetails;
807
+ /**
808
+ * Request failed inside the framework boundary
809
+ */
810
+ 500: HttpErrorEnvelope;
811
+ /**
812
+ * HTTP adapter is not accepting requests
813
+ */
814
+ 503: HttpErrorEnvelope;
815
+ };
816
+ export type CreateApplicationVersionError = CreateApplicationVersionErrors[keyof CreateApplicationVersionErrors];
817
+ export type CreateApplicationVersionResponses = {
818
+ /**
819
+ * Successful Response
820
+ */
821
+ 201: ApplicationVersion;
822
+ };
823
+ export type CreateApplicationVersionResponse = CreateApplicationVersionResponses[keyof CreateApplicationVersionResponses];
824
+ export type GetApplicationVersionData = {
825
+ body?: never;
826
+ path: {
827
+ /**
828
+ * Application Id
829
+ */
830
+ application_id: string;
831
+ /**
832
+ * Version Id
833
+ */
834
+ version_id: string;
835
+ };
836
+ query?: never;
837
+ url: '/v1/applications/{application_id}/versions/{version_id}';
838
+ };
839
+ export type GetApplicationVersionErrors = {
840
+ /**
841
+ * Request does not match the endpoint contract
842
+ */
843
+ 400: HttpErrorEnvelope;
844
+ /**
845
+ * RFC 9457 problem details
846
+ */
847
+ 401: ProblemDetails;
848
+ /**
849
+ * Request is not authorized for the destination
850
+ */
851
+ 403: HttpErrorEnvelope;
852
+ /**
853
+ * Destination or entity was not found
854
+ */
855
+ 404: HttpErrorEnvelope;
856
+ /**
857
+ * Request authority has already been consumed
858
+ */
859
+ 409: HttpErrorEnvelope;
860
+ /**
861
+ * RFC 9457 problem details
862
+ */
863
+ 412: ProblemDetails;
864
+ /**
865
+ * RFC 9457 problem details
866
+ */
867
+ 422: ProblemDetails;
868
+ /**
869
+ * Request failed inside the framework boundary
870
+ */
871
+ 500: HttpErrorEnvelope;
872
+ /**
873
+ * HTTP adapter is not accepting requests
874
+ */
875
+ 503: HttpErrorEnvelope;
876
+ };
877
+ export type GetApplicationVersionError = GetApplicationVersionErrors[keyof GetApplicationVersionErrors];
878
+ export type GetApplicationVersionResponses = {
879
+ /**
880
+ * Successful Response
881
+ */
882
+ 200: ApplicationVersion;
883
+ };
884
+ export type GetApplicationVersionResponse = GetApplicationVersionResponses[keyof GetApplicationVersionResponses];
885
+ export type ListDomainContributionsData = {
886
+ body?: never;
887
+ path: {
888
+ /**
889
+ * Application Id
890
+ */
891
+ application_id: string;
892
+ /**
893
+ * Version Id
894
+ */
895
+ version_id: string;
896
+ };
897
+ query?: never;
898
+ url: '/v1/applications/{application_id}/versions/{version_id}/contributions';
899
+ };
900
+ export type ListDomainContributionsErrors = {
901
+ /**
902
+ * Request does not match the endpoint contract
903
+ */
904
+ 400: HttpErrorEnvelope;
905
+ /**
906
+ * RFC 9457 problem details
907
+ */
908
+ 401: ProblemDetails;
909
+ /**
910
+ * Request is not authorized for the destination
911
+ */
912
+ 403: HttpErrorEnvelope;
913
+ /**
914
+ * Destination or entity was not found
915
+ */
916
+ 404: HttpErrorEnvelope;
917
+ /**
918
+ * Request authority has already been consumed
919
+ */
920
+ 409: HttpErrorEnvelope;
921
+ /**
922
+ * RFC 9457 problem details
923
+ */
924
+ 412: ProblemDetails;
925
+ /**
926
+ * RFC 9457 problem details
927
+ */
928
+ 422: ProblemDetails;
929
+ /**
930
+ * Request failed inside the framework boundary
931
+ */
932
+ 500: HttpErrorEnvelope;
933
+ /**
934
+ * HTTP adapter is not accepting requests
935
+ */
936
+ 503: HttpErrorEnvelope;
937
+ };
938
+ export type ListDomainContributionsError = ListDomainContributionsErrors[keyof ListDomainContributionsErrors];
939
+ export type ListDomainContributionsResponses = {
940
+ /**
941
+ * Successful Response
942
+ */
943
+ 200: DomainContributionPage;
944
+ };
945
+ export type ListDomainContributionsResponse = ListDomainContributionsResponses[keyof ListDomainContributionsResponses];
946
+ export type DeleteDomainContributionData = {
947
+ body?: never;
948
+ headers: {
949
+ /**
950
+ * Tenant- and operation-scoped idempotency key.
951
+ */
952
+ 'Idempotency-Key': string;
953
+ /**
954
+ * Strong ETag for the current aggregate revision.
955
+ */
956
+ 'If-Match': string;
957
+ };
958
+ path: {
959
+ /**
960
+ * Application Id
961
+ */
962
+ application_id: string;
963
+ /**
964
+ * Version Id
965
+ */
966
+ version_id: string;
967
+ /**
968
+ * Domain
969
+ */
970
+ domain: string;
971
+ /**
972
+ * Contribution Key
973
+ */
974
+ contribution_key: string;
975
+ };
976
+ query?: never;
977
+ url: '/v1/applications/{application_id}/versions/{version_id}/contributions/{domain}/{contribution_key}';
978
+ };
979
+ export type DeleteDomainContributionErrors = {
980
+ /**
981
+ * Request does not match the endpoint contract
982
+ */
983
+ 400: HttpErrorEnvelope;
984
+ /**
985
+ * RFC 9457 problem details
986
+ */
987
+ 401: ProblemDetails;
988
+ /**
989
+ * Request is not authorized for the destination
990
+ */
991
+ 403: HttpErrorEnvelope;
992
+ /**
993
+ * Destination or entity was not found
994
+ */
995
+ 404: HttpErrorEnvelope;
996
+ /**
997
+ * Request authority has already been consumed
998
+ */
999
+ 409: HttpErrorEnvelope;
1000
+ /**
1001
+ * RFC 9457 problem details
1002
+ */
1003
+ 412: ProblemDetails;
1004
+ /**
1005
+ * RFC 9457 problem details
1006
+ */
1007
+ 422: ProblemDetails;
1008
+ /**
1009
+ * Request failed inside the framework boundary
1010
+ */
1011
+ 500: HttpErrorEnvelope;
1012
+ /**
1013
+ * HTTP adapter is not accepting requests
1014
+ */
1015
+ 503: HttpErrorEnvelope;
1016
+ };
1017
+ export type DeleteDomainContributionError = DeleteDomainContributionErrors[keyof DeleteDomainContributionErrors];
1018
+ export type DeleteDomainContributionResponses = {
1019
+ /**
1020
+ * Contribution deleted
1021
+ */
1022
+ 204: void;
1023
+ };
1024
+ export type DeleteDomainContributionResponse = DeleteDomainContributionResponses[keyof DeleteDomainContributionResponses];
1025
+ export type PutDomainContributionData = {
1026
+ body: PutDomainContributionRequest;
1027
+ headers: {
1028
+ /**
1029
+ * Tenant- and operation-scoped idempotency key.
1030
+ */
1031
+ 'Idempotency-Key': string;
1032
+ /**
1033
+ * Strong ETag for the current aggregate revision.
1034
+ */
1035
+ 'If-Match': string;
1036
+ };
1037
+ path: {
1038
+ /**
1039
+ * Application Id
1040
+ */
1041
+ application_id: string;
1042
+ /**
1043
+ * Version Id
1044
+ */
1045
+ version_id: string;
1046
+ /**
1047
+ * Domain
1048
+ */
1049
+ domain: string;
1050
+ /**
1051
+ * Contribution Key
1052
+ */
1053
+ contribution_key: string;
1054
+ };
1055
+ query?: never;
1056
+ url: '/v1/applications/{application_id}/versions/{version_id}/contributions/{domain}/{contribution_key}';
1057
+ };
1058
+ export type PutDomainContributionErrors = {
1059
+ /**
1060
+ * Request does not match the endpoint contract
1061
+ */
1062
+ 400: HttpErrorEnvelope;
1063
+ /**
1064
+ * RFC 9457 problem details
1065
+ */
1066
+ 401: ProblemDetails;
1067
+ /**
1068
+ * Request is not authorized for the destination
1069
+ */
1070
+ 403: HttpErrorEnvelope;
1071
+ /**
1072
+ * Destination or entity was not found
1073
+ */
1074
+ 404: HttpErrorEnvelope;
1075
+ /**
1076
+ * Request authority has already been consumed
1077
+ */
1078
+ 409: HttpErrorEnvelope;
1079
+ /**
1080
+ * RFC 9457 problem details
1081
+ */
1082
+ 412: ProblemDetails;
1083
+ /**
1084
+ * RFC 9457 problem details
1085
+ */
1086
+ 422: ProblemDetails;
1087
+ /**
1088
+ * Request failed inside the framework boundary
1089
+ */
1090
+ 500: HttpErrorEnvelope;
1091
+ /**
1092
+ * HTTP adapter is not accepting requests
1093
+ */
1094
+ 503: HttpErrorEnvelope;
1095
+ };
1096
+ export type PutDomainContributionError = PutDomainContributionErrors[keyof PutDomainContributionErrors];
1097
+ export type PutDomainContributionResponses = {
1098
+ /**
1099
+ * Successful Response
1100
+ */
1101
+ 200: DomainContribution;
1102
+ };
1103
+ export type PutDomainContributionResponse = PutDomainContributionResponses[keyof PutDomainContributionResponses];
1104
+ export type GetApplicationVersionHandoffData = {
1105
+ body?: never;
1106
+ path: {
1107
+ /**
1108
+ * Application Id
1109
+ */
1110
+ application_id: string;
1111
+ /**
1112
+ * Version Id
1113
+ */
1114
+ version_id: string;
1115
+ };
1116
+ query?: never;
1117
+ url: '/v1/applications/{application_id}/versions/{version_id}/handoff';
1118
+ };
1119
+ export type GetApplicationVersionHandoffErrors = {
1120
+ /**
1121
+ * Request does not match the endpoint contract
1122
+ */
1123
+ 400: HttpErrorEnvelope;
1124
+ /**
1125
+ * RFC 9457 problem details
1126
+ */
1127
+ 401: ProblemDetails;
1128
+ /**
1129
+ * Request is not authorized for the destination
1130
+ */
1131
+ 403: HttpErrorEnvelope;
1132
+ /**
1133
+ * Destination or entity was not found
1134
+ */
1135
+ 404: HttpErrorEnvelope;
1136
+ /**
1137
+ * Request authority has already been consumed
1138
+ */
1139
+ 409: HttpErrorEnvelope;
1140
+ /**
1141
+ * RFC 9457 problem details
1142
+ */
1143
+ 412: ProblemDetails;
1144
+ /**
1145
+ * RFC 9457 problem details
1146
+ */
1147
+ 422: ProblemDetails;
1148
+ /**
1149
+ * Request failed inside the framework boundary
1150
+ */
1151
+ 500: HttpErrorEnvelope;
1152
+ /**
1153
+ * HTTP adapter is not accepting requests
1154
+ */
1155
+ 503: HttpErrorEnvelope;
1156
+ };
1157
+ export type GetApplicationVersionHandoffError = GetApplicationVersionHandoffErrors[keyof GetApplicationVersionHandoffErrors];
1158
+ export type GetApplicationVersionHandoffResponses = {
1159
+ /**
1160
+ * Successful Response
1161
+ */
1162
+ 200: ApplicationVersionHandoff;
1163
+ };
1164
+ export type GetApplicationVersionHandoffResponse = GetApplicationVersionHandoffResponses[keyof GetApplicationVersionHandoffResponses];
1165
+ export type SealApplicationVersionData = {
1166
+ body?: never;
1167
+ headers: {
1168
+ /**
1169
+ * Tenant- and operation-scoped idempotency key.
1170
+ */
1171
+ 'Idempotency-Key': string;
1172
+ /**
1173
+ * Strong ETag for the current aggregate revision.
1174
+ */
1175
+ 'If-Match': string;
1176
+ };
1177
+ path: {
1178
+ /**
1179
+ * Application Id
1180
+ */
1181
+ application_id: string;
1182
+ /**
1183
+ * Version Id
1184
+ */
1185
+ version_id: string;
1186
+ };
1187
+ query?: never;
1188
+ url: '/v1/applications/{application_id}/versions/{version_id}/seal';
1189
+ };
1190
+ export type SealApplicationVersionErrors = {
1191
+ /**
1192
+ * Request does not match the endpoint contract
1193
+ */
1194
+ 400: HttpErrorEnvelope;
1195
+ /**
1196
+ * RFC 9457 problem details
1197
+ */
1198
+ 401: ProblemDetails;
1199
+ /**
1200
+ * Request is not authorized for the destination
1201
+ */
1202
+ 403: HttpErrorEnvelope;
1203
+ /**
1204
+ * Destination or entity was not found
1205
+ */
1206
+ 404: HttpErrorEnvelope;
1207
+ /**
1208
+ * Request authority has already been consumed
1209
+ */
1210
+ 409: HttpErrorEnvelope;
1211
+ /**
1212
+ * RFC 9457 problem details
1213
+ */
1214
+ 412: ProblemDetails;
1215
+ /**
1216
+ * RFC 9457 problem details
1217
+ */
1218
+ 422: ProblemDetails;
1219
+ /**
1220
+ * Request failed inside the framework boundary
1221
+ */
1222
+ 500: HttpErrorEnvelope;
1223
+ /**
1224
+ * HTTP adapter is not accepting requests
1225
+ */
1226
+ 503: HttpErrorEnvelope;
1227
+ };
1228
+ export type SealApplicationVersionError = SealApplicationVersionErrors[keyof SealApplicationVersionErrors];
1229
+ export type SealApplicationVersionResponses = {
1230
+ /**
1231
+ * Successful Response
1232
+ */
1233
+ 200: ApplicationVersionHandoff;
1234
+ };
1235
+ export type SealApplicationVersionResponse = SealApplicationVersionResponses[keyof SealApplicationVersionResponses];