@leadping/sdk 1.0.45 → 1.0.46
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/automations/index.d.ts +1 -1
- package/dist/leadStatusChanges/index.d.ts +1 -1
- package/dist/leadStatuses/index.d.ts +1 -1
- package/dist/leadpingOpenApiClient.d.ts +0 -5
- package/dist/leadpingOpenApiClient.d.ts.map +1 -1
- package/dist/leadpingOpenApiClient.js +0 -6
- package/dist/leadpingOpenApiClient.js.map +1 -1
- package/dist/leads/index.d.ts +1 -1
- package/dist/leads/item/archive/index.d.ts +2 -2
- package/dist/leads/item/index.js +1 -1
- package/dist/leads/item/index.js.map +1 -1
- package/dist/models/index.d.ts +303 -752
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +245 -633
- package/dist/models/index.js.map +1 -1
- package/dist/notifications/index.d.ts +1 -1
- package/dist/organizations/apiKeys/index.d.ts +7 -0
- package/dist/organizations/apiKeys/index.d.ts.map +1 -1
- package/dist/organizations/apiKeys/index.js +6 -0
- package/dist/organizations/apiKeys/index.js.map +1 -1
- package/dist/organizations/apiKeys/item/index.d.ts +66 -0
- package/dist/organizations/apiKeys/item/index.d.ts.map +1 -0
- package/dist/organizations/apiKeys/item/index.js +56 -0
- package/dist/organizations/apiKeys/item/index.js.map +1 -0
- package/dist/organizations/apiKeys/my/index.d.ts +3 -3
- package/dist/organizations/apiKeys/my/index.d.ts.map +1 -1
- package/dist/organizations/apiKeys/my/index.js +2 -2
- package/dist/organizations/apiKeys/my/index.js.map +1 -1
- package/dist/organizations/index.d.ts +0 -5
- package/dist/organizations/index.d.ts.map +1 -1
- package/dist/organizations/index.js +0 -5
- package/dist/organizations/index.js.map +1 -1
- package/dist/organizations/me/invitations/item/index.js +1 -1
- package/dist/organizations/me/invitations/item/index.js.map +1 -1
- package/dist/organizations/me/members/item/index.js +1 -1
- package/dist/organizations/me/members/item/index.js.map +1 -1
- package/dist/paymentMethods/index.d.ts +1 -1
- package/dist/phoneNumbers/item/index.js +1 -1
- package/dist/phoneNumbers/item/index.js.map +1 -1
- package/dist/reports/exports/item/download/index.d.ts +1 -1
- package/dist/reports/exports/item/download/index.d.ts.map +1 -1
- package/dist/reports/exports/item/download/index.js +2 -2
- package/dist/reports/exports/item/download/index.js.map +1 -1
- package/dist/sms/index.d.ts +1 -1
- package/dist/sources/index.d.ts +1 -1
- package/dist/sources/item/index.js +1 -1
- package/dist/sources/item/index.js.map +1 -1
- package/dist/suppressions/index.d.ts +1 -1
- package/dist/tags/index.d.ts +1 -1
- package/dist/transactions/index.d.ts +1 -1
- package/dist/wallets/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/contact/index.d.ts +0 -41
- package/dist/contact/index.d.ts.map +0 -1
- package/dist/contact/index.js +0 -40
- package/dist/contact/index.js.map +0 -1
- package/dist/contact/website/index.d.ts +0 -79
- package/dist/contact/website/index.d.ts.map +0 -1
- package/dist/contact/website/index.js +0 -75
- package/dist/contact/website/index.js.map +0 -1
- package/dist/organizations/invitations/accept/index.d.ts +0 -32
- package/dist/organizations/invitations/accept/index.d.ts.map +0 -1
- package/dist/organizations/invitations/accept/index.js +0 -30
- package/dist/organizations/invitations/accept/index.js.map +0 -1
- package/dist/organizations/invitations/index.d.ts +0 -25
- package/dist/organizations/invitations/index.d.ts.map +0 -1
- package/dist/organizations/invitations/index.js +0 -25
- package/dist/organizations/invitations/index.js.map +0 -1
- package/dist/organizations/invitations/token/index.d.ts +0 -22
- package/dist/organizations/invitations/token/index.d.ts.map +0 -1
- package/dist/organizations/invitations/token/index.js +0 -21
- package/dist/organizations/invitations/token/index.js.map +0 -1
- package/dist/organizations/invitations/token/item/index.d.ts +0 -30
- package/dist/organizations/invitations/token/item/index.d.ts.map +0 -1
- package/dist/organizations/invitations/token/item/index.js +0 -27
- package/dist/organizations/invitations/token/item/index.js.map +0 -1
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
-
/**
|
|
3
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
-
* @returns {WebsitePostRequestBody}
|
|
6
|
-
*/
|
|
7
|
-
export declare function createWebsitePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
|
-
/**
|
|
9
|
-
* The deserialization information for the current model
|
|
10
|
-
* @param WebsitePostRequestBody The instance to deserialize into.
|
|
11
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
12
|
-
*/
|
|
13
|
-
export declare function deserializeIntoWebsitePostRequestBody(websitePostRequestBody?: Partial<WebsitePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
-
/**
|
|
15
|
-
* Serializes information the current object
|
|
16
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
17
|
-
* @param WebsitePostRequestBody The instance to serialize from.
|
|
18
|
-
* @param writer Serialization writer to use to serialize this model
|
|
19
|
-
*/
|
|
20
|
-
export declare function serializeWebsitePostRequestBody(writer: SerializationWriter, websitePostRequestBody?: Partial<WebsitePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
21
|
-
export interface WebsitePostRequestBody extends AdditionalDataHolder, Parsable {
|
|
22
|
-
/**
|
|
23
|
-
* The CompanyWebsite property
|
|
24
|
-
*/
|
|
25
|
-
companyWebsite?: string | null;
|
|
26
|
-
/**
|
|
27
|
-
* The Email property
|
|
28
|
-
*/
|
|
29
|
-
email?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
* The Message property
|
|
32
|
-
*/
|
|
33
|
-
message?: string | null;
|
|
34
|
-
/**
|
|
35
|
-
* The Name property
|
|
36
|
-
*/
|
|
37
|
-
name?: string | null;
|
|
38
|
-
/**
|
|
39
|
-
* The Phone property
|
|
40
|
-
*/
|
|
41
|
-
phone?: string | null;
|
|
42
|
-
/**
|
|
43
|
-
* The ReturnUrl property
|
|
44
|
-
*/
|
|
45
|
-
returnUrl?: string | null;
|
|
46
|
-
/**
|
|
47
|
-
* The SmsConsent property
|
|
48
|
-
*/
|
|
49
|
-
smsConsent?: boolean | null;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Builds and executes requests for operations under /contact/website
|
|
53
|
-
*/
|
|
54
|
-
export interface WebsiteRequestBuilder extends BaseRequestBuilder<WebsiteRequestBuilder> {
|
|
55
|
-
/**
|
|
56
|
-
* Delivers the inquiry to the generated website's provisioned support address, then redirects the visitor to the site's confirmation state.
|
|
57
|
-
* @param body The request body
|
|
58
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
59
|
-
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
60
|
-
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
61
|
-
*/
|
|
62
|
-
post(body: WebsitePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
63
|
-
/**
|
|
64
|
-
* Delivers the inquiry to the generated website's provisioned support address, then redirects the visitor to the site's confirmation state.
|
|
65
|
-
* @param body The request body
|
|
66
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
67
|
-
* @returns {RequestInformation}
|
|
68
|
-
*/
|
|
69
|
-
toPostRequestInformation(body: WebsitePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Uri template for the request builder.
|
|
73
|
-
*/
|
|
74
|
-
export declare const WebsiteRequestBuilderUriTemplate = "{+baseurl}/contact/website";
|
|
75
|
-
/**
|
|
76
|
-
* Metadata for all the requests in the request builder.
|
|
77
|
-
*/
|
|
78
|
-
export declare const WebsiteRequestBuilderRequestsMetadata: RequestsMetadata;
|
|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AAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/B;AACD;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACrH;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,+BAA+B,CAAC;AAC7E;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAanD,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// Generated by Microsoft Kiota
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import { createProblemDetailsFromDiscriminatorValue } from '../../models/index.js';
|
|
6
|
-
/**
|
|
7
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
8
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
9
|
-
* @returns {WebsitePostRequestBody}
|
|
10
|
-
*/
|
|
11
|
-
// @ts-ignore
|
|
12
|
-
export function createWebsitePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
13
|
-
return deserializeIntoWebsitePostRequestBody;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* The deserialization information for the current model
|
|
17
|
-
* @param WebsitePostRequestBody The instance to deserialize into.
|
|
18
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
19
|
-
*/
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
export function deserializeIntoWebsitePostRequestBody(websitePostRequestBody = {}) {
|
|
22
|
-
return {
|
|
23
|
-
"CompanyWebsite": n => { websitePostRequestBody.companyWebsite = n.getStringValue(); },
|
|
24
|
-
"Email": n => { websitePostRequestBody.email = n.getStringValue(); },
|
|
25
|
-
"Message": n => { websitePostRequestBody.message = n.getStringValue(); },
|
|
26
|
-
"Name": n => { websitePostRequestBody.name = n.getStringValue(); },
|
|
27
|
-
"Phone": n => { websitePostRequestBody.phone = n.getStringValue(); },
|
|
28
|
-
"ReturnUrl": n => { websitePostRequestBody.returnUrl = n.getStringValue(); },
|
|
29
|
-
"SmsConsent": n => { websitePostRequestBody.smsConsent = n.getBooleanValue(); },
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Serializes information the current object
|
|
34
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
35
|
-
* @param WebsitePostRequestBody The instance to serialize from.
|
|
36
|
-
* @param writer Serialization writer to use to serialize this model
|
|
37
|
-
*/
|
|
38
|
-
// @ts-ignore
|
|
39
|
-
export function serializeWebsitePostRequestBody(writer, websitePostRequestBody = {}, isSerializingDerivedType = false) {
|
|
40
|
-
if (!websitePostRequestBody || isSerializingDerivedType) {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
writer.writeStringValue("CompanyWebsite", websitePostRequestBody.companyWebsite);
|
|
44
|
-
writer.writeStringValue("Email", websitePostRequestBody.email);
|
|
45
|
-
writer.writeStringValue("Message", websitePostRequestBody.message);
|
|
46
|
-
writer.writeStringValue("Name", websitePostRequestBody.name);
|
|
47
|
-
writer.writeStringValue("Phone", websitePostRequestBody.phone);
|
|
48
|
-
writer.writeStringValue("ReturnUrl", websitePostRequestBody.returnUrl);
|
|
49
|
-
writer.writeBooleanValue("SmsConsent", websitePostRequestBody.smsConsent);
|
|
50
|
-
writer.writeAdditionalData(websitePostRequestBody.additionalData);
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Uri template for the request builder.
|
|
54
|
-
*/
|
|
55
|
-
export const WebsiteRequestBuilderUriTemplate = "{+baseurl}/contact/website";
|
|
56
|
-
/**
|
|
57
|
-
* Metadata for all the requests in the request builder.
|
|
58
|
-
*/
|
|
59
|
-
export const WebsiteRequestBuilderRequestsMetadata = {
|
|
60
|
-
post: {
|
|
61
|
-
uriTemplate: WebsiteRequestBuilderUriTemplate,
|
|
62
|
-
responseBodyContentType: "application/json, application/problem+json, text/plain;q=0.9",
|
|
63
|
-
errorMappings: {
|
|
64
|
-
400: createProblemDetailsFromDiscriminatorValue,
|
|
65
|
-
429: createProblemDetailsFromDiscriminatorValue,
|
|
66
|
-
},
|
|
67
|
-
adapterMethodName: "sendNoResponseContent",
|
|
68
|
-
requestBodyContentType: "application/x-www-form-urlencoded",
|
|
69
|
-
requestBodySerializer: serializeWebsitePostRequestBody,
|
|
70
|
-
requestInformationContentSetMethod: "setContentFromParsable",
|
|
71
|
-
},
|
|
72
|
-
};
|
|
73
|
-
/* tslint:enable */
|
|
74
|
-
/* eslint-enable */
|
|
75
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../contact/website/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,uBAAuB,CAAC;AAIxG;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kDAAkD,CAAC,SAAgC;IAC/F,OAAO,qCAAqC,CAAC;AACjD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,qCAAqC,CAAC,yBAAsE,EAAE;IAC1H,OAAO;QACH,gBAAgB,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,cAAc,GAAG,CAAC,CAAC,cAAc,E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,CAAC,OAAO,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAC/D,MAAM,CAAC,gBAAgB,CAAC,WAAW,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;IACvE,MAAM,CAAC,iBAAiB,CAAC,YAAY,EAAE,sBAAsB,CAAC,UAAU,CAAC,CAAC;IAC1E,MAAM,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,cAAc,CAAC,CAAC;AACtE,CAAC;AAmDD;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,4BAA4B,CAAC;AAC7E;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,8DAA8D;QACvF,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,sBAAsB,EAAE,mCAAmC;QAC3D,qBAAqB,EAAE,+BAA+B;QACtD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type AcceptOrganizationInvitationRequest, type OrganizationInvitationResponse } 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 /organizations/invitations/accept
|
|
5
|
-
*/
|
|
6
|
-
export interface AcceptRequestBuilder extends BaseRequestBuilder<AcceptRequestBuilder> {
|
|
7
|
-
/**
|
|
8
|
-
* Accepts an organization invitation for the signed-in user, creating membership and setting organization access context.
|
|
9
|
-
* @param body Defines the input used for accept organization invitation.
|
|
10
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
|
-
* @returns {Promise<OrganizationInvitationResponse>}
|
|
12
|
-
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
13
|
-
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
14
|
-
*/
|
|
15
|
-
post(body: AcceptOrganizationInvitationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationInvitationResponse | undefined>;
|
|
16
|
-
/**
|
|
17
|
-
* Accepts an organization invitation for the signed-in user, creating membership and setting organization access context.
|
|
18
|
-
* @param body Defines the input used for accept organization invitation.
|
|
19
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
-
* @returns {RequestInformation}
|
|
21
|
-
*/
|
|
22
|
-
toPostRequestInformation(body: AcceptOrganizationInvitationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Uri template for the request builder.
|
|
26
|
-
*/
|
|
27
|
-
export declare const AcceptRequestBuilderUriTemplate = "{+baseurl}/organizations/invitations/accept";
|
|
28
|
-
/**
|
|
29
|
-
* Metadata for all the requests in the request builder.
|
|
30
|
-
*/
|
|
31
|
-
export declare const AcceptRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
32
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../organizations/invitations/accept/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiM,KAAK,mCAAmC,EAAE,KAAK,8BAA8B,EAAuB,MAAM,0BAA0B,CAAC;AAE7U,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;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,mCAAmC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IACxK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,mCAAmC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9J;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,gDAAgD,CAAC;AAC7F;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAclD,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// Generated by Microsoft Kiota
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import { createOrganizationInvitationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeAcceptOrganizationInvitationRequest } from '../../../models/index.js';
|
|
6
|
-
/**
|
|
7
|
-
* Uri template for the request builder.
|
|
8
|
-
*/
|
|
9
|
-
export const AcceptRequestBuilderUriTemplate = "{+baseurl}/organizations/invitations/accept";
|
|
10
|
-
/**
|
|
11
|
-
* Metadata for all the requests in the request builder.
|
|
12
|
-
*/
|
|
13
|
-
export const AcceptRequestBuilderRequestsMetadata = {
|
|
14
|
-
post: {
|
|
15
|
-
uriTemplate: AcceptRequestBuilderUriTemplate,
|
|
16
|
-
responseBodyContentType: "application/json",
|
|
17
|
-
errorMappings: {
|
|
18
|
-
400: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
-
429: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
-
},
|
|
21
|
-
adapterMethodName: "send",
|
|
22
|
-
responseBodyFactory: createOrganizationInvitationResponseFromDiscriminatorValue,
|
|
23
|
-
requestBodyContentType: "application/json",
|
|
24
|
-
requestBodySerializer: serializeAcceptOrganizationInvitationRequest,
|
|
25
|
-
requestInformationContentSetMethod: "setContentFromParsable",
|
|
26
|
-
},
|
|
27
|
-
};
|
|
28
|
-
/* tslint:enable */
|
|
29
|
-
/* eslint-enable */
|
|
30
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../organizations/invitations/accept/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0DAA0D,EAAE,0CAA0C,EAAE,4CAA4C,EAA+I,MAAM,0BAA0B,CAAC;AAyB7U;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,6CAA6C,CAAC;AAC7F;;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;QAChF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,4CAA4C;QACnE,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { type AcceptRequestBuilder } from './accept/index.js';
|
|
2
|
-
import { type TokenRequestBuilder } from './token/index.js';
|
|
3
|
-
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
-
/**
|
|
5
|
-
* Builds and executes requests for operations under /organizations/invitations
|
|
6
|
-
*/
|
|
7
|
-
export interface InvitationsRequestBuilder extends BaseRequestBuilder<InvitationsRequestBuilder> {
|
|
8
|
-
/**
|
|
9
|
-
* The accept property
|
|
10
|
-
*/
|
|
11
|
-
get accept(): AcceptRequestBuilder;
|
|
12
|
-
/**
|
|
13
|
-
* The token property
|
|
14
|
-
*/
|
|
15
|
-
get token(): TokenRequestBuilder;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Uri template for the request builder.
|
|
19
|
-
*/
|
|
20
|
-
export declare const InvitationsRequestBuilderUriTemplate = "{+baseurl}/organizations/invitations";
|
|
21
|
-
/**
|
|
22
|
-
* Metadata for all the navigation properties in the request builder.
|
|
23
|
-
*/
|
|
24
|
-
export declare const InvitationsRequestBuilderNavigationMetadata: Record<Exclude<keyof InvitationsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../organizations/invitations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAyC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEnG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;CACpC;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,yCAAyC,CAAC;AAC3F;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAOhK,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// Generated by Microsoft Kiota
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import { AcceptRequestBuilderRequestsMetadata } from './accept/index.js';
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
import { TokenRequestBuilderNavigationMetadata } from './token/index.js';
|
|
8
|
-
/**
|
|
9
|
-
* Uri template for the request builder.
|
|
10
|
-
*/
|
|
11
|
-
export const InvitationsRequestBuilderUriTemplate = "{+baseurl}/organizations/invitations";
|
|
12
|
-
/**
|
|
13
|
-
* Metadata for all the navigation properties in the request builder.
|
|
14
|
-
*/
|
|
15
|
-
export const InvitationsRequestBuilderNavigationMetadata = {
|
|
16
|
-
accept: {
|
|
17
|
-
requestsMetadata: AcceptRequestBuilderRequestsMetadata,
|
|
18
|
-
},
|
|
19
|
-
token: {
|
|
20
|
-
navigationMetadata: TokenRequestBuilderNavigationMetadata,
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
/* tslint:enable */
|
|
24
|
-
/* eslint-enable */
|
|
25
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../organizations/invitations/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,EAA4B,MAAM,kBAAkB,CAAC;AAiBnG;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,sCAAsC,CAAC;AAC3F;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAA6G;IACjK,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;IACD,KAAK,EAAE;QACH,kBAAkB,EAAE,qCAAqC;KAC5D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { type WithTokenItemRequestBuilder } from './item/index.js';
|
|
2
|
-
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
-
/**
|
|
4
|
-
* Builds and executes requests for operations under /organizations/invitations/token
|
|
5
|
-
*/
|
|
6
|
-
export interface TokenRequestBuilder extends BaseRequestBuilder<TokenRequestBuilder> {
|
|
7
|
-
/**
|
|
8
|
-
* Gets an item from the leadping.organizations.invitations.token.item collection
|
|
9
|
-
* @param token The invitation acceptance token.
|
|
10
|
-
* @returns {WithTokenItemRequestBuilder}
|
|
11
|
-
*/
|
|
12
|
-
byToken(token: string): WithTokenItemRequestBuilder;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Uri template for the request builder.
|
|
16
|
-
*/
|
|
17
|
-
export declare const TokenRequestBuilderUriTemplate = "{+baseurl}/organizations/invitations/token";
|
|
18
|
-
/**
|
|
19
|
-
* Metadata for all the navigation properties in the request builder.
|
|
20
|
-
*/
|
|
21
|
-
export declare const TokenRequestBuilderNavigationMetadata: Record<Exclude<keyof TokenRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../organizations/invitations/token/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,2BAA2B,EAA+C,MAAM,iBAAiB,CAAC;AAEhH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,OAAO,CAAC,KAAK,EAAE,MAAM,GAAI,2BAA2B,CAAC;CACzD;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,+CAA+C,CAAC;AAC3F;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKpJ,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// Generated by Microsoft Kiota
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import { WithTokenItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
6
|
-
/**
|
|
7
|
-
* Uri template for the request builder.
|
|
8
|
-
*/
|
|
9
|
-
export const TokenRequestBuilderUriTemplate = "{+baseurl}/organizations/invitations/token";
|
|
10
|
-
/**
|
|
11
|
-
* Metadata for all the navigation properties in the request builder.
|
|
12
|
-
*/
|
|
13
|
-
export const TokenRequestBuilderNavigationMetadata = {
|
|
14
|
-
byToken: {
|
|
15
|
-
requestsMetadata: WithTokenItemRequestBuilderRequestsMetadata,
|
|
16
|
-
pathParametersMappings: ["token"],
|
|
17
|
-
},
|
|
18
|
-
};
|
|
19
|
-
/* tslint:enable */
|
|
20
|
-
/* eslint-enable */
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../organizations/invitations/token/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAoC,2CAA2C,EAAE,MAAM,iBAAiB,CAAC;AAehH;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,4CAA4C,CAAC;AAC3F;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAuG;IACrJ,OAAO,EAAE;QACL,gBAAgB,EAAE,2CAA2C;QAC7D,sBAAsB,EAAE,CAAC,OAAO,CAAC;KACpC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { type OrganizationInvitationResponse } 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 /organizations/invitations/token/{token}
|
|
5
|
-
*/
|
|
6
|
-
export interface WithTokenItemRequestBuilder extends BaseRequestBuilder<WithTokenItemRequestBuilder> {
|
|
7
|
-
/**
|
|
8
|
-
* Returns an organization invitation by acceptance token, including organization, recipient, role, and expiration details.
|
|
9
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
-
* @returns {Promise<OrganizationInvitationResponse>}
|
|
11
|
-
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
12
|
-
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
13
|
-
*/
|
|
14
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationInvitationResponse | undefined>;
|
|
15
|
-
/**
|
|
16
|
-
* Returns an organization invitation by acceptance token, including organization, recipient, role, and expiration details.
|
|
17
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
-
* @returns {RequestInformation}
|
|
19
|
-
*/
|
|
20
|
-
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Uri template for the request builder.
|
|
24
|
-
*/
|
|
25
|
-
export declare const WithTokenItemRequestBuilderUriTemplate = "{+baseurl}/organizations/invitations/token/{token}";
|
|
26
|
-
/**
|
|
27
|
-
* Metadata for all the requests in the request builder.
|
|
28
|
-
*/
|
|
29
|
-
export declare const WithTokenItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
30
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../organizations/invitations/token/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0G,KAAK,8BAA8B,EAAuB,MAAM,6BAA6B,CAAC;AAE/M,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;;;;;OAMG;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,sCAAsC,uDAAuD,CAAC;AAC3G;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAWzD,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// Generated by Microsoft Kiota
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import { createOrganizationInvitationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../../models/index.js';
|
|
6
|
-
/**
|
|
7
|
-
* Uri template for the request builder.
|
|
8
|
-
*/
|
|
9
|
-
export const WithTokenItemRequestBuilderUriTemplate = "{+baseurl}/organizations/invitations/token/{token}";
|
|
10
|
-
/**
|
|
11
|
-
* Metadata for all the requests in the request builder.
|
|
12
|
-
*/
|
|
13
|
-
export const WithTokenItemRequestBuilderRequestsMetadata = {
|
|
14
|
-
get: {
|
|
15
|
-
uriTemplate: WithTokenItemRequestBuilderUriTemplate,
|
|
16
|
-
responseBodyContentType: "application/json",
|
|
17
|
-
errorMappings: {
|
|
18
|
-
404: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
-
429: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
-
},
|
|
21
|
-
adapterMethodName: "send",
|
|
22
|
-
responseBodyFactory: createOrganizationInvitationResponseFromDiscriminatorValue,
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
/* tslint:enable */
|
|
26
|
-
/* eslint-enable */
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../organizations/invitations/token/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0DAA0D,EAAE,0CAA0C,EAA4D,MAAM,6BAA6B,CAAC;AAuB/M;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,oDAAoD,CAAC;AAC3G;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAqB;IACzE,GAAG,EAAE;QACD,WAAW,EAAE,sCAAsC;QACnD,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"}
|