@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/protocol.d.ts +2 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +39 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +34 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +32 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +33 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +33 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +33 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +46 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +34 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +24 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +45 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +33 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +28 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +33 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +1 -1
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +1 -1
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +1 -1
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mariadb.js +1 -1
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +1 -1
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +1 -1
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +1 -1
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +1 -1
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +1 -1
- package/lib/services.lazy/valkey.js +1 -1
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +4 -3
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/protocol.ts +13 -11
- package/src/services/alb.ts +39 -0
- package/src/services/alb_waf.ts +45 -0
- package/src/services/authorization.ts +35 -0
- package/src/services/automation.ts +33 -0
- package/src/services/cdn.ts +43 -0
- package/src/services/certificates.ts +23 -0
- package/src/services/cost.ts +19 -0
- package/src/services/dns.ts +55 -0
- package/src/services/dremio.ts +31 -0
- package/src/services/edge.ts +41 -0
- package/src/services/functions.ts +43 -0
- package/src/services/git.ts +53 -0
- package/src/services/iaas.ts +285 -0
- package/src/services/intake.ts +43 -0
- package/src/services/kms.ts +63 -0
- package/src/services/lb_ip_lists.ts +23 -0
- package/src/services/load_balancer.ts +39 -0
- package/src/services/logme.ts +51 -0
- package/src/services/logs.ts +49 -0
- package/src/services/mariadb.ts +51 -0
- package/src/services/model_experiments.ts +33 -0
- package/src/services/model_serving.ts +29 -0
- package/src/services/mongodb_flex.ts +63 -0
- package/src/services/object_storage.ts +55 -0
- package/src/services/observability.ts +225 -0
- package/src/services/opensearch.ts +51 -0
- package/src/services/pim.ts +41 -0
- package/src/services/postgres_flex.ts +67 -0
- package/src/services/pubsub.ts +49 -0
- package/src/services/rabbitmq.ts +51 -0
- package/src/services/registry.ts +25 -0
- package/src/services/resource_manager.ts +45 -0
- package/src/services/run_command.ts +23 -0
- package/src/services/sca.ts +37 -0
- package/src/services/scf.ts +59 -0
- package/src/services/secrets_manager.ts +65 -0
- package/src/services/server_backup.ts +45 -0
- package/src/services/server_update.ts +37 -0
- package/src/services/service_account.ts +43 -0
- package/src/services/service_enablement.ts +21 -0
- package/src/services/sfs.ts +65 -0
- package/src/services/ske.ts +41 -0
- package/src/services/sqlserverflex.ts +69 -0
- package/src/services/stackit_marketplace.ts +39 -0
- package/src/services/telemetry_link.ts +55 -0
- package/src/services/telemetry_router.ts +43 -0
- package/src/services/ufw.ts +29 -0
- package/src/services/valkey.ts +51 -0
- package/src/services/vpn.ts +61 -0
- package/src/services/workflows.ts +41 -0
package/src/services/pubsub.ts
CHANGED
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { StackitOpError, StackitOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "stackit-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "STACKIT",
|
|
23
|
+
service: "Pubsub",
|
|
24
|
+
labels: "stackit",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export class BadRequest
|
|
16
29
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -382,6 +395,8 @@ export const createSubscription: API.OperationMethod<
|
|
|
382
395
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
383
396
|
protocol: StackitProtocol,
|
|
384
397
|
retry: Retry.Retry,
|
|
398
|
+
telemetry: TELEMETRY,
|
|
399
|
+
span: "CreateSubscription",
|
|
385
400
|
}));
|
|
386
401
|
|
|
387
402
|
export type CreateTopicError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -397,6 +412,8 @@ export const createTopic: API.OperationMethod<
|
|
|
397
412
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
398
413
|
protocol: StackitProtocol,
|
|
399
414
|
retry: Retry.Retry,
|
|
415
|
+
telemetry: TELEMETRY,
|
|
416
|
+
span: "CreateTopic",
|
|
400
417
|
}));
|
|
401
418
|
|
|
402
419
|
export type DeleteSubscriptionError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -412,6 +429,8 @@ export const deleteSubscription: API.OperationMethod<
|
|
|
412
429
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
413
430
|
protocol: StackitProtocol,
|
|
414
431
|
retry: Retry.Retry,
|
|
432
|
+
telemetry: TELEMETRY,
|
|
433
|
+
span: "DeleteSubscription",
|
|
415
434
|
}));
|
|
416
435
|
|
|
417
436
|
export type DeleteTopicError =
|
|
@@ -432,6 +451,8 @@ export const deleteTopic: API.OperationMethod<
|
|
|
432
451
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
433
452
|
protocol: StackitProtocol,
|
|
434
453
|
retry: Retry.Retry,
|
|
454
|
+
telemetry: TELEMETRY,
|
|
455
|
+
span: "DeleteTopic",
|
|
435
456
|
}));
|
|
436
457
|
|
|
437
458
|
export type GetSubscriptionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -447,6 +468,8 @@ export const getSubscription: API.OperationMethod<
|
|
|
447
468
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
448
469
|
protocol: StackitProtocol,
|
|
449
470
|
retry: Retry.Retry,
|
|
471
|
+
telemetry: TELEMETRY,
|
|
472
|
+
span: "GetSubscription",
|
|
450
473
|
}));
|
|
451
474
|
|
|
452
475
|
export type GetTopicError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -462,6 +485,8 @@ export const getTopic: API.OperationMethod<
|
|
|
462
485
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
463
486
|
protocol: StackitProtocol,
|
|
464
487
|
retry: Retry.Retry,
|
|
488
|
+
telemetry: TELEMETRY,
|
|
489
|
+
span: "GetTopic",
|
|
465
490
|
}));
|
|
466
491
|
|
|
467
492
|
export type GrantSubscriptionSubscriberAccessError =
|
|
@@ -482,6 +507,8 @@ export const grantSubscriptionSubscriberAccess: API.OperationMethod<
|
|
|
482
507
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
483
508
|
protocol: StackitProtocol,
|
|
484
509
|
retry: Retry.Retry,
|
|
510
|
+
telemetry: TELEMETRY,
|
|
511
|
+
span: "GrantSubscriptionSubscriberAccess",
|
|
485
512
|
}));
|
|
486
513
|
|
|
487
514
|
export type GrantTopicPublisherAccessError =
|
|
@@ -502,6 +529,8 @@ export const grantTopicPublisherAccess: API.OperationMethod<
|
|
|
502
529
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
503
530
|
protocol: StackitProtocol,
|
|
504
531
|
retry: Retry.Retry,
|
|
532
|
+
telemetry: TELEMETRY,
|
|
533
|
+
span: "GrantTopicPublisherAccess",
|
|
505
534
|
}));
|
|
506
535
|
|
|
507
536
|
export type ListSubscriptionsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -517,6 +546,8 @@ export const listSubscriptions: API.OperationMethod<
|
|
|
517
546
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
518
547
|
protocol: StackitProtocol,
|
|
519
548
|
retry: Retry.Retry,
|
|
549
|
+
telemetry: TELEMETRY,
|
|
550
|
+
span: "ListSubscriptions",
|
|
520
551
|
}));
|
|
521
552
|
|
|
522
553
|
export type ListSubscriptionSubscribersError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -532,6 +563,8 @@ export const listSubscriptionSubscribers: API.OperationMethod<
|
|
|
532
563
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
533
564
|
protocol: StackitProtocol,
|
|
534
565
|
retry: Retry.Retry,
|
|
566
|
+
telemetry: TELEMETRY,
|
|
567
|
+
span: "ListSubscriptionSubscribers",
|
|
535
568
|
}));
|
|
536
569
|
|
|
537
570
|
export type ListTopicPublishersError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -547,6 +580,8 @@ export const listTopicPublishers: API.OperationMethod<
|
|
|
547
580
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
548
581
|
protocol: StackitProtocol,
|
|
549
582
|
retry: Retry.Retry,
|
|
583
|
+
telemetry: TELEMETRY,
|
|
584
|
+
span: "ListTopicPublishers",
|
|
550
585
|
}));
|
|
551
586
|
|
|
552
587
|
export type ListTopicsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -562,6 +597,8 @@ export const listTopics: API.OperationMethod<
|
|
|
562
597
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
563
598
|
protocol: StackitProtocol,
|
|
564
599
|
retry: Retry.Retry,
|
|
600
|
+
telemetry: TELEMETRY,
|
|
601
|
+
span: "ListTopics",
|
|
565
602
|
}));
|
|
566
603
|
|
|
567
604
|
export type RevokeSubscriptionSubscriberAccessError =
|
|
@@ -582,6 +619,8 @@ export const revokeSubscriptionSubscriberAccess: API.OperationMethod<
|
|
|
582
619
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
583
620
|
protocol: StackitProtocol,
|
|
584
621
|
retry: Retry.Retry,
|
|
622
|
+
telemetry: TELEMETRY,
|
|
623
|
+
span: "RevokeSubscriptionSubscriberAccess",
|
|
585
624
|
}));
|
|
586
625
|
|
|
587
626
|
export type RevokeTopicPublisherAccessError =
|
|
@@ -602,6 +641,8 @@ export const revokeTopicPublisherAccess: API.OperationMethod<
|
|
|
602
641
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
603
642
|
protocol: StackitProtocol,
|
|
604
643
|
retry: Retry.Retry,
|
|
644
|
+
telemetry: TELEMETRY,
|
|
645
|
+
span: "RevokeTopicPublisherAccess",
|
|
605
646
|
}));
|
|
606
647
|
|
|
607
648
|
export type UpdatePublisherAccessError =
|
|
@@ -622,6 +663,8 @@ export const updatePublisherAccess: API.OperationMethod<
|
|
|
622
663
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
623
664
|
protocol: StackitProtocol,
|
|
624
665
|
retry: Retry.Retry,
|
|
666
|
+
telemetry: TELEMETRY,
|
|
667
|
+
span: "UpdatePublisherAccess",
|
|
625
668
|
}));
|
|
626
669
|
|
|
627
670
|
export type UpdateSubscriptionError =
|
|
@@ -643,6 +686,8 @@ export const updateSubscription: API.OperationMethod<
|
|
|
643
686
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
644
687
|
protocol: StackitProtocol,
|
|
645
688
|
retry: Retry.Retry,
|
|
689
|
+
telemetry: TELEMETRY,
|
|
690
|
+
span: "UpdateSubscription",
|
|
646
691
|
}));
|
|
647
692
|
|
|
648
693
|
export type UpdateSubscriptionSubscriberAccessError =
|
|
@@ -663,6 +708,8 @@ export const updateSubscriptionSubscriberAccess: API.OperationMethod<
|
|
|
663
708
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
|
|
664
709
|
protocol: StackitProtocol,
|
|
665
710
|
retry: Retry.Retry,
|
|
711
|
+
telemetry: TELEMETRY,
|
|
712
|
+
span: "UpdateSubscriptionSubscriberAccess",
|
|
666
713
|
}));
|
|
667
714
|
|
|
668
715
|
export type UpdateTopicError =
|
|
@@ -684,6 +731,8 @@ export const updateTopic: API.OperationMethod<
|
|
|
684
731
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
|
|
685
732
|
protocol: StackitProtocol,
|
|
686
733
|
retry: Retry.Retry,
|
|
734
|
+
telemetry: TELEMETRY,
|
|
735
|
+
span: "UpdateTopic",
|
|
687
736
|
}));
|
|
688
737
|
|
|
689
738
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
package/src/services/rabbitmq.ts
CHANGED
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Rabbitmq",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -426,6 +439,8 @@ export const createBackup: API.OperationMethod<
|
|
|
426
439
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
427
440
|
protocol: StackitProtocol,
|
|
428
441
|
retry: Retry.Retry,
|
|
442
|
+
telemetry: TELEMETRY,
|
|
443
|
+
span: "CreateBackup",
|
|
429
444
|
}));
|
|
430
445
|
|
|
431
446
|
export type CreateCredentialsError = BadRequest | StackitOpError;
|
|
@@ -441,6 +456,8 @@ export const createCredentials: API.OperationMethod<
|
|
|
441
456
|
errors: [BadRequest, UnknownStackitError],
|
|
442
457
|
protocol: StackitProtocol,
|
|
443
458
|
retry: Retry.Retry,
|
|
459
|
+
telemetry: TELEMETRY,
|
|
460
|
+
span: "CreateCredentials",
|
|
444
461
|
}));
|
|
445
462
|
|
|
446
463
|
export type CreateInstanceError = BadRequest | Conflict | StackitOpError;
|
|
@@ -456,6 +473,8 @@ export const createInstance: API.OperationMethod<
|
|
|
456
473
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
457
474
|
protocol: StackitProtocol,
|
|
458
475
|
retry: Retry.Retry,
|
|
476
|
+
telemetry: TELEMETRY,
|
|
477
|
+
span: "CreateInstance",
|
|
459
478
|
}));
|
|
460
479
|
|
|
461
480
|
export type DeleteCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -471,6 +490,8 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
471
490
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
472
491
|
protocol: StackitProtocol,
|
|
473
492
|
retry: Retry.Retry,
|
|
493
|
+
telemetry: TELEMETRY,
|
|
494
|
+
span: "DeleteCredentials",
|
|
474
495
|
}));
|
|
475
496
|
|
|
476
497
|
export type DeleteInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -486,6 +507,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
486
507
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
487
508
|
protocol: StackitProtocol,
|
|
488
509
|
retry: Retry.Retry,
|
|
510
|
+
telemetry: TELEMETRY,
|
|
511
|
+
span: "DeleteInstance",
|
|
489
512
|
}));
|
|
490
513
|
|
|
491
514
|
export type DownloadBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -501,6 +524,8 @@ export const downloadBackup: API.OperationMethod<
|
|
|
501
524
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
502
525
|
protocol: StackitProtocol,
|
|
503
526
|
retry: Retry.Retry,
|
|
527
|
+
telemetry: TELEMETRY,
|
|
528
|
+
span: "DownloadBackup",
|
|
504
529
|
}));
|
|
505
530
|
|
|
506
531
|
export type GetCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -516,6 +541,8 @@ export const getCredentials: API.OperationMethod<
|
|
|
516
541
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
517
542
|
protocol: StackitProtocol,
|
|
518
543
|
retry: Retry.Retry,
|
|
544
|
+
telemetry: TELEMETRY,
|
|
545
|
+
span: "GetCredentials",
|
|
519
546
|
}));
|
|
520
547
|
|
|
521
548
|
export type GetInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -531,6 +558,8 @@ export const getInstance: API.OperationMethod<
|
|
|
531
558
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
532
559
|
protocol: StackitProtocol,
|
|
533
560
|
retry: Retry.Retry,
|
|
561
|
+
telemetry: TELEMETRY,
|
|
562
|
+
span: "GetInstance",
|
|
534
563
|
}));
|
|
535
564
|
|
|
536
565
|
export type GetMetricsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -546,6 +575,8 @@ export const getMetrics: API.OperationMethod<
|
|
|
546
575
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
547
576
|
protocol: StackitProtocol,
|
|
548
577
|
retry: Retry.Retry,
|
|
578
|
+
telemetry: TELEMETRY,
|
|
579
|
+
span: "GetMetrics",
|
|
549
580
|
}));
|
|
550
581
|
|
|
551
582
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -561,6 +592,8 @@ export const listBackups: API.OperationMethod<
|
|
|
561
592
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
562
593
|
protocol: StackitProtocol,
|
|
563
594
|
retry: Retry.Retry,
|
|
595
|
+
telemetry: TELEMETRY,
|
|
596
|
+
span: "ListBackups",
|
|
564
597
|
}));
|
|
565
598
|
|
|
566
599
|
export type ListCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -576,6 +609,8 @@ export const listCredentials: API.OperationMethod<
|
|
|
576
609
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
577
610
|
protocol: StackitProtocol,
|
|
578
611
|
retry: Retry.Retry,
|
|
612
|
+
telemetry: TELEMETRY,
|
|
613
|
+
span: "ListCredentials",
|
|
579
614
|
}));
|
|
580
615
|
|
|
581
616
|
export type ListInstancesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -591,6 +626,8 @@ export const listInstances: API.OperationMethod<
|
|
|
591
626
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
592
627
|
protocol: StackitProtocol,
|
|
593
628
|
retry: Retry.Retry,
|
|
629
|
+
telemetry: TELEMETRY,
|
|
630
|
+
span: "ListInstances",
|
|
594
631
|
}));
|
|
595
632
|
|
|
596
633
|
export type ListOfferingsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -606,6 +643,8 @@ export const listOfferings: API.OperationMethod<
|
|
|
606
643
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
607
644
|
protocol: StackitProtocol,
|
|
608
645
|
retry: Retry.Retry,
|
|
646
|
+
telemetry: TELEMETRY,
|
|
647
|
+
span: "ListOfferings",
|
|
609
648
|
}));
|
|
610
649
|
|
|
611
650
|
export type ListRestoresError = BadRequest | NotFound | StackitOpError;
|
|
@@ -621,6 +660,8 @@ export const listRestores: API.OperationMethod<
|
|
|
621
660
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
622
661
|
protocol: StackitProtocol,
|
|
623
662
|
retry: Retry.Retry,
|
|
663
|
+
telemetry: TELEMETRY,
|
|
664
|
+
span: "ListRestores",
|
|
624
665
|
}));
|
|
625
666
|
|
|
626
667
|
export type PartialUpdateInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -636,6 +677,8 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
636
677
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
637
678
|
protocol: StackitProtocol,
|
|
638
679
|
retry: Retry.Retry,
|
|
680
|
+
telemetry: TELEMETRY,
|
|
681
|
+
span: "PartialUpdateInstance",
|
|
639
682
|
}));
|
|
640
683
|
|
|
641
684
|
export type TriggerRecreateError = BadRequest | NotFound | StackitOpError;
|
|
@@ -651,6 +694,8 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
651
694
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
652
695
|
protocol: StackitProtocol,
|
|
653
696
|
retry: Retry.Retry,
|
|
697
|
+
telemetry: TELEMETRY,
|
|
698
|
+
span: "TriggerRecreate",
|
|
654
699
|
}));
|
|
655
700
|
|
|
656
701
|
export type TriggerRestartError = BadRequest | NotFound | StackitOpError;
|
|
@@ -666,6 +711,8 @@ export const triggerRestart: API.OperationMethod<
|
|
|
666
711
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
667
712
|
protocol: StackitProtocol,
|
|
668
713
|
retry: Retry.Retry,
|
|
714
|
+
telemetry: TELEMETRY,
|
|
715
|
+
span: "TriggerRestart",
|
|
669
716
|
}));
|
|
670
717
|
|
|
671
718
|
export type TriggerRestoreError = BadRequest | NotFound | StackitOpError;
|
|
@@ -681,6 +728,8 @@ export const triggerRestore: API.OperationMethod<
|
|
|
681
728
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
682
729
|
protocol: StackitProtocol,
|
|
683
730
|
retry: Retry.Retry,
|
|
731
|
+
telemetry: TELEMETRY,
|
|
732
|
+
span: "TriggerRestore",
|
|
684
733
|
}));
|
|
685
734
|
|
|
686
735
|
export type UpdateBackupsConfigError = BadRequest | NotFound | StackitOpError;
|
|
@@ -696,6 +745,8 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
696
745
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
697
746
|
protocol: StackitProtocol,
|
|
698
747
|
retry: Retry.Retry,
|
|
748
|
+
telemetry: TELEMETRY,
|
|
749
|
+
span: "UpdateBackupsConfig",
|
|
699
750
|
}));
|
|
700
751
|
|
|
701
752
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
package/src/services/registry.ts
CHANGED
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Registry",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -191,6 +204,8 @@ export const createArtifactory: API.OperationMethod<
|
|
|
191
204
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
192
205
|
protocol: StackitProtocol,
|
|
193
206
|
retry: Retry.Retry,
|
|
207
|
+
telemetry: TELEMETRY,
|
|
208
|
+
span: "CreateArtifactory",
|
|
194
209
|
}));
|
|
195
210
|
|
|
196
211
|
export type DeleteArtifactoryError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -206,6 +221,8 @@ export const deleteArtifactory: API.OperationMethod<
|
|
|
206
221
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
207
222
|
protocol: StackitProtocol,
|
|
208
223
|
retry: Retry.Retry,
|
|
224
|
+
telemetry: TELEMETRY,
|
|
225
|
+
span: "DeleteArtifactory",
|
|
209
226
|
}));
|
|
210
227
|
|
|
211
228
|
export type GetArtifactoryError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -221,6 +238,8 @@ export const getArtifactory: API.OperationMethod<
|
|
|
221
238
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
222
239
|
protocol: StackitProtocol,
|
|
223
240
|
retry: Retry.Retry,
|
|
241
|
+
telemetry: TELEMETRY,
|
|
242
|
+
span: "GetArtifactory",
|
|
224
243
|
}));
|
|
225
244
|
|
|
226
245
|
export type ListArtifactoriesError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -236,6 +255,8 @@ export const listArtifactories: API.OperationMethod<
|
|
|
236
255
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
237
256
|
protocol: StackitProtocol,
|
|
238
257
|
retry: Retry.Retry,
|
|
258
|
+
telemetry: TELEMETRY,
|
|
259
|
+
span: "ListArtifactories",
|
|
239
260
|
}));
|
|
240
261
|
|
|
241
262
|
export type ListReplicationAdaptersError = BadRequest | StackitOpError;
|
|
@@ -251,6 +272,8 @@ export const listReplicationAdapters: API.OperationMethod<
|
|
|
251
272
|
errors: [BadRequest, UnknownStackitError],
|
|
252
273
|
protocol: StackitProtocol,
|
|
253
274
|
retry: Retry.Retry,
|
|
275
|
+
telemetry: TELEMETRY,
|
|
276
|
+
span: "ListReplicationAdapters",
|
|
254
277
|
}));
|
|
255
278
|
|
|
256
279
|
export type PatchArtifactoryError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -266,6 +289,8 @@ export const patchArtifactory: API.OperationMethod<
|
|
|
266
289
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
267
290
|
protocol: StackitProtocol,
|
|
268
291
|
retry: Retry.Retry,
|
|
292
|
+
telemetry: TELEMETRY,
|
|
293
|
+
span: "PatchArtifactory",
|
|
269
294
|
}));
|
|
270
295
|
|
|
271
296
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { StackitOpError, StackitOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "stackit-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "STACKIT",
|
|
23
|
+
service: "ResourceManager",
|
|
24
|
+
labels: "stackit",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export class BadRequest
|
|
16
29
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -363,6 +376,8 @@ export const createFolder: API.OperationMethod<
|
|
|
363
376
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
364
377
|
protocol: StackitProtocol,
|
|
365
378
|
retry: Retry.Retry,
|
|
379
|
+
telemetry: TELEMETRY,
|
|
380
|
+
span: "CreateFolder",
|
|
366
381
|
}));
|
|
367
382
|
|
|
368
383
|
export type CreateProjectError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
@@ -378,6 +393,8 @@ export const createProject: API.OperationMethod<
|
|
|
378
393
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
379
394
|
protocol: StackitProtocol,
|
|
380
395
|
retry: Retry.Retry,
|
|
396
|
+
telemetry: TELEMETRY,
|
|
397
|
+
span: "CreateProject",
|
|
381
398
|
}));
|
|
382
399
|
|
|
383
400
|
export type DeleteFolderError = NotFound | Conflict | StackitOpError;
|
|
@@ -393,6 +410,8 @@ export const deleteFolder: API.OperationMethod<
|
|
|
393
410
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
394
411
|
protocol: StackitProtocol,
|
|
395
412
|
retry: Retry.Retry,
|
|
413
|
+
telemetry: TELEMETRY,
|
|
414
|
+
span: "DeleteFolder",
|
|
396
415
|
}));
|
|
397
416
|
|
|
398
417
|
export type DeleteFolderLabelsError = Conflict | StackitOpError;
|
|
@@ -408,6 +427,8 @@ export const deleteFolderLabels: API.OperationMethod<
|
|
|
408
427
|
errors: [Conflict, UnknownStackitError],
|
|
409
428
|
protocol: StackitProtocol,
|
|
410
429
|
retry: Retry.Retry,
|
|
430
|
+
telemetry: TELEMETRY,
|
|
431
|
+
span: "DeleteFolderLabels",
|
|
411
432
|
}));
|
|
412
433
|
|
|
413
434
|
export type DeleteOrganizationLabelsError = Conflict | StackitOpError;
|
|
@@ -423,6 +444,8 @@ export const deleteOrganizationLabels: API.OperationMethod<
|
|
|
423
444
|
errors: [Conflict, UnknownStackitError],
|
|
424
445
|
protocol: StackitProtocol,
|
|
425
446
|
retry: Retry.Retry,
|
|
447
|
+
telemetry: TELEMETRY,
|
|
448
|
+
span: "DeleteOrganizationLabels",
|
|
426
449
|
}));
|
|
427
450
|
|
|
428
451
|
export type DeleteProjectError = Conflict | StackitOpError;
|
|
@@ -438,6 +461,8 @@ export const deleteProject: API.OperationMethod<
|
|
|
438
461
|
errors: [Conflict, UnknownStackitError],
|
|
439
462
|
protocol: StackitProtocol,
|
|
440
463
|
retry: Retry.Retry,
|
|
464
|
+
telemetry: TELEMETRY,
|
|
465
|
+
span: "DeleteProject",
|
|
441
466
|
}));
|
|
442
467
|
|
|
443
468
|
export type DeleteProjectLabelsError = Conflict | StackitOpError;
|
|
@@ -453,6 +478,8 @@ export const deleteProjectLabels: API.OperationMethod<
|
|
|
453
478
|
errors: [Conflict, UnknownStackitError],
|
|
454
479
|
protocol: StackitProtocol,
|
|
455
480
|
retry: Retry.Retry,
|
|
481
|
+
telemetry: TELEMETRY,
|
|
482
|
+
span: "DeleteProjectLabels",
|
|
456
483
|
}));
|
|
457
484
|
|
|
458
485
|
export type GetFolderDetailsError = Forbidden | NotFound | StackitOpError;
|
|
@@ -468,6 +495,8 @@ export const getFolderDetails: API.OperationMethod<
|
|
|
468
495
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
469
496
|
protocol: StackitProtocol,
|
|
470
497
|
retry: Retry.Retry,
|
|
498
|
+
telemetry: TELEMETRY,
|
|
499
|
+
span: "GetFolderDetails",
|
|
471
500
|
}));
|
|
472
501
|
|
|
473
502
|
export type GetOrganizationError = NotFound | StackitOpError;
|
|
@@ -483,6 +512,8 @@ export const getOrganization: API.OperationMethod<
|
|
|
483
512
|
errors: [NotFound, UnknownStackitError],
|
|
484
513
|
protocol: StackitProtocol,
|
|
485
514
|
retry: Retry.Retry,
|
|
515
|
+
telemetry: TELEMETRY,
|
|
516
|
+
span: "GetOrganization",
|
|
486
517
|
}));
|
|
487
518
|
|
|
488
519
|
export type GetProjectError = Forbidden | NotFound | StackitOpError;
|
|
@@ -498,6 +529,8 @@ export const getProject: API.OperationMethod<
|
|
|
498
529
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
499
530
|
protocol: StackitProtocol,
|
|
500
531
|
retry: Retry.Retry,
|
|
532
|
+
telemetry: TELEMETRY,
|
|
533
|
+
span: "GetProject",
|
|
501
534
|
}));
|
|
502
535
|
|
|
503
536
|
export type ListFoldersError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
@@ -513,6 +546,8 @@ export const listFolders: API.OperationMethod<
|
|
|
513
546
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
514
547
|
protocol: StackitProtocol,
|
|
515
548
|
retry: Retry.Retry,
|
|
549
|
+
telemetry: TELEMETRY,
|
|
550
|
+
span: "ListFolders",
|
|
516
551
|
}));
|
|
517
552
|
|
|
518
553
|
export type ListOrganizationsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -528,6 +563,8 @@ export const listOrganizations: API.OperationMethod<
|
|
|
528
563
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
529
564
|
protocol: StackitProtocol,
|
|
530
565
|
retry: Retry.Retry,
|
|
566
|
+
telemetry: TELEMETRY,
|
|
567
|
+
span: "ListOrganizations",
|
|
531
568
|
}));
|
|
532
569
|
|
|
533
570
|
export type ListProjectsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -543,6 +580,8 @@ export const listProjects: API.OperationMethod<
|
|
|
543
580
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
544
581
|
protocol: StackitProtocol,
|
|
545
582
|
retry: Retry.Retry,
|
|
583
|
+
telemetry: TELEMETRY,
|
|
584
|
+
span: "ListProjects",
|
|
546
585
|
}));
|
|
547
586
|
|
|
548
587
|
export type PartialUpdateFolderError = Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -558,6 +597,8 @@ export const partialUpdateFolder: API.OperationMethod<
|
|
|
558
597
|
errors: [Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
559
598
|
protocol: StackitProtocol,
|
|
560
599
|
retry: Retry.Retry,
|
|
600
|
+
telemetry: TELEMETRY,
|
|
601
|
+
span: "PartialUpdateFolder",
|
|
561
602
|
}));
|
|
562
603
|
|
|
563
604
|
export type PartialUpdateOrganizationError = NotFound | Conflict | StackitOpError;
|
|
@@ -573,6 +614,8 @@ export const partialUpdateOrganization: API.OperationMethod<
|
|
|
573
614
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
574
615
|
protocol: StackitProtocol,
|
|
575
616
|
retry: Retry.Retry,
|
|
617
|
+
telemetry: TELEMETRY,
|
|
618
|
+
span: "PartialUpdateOrganization",
|
|
576
619
|
}));
|
|
577
620
|
|
|
578
621
|
export type PartialUpdateProjectError = Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -588,6 +631,8 @@ export const partialUpdateProject: API.OperationMethod<
|
|
|
588
631
|
errors: [Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
589
632
|
protocol: StackitProtocol,
|
|
590
633
|
retry: Retry.Retry,
|
|
634
|
+
telemetry: TELEMETRY,
|
|
635
|
+
span: "PartialUpdateProject",
|
|
591
636
|
}));
|
|
592
637
|
|
|
593
638
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { StackitOpError, StackitOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "stackit-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "STACKIT",
|
|
23
|
+
service: "RunCommand",
|
|
24
|
+
labels: "stackit",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export class BadRequest
|
|
16
29
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -153,6 +166,8 @@ export const createCommand: API.OperationMethod<
|
|
|
153
166
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
154
167
|
protocol: StackitProtocol,
|
|
155
168
|
retry: Retry.Retry,
|
|
169
|
+
telemetry: TELEMETRY,
|
|
170
|
+
span: "CreateCommand",
|
|
156
171
|
}));
|
|
157
172
|
|
|
158
173
|
export type GetCommandError = BadRequest | NotFound | StackitOpError;
|
|
@@ -168,6 +183,8 @@ export const getCommand: API.OperationMethod<
|
|
|
168
183
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
169
184
|
protocol: StackitProtocol,
|
|
170
185
|
retry: Retry.Retry,
|
|
186
|
+
telemetry: TELEMETRY,
|
|
187
|
+
span: "GetCommand",
|
|
171
188
|
}));
|
|
172
189
|
|
|
173
190
|
export type GetCommandTemplateError = BadRequest | NotFound | StackitOpError;
|
|
@@ -183,6 +200,8 @@ export const getCommandTemplate: API.OperationMethod<
|
|
|
183
200
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
184
201
|
protocol: StackitProtocol,
|
|
185
202
|
retry: Retry.Retry,
|
|
203
|
+
telemetry: TELEMETRY,
|
|
204
|
+
span: "GetCommandTemplate",
|
|
186
205
|
}));
|
|
187
206
|
|
|
188
207
|
export type ListCommandsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -198,6 +217,8 @@ export const listCommands: API.OperationMethod<
|
|
|
198
217
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
199
218
|
protocol: StackitProtocol,
|
|
200
219
|
retry: Retry.Retry,
|
|
220
|
+
telemetry: TELEMETRY,
|
|
221
|
+
span: "ListCommands",
|
|
201
222
|
}));
|
|
202
223
|
|
|
203
224
|
export type ListCommandTemplatesError = BadRequest | StackitOpError;
|
|
@@ -213,6 +234,8 @@ export const listCommandTemplates: API.OperationMethod<
|
|
|
213
234
|
errors: [BadRequest, UnknownStackitError],
|
|
214
235
|
protocol: StackitProtocol,
|
|
215
236
|
retry: Retry.Retry,
|
|
237
|
+
telemetry: TELEMETRY,
|
|
238
|
+
span: "ListCommandTemplates",
|
|
216
239
|
}));
|
|
217
240
|
|
|
218
241
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|