@leadping/sdk 1.0.29 → 1.0.30
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/analytics/my/index.d.ts +3 -3
- package/dist/automations/index.d.ts +2 -2
- package/dist/automations/item/index.d.ts +6 -6
- package/dist/events/index.d.ts +5 -5
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js +5 -5
- package/dist/events/index.js.map +1 -1
- package/dist/events/organizations/index.d.ts +22 -0
- package/dist/events/organizations/index.d.ts.map +1 -0
- package/dist/events/organizations/index.js +21 -0
- package/dist/events/organizations/index.js.map +1 -0
- package/dist/events/{businesses → organizations}/item/index.d.ts +10 -10
- package/dist/events/organizations/item/index.d.ts.map +1 -0
- package/dist/events/{businesses → organizations}/item/index.js +3 -3
- package/dist/events/organizations/item/index.js.map +1 -0
- package/dist/feedback/index.d.ts +2 -2
- package/dist/{dispositions → leadStatusChanges}/all/index.d.ts +2 -2
- package/dist/leadStatusChanges/all/index.d.ts.map +1 -0
- package/dist/{dispositions → leadStatusChanges}/all/index.js +1 -1
- package/dist/leadStatusChanges/all/index.js.map +1 -0
- package/dist/{dispositions → leadStatusChanges}/all/my/index.d.ts +7 -7
- package/dist/leadStatusChanges/all/my/index.d.ts.map +1 -0
- package/dist/{dispositions → leadStatusChanges}/all/my/index.js +3 -3
- package/dist/leadStatusChanges/all/my/index.js.map +1 -0
- package/dist/leadStatusChanges/index.d.ts +27 -0
- package/dist/leadStatusChanges/index.d.ts.map +1 -0
- package/dist/leadStatusChanges/index.js +26 -0
- package/dist/leadStatusChanges/index.js.map +1 -0
- package/dist/{dispositions → leadStatusChanges}/item/index.d.ts +18 -18
- package/dist/leadStatusChanges/item/index.d.ts.map +1 -0
- package/dist/{dispositions → leadStatusChanges}/item/index.js +9 -9
- package/dist/leadStatusChanges/item/index.js.map +1 -0
- package/dist/leadStatuses/index.d.ts +4 -4
- package/dist/leadStatuses/item/index.d.ts +4 -4
- package/dist/leadpingOpenApiClient.d.ts +10 -10
- package/dist/leadpingOpenApiClient.d.ts.map +1 -1
- package/dist/leadpingOpenApiClient.js +10 -11
- package/dist/leadpingOpenApiClient.js.map +1 -1
- package/dist/leads/index.d.ts +3 -3
- package/dist/leads/index.d.ts.map +1 -1
- package/dist/leads/index.js +4 -4
- package/dist/leads/index.js.map +1 -1
- package/dist/leads/intake/index.d.ts +4 -4
- package/dist/leads/item/archive/index.d.ts +2 -2
- package/dist/leads/item/archive/index.d.ts.map +1 -1
- package/dist/leads/item/archive/index.js +1 -1
- package/dist/leads/item/archive/index.js.map +1 -1
- package/dist/leads/item/index.d.ts +19 -9
- package/dist/leads/item/index.d.ts.map +1 -1
- package/dist/leads/item/index.js +17 -6
- package/dist/leads/item/index.js.map +1 -1
- package/dist/leads/item/status/index.d.ts +33 -0
- package/dist/leads/item/status/index.d.ts.map +1 -0
- package/dist/leads/item/status/index.js +31 -0
- package/dist/leads/item/status/index.js.map +1 -0
- package/dist/{dispositions/lead/item → leads/item/statusHistory}/exportEscaped/index.d.ts +7 -7
- package/dist/leads/item/statusHistory/exportEscaped/index.d.ts.map +1 -0
- package/dist/{dispositions/lead/item → leads/item/statusHistory}/exportEscaped/index.js +3 -3
- package/dist/leads/item/statusHistory/exportEscaped/index.js.map +1 -0
- package/dist/{dispositions/lead/item → leads/item/statusHistory}/index.d.ts +10 -10
- package/dist/leads/item/statusHistory/index.d.ts.map +1 -0
- package/dist/{dispositions/lead/item → leads/item/statusHistory}/index.js +6 -6
- package/dist/leads/item/statusHistory/index.js.map +1 -0
- package/dist/leads/item/tags/index.d.ts +6 -6
- package/dist/leads/item/tags/index.d.ts.map +1 -1
- package/dist/leads/item/tags/index.js +1 -1
- package/dist/leads/item/tags/index.js.map +1 -1
- package/dist/leads/item/tags/item/index.d.ts +4 -4
- package/dist/leads/item/tags/item/index.d.ts.map +1 -1
- package/dist/leads/item/tags/item/index.js +1 -1
- package/dist/leads/item/tags/item/index.js.map +1 -1
- package/dist/leads/item/unarchive/index.d.ts +2 -2
- package/dist/leads/item/unarchive/index.d.ts.map +1 -1
- package/dist/leads/item/unarchive/index.js +1 -1
- package/dist/leads/item/unarchive/index.js.map +1 -1
- package/dist/leads/item/workflowStatus/index.d.ts +4 -4
- package/dist/leads/item/workflowStatus/index.d.ts.map +1 -1
- package/dist/leads/item/workflowStatus/index.js +1 -1
- package/dist/leads/item/workflowStatus/index.js.map +1 -1
- package/dist/models/index.d.ts +3766 -3718
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +4056 -4032
- package/dist/models/index.js.map +1 -1
- package/dist/notifications/item/index.d.ts +2 -2
- package/dist/{businesses → organizations}/apiKeys/index.d.ts +2 -2
- package/dist/organizations/apiKeys/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/apiKeys/index.js +1 -1
- package/dist/organizations/apiKeys/index.js.map +1 -0
- package/dist/{businesses → organizations}/apiKeys/my/index.d.ts +7 -7
- package/dist/organizations/apiKeys/my/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/apiKeys/my/index.js +3 -3
- package/dist/organizations/apiKeys/my/index.js.map +1 -0
- package/dist/{businesses → organizations}/index.d.ts +4 -4
- package/dist/organizations/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/index.js +2 -2
- package/dist/organizations/index.js.map +1 -0
- package/dist/organizations/invitations/accept/index.d.ts +31 -0
- package/dist/organizations/invitations/accept/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/invitations/accept/index.js +4 -4
- package/dist/organizations/invitations/accept/index.js.map +1 -0
- package/dist/{businesses → organizations}/invitations/index.d.ts +2 -2
- package/dist/organizations/invitations/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/invitations/index.js +1 -1
- package/dist/organizations/invitations/index.js.map +1 -0
- package/dist/{businesses → organizations}/invitations/token/index.d.ts +3 -3
- package/dist/organizations/invitations/token/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/invitations/token/index.js +1 -1
- package/dist/organizations/invitations/token/index.js.map +1 -0
- package/dist/{businesses → organizations}/invitations/token/item/index.d.ts +7 -7
- package/dist/organizations/invitations/token/item/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/invitations/token/item/index.js +3 -3
- package/dist/organizations/invitations/token/item/index.js.map +1 -0
- package/dist/{businesses → organizations}/me/index.d.ts +26 -26
- package/dist/organizations/me/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/me/index.js +13 -13
- package/dist/organizations/me/index.js.map +1 -0
- package/dist/{businesses → organizations}/me/invitations/index.d.ts +16 -16
- package/dist/organizations/me/invitations/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/me/invitations/index.js +5 -5
- package/dist/organizations/me/invitations/index.js.map +1 -0
- package/dist/{businesses → organizations}/me/invitations/item/index.d.ts +4 -4
- package/dist/organizations/me/invitations/item/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/me/invitations/item/index.js +1 -1
- package/dist/organizations/me/invitations/item/index.js.map +1 -0
- package/dist/{businesses → organizations}/me/invitations/item/resend/index.d.ts +7 -7
- package/dist/organizations/me/invitations/item/resend/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/me/invitations/item/resend/index.js +3 -3
- package/dist/organizations/me/invitations/item/resend/index.js.map +1 -0
- package/dist/organizations/me/members/index.d.ts +57 -0
- package/dist/organizations/me/members/index.d.ts.map +1 -0
- package/dist/{businesses/me/users → organizations/me/members}/index.js +9 -9
- package/dist/organizations/me/members/index.js.map +1 -0
- package/dist/{businesses/me/users → organizations/me/members}/item/index.d.ts +12 -12
- package/dist/organizations/me/members/item/index.d.ts.map +1 -0
- package/dist/{businesses/me/users → organizations/me/members}/item/index.js +4 -4
- package/dist/organizations/me/members/item/index.js.map +1 -0
- package/dist/{businesses → organizations}/me/oneZerodlc/index.d.ts +2 -2
- package/dist/organizations/me/oneZerodlc/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/me/oneZerodlc/index.js +1 -1
- package/dist/organizations/me/oneZerodlc/index.js.map +1 -0
- package/dist/{businesses → organizations}/me/oneZerodlc/notes/index.d.ts +7 -7
- package/dist/organizations/me/oneZerodlc/notes/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/me/oneZerodlc/notes/index.js +3 -3
- package/dist/organizations/me/oneZerodlc/notes/index.js.map +1 -0
- package/dist/{businesses → organizations}/me/options/index.d.ts +7 -7
- package/dist/organizations/me/options/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/me/options/index.js +3 -3
- package/dist/organizations/me/options/index.js.map +1 -0
- package/dist/organizations/me/switchEscaped/index.d.ts +32 -0
- package/dist/organizations/me/switchEscaped/index.d.ts.map +1 -0
- package/dist/{businesses → organizations}/me/switchEscaped/index.js +4 -4
- package/dist/organizations/me/switchEscaped/index.js.map +1 -0
- package/dist/outbound/overview/index.d.ts +2 -2
- package/dist/paymentMethods/index.d.ts +2 -2
- package/dist/paymentMethods/invoices/index.d.ts +2 -2
- package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts +3 -3
- package/dist/paymentMethods/item/defaultEscaped/index.d.ts +2 -2
- package/dist/paymentMethods/item/index.d.ts +2 -2
- package/dist/phoneNumbers/all/index.d.ts +3 -3
- package/dist/phoneNumbers/all/index.d.ts.map +1 -1
- package/dist/phoneNumbers/all/index.js +3 -3
- package/dist/phoneNumbers/all/index.js.map +1 -1
- package/dist/phoneNumbers/all/{business → organization}/index.d.ts +6 -6
- package/dist/phoneNumbers/all/organization/index.d.ts.map +1 -0
- package/dist/phoneNumbers/all/{business → organization}/index.js +3 -3
- package/dist/phoneNumbers/all/organization/index.js.map +1 -0
- package/dist/phoneNumbers/index.d.ts +2 -2
- package/dist/phoneNumbers/isAvailableForPurchase/index.d.ts +2 -2
- package/dist/phoneNumbers/item/index.d.ts +2 -2
- package/dist/sms/send/index.d.ts +2 -2
- package/dist/sources/index.d.ts +2 -2
- package/dist/sources/item/index.d.ts +6 -6
- package/dist/sources/item/metrics/index.d.ts +3 -3
- package/dist/suppressions/all/my/index.d.ts +2 -2
- package/dist/tags/index.d.ts +5 -5
- package/dist/tags/item/index.d.ts +4 -4
- package/dist/usage/all/my/index.d.ts +2 -2
- package/dist/usage/summary/my/index.d.ts +3 -3
- package/dist/users/compliance/index.d.ts +2 -2
- package/dist/users/me/index.d.ts +4 -4
- package/dist/wallets/me/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/businesses/apiKeys/index.d.ts.map +0 -1
- package/dist/businesses/apiKeys/index.js.map +0 -1
- package/dist/businesses/apiKeys/my/index.d.ts.map +0 -1
- package/dist/businesses/apiKeys/my/index.js.map +0 -1
- package/dist/businesses/index.d.ts.map +0 -1
- package/dist/businesses/index.js.map +0 -1
- package/dist/businesses/invitations/accept/index.d.ts +0 -31
- package/dist/businesses/invitations/accept/index.d.ts.map +0 -1
- package/dist/businesses/invitations/accept/index.js.map +0 -1
- package/dist/businesses/invitations/index.d.ts.map +0 -1
- package/dist/businesses/invitations/index.js.map +0 -1
- package/dist/businesses/invitations/token/index.d.ts.map +0 -1
- package/dist/businesses/invitations/token/index.js.map +0 -1
- package/dist/businesses/invitations/token/item/index.d.ts.map +0 -1
- package/dist/businesses/invitations/token/item/index.js.map +0 -1
- package/dist/businesses/me/index.d.ts.map +0 -1
- package/dist/businesses/me/index.js.map +0 -1
- package/dist/businesses/me/invitations/index.d.ts.map +0 -1
- package/dist/businesses/me/invitations/index.js.map +0 -1
- package/dist/businesses/me/invitations/item/index.d.ts.map +0 -1
- package/dist/businesses/me/invitations/item/index.js.map +0 -1
- package/dist/businesses/me/invitations/item/resend/index.d.ts.map +0 -1
- package/dist/businesses/me/invitations/item/resend/index.js.map +0 -1
- package/dist/businesses/me/oneZerodlc/index.d.ts.map +0 -1
- package/dist/businesses/me/oneZerodlc/index.js.map +0 -1
- package/dist/businesses/me/oneZerodlc/notes/index.d.ts.map +0 -1
- package/dist/businesses/me/oneZerodlc/notes/index.js.map +0 -1
- package/dist/businesses/me/options/index.d.ts.map +0 -1
- package/dist/businesses/me/options/index.js.map +0 -1
- package/dist/businesses/me/switchEscaped/index.d.ts +0 -32
- package/dist/businesses/me/switchEscaped/index.d.ts.map +0 -1
- package/dist/businesses/me/switchEscaped/index.js.map +0 -1
- package/dist/businesses/me/users/index.d.ts +0 -57
- package/dist/businesses/me/users/index.d.ts.map +0 -1
- package/dist/businesses/me/users/index.js.map +0 -1
- package/dist/businesses/me/users/item/index.d.ts.map +0 -1
- package/dist/businesses/me/users/item/index.js.map +0 -1
- package/dist/dispositions/all/index.d.ts.map +0 -1
- package/dist/dispositions/all/index.js.map +0 -1
- package/dist/dispositions/all/my/index.d.ts.map +0 -1
- package/dist/dispositions/all/my/index.js.map +0 -1
- package/dist/dispositions/index.d.ts +0 -54
- package/dist/dispositions/index.d.ts.map +0 -1
- package/dist/dispositions/index.js +0 -52
- package/dist/dispositions/index.js.map +0 -1
- package/dist/dispositions/item/index.d.ts.map +0 -1
- package/dist/dispositions/item/index.js.map +0 -1
- package/dist/dispositions/lead/index.d.ts +0 -22
- package/dist/dispositions/lead/index.d.ts.map +0 -1
- package/dist/dispositions/lead/index.js +0 -22
- package/dist/dispositions/lead/index.js.map +0 -1
- package/dist/dispositions/lead/item/exportEscaped/index.d.ts.map +0 -1
- package/dist/dispositions/lead/item/exportEscaped/index.js.map +0 -1
- package/dist/dispositions/lead/item/index.d.ts.map +0 -1
- package/dist/dispositions/lead/item/index.js.map +0 -1
- package/dist/events/businesses/index.d.ts +0 -22
- package/dist/events/businesses/index.d.ts.map +0 -1
- package/dist/events/businesses/index.js +0 -21
- package/dist/events/businesses/index.js.map +0 -1
- package/dist/events/businesses/item/index.d.ts.map +0 -1
- package/dist/events/businesses/item/index.js.map +0 -1
- package/dist/phoneNumbers/all/business/index.d.ts.map +0 -1
- package/dist/phoneNumbers/all/business/index.js.map +0 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type OrganizationInvitationRequest, type OrganizationInvitationResponse, type OrganizationInvitationTableRow } from '../../../models/index.js';
|
|
2
2
|
import { type WithInvitationItemRequestBuilder } from './item/index.js';
|
|
3
3
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
4
|
/**
|
|
5
|
-
* Builds and executes requests for operations under /
|
|
5
|
+
* Builds and executes requests for operations under /organizations/me/invitations
|
|
6
6
|
*/
|
|
7
7
|
export interface InvitationsRequestBuilder extends BaseRequestBuilder<InvitationsRequestBuilder> {
|
|
8
8
|
/**
|
|
9
|
-
* Gets an item from the leadping.
|
|
10
|
-
* @param invitationId The ID of the current-
|
|
9
|
+
* Gets an item from the leadping.organizations.me.invitations.item collection
|
|
10
|
+
* @param invitationId The ID of the current-organization invitation to revoke.
|
|
11
11
|
* @returns {WithInvitationItemRequestBuilder}
|
|
12
12
|
*/
|
|
13
13
|
byInvitationId(invitationId: string): WithInvitationItemRequestBuilder;
|
|
14
14
|
/**
|
|
15
|
-
* Lists pending and historical invitations for the current
|
|
15
|
+
* Lists pending and historical invitations for the current organization, including recipient, role, status, and expiration.
|
|
16
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
-
* @returns {Promise<
|
|
17
|
+
* @returns {Promise<OrganizationInvitationTableRow[]>}
|
|
18
18
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
19
19
|
*/
|
|
20
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<
|
|
20
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationInvitationTableRow[] | undefined>;
|
|
21
21
|
/**
|
|
22
|
-
* Creates an invitation for the current
|
|
23
|
-
* @param body Request payload for
|
|
22
|
+
* Creates an invitation for the current organization so another user can join with the requested role and account access.
|
|
23
|
+
* @param body Request payload for organization invitation.
|
|
24
24
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
-
* @returns {Promise<
|
|
25
|
+
* @returns {Promise<OrganizationInvitationResponse>}
|
|
26
26
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
27
27
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
28
28
|
*/
|
|
29
|
-
post(body:
|
|
29
|
+
post(body: OrganizationInvitationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationInvitationResponse | undefined>;
|
|
30
30
|
/**
|
|
31
|
-
* Lists pending and historical invitations for the current
|
|
31
|
+
* Lists pending and historical invitations for the current organization, including recipient, role, status, and expiration.
|
|
32
32
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
33
|
* @returns {RequestInformation}
|
|
34
34
|
*/
|
|
35
35
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
36
36
|
/**
|
|
37
|
-
* Creates an invitation for the current
|
|
38
|
-
* @param body Request payload for
|
|
37
|
+
* Creates an invitation for the current organization so another user can join with the requested role and account access.
|
|
38
|
+
* @param body Request payload for organization invitation.
|
|
39
39
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
40
|
* @returns {RequestInformation}
|
|
41
41
|
*/
|
|
42
|
-
toPostRequestInformation(body:
|
|
42
|
+
toPostRequestInformation(body: OrganizationInvitationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Uri template for the request builder.
|
|
46
46
|
*/
|
|
47
|
-
export declare const InvitationsRequestBuilderUriTemplate = "{+baseurl}/
|
|
47
|
+
export declare const InvitationsRequestBuilderUriTemplate = "{+baseurl}/organizations/me/invitations";
|
|
48
48
|
/**
|
|
49
49
|
* Metadata for all the navigation properties in the request builder.
|
|
50
50
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../organizations/me/invitations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuP,KAAK,6BAA6B,EAAE,KAAK,8BAA8B,EAAE,KAAK,8BAA8B,EAAuB,MAAM,0BAA0B,CAAC;AAEla,OAAO,EAAE,KAAK,gCAAgC,EAAwG,MAAM,iBAAiB,CAAC;AAE9K,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;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;OAIG;IACF,cAAc,CAAC,YAAY,EAAE,MAAM,GAAI,gCAAgC,CAAC;IACzE;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,EAAE,GAAG,SAAS,CAAC,CAAC;IAC9H;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAClK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,4CAA4C,CAAC;AAC9F;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAuBvD,CAAC"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { createOrganizationInvitationResponseFromDiscriminatorValue, createOrganizationInvitationTableRowFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeOrganizationInvitationRequest } from '../../../models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { WithInvitationItemRequestBuilderNavigationMetadata, WithInvitationItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Uri template for the request builder.
|
|
10
10
|
*/
|
|
11
|
-
export const InvitationsRequestBuilderUriTemplate = "{+baseurl}/
|
|
11
|
+
export const InvitationsRequestBuilderUriTemplate = "{+baseurl}/organizations/me/invitations";
|
|
12
12
|
/**
|
|
13
13
|
* Metadata for all the navigation properties in the request builder.
|
|
14
14
|
*/
|
|
@@ -30,7 +30,7 @@ export const InvitationsRequestBuilderRequestsMetadata = {
|
|
|
30
30
|
401: createProblemDetailsFromDiscriminatorValue,
|
|
31
31
|
},
|
|
32
32
|
adapterMethodName: "sendCollection",
|
|
33
|
-
responseBodyFactory:
|
|
33
|
+
responseBodyFactory: createOrganizationInvitationTableRowFromDiscriminatorValue,
|
|
34
34
|
},
|
|
35
35
|
post: {
|
|
36
36
|
uriTemplate: InvitationsRequestBuilderUriTemplate,
|
|
@@ -40,9 +40,9 @@ export const InvitationsRequestBuilderRequestsMetadata = {
|
|
|
40
40
|
401: createProblemDetailsFromDiscriminatorValue,
|
|
41
41
|
},
|
|
42
42
|
adapterMethodName: "send",
|
|
43
|
-
responseBodyFactory:
|
|
43
|
+
responseBodyFactory: createOrganizationInvitationResponseFromDiscriminatorValue,
|
|
44
44
|
requestBodyContentType: "application/json",
|
|
45
|
-
requestBodySerializer:
|
|
45
|
+
requestBodySerializer: serializeOrganizationInvitationRequest,
|
|
46
46
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
47
47
|
},
|
|
48
48
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../organizations/me/invitations/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0DAA0D,EAAE,0DAA0D,EAAE,0CAA0C,EAAE,sCAAsC,EAA8K,MAAM,0BAA0B,CAAC;AACla,aAAa;AACb,OAAO,EAAyC,kDAAkD,EAAE,gDAAgD,EAAE,MAAM,iBAAiB,CAAC;AA4C9K;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,yCAAyC,CAAC;AAC9F;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAA6G;IACjK,cAAc,EAAE;QACZ,gBAAgB,EAAE,gDAAgD;QAClE,kBAAkB,EAAE,kDAAkD;QACtE,sBAAsB,EAAE,CAAC,cAAc,CAAC;KAC3C;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,gBAAgB;QACnC,mBAAmB,EAAG,0DAA0D;KACnF;IACD,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0DAA0D;QAChF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,sCAAsC;QAC7D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ResendRequestBuilder } from './resend/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
|
-
* Builds and executes requests for operations under /
|
|
4
|
+
* Builds and executes requests for operations under /organizations/me/invitations/{invitationId}
|
|
5
5
|
*/
|
|
6
6
|
export interface WithInvitationItemRequestBuilder extends BaseRequestBuilder<WithInvitationItemRequestBuilder> {
|
|
7
7
|
/**
|
|
@@ -9,14 +9,14 @@ export interface WithInvitationItemRequestBuilder extends BaseRequestBuilder<Wit
|
|
|
9
9
|
*/
|
|
10
10
|
get resend(): ResendRequestBuilder;
|
|
11
11
|
/**
|
|
12
|
-
* Revokes a pending current-
|
|
12
|
+
* Revokes a pending current-organization invitation so the recipient can no longer use it to join the organization.
|
|
13
13
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
14
14
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
15
15
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
16
16
|
*/
|
|
17
17
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
18
|
/**
|
|
19
|
-
* Revokes a pending current-
|
|
19
|
+
* Revokes a pending current-organization invitation so the recipient can no longer use it to join the organization.
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {RequestInformation}
|
|
22
22
|
*/
|
|
@@ -25,7 +25,7 @@ export interface WithInvitationItemRequestBuilder extends BaseRequestBuilder<Wit
|
|
|
25
25
|
/**
|
|
26
26
|
* Uri template for the request builder.
|
|
27
27
|
*/
|
|
28
|
-
export declare const WithInvitationItemRequestBuilderUriTemplate = "{+baseurl}/
|
|
28
|
+
export declare const WithInvitationItemRequestBuilderUriTemplate = "{+baseurl}/organizations/me/invitations/{invitationId}";
|
|
29
29
|
/**
|
|
30
30
|
* Metadata for all the navigation properties in the request builder.
|
|
31
31
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../organizations/me/invitations/item/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,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;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;;;;OAKG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrH;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,2DAA2D,CAAC;AACpH;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gCAAgC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI9K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAU9D,CAAC"}
|
|
@@ -8,7 +8,7 @@ import { ResendRequestBuilderRequestsMetadata } from './resend/index.js';
|
|
|
8
8
|
/**
|
|
9
9
|
* Uri template for the request builder.
|
|
10
10
|
*/
|
|
11
|
-
export const WithInvitationItemRequestBuilderUriTemplate = "{+baseurl}/
|
|
11
|
+
export const WithInvitationItemRequestBuilderUriTemplate = "{+baseurl}/organizations/me/invitations/{invitationId}";
|
|
12
12
|
/**
|
|
13
13
|
* Metadata for all the navigation properties in the request builder.
|
|
14
14
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../organizations/me/invitations/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,6BAA6B,CAAC;AAC9G,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AA0BpG;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG,wDAAwD,CAAC;AACpH;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAoH;IAC/K,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAqB;IAC9E,MAAM,EAAE;QACJ,WAAW,EAAE,2CAA2C;QACxD,uBAAuB,EAAE,oCAAoC;QAC7D,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type OrganizationInvitationResponse } from '../../../../../models/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
|
-
* Builds and executes requests for operations under /
|
|
4
|
+
* Builds and executes requests for operations under /organizations/me/invitations/{invitationId}/resend
|
|
5
5
|
*/
|
|
6
6
|
export interface ResendRequestBuilder extends BaseRequestBuilder<ResendRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Resends a pending current-
|
|
8
|
+
* Resends a pending current-organization invitation, refreshing delivery while preserving recipient, role, and acceptance token.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
-
* @returns {Promise<
|
|
10
|
+
* @returns {Promise<OrganizationInvitationResponse>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
12
12
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
13
13
|
*/
|
|
14
|
-
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<
|
|
14
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationInvitationResponse | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
* Resends a pending current-
|
|
16
|
+
* Resends a pending current-organization invitation, refreshing delivery while preserving recipient, role, and acceptance token.
|
|
17
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
18
|
* @returns {RequestInformation}
|
|
19
19
|
*/
|
|
@@ -22,7 +22,7 @@ export interface ResendRequestBuilder extends BaseRequestBuilder<ResendRequestBu
|
|
|
22
22
|
/**
|
|
23
23
|
* Uri template for the request builder.
|
|
24
24
|
*/
|
|
25
|
-
export declare const ResendRequestBuilderUriTemplate = "{+baseurl}/
|
|
25
|
+
export declare const ResendRequestBuilderUriTemplate = "{+baseurl}/organizations/me/invitations/{invitationId}/resend";
|
|
26
26
|
/**
|
|
27
27
|
* Metadata for all the requests in the request builder.
|
|
28
28
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../organizations/me/invitations/item/resend/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0G,KAAK,8BAA8B,EAAuB,MAAM,gCAAgC,CAAC;AAElN,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,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAC7H;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,kEAAkE,CAAC;AAC/G;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAWlD,CAAC"}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { createOrganizationInvitationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../../../models/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const ResendRequestBuilderUriTemplate = "{+baseurl}/
|
|
9
|
+
export const ResendRequestBuilderUriTemplate = "{+baseurl}/organizations/me/invitations/{invitationId}/resend";
|
|
10
10
|
/**
|
|
11
11
|
* Metadata for all the requests in the request builder.
|
|
12
12
|
*/
|
|
@@ -19,7 +19,7 @@ export const ResendRequestBuilderRequestsMetadata = {
|
|
|
19
19
|
401: createProblemDetailsFromDiscriminatorValue,
|
|
20
20
|
},
|
|
21
21
|
adapterMethodName: "send",
|
|
22
|
-
responseBodyFactory:
|
|
22
|
+
responseBodyFactory: createOrganizationInvitationResponseFromDiscriminatorValue,
|
|
23
23
|
},
|
|
24
24
|
};
|
|
25
25
|
/* tslint:enable */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../organizations/me/invitations/item/resend/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0DAA0D,EAAE,0CAA0C,EAA4D,MAAM,gCAAgC,CAAC;AAuBlN;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,+DAA+D,CAAC;AAC/G;;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,0DAA0D;KACnF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { type OrganizationMemberRequest, type OrganizationMemberResponse, type OrganizationMemberTableRow } from '../../../models/index.js';
|
|
2
|
+
import { type WithUserItemRequestBuilder } from './item/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Builds and executes requests for operations under /organizations/me/members
|
|
6
|
+
*/
|
|
7
|
+
export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Gets an item from the leadping.organizations.me.members.item collection
|
|
10
|
+
* @param userId The ID of the user whose current-organization role is changing.
|
|
11
|
+
* @returns {WithUserItemRequestBuilder}
|
|
12
|
+
*/
|
|
13
|
+
byUserId(userId: string): WithUserItemRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Lists users assigned to the current organization, including roles and membership details for access management.
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {Promise<OrganizationMemberTableRow[]>}
|
|
18
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
19
|
+
*/
|
|
20
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationMemberTableRow[] | undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* Adds an existing user to the current organization with the requested role for shared lead communication and account access.
|
|
23
|
+
* @param body Request schema for the Leadping API organization user request, including the fields clients can send.
|
|
24
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
+
* @returns {Promise<OrganizationMemberResponse>}
|
|
26
|
+
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
27
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
28
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
29
|
+
*/
|
|
30
|
+
post(body: OrganizationMemberRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationMemberResponse | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Lists users assigned to the current organization, including roles and membership details for access management.
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns {RequestInformation}
|
|
35
|
+
*/
|
|
36
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
37
|
+
/**
|
|
38
|
+
* Adds an existing user to the current organization with the requested role for shared lead communication and account access.
|
|
39
|
+
* @param body Request schema for the Leadping API organization user request, including the fields clients can send.
|
|
40
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
* @returns {RequestInformation}
|
|
42
|
+
*/
|
|
43
|
+
toPostRequestInformation(body: OrganizationMemberRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Uri template for the request builder.
|
|
47
|
+
*/
|
|
48
|
+
export declare const MembersRequestBuilderUriTemplate = "{+baseurl}/organizations/me/members";
|
|
49
|
+
/**
|
|
50
|
+
* Metadata for all the navigation properties in the request builder.
|
|
51
|
+
*/
|
|
52
|
+
export declare const MembersRequestBuilderNavigationMetadata: Record<Exclude<keyof MembersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
53
|
+
/**
|
|
54
|
+
* Metadata for all the requests in the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export declare const MembersRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
57
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../organizations/me/members/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuO,KAAK,yBAAyB,EAAE,KAAK,0BAA0B,EAAE,KAAK,0BAA0B,EAAuB,MAAM,0BAA0B,CAAC;AAEtY,OAAO,EAAE,KAAK,0BAA0B,EAA8C,MAAM,iBAAiB,CAAC;AAE9G,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;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;OAIG;IACF,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAI,0BAA0B,CAAC;IACvD;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,EAAE,GAAG,SAAS,CAAC,CAAC;IAC1H;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpJ;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,wCAAwC,CAAC;AACtF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAwBnD,CAAC"}
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { createOrganizationMemberResponseFromDiscriminatorValue, createOrganizationMemberTableRowFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeOrganizationMemberRequest } from '../../../models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { WithUserItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Uri template for the request builder.
|
|
10
10
|
*/
|
|
11
|
-
export const
|
|
11
|
+
export const MembersRequestBuilderUriTemplate = "{+baseurl}/organizations/me/members";
|
|
12
12
|
/**
|
|
13
13
|
* Metadata for all the navigation properties in the request builder.
|
|
14
14
|
*/
|
|
15
|
-
export const
|
|
15
|
+
export const MembersRequestBuilderNavigationMetadata = {
|
|
16
16
|
byUserId: {
|
|
17
17
|
requestsMetadata: WithUserItemRequestBuilderRequestsMetadata,
|
|
18
18
|
pathParametersMappings: ["userId"],
|
|
@@ -21,18 +21,18 @@ export const UsersRequestBuilderNavigationMetadata = {
|
|
|
21
21
|
/**
|
|
22
22
|
* Metadata for all the requests in the request builder.
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
24
|
+
export const MembersRequestBuilderRequestsMetadata = {
|
|
25
25
|
get: {
|
|
26
|
-
uriTemplate:
|
|
26
|
+
uriTemplate: MembersRequestBuilderUriTemplate,
|
|
27
27
|
responseBodyContentType: "application/json",
|
|
28
28
|
errorMappings: {
|
|
29
29
|
401: createProblemDetailsFromDiscriminatorValue,
|
|
30
30
|
},
|
|
31
31
|
adapterMethodName: "sendCollection",
|
|
32
|
-
responseBodyFactory:
|
|
32
|
+
responseBodyFactory: createOrganizationMemberTableRowFromDiscriminatorValue,
|
|
33
33
|
},
|
|
34
34
|
post: {
|
|
35
|
-
uriTemplate:
|
|
35
|
+
uriTemplate: MembersRequestBuilderUriTemplate,
|
|
36
36
|
responseBodyContentType: "application/json",
|
|
37
37
|
errorMappings: {
|
|
38
38
|
400: createProblemDetailsFromDiscriminatorValue,
|
|
@@ -40,9 +40,9 @@ export const UsersRequestBuilderRequestsMetadata = {
|
|
|
40
40
|
403: createProblemDetailsFromDiscriminatorValue,
|
|
41
41
|
},
|
|
42
42
|
adapterMethodName: "send",
|
|
43
|
-
responseBodyFactory:
|
|
43
|
+
responseBodyFactory: createOrganizationMemberResponseFromDiscriminatorValue,
|
|
44
44
|
requestBodyContentType: "application/json",
|
|
45
|
-
requestBodySerializer:
|
|
45
|
+
requestBodySerializer: serializeOrganizationMemberRequest,
|
|
46
46
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
47
47
|
},
|
|
48
48
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../organizations/me/members/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sDAAsD,EAAE,sDAAsD,EAAE,0CAA0C,EAAE,kCAAkC,EAA8J,MAAM,0BAA0B,CAAC;AACtY,aAAa;AACb,OAAO,EAAmC,0CAA0C,EAAE,MAAM,iBAAiB,CAAC;AA6C9G;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,qCAAqC,CAAC;AACtF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAyG;IACzJ,QAAQ,EAAE;QACN,gBAAgB,EAAE,0CAA0C;QAC5D,sBAAsB,EAAE,CAAC,QAAQ,CAAC;KACrC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,GAAG,EAAE;QACD,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,gBAAgB;QACnC,mBAAmB,EAAG,sDAAsD;KAC/E;IACD,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,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,sDAAsD;QAC5E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kCAAkC;QACzD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type OrganizationMemberRequest, type OrganizationMemberResponse } from '../../../../models/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
|
-
* Builds and executes requests for operations under /
|
|
4
|
+
* Builds and executes requests for operations under /organizations/me/members/{userId}
|
|
5
5
|
*/
|
|
6
6
|
export interface WithUserItemRequestBuilder extends BaseRequestBuilder<WithUserItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Removes a user from the current
|
|
8
|
+
* Removes a user from the current organization, revoking their access to its leads, settings, billing, and communication data.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -13,33 +13,33 @@ export interface WithUserItemRequestBuilder extends BaseRequestBuilder<WithUserI
|
|
|
13
13
|
*/
|
|
14
14
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
15
15
|
/**
|
|
16
|
-
* Changes a user's role in the current
|
|
17
|
-
* @param body Request schema for the Leadping API
|
|
16
|
+
* Changes a user's role in the current organization, updating access to lead, automation, billing, and admin workflows.
|
|
17
|
+
* @param body Request schema for the Leadping API organization user request, including the fields clients can send.
|
|
18
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
|
-
* @returns {Promise<
|
|
19
|
+
* @returns {Promise<OrganizationMemberResponse>}
|
|
20
20
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
21
21
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
22
22
|
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
23
23
|
*/
|
|
24
|
-
put(body:
|
|
24
|
+
put(body: OrganizationMemberRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationMemberResponse | undefined>;
|
|
25
25
|
/**
|
|
26
|
-
* Removes a user from the current
|
|
26
|
+
* Removes a user from the current organization, revoking their access to its leads, settings, billing, and communication data.
|
|
27
27
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
28
|
* @returns {RequestInformation}
|
|
29
29
|
*/
|
|
30
30
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
31
31
|
/**
|
|
32
|
-
* Changes a user's role in the current
|
|
33
|
-
* @param body Request schema for the Leadping API
|
|
32
|
+
* Changes a user's role in the current organization, updating access to lead, automation, billing, and admin workflows.
|
|
33
|
+
* @param body Request schema for the Leadping API organization user request, including the fields clients can send.
|
|
34
34
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
35
|
* @returns {RequestInformation}
|
|
36
36
|
*/
|
|
37
|
-
toPutRequestInformation(body:
|
|
37
|
+
toPutRequestInformation(body: OrganizationMemberRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Uri template for the request builder.
|
|
41
41
|
*/
|
|
42
|
-
export declare const WithUserItemRequestBuilderUriTemplate = "{+baseurl}/
|
|
42
|
+
export declare const WithUserItemRequestBuilderUriTemplate = "{+baseurl}/organizations/me/members/{userId}";
|
|
43
43
|
/**
|
|
44
44
|
* Metadata for all the requests in the request builder.
|
|
45
45
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../organizations/me/members/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+K,KAAK,yBAAyB,EAAE,KAAK,0BAA0B,EAAuB,MAAM,6BAA6B,CAAC;AAEhT,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;;;;;OAMG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;;;OAQG;IACF,GAAG,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,iDAAiD,CAAC;AACpG;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAyBxD,CAAC"}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { createOrganizationMemberResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeOrganizationMemberRequest } from '../../../../models/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const WithUserItemRequestBuilderUriTemplate = "{+baseurl}/
|
|
9
|
+
export const WithUserItemRequestBuilderUriTemplate = "{+baseurl}/organizations/me/members/{userId}";
|
|
10
10
|
/**
|
|
11
11
|
* Metadata for all the requests in the request builder.
|
|
12
12
|
*/
|
|
@@ -30,9 +30,9 @@ export const WithUserItemRequestBuilderRequestsMetadata = {
|
|
|
30
30
|
403: createProblemDetailsFromDiscriminatorValue,
|
|
31
31
|
},
|
|
32
32
|
adapterMethodName: "send",
|
|
33
|
-
responseBodyFactory:
|
|
33
|
+
responseBodyFactory: createOrganizationMemberResponseFromDiscriminatorValue,
|
|
34
34
|
requestBodyContentType: "application/json",
|
|
35
|
-
requestBodySerializer:
|
|
35
|
+
requestBodySerializer: serializeOrganizationMemberRequest,
|
|
36
36
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
37
37
|
},
|
|
38
38
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../organizations/me/members/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sDAAsD,EAAE,0CAA0C,EAAE,kCAAkC,EAA6H,MAAM,6BAA6B,CAAC;AAwChT;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,8CAA8C,CAAC;AACpG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAqB;IACxE,MAAM,EAAE;QACJ,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,oCAAoC;QAC7D,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,qCAAqC;QAClD,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,sDAAsD;QAC5E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kCAAkC;QACzD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type NotesRequestBuilder } from './notes/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
|
-
* Builds and executes requests for operations under /
|
|
4
|
+
* Builds and executes requests for operations under /organizations/me/10dlc
|
|
5
5
|
*/
|
|
6
6
|
export interface OneZerodlcRequestBuilder extends BaseRequestBuilder<OneZerodlcRequestBuilder> {
|
|
7
7
|
/**
|
|
@@ -12,7 +12,7 @@ export interface OneZerodlcRequestBuilder extends BaseRequestBuilder<OneZerodlcR
|
|
|
12
12
|
/**
|
|
13
13
|
* Uri template for the request builder.
|
|
14
14
|
*/
|
|
15
|
-
export declare const OneZerodlcRequestBuilderUriTemplate = "{+baseurl}/
|
|
15
|
+
export declare const OneZerodlcRequestBuilderUriTemplate = "{+baseurl}/organizations/me/10dlc";
|
|
16
16
|
/**
|
|
17
17
|
* Metadata for all the navigation properties in the request builder.
|
|
18
18
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../organizations/me/oneZerodlc/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,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;CACpC;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,sCAAsC,CAAC;AACvF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI9J,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { NotesRequestBuilderRequestsMetadata } from './notes/index.js';
|
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const OneZerodlcRequestBuilderUriTemplate = "{+baseurl}/
|
|
9
|
+
export const OneZerodlcRequestBuilderUriTemplate = "{+baseurl}/organizations/me/10dlc";
|
|
10
10
|
/**
|
|
11
11
|
* Metadata for all the navigation properties in the request builder.
|
|
12
12
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../organizations/me/oneZerodlc/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,mCAAmC,GAAG,mCAAmC,CAAC;AACvF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAA4G;IAC/J,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type OrganizationResponse, type TenDlcNotesRequest } from '../../../../models/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
|
-
* Builds and executes requests for operations under /
|
|
4
|
+
* Builds and executes requests for operations under /organizations/me/10dlc/notes
|
|
5
5
|
*/
|
|
6
6
|
export interface NotesRequestBuilder extends BaseRequestBuilder<NotesRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Updates the shared 10DLC registration notes for the current
|
|
8
|
+
* Updates the shared 10DLC registration notes for the current organization, keeping carrier review context and messaging compliance details current.
|
|
9
9
|
* @param body Updates the internal notes associated with a 10DLC application.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
|
-
* @returns {Promise<
|
|
11
|
+
* @returns {Promise<OrganizationResponse>}
|
|
12
12
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
13
13
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
14
14
|
*/
|
|
15
|
-
put(body: TenDlcNotesRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<
|
|
15
|
+
put(body: TenDlcNotesRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationResponse | undefined>;
|
|
16
16
|
/**
|
|
17
|
-
* Updates the shared 10DLC registration notes for the current
|
|
17
|
+
* Updates the shared 10DLC registration notes for the current organization, keeping carrier review context and messaging compliance details current.
|
|
18
18
|
* @param body Updates the internal notes associated with a 10DLC application.
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
20
|
* @returns {RequestInformation}
|
|
@@ -24,7 +24,7 @@ export interface NotesRequestBuilder extends BaseRequestBuilder<NotesRequestBuil
|
|
|
24
24
|
/**
|
|
25
25
|
* Uri template for the request builder.
|
|
26
26
|
*/
|
|
27
|
-
export declare const NotesRequestBuilderUriTemplate = "{+baseurl}/
|
|
27
|
+
export declare const NotesRequestBuilderUriTemplate = "{+baseurl}/organizations/me/10dlc/notes";
|
|
28
28
|
/**
|
|
29
29
|
* Metadata for all the requests in the request builder.
|
|
30
30
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../organizations/me/oneZerodlc/notes/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4J,KAAK,oBAAoB,EAAuB,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEhR,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,4CAA4C,CAAC;AACxF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAcjD,CAAC"}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { createOrganizationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeTenDlcNotesRequest } from '../../../../models/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const NotesRequestBuilderUriTemplate = "{+baseurl}/
|
|
9
|
+
export const NotesRequestBuilderUriTemplate = "{+baseurl}/organizations/me/10dlc/notes";
|
|
10
10
|
/**
|
|
11
11
|
* Metadata for all the requests in the request builder.
|
|
12
12
|
*/
|
|
@@ -19,7 +19,7 @@ export const NotesRequestBuilderRequestsMetadata = {
|
|
|
19
19
|
401: createProblemDetailsFromDiscriminatorValue,
|
|
20
20
|
},
|
|
21
21
|
adapterMethodName: "send",
|
|
22
|
-
responseBodyFactory:
|
|
22
|
+
responseBodyFactory: createOrganizationResponseFromDiscriminatorValue,
|
|
23
23
|
requestBodyContentType: "application/json",
|
|
24
24
|
requestBodySerializer: serializeTenDlcNotesRequest,
|
|
25
25
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../organizations/me/oneZerodlc/notes/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAE,0CAA0C,EAAiC,2BAA2B,EAA2E,MAAM,6BAA6B,CAAC;AAyBhR;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,yCAAyC,CAAC;AACxF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gDAAgD;QACtE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type OrganizationSwitchOption } from '../../../models/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
|
-
* Builds and executes requests for operations under /
|
|
4
|
+
* Builds and executes requests for operations under /organizations/me/options
|
|
5
5
|
*/
|
|
6
6
|
export interface OptionsRequestBuilder extends BaseRequestBuilder<OptionsRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Lists
|
|
8
|
+
* Lists organizations the authenticated user can switch into, including membership role and current-organization selection data.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
-
* @returns {Promise<
|
|
10
|
+
* @returns {Promise<OrganizationSwitchOption[]>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
12
12
|
*/
|
|
13
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<
|
|
13
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationSwitchOption[] | undefined>;
|
|
14
14
|
/**
|
|
15
|
-
* Lists
|
|
15
|
+
* Lists organizations the authenticated user can switch into, including membership role and current-organization selection data.
|
|
16
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
17
|
* @returns {RequestInformation}
|
|
18
18
|
*/
|
|
@@ -21,7 +21,7 @@ export interface OptionsRequestBuilder extends BaseRequestBuilder<OptionsRequest
|
|
|
21
21
|
/**
|
|
22
22
|
* Uri template for the request builder.
|
|
23
23
|
*/
|
|
24
|
-
export declare const OptionsRequestBuilderUriTemplate = "{+baseurl}/
|
|
24
|
+
export declare const OptionsRequestBuilderUriTemplate = "{+baseurl}/organizations/me/options";
|
|
25
25
|
/**
|
|
26
26
|
* Metadata for all the requests in the request builder.
|
|
27
27
|
*/
|