@bella-baxter/kiota-client 0.1.1-preview.105 → 0.1.1-preview.106

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.
@@ -1,4 +1,5 @@
1
1
  import { type AuditRequestBuilder } from './audit/index.js';
2
+ import { type OutcomeRequestBuilder } from './outcome/index.js';
2
3
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
4
  /**
4
5
  * Builds and executes requests for operations under /internal/v1/cert-rotation
@@ -8,6 +9,10 @@ export interface CertRotationRequestBuilder extends BaseRequestBuilder<CertRotat
8
9
  * The audit property
9
10
  */
10
11
  get audit(): AuditRequestBuilder;
12
+ /**
13
+ * The outcome property
14
+ */
15
+ get outcome(): OutcomeRequestBuilder;
11
16
  }
12
17
  /**
13
18
  * Uri template for the request builder.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/internal/v1/certRotation/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;CACpC;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,yCAAyC,CAAC;AAC5F;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIlK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/internal/v1/certRotation/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;CACxC;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,yCAAyC,CAAC;AAC5F;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAOlK,CAAC"}
@@ -3,6 +3,8 @@
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
5
  import { AuditRequestBuilderRequestsMetadata } from './audit/index.js';
6
+ // @ts-ignore
7
+ import { OutcomeRequestBuilderRequestsMetadata } from './outcome/index.js';
6
8
  /**
7
9
  * Uri template for the request builder.
8
10
  */
@@ -14,6 +16,9 @@ export const CertRotationRequestBuilderNavigationMetadata = {
14
16
  audit: {
15
17
  requestsMetadata: AuditRequestBuilderRequestsMetadata,
16
18
  },
19
+ outcome: {
20
+ requestsMetadata: OutcomeRequestBuilderRequestsMetadata,
21
+ },
17
22
  };
18
23
  /* tslint:enable */
19
24
  /* eslint-enable */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/internal/v1/certRotation/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AAajG;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,sCAAsC,CAAC;AAC5F;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAA8G;IACnK,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/internal/v1/certRotation/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AAiBvG;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,sCAAsC,CAAC;AAC5F;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAA8G;IACnK,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,32 @@
1
+ import { type RecordRotationOutcomeCommand } from '../../../../models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /internal/v1/cert-rotation/outcome
5
+ */
6
+ export interface OutcomeRequestBuilder extends BaseRequestBuilder<OutcomeRequestBuilder> {
7
+ /**
8
+ * POST_internal_v1_cert_rotation_outcome
9
+ * @param body The request body
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @throws {ProblemDetails} error when the service returns a 400 status code
12
+ * @throws {ProblemDetails} error when the service returns a 403 status code
13
+ * @throws {ProblemDetails} error when the service returns a 503 status code
14
+ */
15
+ post(body: RecordRotationOutcomeCommand, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
16
+ /**
17
+ * POST_internal_v1_cert_rotation_outcome
18
+ * @param body The request body
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns {RequestInformation}
21
+ */
22
+ toPostRequestInformation(body: RecordRotationOutcomeCommand, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
23
+ }
24
+ /**
25
+ * Uri template for the request builder.
26
+ */
27
+ export declare const OutcomeRequestBuilderUriTemplate = "{+baseurl}/internal/v1/cert-rotation/outcome";
28
+ /**
29
+ * Metadata for all the requests in the request builder.
30
+ */
31
+ export declare const OutcomeRequestBuilderRequestsMetadata: RequestsMetadata;
32
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/internal/v1/certRotation/outcome/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0G,KAAK,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAExL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,4BAA4B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3H;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,4BAA4B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvJ;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,iDAAiD,CAAC;AAC/F;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAcnD,CAAC"}
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createProblemDetailsFromDiscriminatorValue, serializeRecordRotationOutcomeCommand } from '../../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const OutcomeRequestBuilderUriTemplate = "{+baseurl}/internal/v1/cert-rotation/outcome";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const OutcomeRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: OutcomeRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json, application/problem+json",
17
+ errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
19
+ 403: createProblemDetailsFromDiscriminatorValue,
20
+ 503: createProblemDetailsFromDiscriminatorValue,
21
+ },
22
+ adapterMethodName: "sendNoResponseContent",
23
+ requestBodyContentType: "application/json",
24
+ requestBodySerializer: serializeRecordRotationOutcomeCommand,
25
+ requestInformationContentSetMethod: "setContentFromParsable",
26
+ },
27
+ };
28
+ /* tslint:enable */
29
+ /* eslint-enable */
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/internal/v1/certRotation/outcome/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,qCAAqC,EAA0D,MAAM,6BAA6B,CAAC;AAyBxL;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,8CAA8C,CAAC;AAC/F;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,4CAA4C;QACrE,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,qCAAqC;QAC5D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -2776,6 +2776,12 @@ export declare function createProvisionProjectDekResponseFromDiscriminatorValue(
2776
2776
  * @returns {RecordCertRotationAuditCommand}
2777
2777
  */
2778
2778
  export declare function createRecordCertRotationAuditCommandFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2779
+ /**
2780
+ * Creates a new instance of the appropriate class based on discriminator value
2781
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2782
+ * @returns {RecordRotationOutcomeCommand}
2783
+ */
2784
+ export declare function createRecordRotationOutcomeCommandFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2779
2785
  /**
2780
2786
  * Creates a new instance of the appropriate class based on discriminator value
2781
2787
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -5193,6 +5199,12 @@ export declare function deserializeIntoProvisionProjectDekResponse(provisionProj
5193
5199
  * @returns {Record<string, (node: ParseNode) => void>}
5194
5200
  */
5195
5201
  export declare function deserializeIntoRecordCertRotationAuditCommand(recordCertRotationAuditCommand?: Partial<RecordCertRotationAuditCommand> | undefined): Record<string, (node: ParseNode) => void>;
5202
+ /**
5203
+ * The deserialization information for the current model
5204
+ * @param RecordRotationOutcomeCommand The instance to deserialize into.
5205
+ * @returns {Record<string, (node: ParseNode) => void>}
5206
+ */
5207
+ export declare function deserializeIntoRecordRotationOutcomeCommand(recordRotationOutcomeCommand?: Partial<RecordRotationOutcomeCommand> | undefined): Record<string, (node: ParseNode) => void>;
5196
5208
  /**
5197
5209
  * The deserialization information for the current model
5198
5210
  * @param RecoverEncryptionKeyRequest The instance to deserialize into.
@@ -8636,6 +8648,104 @@ export interface RecordCertRotationAuditCommand extends AdditionalDataHolder, Pa
8636
8648
  */
8637
8649
  userName?: string | null;
8638
8650
  }
8651
+ export interface RecordRotationOutcomeCommand extends AdditionalDataHolder, Parsable {
8652
+ /**
8653
+ * The announcementId property
8654
+ */
8655
+ announcementId?: Guid | null;
8656
+ /**
8657
+ * The certificatesDeployed property
8658
+ */
8659
+ certificatesDeployed?: number | null;
8660
+ /**
8661
+ * The certificatesEvaluated property
8662
+ */
8663
+ certificatesEvaluated?: number | null;
8664
+ /**
8665
+ * The certificatesFailed property
8666
+ */
8667
+ certificatesFailed?: number | null;
8668
+ /**
8669
+ * The certificatesUnchanged property
8670
+ */
8671
+ certificatesUnchanged?: number | null;
8672
+ /**
8673
+ * The environmentId property
8674
+ */
8675
+ environmentId?: Guid | null;
8676
+ /**
8677
+ * The environmentSlug property
8678
+ */
8679
+ environmentSlug?: string | null;
8680
+ /**
8681
+ * The failureCategory property
8682
+ */
8683
+ failureCategory?: string | null;
8684
+ /**
8685
+ * The failureDetail property
8686
+ */
8687
+ failureDetail?: string | null;
8688
+ /**
8689
+ * The hostsFailed property
8690
+ */
8691
+ hostsFailed?: number | null;
8692
+ /**
8693
+ * The hostsSucceeded property
8694
+ */
8695
+ hostsSucceeded?: number | null;
8696
+ /**
8697
+ * The missedReason property
8698
+ */
8699
+ missedReason?: string | null;
8700
+ /**
8701
+ * The notAfter property
8702
+ */
8703
+ notAfter?: Date | null;
8704
+ /**
8705
+ * The occurredAt property
8706
+ */
8707
+ occurredAt?: Date | null;
8708
+ /**
8709
+ * The occurrenceDueAt property
8710
+ */
8711
+ occurrenceDueAt?: Date | null;
8712
+ /**
8713
+ * The outcome property
8714
+ */
8715
+ outcome?: string | null;
8716
+ /**
8717
+ * The primaryDomain property
8718
+ */
8719
+ primaryDomain?: string | null;
8720
+ /**
8721
+ * The projectId property
8722
+ */
8723
+ projectId?: Guid | null;
8724
+ /**
8725
+ * The projectRef property
8726
+ */
8727
+ projectRef?: string | null;
8728
+ /**
8729
+ * The rotationId property
8730
+ */
8731
+ rotationId?: Guid | null;
8732
+ /**
8733
+ * The sanList property
8734
+ */
8735
+ sanList?: string[] | null;
8736
+ /**
8737
+ * The targetId property
8738
+ */
8739
+ targetId?: Guid | null;
8740
+ /**
8741
+ * The tenantId property
8742
+ */
8743
+ tenantId?: Guid | null;
8744
+ /**
8745
+ * The trigger property
8746
+ */
8747
+ trigger?: string | null;
8748
+ }
8639
8749
  export interface RecoverEncryptionKeyRequest extends AdditionalDataHolder, Parsable {
8640
8750
  /**
8641
8751
  * The challengeSignature property
@@ -10663,6 +10773,13 @@ export declare function serializeProvisionProjectDekResponse(writer: Serializati
10663
10773
  * @param writer Serialization writer to use to serialize this model
10664
10774
  */
10665
10775
  export declare function serializeRecordCertRotationAuditCommand(writer: SerializationWriter, recordCertRotationAuditCommand?: Partial<RecordCertRotationAuditCommand> | undefined | null, isSerializingDerivedType?: boolean): void;
10776
+ /**
10777
+ * Serializes information the current object
10778
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10779
+ * @param RecordRotationOutcomeCommand The instance to serialize from.
10780
+ * @param writer Serialization writer to use to serialize this model
10781
+ */
10782
+ export declare function serializeRecordRotationOutcomeCommand(writer: SerializationWriter, recordRotationOutcomeCommand?: Partial<RecordRotationOutcomeCommand> | undefined | null, isSerializingDerivedType?: boolean): void;
10666
10783
  /**
10667
10784
  * Serializes information the current object
10668
10785
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.