@bella-baxter/kiota-client 0.1.1-preview.110 → 0.1.1-preview.111

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.
@@ -0,0 +1,28 @@
1
+ import { type UserDeactivationImpactResponse } 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 /api/v1/users/{userId}/deactivation-impact
5
+ */
6
+ export interface DeactivationImpactRequestBuilder extends BaseRequestBuilder<DeactivationImpactRequestBuilder> {
7
+ /**
8
+ * GET_api_v1_users_userId_deactivation_impact
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<UserDeactivationImpactResponse>}
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UserDeactivationImpactResponse | undefined>;
13
+ /**
14
+ * GET_api_v1_users_userId_deactivation_impact
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {RequestInformation}
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Uri template for the request builder.
22
+ */
23
+ export declare const DeactivationImpactRequestBuilderUriTemplate = "{+baseurl}/api/v1/users/{userId}/deactivation-impact";
24
+ /**
25
+ * Metadata for all the requests in the request builder.
26
+ */
27
+ export declare const DeactivationImpactRequestBuilderRequestsMetadata: RequestsMetadata;
28
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/generated/api/v1/users/item/deactivationImpact/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8D,KAAK,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAEjJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAC5H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,yDAAyD,CAAC;AAClH;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAO9D,CAAC"}
@@ -0,0 +1,23 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createUserDeactivationImpactResponseFromDiscriminatorValue } from '../../../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const DeactivationImpactRequestBuilderUriTemplate = "{+baseurl}/api/v1/users/{userId}/deactivation-impact";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const DeactivationImpactRequestBuilderRequestsMetadata = {
14
+ get: {
15
+ uriTemplate: DeactivationImpactRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ adapterMethodName: "send",
18
+ responseBodyFactory: createUserDeactivationImpactResponseFromDiscriminatorValue,
19
+ },
20
+ };
21
+ /* tslint:enable */
22
+ /* eslint-enable */
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/generated/api/v1/users/item/deactivationImpact/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0DAA0D,EAAuC,MAAM,gCAAgC,CAAC;AAqBjJ;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG,sDAAsD,CAAC;AAClH;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAqB;IAC9E,GAAG,EAAE;QACD,WAAW,EAAE,2CAA2C;QACxD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0DAA0D;KACnF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,10 +1,15 @@
1
1
  import { type OperationResponse, type UserResponse } from '../../../../models/index.js';
2
+ import { type DeactivationImpactRequestBuilder } from './deactivationImpact/index.js';
2
3
  import { type ReactivateRequestBuilder } from './reactivate/index.js';
3
4
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
5
  /**
5
6
  * Builds and executes requests for operations under /api/v1/users/{userId}
6
7
  */
7
8
  export interface WithUserItemRequestBuilder extends BaseRequestBuilder<WithUserItemRequestBuilder> {
9
+ /**
10
+ * The deactivationImpact property
11
+ */
12
+ get deactivationImpact(): DeactivationImpactRequestBuilder;
8
13
  /**
9
14
  * The reactivate property
10
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/api/v1/users/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2F,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEjL,OAAO,EAA4C,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEhH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAE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4
4
  // @ts-ignore
5
5
  import { createOperationResponseFromDiscriminatorValue, createUserResponseFromDiscriminatorValue } from '../../../../models/index.js';
6
6
  // @ts-ignore
7
+ import { DeactivationImpactRequestBuilderRequestsMetadata } from './deactivationImpact/index.js';
8
+ // @ts-ignore
7
9
  import { ReactivateRequestBuilderRequestsMetadata } from './reactivate/index.js';
8
10
  /**
9
11
  * Uri template for the request builder.
@@ -13,6 +15,9 @@ export const WithUserItemRequestBuilderUriTemplate = "{+baseurl}/api/v1/users/{u
13
15
  * Metadata for all the navigation properties in the request builder.
14
16
  */
15
17
  export const WithUserItemRequestBuilderNavigationMetadata = {
18
+ deactivationImpact: {
19
+ requestsMetadata: DeactivationImpactRequestBuilderRequestsMetadata,
20
+ },
16
21
  reactivate: {
17
22
  requestsMetadata: ReactivateRequestBuilderRequestsMetadata,
18
23
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/api/v1/users/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,wCAAwC,EAA6C,MAAM,6BAA6B,CAAC;AACjL,aAAa;AACb,OAAO,EAAE,wCAAwC,EAAiC,MAAM,uBAAuB,CAAC;AA2ChH;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,4CAA4C,CAAC;AAClG;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAA8G;IACnK,UAAU,EAAE;QACR,gBAAgB,EAAE,wCAAwC;KAC7D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAqB;IACxE,MAAM,EAAE;QACJ,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;KACtE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,wCAAwC;KACjE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/api/v1/users/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,wCAAwC,EAA6C,MAAM,6BAA6B,CAAC;AACjL,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAyC,MAAM,+BAA+B,CAAC;AACxI,aAAa;AACb,OAAO,EAAE,wCAAwC,EAAiC,MAAM,uBAAuB,CAAC;AA+ChH;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,4CAA4C,CAAC;AAClG;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAA8G;IACnK,kBAAkB,EAAE;QAChB,gBAAgB,EAAE,gDAAgD;KACrE;IACD,UAAU,EAAE;QACR,gBAAgB,EAAE,wCAAwC;KAC7D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAqB;IACxE,MAAM,EAAE;QACJ,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;KACtE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,wCAAwC;KACjE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1886,6 +1886,12 @@ export interface CreatedAuditStreamDestinationResponse extends AdditionalDataHol
1886
1886
  */
1887
1887
  signingSecretOnce?: string | null;
1888
1888
  }
1889
+ /**
1890
+ * Creates a new instance of the appropriate class based on discriminator value
1891
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1892
+ * @returns {DeactivationImpactKey}
1893
+ */
1894
+ export declare function createDeactivationImpactKeyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1889
1895
  /**
1890
1896
  * Creates a new instance of the appropriate class based on discriminator value
1891
1897
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3676,6 +3682,12 @@ export declare function createUploadFailureFromDiscriminatorValue(parseNode: Par
3676
3682
  * @returns {UploadSecretsFileResponse}
3677
3683
  */
3678
3684
  export declare function createUploadSecretsFileResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3685
+ /**
3686
+ * Creates a new instance of the appropriate class based on discriminator value
3687
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3688
+ * @returns {UserDeactivationImpactResponse}
3689
+ */
3690
+ export declare function createUserDeactivationImpactResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3679
3691
  export interface CreateUserRequest extends AdditionalDataHolder, Parsable {
3680
3692
  /**
3681
3693
  * The email property
@@ -3947,6 +3959,24 @@ export interface DashboardResponse extends AdditionalDataHolder, Parsable {
3947
3959
  */
3948
3960
  users?: number | null;
3949
3961
  }
3962
+ export interface DeactivationImpactKey extends AdditionalDataHolder, Parsable {
3963
+ /**
3964
+ * The apiKeyId property
3965
+ */
3966
+ apiKeyId?: string | null;
3967
+ /**
3968
+ * The clientName property
3969
+ */
3970
+ clientName?: string | null;
3971
+ /**
3972
+ * The role property
3973
+ */
3974
+ role?: string | null;
3975
+ /**
3976
+ * The tenantId property
3977
+ */
3978
+ tenantId?: string | null;
3979
+ }
3950
3980
  /**
3951
3981
  * The deserialization information for the current model
3952
3982
  * @param AcceptInviteResponse The instance to deserialize into.
@@ -4529,6 +4559,12 @@ export declare function deserializeIntoDashboardCountPair(dashboardCountPair?: P
4529
4559
  * @returns {Record<string, (node: ParseNode) => void>}
4530
4560
  */
4531
4561
  export declare function deserializeIntoDashboardResponse(dashboardResponse?: Partial<DashboardResponse> | undefined): Record<string, (node: ParseNode) => void>;
4562
+ /**
4563
+ * The deserialization information for the current model
4564
+ * @param DeactivationImpactKey The instance to deserialize into.
4565
+ * @returns {Record<string, (node: ParseNode) => void>}
4566
+ */
4567
+ export declare function deserializeIntoDeactivationImpactKey(deactivationImpactKey?: Partial<DeactivationImpactKey> | undefined): Record<string, (node: ParseNode) => void>;
4532
4568
  /**
4533
4569
  * The deserialization information for the current model
4534
4570
  * @param DriftItem The instance to deserialize into.
@@ -6005,6 +6041,12 @@ export declare function deserializeIntoUploadFailure(uploadFailure?: Partial<Upl
6005
6041
  * @returns {Record<string, (node: ParseNode) => void>}
6006
6042
  */
6007
6043
  export declare function deserializeIntoUploadSecretsFileResponse(uploadSecretsFileResponse?: Partial<UploadSecretsFileResponse> | undefined): Record<string, (node: ParseNode) => void>;
6044
+ /**
6045
+ * The deserialization information for the current model
6046
+ * @param UserDeactivationImpactResponse The instance to deserialize into.
6047
+ * @returns {Record<string, (node: ParseNode) => void>}
6048
+ */
6049
+ export declare function deserializeIntoUserDeactivationImpactResponse(userDeactivationImpactResponse?: Partial<UserDeactivationImpactResponse> | undefined): Record<string, (node: ParseNode) => void>;
6008
6050
  /**
6009
6051
  * The deserialization information for the current model
6010
6052
  * @param UserResponse The instance to deserialize into.
@@ -10119,6 +10161,13 @@ export declare function serializeDashboardCountPair(writer: SerializationWriter,
10119
10161
  * @param writer Serialization writer to use to serialize this model
10120
10162
  */
10121
10163
  export declare function serializeDashboardResponse(writer: SerializationWriter, dashboardResponse?: Partial<DashboardResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
10164
+ /**
10165
+ * Serializes information the current object
10166
+ * @param DeactivationImpactKey The instance to serialize from.
10167
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10168
+ * @param writer Serialization writer to use to serialize this model
10169
+ */
10170
+ export declare function serializeDeactivationImpactKey(writer: SerializationWriter, deactivationImpactKey?: Partial<DeactivationImpactKey> | undefined | null, isSerializingDerivedType?: boolean): void;
10122
10171
  /**
10123
10172
  * Serializes information the current object
10124
10173
  * @param DriftItem The instance to serialize from.
@@ -11841,6 +11890,13 @@ export declare function serializeUploadFailure(writer: SerializationWriter, uplo
11841
11890
  * @param writer Serialization writer to use to serialize this model
11842
11891
  */
11843
11892
  export declare function serializeUploadSecretsFileResponse(writer: SerializationWriter, uploadSecretsFileResponse?: Partial<UploadSecretsFileResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
11893
+ /**
11894
+ * Serializes information the current object
11895
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11896
+ * @param UserDeactivationImpactResponse The instance to serialize from.
11897
+ * @param writer Serialization writer to use to serialize this model
11898
+ */
11899
+ export declare function serializeUserDeactivationImpactResponse(writer: SerializationWriter, userDeactivationImpactResponse?: Partial<UserDeactivationImpactResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
11844
11900
  /**
11845
11901
  * Serializes information the current object
11846
11902
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -13371,6 +13427,16 @@ export interface UploadSecretsFileResponse extends AdditionalDataHolder, Parsabl
13371
13427
  */
13372
13428
  skipped?: number | null;
13373
13429
  }
13430
+ export interface UserDeactivationImpactResponse extends AdditionalDataHolder, Parsable {
13431
+ /**
13432
+ * The apiKeyCount property
13433
+ */
13434
+ apiKeyCount?: number | null;
13435
+ /**
13436
+ * The apiKeys property
13437
+ */
13438
+ apiKeys?: DeactivationImpactKey[] | null;
13439
+ }
13374
13440
  export interface UserResponse extends AdditionalDataHolder, Parsable {
13375
13441
  /**
13376
13442
  * The createdAt property