@bella-baxter/kiota-client 0.1.1-preview.114 → 0.1.1-preview.116

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 (25) hide show
  1. package/dist/generated/api/tenants/invites/item/accept/index.d.ts +2 -0
  2. package/dist/generated/api/tenants/invites/item/accept/index.d.ts.map +1 -1
  3. package/dist/generated/api/tenants/invites/item/accept/index.js +5 -1
  4. package/dist/generated/api/tenants/invites/item/accept/index.js.map +1 -1
  5. package/dist/generated/api/tenants/invites/item/addressVerification/index.d.ts +31 -0
  6. package/dist/generated/api/tenants/invites/item/addressVerification/index.d.ts.map +1 -0
  7. package/dist/generated/api/tenants/invites/item/addressVerification/index.js +28 -0
  8. package/dist/generated/api/tenants/invites/item/addressVerification/index.js.map +1 -0
  9. package/dist/generated/api/tenants/invites/item/index.d.ts +5 -0
  10. package/dist/generated/api/tenants/invites/item/index.d.ts.map +1 -1
  11. package/dist/generated/api/tenants/invites/item/index.js +5 -0
  12. package/dist/generated/api/tenants/invites/item/index.js.map +1 -1
  13. package/dist/generated/api/tenants/item/invites/index.d.ts +1 -0
  14. package/dist/generated/api/tenants/item/invites/index.d.ts.map +1 -1
  15. package/dist/generated/api/tenants/item/invites/index.js +4 -1
  16. package/dist/generated/api/tenants/item/invites/index.js.map +1 -1
  17. package/dist/generated/api/tenants/item/invites/item/replacement/index.d.ts +1 -0
  18. package/dist/generated/api/tenants/item/invites/item/replacement/index.d.ts.map +1 -1
  19. package/dist/generated/api/tenants/item/invites/item/replacement/index.js +4 -1
  20. package/dist/generated/api/tenants/item/invites/item/replacement/index.js.map +1 -1
  21. package/dist/generated/models/index.d.ts +69 -0
  22. package/dist/generated/models/index.d.ts.map +1 -1
  23. package/dist/generated/models/index.js +60 -0
  24. package/dist/generated/models/index.js.map +1 -1
  25. package/package.json +1 -1
@@ -8,6 +8,8 @@ export interface AcceptRequestBuilder extends BaseRequestBuilder<AcceptRequestBu
8
8
  * POST_api_tenants_invites_token_accept
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<AcceptInviteResponse>}
11
+ * @throws {ProblemDetails} error when the service returns a 403 status code
12
+ * @throws {ProblemDetails} error when the service returns a 503 status code
11
13
  */
12
14
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AcceptInviteResponse | undefined>;
13
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/generated/api/tenants/invites/item/accept/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoD,KAAK,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE7H,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;OAIG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IACnH;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,kDAAkD,CAAC;AAC/F;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAOlD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/generated/api/tenants/invites/item/accept/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgG,KAAK,oBAAoB,EAAuB,MAAM,gCAAgC,CAAC;AAE9L,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;OAMG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IACnH;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,kDAAkD,CAAC;AAC/F;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAWlD,CAAC"}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createAcceptInviteResponseFromDiscriminatorValue } from '../../../../../models/index.js';
5
+ import { createAcceptInviteResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../../../models/index.js';
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
@@ -14,6 +14,10 @@ export const AcceptRequestBuilderRequestsMetadata = {
14
14
  post: {
15
15
  uriTemplate: AcceptRequestBuilderUriTemplate,
16
16
  responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ 403: createProblemDetailsFromDiscriminatorValue,
19
+ 503: createProblemDetailsFromDiscriminatorValue,
20
+ },
17
21
  adapterMethodName: "send",
18
22
  responseBodyFactory: createAcceptInviteResponseFromDiscriminatorValue,
19
23
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/generated/api/tenants/invites/item/accept/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gDAAgD,EAA6B,MAAM,gCAAgC,CAAC;AAqB7H;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,+CAA+C,CAAC;AAC/F;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gDAAgD;KACzE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/generated/api/tenants/invites/item/accept/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAE,0CAA0C,EAAkD,MAAM,gCAAgC,CAAC;AAuB9L;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,+CAA+C,CAAC;AAC/F;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gDAAgD;KACzE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,31 @@
1
+ import { type InviteAddressVerificationResponse } 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/tenants/invites/{token}/address-verification
5
+ */
6
+ export interface AddressVerificationRequestBuilder extends BaseRequestBuilder<AddressVerificationRequestBuilder> {
7
+ /**
8
+ * POST_api_tenants_invites_token_address_verification
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<InviteAddressVerificationResponse>}
11
+ * @throws {ProblemDetails} error when the service returns a 403 status code
12
+ * @throws {ProblemDetails} error when the service returns a 409 status code
13
+ * @throws {ProblemDetails} error when the service returns a 503 status code
14
+ */
15
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<InviteAddressVerificationResponse | undefined>;
16
+ /**
17
+ * POST_api_tenants_invites_token_address_verification
18
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
+ * @returns {RequestInformation}
20
+ */
21
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
22
+ }
23
+ /**
24
+ * Uri template for the request builder.
25
+ */
26
+ export declare const AddressVerificationRequestBuilderUriTemplate = "{+baseurl}/api/tenants/invites/{token}/address-verification";
27
+ /**
28
+ * Metadata for all the requests in the request builder.
29
+ */
30
+ export declare const AddressVerificationRequestBuilderRequestsMetadata: RequestsMetadata;
31
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/generated/api/tenants/invites/item/addressVerification/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6G,KAAK,iCAAiC,EAAuB,MAAM,gCAAgC,CAAC;AAExN,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,kBAAkB,CAAC,iCAAiC,CAAC;IAC5G;;;;;;;OAOG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IAChI;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,4CAA4C,gEAAgE,CAAC;AAC1H;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,gBAY/D,CAAC"}
@@ -0,0 +1,28 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createInviteAddressVerificationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const AddressVerificationRequestBuilderUriTemplate = "{+baseurl}/api/tenants/invites/{token}/address-verification";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const AddressVerificationRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: AddressVerificationRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ 403: createProblemDetailsFromDiscriminatorValue,
19
+ 409: createProblemDetailsFromDiscriminatorValue,
20
+ 503: createProblemDetailsFromDiscriminatorValue,
21
+ },
22
+ adapterMethodName: "send",
23
+ responseBodyFactory: createInviteAddressVerificationResponseFromDiscriminatorValue,
24
+ },
25
+ };
26
+ /* tslint:enable */
27
+ /* eslint-enable */
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/generated/api/tenants/invites/item/addressVerification/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6DAA6D,EAAE,0CAA0C,EAA+D,MAAM,gCAAgC,CAAC;AAwBxN;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAG,6DAA6D,CAAC;AAC1H;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAqB;IAC/E,IAAI,EAAE;QACF,WAAW,EAAE,4CAA4C;QACzD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6DAA6D;KACtF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,4 +1,5 @@
1
1
  import { type AcceptRequestBuilder } from './accept/index.js';
2
+ import { type AddressVerificationRequestBuilder } from './addressVerification/index.js';
2
3
  import { type PreviewRequestBuilder } from './preview/index.js';
3
4
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
4
5
  /**
@@ -9,6 +10,10 @@ export interface WithTokenItemRequestBuilder extends BaseRequestBuilder<WithToke
9
10
  * The accept property
10
11
  */
11
12
  get accept(): AcceptRequestBuilder;
13
+ /**
14
+ * The addressVerification property
15
+ */
16
+ get addressVerification(): AddressVerificationRequestBuilder;
12
17
  /**
13
18
  * The preview property
14
19
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/api/tenants/invites/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,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,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;CACxC;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,2CAA2C,CAAC;AAC/F;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAOpK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/api/tenants/invites/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAqD,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAE3I,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,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,mBAAmB,IAAI,iCAAiC,CAAC;IAC7D;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;CACxC;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,2CAA2C,CAAC;AAC/F;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUpK,CAAC"}
@@ -4,6 +4,8 @@
4
4
  // @ts-ignore
5
5
  import { AcceptRequestBuilderRequestsMetadata } from './accept/index.js';
6
6
  // @ts-ignore
7
+ import { AddressVerificationRequestBuilderRequestsMetadata } from './addressVerification/index.js';
8
+ // @ts-ignore
7
9
  import { PreviewRequestBuilderRequestsMetadata } from './preview/index.js';
8
10
  /**
9
11
  * Uri template for the request builder.
@@ -16,6 +18,9 @@ export const WithTokenItemRequestBuilderNavigationMetadata = {
16
18
  accept: {
17
19
  requestsMetadata: AcceptRequestBuilderRequestsMetadata,
18
20
  },
21
+ addressVerification: {
22
+ requestsMetadata: AddressVerificationRequestBuilderRequestsMetadata,
23
+ },
19
24
  preview: {
20
25
  requestsMetadata: PreviewRequestBuilderRequestsMetadata,
21
26
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/api/tenants/invites/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AACpG,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AAiBvG;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,wCAAwC,CAAC;AAC/F;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAA+G;IACrK,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/api/tenants/invites/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AACpG,aAAa;AACb,OAAO,EAAE,iDAAiD,EAA0C,MAAM,gCAAgC,CAAC;AAC3I,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AAqBvG;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,wCAAwC,CAAC;AAC/F;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAA+G;IACrK,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;IACD,mBAAmB,EAAE;QACjB,gBAAgB,EAAE,iDAAiD;KACtE;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -22,6 +22,7 @@ export interface InvitesRequestBuilder extends BaseRequestBuilder<InvitesRequest
22
22
  * @param body The request body
23
23
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
24
  * @returns {Promise<InviteResponse>}
25
+ * @throws {ProblemDetails} error when the service returns a 400 status code
25
26
  */
26
27
  post(body: CreateInviteCommand, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<InviteResponse | undefined>;
27
28
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/api/tenants/item/invites/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqJ,KAAK,mBAAmB,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAExQ,OAAO,EAAE,KAAK,2BAA2B,EAA8F,MAAM,iBAAiB,CAAC;AAE/J,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAErQ;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;OAIG;IACF,OAAO,CAAC,KAAK,EAAE,IAAI,GAAI,2BAA2B,CAAC;IACpD;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,EAAE,GAAG,SAAS,CAAC,CAAC;IAClH;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACxI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,qDAAqD,CAAC;AACnG;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAgBnD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/api/tenants/item/invites/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiM,KAAK,mBAAmB,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAuB,MAAM,6BAA6B,CAAC;AAEzU,OAAO,EAAE,KAAK,2BAA2B,EAA8F,MAAM,iBAAiB,CAAC;AAE/J,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAErQ;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;OAIG;IACF,OAAO,CAAC,KAAK,EAAE,IAAI,GAAI,2BAA2B,CAAC;IACpD;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,EAAE,GAAG,SAAS,CAAC,CAAC;IAClH;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACxI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,qDAAqD,CAAC;AACnG;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAmBnD,CAAC"}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createInviteListResponseFromDiscriminatorValue, createInviteResponseFromDiscriminatorValue, serializeCreateInviteCommand } from '../../../../models/index.js';
5
+ import { createInviteListResponseFromDiscriminatorValue, createInviteResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeCreateInviteCommand } from '../../../../models/index.js';
6
6
  // @ts-ignore
7
7
  import { WithTokenItemRequestBuilderNavigationMetadata, WithTokenItemRequestBuilderRequestsMetadata } from './item/index.js';
8
8
  /**
@@ -32,6 +32,9 @@ export const InvitesRequestBuilderRequestsMetadata = {
32
32
  post: {
33
33
  uriTemplate: InvitesRequestBuilderUriTemplate,
34
34
  responseBodyContentType: "application/json",
35
+ errorMappings: {
36
+ 400: createProblemDetailsFromDiscriminatorValue,
37
+ },
35
38
  adapterMethodName: "send",
36
39
  responseBodyFactory: createInviteResponseFromDiscriminatorValue,
37
40
  requestBodyContentType: "application/json",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/api/tenants/item/invites/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,0CAA0C,EAAE,4BAA4B,EAAmG,MAAM,6BAA6B,CAAC;AACxQ,aAAa;AACb,OAAO,EAAoC,6CAA6C,EAAE,2CAA2C,EAAE,MAAM,iBAAiB,CAAC;AAyC/J;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,kDAAkD,CAAC;AACnG;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAyG;IACzJ,OAAO,EAAE;QACL,gBAAgB,EAAE,2CAA2C;QAC7D,kBAAkB,EAAE,6CAA6C;QACjE,sBAAsB,EAAE,CAAC,OAAO,CAAC;KACpC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,GAAG,EAAE;QACD,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,gBAAgB;QACnC,mBAAmB,EAAG,8CAA8C;KACvE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0CAA0C;QAChE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,4BAA4B;QACnD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/api/tenants/item/invites/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,0CAA0C,EAAE,0CAA0C,EAAE,4BAA4B,EAAwH,MAAM,6BAA6B,CAAC;AACzU,aAAa;AACb,OAAO,EAAoC,6CAA6C,EAAE,2CAA2C,EAAE,MAAM,iBAAiB,CAAC;AA0C/J;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,kDAAkD,CAAC;AACnG;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAyG;IACzJ,OAAO,EAAE;QACL,gBAAgB,EAAE,2CAA2C;QAC7D,kBAAkB,EAAE,6CAA6C;QACjE,sBAAsB,EAAE,CAAC,OAAO,CAAC;KACpC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,GAAG,EAAE;QACD,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,gBAAgB;QACnC,mBAAmB,EAAG,8CAA8C;KACvE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0CAA0C;QAChE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,4BAA4B;QACnD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -8,6 +8,7 @@ export interface ReplacementRequestBuilder extends BaseRequestBuilder<Replacemen
8
8
  * POST_api_tenants_id_invites_token_replacement
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<InviteResponse>}
11
+ * @throws {ProblemDetails} error when the service returns a 400 status code
11
12
  */
12
13
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<InviteResponse | undefined>;
13
14
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/generated/api/tenants/item/invites/item/replacement/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8C,KAAK,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAEpH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;OAIG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IAC7G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,yEAAyE,CAAC;AAC3H;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAOvD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/generated/api/tenants/item/invites/item/replacement/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0F,KAAK,cAAc,EAAuB,MAAM,mCAAmC,CAAC;AAErL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IAC7G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,yEAAyE,CAAC;AAC3H;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAUvD,CAAC"}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createInviteResponseFromDiscriminatorValue } from '../../../../../../models/index.js';
5
+ import { createInviteResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../../../../models/index.js';
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
@@ -14,6 +14,9 @@ export const ReplacementRequestBuilderRequestsMetadata = {
14
14
  post: {
15
15
  uriTemplate: ReplacementRequestBuilderUriTemplate,
16
16
  responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
19
+ },
17
20
  adapterMethodName: "send",
18
21
  responseBodyFactory: createInviteResponseFromDiscriminatorValue,
19
22
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/generated/api/tenants/item/invites/item/replacement/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,mCAAmC,CAAC;AAqBpH;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,sEAAsE,CAAC;AAC3H;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0CAA0C;KACnE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/generated/api/tenants/item/invites/item/replacement/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,0CAA0C,EAA4C,MAAM,mCAAmC,CAAC;AAsBrL;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,sEAAsE,CAAC;AAC3H;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0CAA0C;KACnE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -2444,6 +2444,12 @@ export declare function createImportTotpKeyRequestFromDiscriminatorValue(parseNo
2444
2444
  * @returns {IntegrationInfoResponse}
2445
2445
  */
2446
2446
  export declare function createIntegrationInfoResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2447
+ /**
2448
+ * Creates a new instance of the appropriate class based on discriminator value
2449
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2450
+ * @returns {InviteAddressVerificationResponse}
2451
+ */
2452
+ export declare function createInviteAddressVerificationResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2447
2453
  export interface CreateInviteCommand extends AdditionalDataHolder, Parsable {
2448
2454
  /**
2449
2455
  * The email property
@@ -2453,10 +2459,26 @@ export interface CreateInviteCommand extends AdditionalDataHolder, Parsable {
2453
2459
  * The expiresInDays property
2454
2460
  */
2455
2461
  expiresInDays?: number | null;
2462
+ /**
2463
+ * The name property
2464
+ */
2465
+ name?: string | null;
2456
2466
  /**
2457
2467
  * The role property
2458
2468
  */
2459
2469
  role?: TenantInviteRole | null;
2470
+ /**
2471
+ * The scopeId property
2472
+ */
2473
+ scopeId?: Guid | null;
2474
+ /**
2475
+ * The scopeKind property
2476
+ */
2477
+ scopeKind?: TenantInviteScopeKind | null;
2478
+ /**
2479
+ * The scopeRole property
2480
+ */
2481
+ scopeRole?: string | null;
2460
2482
  }
2461
2483
  /**
2462
2484
  * Creates a new instance of the appropriate class based on discriminator value
@@ -5103,6 +5125,12 @@ export declare function deserializeIntoImportTotpKeyRequest(importTotpKeyRequest
5103
5125
  * @returns {Record<string, (node: ParseNode) => void>}
5104
5126
  */
5105
5127
  export declare function deserializeIntoIntegrationInfoResponse(integrationInfoResponse?: Partial<IntegrationInfoResponse> | undefined): Record<string, (node: ParseNode) => void>;
5128
+ /**
5129
+ * The deserialization information for the current model
5130
+ * @param InviteAddressVerificationResponse The instance to deserialize into.
5131
+ * @returns {Record<string, (node: ParseNode) => void>}
5132
+ */
5133
+ export declare function deserializeIntoInviteAddressVerificationResponse(inviteAddressVerificationResponse?: Partial<InviteAddressVerificationResponse> | undefined): Record<string, (node: ParseNode) => void>;
5106
5134
  /**
5107
5135
  * The deserialization information for the current model
5108
5136
  * @param InviteListResponse The instance to deserialize into.
@@ -7390,6 +7418,13 @@ export interface IntegrationInfoResponse extends AdditionalDataHolder, Parsable
7390
7418
  */
7391
7419
  azureKeyVaultFunctionPrincipalId?: string | null;
7392
7420
  }
7421
+ export type InviteAddressVerificationOutcome = (typeof InviteAddressVerificationOutcomeObject)[keyof typeof InviteAddressVerificationOutcomeObject];
7422
+ export interface InviteAddressVerificationResponse extends AdditionalDataHolder, Parsable {
7423
+ /**
7424
+ * The outcome property
7425
+ */
7426
+ outcome?: InviteAddressVerificationOutcome | null;
7427
+ }
7393
7428
  export type InviteDeliveryOutcome = (typeof InviteDeliveryOutcomeObject)[keyof typeof InviteDeliveryOutcomeObject];
7394
7429
  export interface InviteListResponse extends AdditionalDataHolder, Parsable {
7395
7430
  /**
@@ -7432,6 +7467,18 @@ export interface InviteListResponse extends AdditionalDataHolder, Parsable {
7432
7467
  * The joinUrl property
7433
7468
  */
7434
7469
  joinUrl?: string | null;
7470
+ /**
7471
+ * The lastRefusedAt property
7472
+ */
7473
+ lastRefusedAt?: Date | null;
7474
+ /**
7475
+ * The lastRefusedReason property
7476
+ */
7477
+ lastRefusedReason?: string | null;
7478
+ /**
7479
+ * The refusedAttemptCount property
7480
+ */
7481
+ refusedAttemptCount?: number | null;
7435
7482
  /**
7436
7483
  * The role property
7437
7484
  */
@@ -7450,6 +7497,10 @@ export interface InvitePreviewResponse extends AdditionalDataHolder, Parsable {
7450
7497
  * The invitedEmail property
7451
7498
  */
7452
7499
  invitedEmail?: string | null;
7500
+ /**
7501
+ * The invitedName property
7502
+ */
7503
+ invitedName?: string | null;
7453
7504
  /**
7454
7505
  * The isValid property
7455
7506
  */
@@ -10669,6 +10720,13 @@ export declare function serializeImportTotpKeyRequest(writer: SerializationWrite
10669
10720
  * @param writer Serialization writer to use to serialize this model
10670
10721
  */
10671
10722
  export declare function serializeIntegrationInfoResponse(writer: SerializationWriter, integrationInfoResponse?: Partial<IntegrationInfoResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
10723
+ /**
10724
+ * Serializes information the current object
10725
+ * @param InviteAddressVerificationResponse The instance to serialize from.
10726
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10727
+ * @param writer Serialization writer to use to serialize this model
10728
+ */
10729
+ export declare function serializeInviteAddressVerificationResponse(writer: SerializationWriter, inviteAddressVerificationResponse?: Partial<InviteAddressVerificationResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
10672
10730
  /**
10673
10731
  * Serializes information the current object
10674
10732
  * @param InviteListResponse The instance to serialize from.
@@ -12807,6 +12865,7 @@ export interface TenantFeaturesResponse extends AdditionalDataHolder, Parsable {
12807
12865
  features?: string[] | null;
12808
12866
  }
12809
12867
  export type TenantInviteRole = (typeof TenantInviteRoleObject)[keyof typeof TenantInviteRoleObject];
12868
+ export type TenantInviteScopeKind = (typeof TenantInviteScopeKindObject)[keyof typeof TenantInviteScopeKindObject];
12810
12869
  export type TenantRole = (typeof TenantRoleObject)[keyof typeof TenantRoleObject];
12811
12870
  export interface TenantSecuritySummaryResponse extends AdditionalDataHolder, Parsable {
12812
12871
  /**
@@ -13910,6 +13969,11 @@ export declare const ClaimOperatorObject: {
13910
13969
  readonly StartsWith: "StartsWith";
13911
13970
  readonly Contains: "Contains";
13912
13971
  };
13972
+ export declare const InviteAddressVerificationOutcomeObject: {
13973
+ readonly Sent: "Sent";
13974
+ readonly Failed: "Failed";
13975
+ readonly Unavailable: "Unavailable";
13976
+ };
13913
13977
  export declare const InviteDeliveryOutcomeObject: {
13914
13978
  readonly NotRequested: "NotRequested";
13915
13979
  readonly InProgress: "InProgress";
@@ -13943,6 +14007,11 @@ export declare const TenantInviteRoleObject: {
13943
14007
  readonly User: "User";
13944
14008
  readonly Viewer: "Viewer";
13945
14009
  };
14010
+ export declare const TenantInviteScopeKindObject: {
14011
+ readonly None: "None";
14012
+ readonly Project: "Project";
14013
+ readonly Environment: "Environment";
14014
+ };
13946
14015
  export declare const TenantRoleObject: {
13947
14016
  readonly Owner: "Owner";
13948
14017
  readonly Admin: "Admin";