@bella-baxter/kiota-client 0.1.1-preview.107 → 0.1.1-preview.108
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/dist/generated/api/v1/projects/item/environments/item/providers/item/secrets/item/rotationPolicy/index.d.ts +14 -1
- package/dist/generated/api/v1/projects/item/environments/item/providers/item/secrets/item/rotationPolicy/index.d.ts.map +1 -1
- package/dist/generated/api/v1/projects/item/environments/item/providers/item/secrets/item/rotationPolicy/index.js +10 -1
- package/dist/generated/api/v1/projects/item/environments/item/providers/item/secrets/item/rotationPolicy/index.js.map +1 -1
- package/dist/generated/models/index.d.ts +69 -0
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +56 -0
- package/dist/generated/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type SetRotationPolicyRequest, type SetRotationPolicyResponse } from '../../../../../../../../../../../models/index.js';
|
|
1
|
+
import { type RotationPolicyInfo, type SetRotationPolicyRequest, type SetRotationPolicyResponse } from '../../../../../../../../../../../models/index.js';
|
|
2
2
|
import { type RotateSigningSecretRequestBuilder } from './rotateSigningSecret/index.js';
|
|
3
3
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
4
|
/**
|
|
@@ -9,6 +9,13 @@ export interface RotationPolicyRequestBuilder extends BaseRequestBuilder<Rotatio
|
|
|
9
9
|
* The rotateSigningSecret property
|
|
10
10
|
*/
|
|
11
11
|
get rotateSigningSecret(): RotateSigningSecretRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_rotation_policy
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns {Promise<RotationPolicyInfo>}
|
|
16
|
+
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
17
|
+
*/
|
|
18
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RotationPolicyInfo | undefined>;
|
|
12
19
|
/**
|
|
13
20
|
* PUT_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_rotation_policy
|
|
14
21
|
* @param body The request body
|
|
@@ -18,6 +25,12 @@ export interface RotationPolicyRequestBuilder extends BaseRequestBuilder<Rotatio
|
|
|
18
25
|
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
19
26
|
*/
|
|
20
27
|
put(body: SetRotationPolicyRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SetRotationPolicyResponse | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_rotation_policy
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {RequestInformation}
|
|
32
|
+
*/
|
|
33
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
21
34
|
/**
|
|
22
35
|
* PUT_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_rotation_policy
|
|
23
36
|
* @param body The request body
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/generated/api/v1/projects/item/environments/item/providers/item/secrets/item/rotationPolicy/index.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../src/generated/api/v1/projects/item/environments/item/providers/item/secrets/item/rotationPolicy/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiP,KAAK,kBAAkB,EAAE,KAAK,wBAAwB,EAAE,KAAK,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAEzY,OAAO,EAAqD,KAAK,iCAAiC,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
4
|
// @ts-ignore
|
|
5
|
-
import { createProblemDetailsFromDiscriminatorValue, createSetRotationPolicyResponseFromDiscriminatorValue, serializeSetRotationPolicyRequest } from '../../../../../../../../../../../models/index.js';
|
|
5
|
+
import { createProblemDetailsFromDiscriminatorValue, createRotationPolicyInfoFromDiscriminatorValue, createSetRotationPolicyResponseFromDiscriminatorValue, serializeSetRotationPolicyRequest } from '../../../../../../../../../../../models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { RotateSigningSecretRequestBuilderRequestsMetadata } from './rotateSigningSecret/index.js';
|
|
8
8
|
/**
|
|
@@ -21,6 +21,15 @@ export const RotationPolicyRequestBuilderNavigationMetadata = {
|
|
|
21
21
|
* Metadata for all the requests in the request builder.
|
|
22
22
|
*/
|
|
23
23
|
export const RotationPolicyRequestBuilderRequestsMetadata = {
|
|
24
|
+
get: {
|
|
25
|
+
uriTemplate: RotationPolicyRequestBuilderUriTemplate,
|
|
26
|
+
responseBodyContentType: "application/json",
|
|
27
|
+
errorMappings: {
|
|
28
|
+
404: createProblemDetailsFromDiscriminatorValue,
|
|
29
|
+
},
|
|
30
|
+
adapterMethodName: "send",
|
|
31
|
+
responseBodyFactory: createRotationPolicyInfoFromDiscriminatorValue,
|
|
32
|
+
},
|
|
24
33
|
put: {
|
|
25
34
|
uriTemplate: RotationPolicyRequestBuilderUriTemplate,
|
|
26
35
|
responseBodyContentType: "application/json",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../../../../src/generated/api/v1/projects/item/environments/item/providers/item/secrets/item/rotationPolicy/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,qDAAqD,EAAE,iCAAiC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../../../../src/generated/api/v1/projects/item/environments/item/providers/item/secrets/item/rotationPolicy/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,8CAA8C,EAAE,qDAAqD,EAAE,iCAAiC,EAAmJ,MAAM,kDAAkD,CAAC;AACzY,aAAa;AACb,OAAO,EAAE,iDAAiD,EAA0C,MAAM,gCAAgC,CAAC;AA0C3I;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,kHAAkH,CAAC;AAC1K;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAgH;IACvK,mBAAmB,EAAE;QACjB,gBAAgB,EAAE,iDAAiD;KACtE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,GAAG,EAAE;QACD,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;KACvE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,qDAAqD;QAC3E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,iCAAiC;QACxD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -2936,6 +2936,12 @@ export declare function createRotateProjectDekResponseFromDiscriminatorValue(par
|
|
|
2936
2936
|
* @returns {RotateRotationSigningSecretResponse}
|
|
2937
2937
|
*/
|
|
2938
2938
|
export declare function createRotateRotationSigningSecretResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2939
|
+
/**
|
|
2940
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2941
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2942
|
+
* @returns {RotationPolicyInfo}
|
|
2943
|
+
*/
|
|
2944
|
+
export declare function createRotationPolicyInfoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2939
2945
|
/**
|
|
2940
2946
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2941
2947
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -5395,6 +5401,12 @@ export declare function deserializeIntoRotateProjectDekResponse(rotateProjectDek
|
|
|
5395
5401
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5396
5402
|
*/
|
|
5397
5403
|
export declare function deserializeIntoRotateRotationSigningSecretResponse(rotateRotationSigningSecretResponse?: Partial<RotateRotationSigningSecretResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5404
|
+
/**
|
|
5405
|
+
* The deserialization information for the current model
|
|
5406
|
+
* @param RotationPolicyInfo The instance to deserialize into.
|
|
5407
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5408
|
+
*/
|
|
5409
|
+
export declare function deserializeIntoRotationPolicyInfo(rotationPolicyInfo?: Partial<RotationPolicyInfo> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5398
5410
|
/**
|
|
5399
5411
|
* The deserialization information for the current model
|
|
5400
5412
|
* @param ScanQueuedResponse The instance to deserialize into.
|
|
@@ -9096,6 +9108,56 @@ export interface RotateRotationSigningSecretResponse extends AdditionalDataHolde
|
|
|
9096
9108
|
*/
|
|
9097
9109
|
success?: boolean | null;
|
|
9098
9110
|
}
|
|
9111
|
+
export interface RotationPolicyInfo extends AdditionalDataHolder, Parsable {
|
|
9112
|
+
/**
|
|
9113
|
+
* The apiKeyHeader property
|
|
9114
|
+
*/
|
|
9115
|
+
apiKeyHeader?: string | null;
|
|
9116
|
+
/**
|
|
9117
|
+
* The enabled property
|
|
9118
|
+
*/
|
|
9119
|
+
enabled?: boolean | null;
|
|
9120
|
+
/**
|
|
9121
|
+
* The endpoint property
|
|
9122
|
+
*/
|
|
9123
|
+
endpoint?: string | null;
|
|
9124
|
+
/**
|
|
9125
|
+
* The intervalDays property
|
|
9126
|
+
*/
|
|
9127
|
+
intervalDays?: number | null;
|
|
9128
|
+
/**
|
|
9129
|
+
* The isOverdue property
|
|
9130
|
+
*/
|
|
9131
|
+
isOverdue?: boolean | null;
|
|
9132
|
+
/**
|
|
9133
|
+
* The lastRotatedAt property
|
|
9134
|
+
*/
|
|
9135
|
+
lastRotatedAt?: Date | null;
|
|
9136
|
+
/**
|
|
9137
|
+
* The nextRotationAt property
|
|
9138
|
+
*/
|
|
9139
|
+
nextRotationAt?: Date | null;
|
|
9140
|
+
/**
|
|
9141
|
+
* The randomFormat property
|
|
9142
|
+
*/
|
|
9143
|
+
randomFormat?: string | null;
|
|
9144
|
+
/**
|
|
9145
|
+
* The revokePreviousAfterDays property
|
|
9146
|
+
*/
|
|
9147
|
+
revokePreviousAfterDays?: number | null;
|
|
9148
|
+
/**
|
|
9149
|
+
* The rotationStatus property
|
|
9150
|
+
*/
|
|
9151
|
+
rotationStatus?: string | null;
|
|
9152
|
+
/**
|
|
9153
|
+
* The signingSecretKeyPrefix property
|
|
9154
|
+
*/
|
|
9155
|
+
signingSecretKeyPrefix?: string | null;
|
|
9156
|
+
/**
|
|
9157
|
+
* The strategy property
|
|
9158
|
+
*/
|
|
9159
|
+
strategy?: string | null;
|
|
9160
|
+
}
|
|
9099
9161
|
export interface ScanQueuedResponse extends AdditionalDataHolder, Parsable {
|
|
9100
9162
|
/**
|
|
9101
9163
|
* The message property
|
|
@@ -11071,6 +11133,13 @@ export declare function serializeRotateProjectDekResponse(writer: SerializationW
|
|
|
11071
11133
|
* @param writer Serialization writer to use to serialize this model
|
|
11072
11134
|
*/
|
|
11073
11135
|
export declare function serializeRotateRotationSigningSecretResponse(writer: SerializationWriter, rotateRotationSigningSecretResponse?: Partial<RotateRotationSigningSecretResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
11136
|
+
/**
|
|
11137
|
+
* Serializes information the current object
|
|
11138
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11139
|
+
* @param RotationPolicyInfo The instance to serialize from.
|
|
11140
|
+
* @param writer Serialization writer to use to serialize this model
|
|
11141
|
+
*/
|
|
11142
|
+
export declare function serializeRotationPolicyInfo(writer: SerializationWriter, rotationPolicyInfo?: Partial<RotationPolicyInfo> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
11074
11143
|
/**
|
|
11075
11144
|
* Serializes information the current object
|
|
11076
11145
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|