@leadping/sdk 1.0.29 → 1.0.31
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 +3773 -3717
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +4060 -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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../organizations/me/options/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoG,KAAK,wBAAwB,EAAuB,MAAM,0BAA0B,CAAC;AAEhM,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,EAAE,GAAG,SAAS,CAAC,CAAC;IACxH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,wCAAwC,CAAC;AACtF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAUnD,CAAC"}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { createOrganizationSwitchOptionFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const OptionsRequestBuilderUriTemplate = "{+baseurl}/
|
|
9
|
+
export const OptionsRequestBuilderUriTemplate = "{+baseurl}/organizations/me/options";
|
|
10
10
|
/**
|
|
11
11
|
* Metadata for all the requests in the request builder.
|
|
12
12
|
*/
|
|
@@ -18,7 +18,7 @@ export const OptionsRequestBuilderRequestsMetadata = {
|
|
|
18
18
|
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
19
|
},
|
|
20
20
|
adapterMethodName: "sendCollection",
|
|
21
|
-
responseBodyFactory:
|
|
21
|
+
responseBodyFactory: createOrganizationSwitchOptionFromDiscriminatorValue,
|
|
22
22
|
},
|
|
23
23
|
};
|
|
24
24
|
/* tslint:enable */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../organizations/me/options/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,oDAAoD,EAAE,0CAA0C,EAAsD,MAAM,0BAA0B,CAAC;AAsBhM;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,qCAAqC,CAAC;AACtF;;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,oDAAoD;KAC7E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type OrganizationResponse, type OrganizationSwitchRequest } 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/me/switch
|
|
5
|
+
*/
|
|
6
|
+
export interface SwitchRequestBuilder extends BaseRequestBuilder<SwitchRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Switches the authenticated user's active organization context so subsequent lead, billing, and communication requests target that organization.
|
|
9
|
+
* @param body Request schema for the Leadping API organization switch request, including the fields clients can send.
|
|
10
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
|
+
* @returns {Promise<OrganizationResponse>}
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
13
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
14
|
+
*/
|
|
15
|
+
post(body: OrganizationSwitchRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationResponse | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* Switches the authenticated user's active organization context so subsequent lead, billing, and communication requests target that organization.
|
|
18
|
+
* @param body Request schema for the Leadping API organization switch request, including the fields clients can send.
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns {RequestInformation}
|
|
21
|
+
*/
|
|
22
|
+
toPostRequestInformation(body: OrganizationSwitchRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Uri template for the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const SwitchRequestBuilderUriTemplate = "{+baseurl}/organizations/me/switch";
|
|
28
|
+
/**
|
|
29
|
+
* Metadata for all the requests in the request builder.
|
|
30
|
+
*/
|
|
31
|
+
export declare const SwitchRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../organizations/me/switchEscaped/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmK,KAAK,oBAAoB,EAAE,KAAK,yBAAyB,EAAuB,MAAM,0BAA0B,CAAC;AAE3R,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,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IACpJ;;;;;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,+BAA+B,uCAAuC,CAAC;AACpF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAclD,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, serializeOrganizationSwitchRequest } from '../../../models/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const SwitchRequestBuilderUriTemplate = "{+baseurl}/
|
|
9
|
+
export const SwitchRequestBuilderUriTemplate = "{+baseurl}/organizations/me/switch";
|
|
10
10
|
/**
|
|
11
11
|
* Metadata for all the requests in the request builder.
|
|
12
12
|
*/
|
|
@@ -19,9 +19,9 @@ export const SwitchRequestBuilderRequestsMetadata = {
|
|
|
19
19
|
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
20
|
},
|
|
21
21
|
adapterMethodName: "send",
|
|
22
|
-
responseBodyFactory:
|
|
22
|
+
responseBodyFactory: createOrganizationResponseFromDiscriminatorValue,
|
|
23
23
|
requestBodyContentType: "application/json",
|
|
24
|
-
requestBodySerializer:
|
|
24
|
+
requestBodySerializer: serializeOrganizationSwitchRequest,
|
|
25
25
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
26
26
|
},
|
|
27
27
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../organizations/me/switchEscaped/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAE,0CAA0C,EAAiC,kCAAkC,EAAkF,MAAM,0BAA0B,CAAC;AAyB3R;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,oCAAoC,CAAC;AACpF;;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;QACtE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kCAAkC;QACzD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -5,14 +5,14 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface OverviewRequestBuilder extends BaseRequestBuilder<OverviewRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Returns current-
|
|
8
|
+
* Returns current-organization outbound capacity, scheduled work, and pacing decisions used to control lead communication delivery.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<OutboundCapacityOverview>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
12
12
|
*/
|
|
13
13
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OutboundCapacityOverview | undefined>;
|
|
14
14
|
/**
|
|
15
|
-
* Returns current-
|
|
15
|
+
* Returns current-organization outbound capacity, scheduled work, and pacing decisions used to control lead communication delivery.
|
|
16
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
17
|
* @returns {RequestInformation}
|
|
18
18
|
*/
|
|
@@ -17,14 +17,14 @@ export interface PaymentMethodsRequestBuilder extends BaseRequestBuilder<Payment
|
|
|
17
17
|
*/
|
|
18
18
|
byId(id: string): PaymentMethodsItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
* Lists the payment methods available to the current
|
|
20
|
+
* Lists the payment methods available to the current organization for billing, invoice payments, and wallet funding.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<StripePaymentMethodResponse[]>}
|
|
23
23
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
24
24
|
*/
|
|
25
25
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StripePaymentMethodResponse[] | undefined>;
|
|
26
26
|
/**
|
|
27
|
-
* Lists the payment methods available to the current
|
|
27
|
+
* Lists the payment methods available to the current organization for billing, invoice payments, and wallet funding.
|
|
28
28
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
29
|
* @returns {RequestInformation}
|
|
30
30
|
*/
|
|
@@ -12,13 +12,13 @@ export interface InvoicesRequestBuilder extends BaseRequestBuilder<InvoicesReque
|
|
|
12
12
|
*/
|
|
13
13
|
byInvoiceId(invoiceId: string): WithInvoiceItemRequestBuilder;
|
|
14
14
|
/**
|
|
15
|
-
* Returns the current
|
|
15
|
+
* Returns the current organization's Stripe invoices with their amounts, payment status, billing period, and hosted invoice details.
|
|
16
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
17
|
* @returns {Promise<StripeInvoiceResponse[]>}
|
|
18
18
|
*/
|
|
19
19
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StripeInvoiceResponse[] | undefined>;
|
|
20
20
|
/**
|
|
21
|
-
* Returns the current
|
|
21
|
+
* Returns the current organization's Stripe invoices with their amounts, payment status, billing period, and hosted invoice details.
|
|
22
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
23
|
* @returns {RequestInformation}
|
|
24
24
|
*/
|
|
@@ -5,21 +5,21 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface PdfAccessRequestBuilder extends BaseRequestBuilder<PdfAccessRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Creates a short-lived, secure URL that lets the current
|
|
8
|
+
* Creates a short-lived, secure URL that lets the current organization view or download a private Stripe invoice PDF without exposing a permanent file link.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<InvoicePdfAccessResponse>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
12
12
|
*/
|
|
13
13
|
get(requestConfiguration?: RequestConfiguration<PdfAccessRequestBuilderGetQueryParameters> | undefined): Promise<InvoicePdfAccessResponse | undefined>;
|
|
14
14
|
/**
|
|
15
|
-
* Creates a short-lived, secure URL that lets the current
|
|
15
|
+
* Creates a short-lived, secure URL that lets the current organization view or download a private Stripe invoice PDF without exposing a permanent file link.
|
|
16
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
17
|
* @returns {RequestInformation}
|
|
18
18
|
*/
|
|
19
19
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PdfAccessRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
* Creates a short-lived, secure URL that lets the current
|
|
22
|
+
* Creates a short-lived, secure URL that lets the current organization view or download a private Stripe invoice PDF without exposing a permanent file link.
|
|
23
23
|
*/
|
|
24
24
|
export interface PdfAccessRequestBuilderGetQueryParameters {
|
|
25
25
|
download?: boolean;
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface DefaultRequestBuilder extends BaseRequestBuilder<DefaultRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Sets a payment method as the default for the current
|
|
8
|
+
* Sets a payment method as the default for the current organization's future invoices and billing activity.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<StripePaymentMethodResponse>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -13,7 +13,7 @@ export interface DefaultRequestBuilder extends BaseRequestBuilder<DefaultRequest
|
|
|
13
13
|
*/
|
|
14
14
|
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StripePaymentMethodResponse | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
* Sets a payment method as the default for the current
|
|
16
|
+
* Sets a payment method as the default for the current organization's future invoices and billing activity.
|
|
17
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
18
|
* @returns {RequestInformation}
|
|
19
19
|
*/
|
|
@@ -18,7 +18,7 @@ export interface PaymentMethodsItemRequestBuilder extends BaseRequestBuilder<Pay
|
|
|
18
18
|
*/
|
|
19
19
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
20
20
|
/**
|
|
21
|
-
* Returns one payment method for the current user or
|
|
21
|
+
* Returns one payment method for the current user or organization, including card metadata used for billing management.
|
|
22
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
23
|
* @returns {Promise<StripePaymentMethodResponse>}
|
|
24
24
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -33,7 +33,7 @@ export interface PaymentMethodsItemRequestBuilder extends BaseRequestBuilder<Pay
|
|
|
33
33
|
*/
|
|
34
34
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
35
|
/**
|
|
36
|
-
* Returns one payment method for the current user or
|
|
36
|
+
* Returns one payment method for the current user or organization, including card metadata used for billing management.
|
|
37
37
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
38
|
* @returns {RequestInformation}
|
|
39
39
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type OrganizationRequestBuilder } from './organization/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
4
|
* Builds and executes requests for operations under /phone-numbers/all
|
|
5
5
|
*/
|
|
6
6
|
export interface AllRequestBuilder extends BaseRequestBuilder<AllRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* The
|
|
8
|
+
* The organization property
|
|
9
9
|
*/
|
|
10
|
-
get
|
|
10
|
+
get organization(): OrganizationRequestBuilder;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Uri template for the request builder.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../phoneNumbers/all/index.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../phoneNumbers/all/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8C,KAAK,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAEtH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;OAEG;IACH,IAAI,YAAY,IAAI,0BAA0B,CAAC;CAClD;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAC3E;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,iBAAiB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIhJ,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { OrganizationRequestBuilderRequestsMetadata } from './organization/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
@@ -11,8 +11,8 @@ export const AllRequestBuilderUriTemplate = "{+baseurl}/phone-numbers/all";
|
|
|
11
11
|
* Metadata for all the navigation properties in the request builder.
|
|
12
12
|
*/
|
|
13
13
|
export const AllRequestBuilderNavigationMetadata = {
|
|
14
|
-
|
|
15
|
-
requestsMetadata:
|
|
14
|
+
organization: {
|
|
15
|
+
requestsMetadata: OrganizationRequestBuilderRequestsMetadata,
|
|
16
16
|
},
|
|
17
17
|
};
|
|
18
18
|
/* tslint:enable */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../phoneNumbers/all/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../phoneNumbers/all/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAmC,MAAM,yBAAyB,CAAC;AAatH;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,8BAA8B,CAAC;AAC3E;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqG;IACjJ,YAAY,EAAE;QACV,gBAAgB,EAAE,0CAA0C;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type PagedResultOfPhoneNumberTableRow, type RequestDataOptions } 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 /phone-numbers/all/
|
|
4
|
+
* Builds and executes requests for operations under /phone-numbers/all/organization
|
|
5
5
|
*/
|
|
6
|
-
export interface
|
|
6
|
+
export interface OrganizationRequestBuilder extends BaseRequestBuilder<OrganizationRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Lists phone numbers visible to the current
|
|
8
|
+
* Lists phone numbers visible to the current organization with paging, sorting, and filters for messaging, calling, and warmup management.
|
|
9
9
|
* @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<PagedResultOfPhoneNumberTableRow>}
|
|
@@ -14,7 +14,7 @@ export interface BusinessRequestBuilder extends BaseRequestBuilder<BusinessReque
|
|
|
14
14
|
*/
|
|
15
15
|
post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PagedResultOfPhoneNumberTableRow | undefined>;
|
|
16
16
|
/**
|
|
17
|
-
* Lists phone numbers visible to the current
|
|
17
|
+
* Lists phone numbers visible to the current organization with paging, sorting, and filters for messaging, calling, and warmup management.
|
|
18
18
|
* @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
20
|
* @returns {RequestInformation}
|
|
@@ -24,9 +24,9 @@ export interface BusinessRequestBuilder extends BaseRequestBuilder<BusinessReque
|
|
|
24
24
|
/**
|
|
25
25
|
* Uri template for the request builder.
|
|
26
26
|
*/
|
|
27
|
-
export declare const
|
|
27
|
+
export declare const OrganizationRequestBuilderUriTemplate = "{+baseurl}/phone-numbers/all/organization";
|
|
28
28
|
/**
|
|
29
29
|
* Metadata for all the requests in the request builder.
|
|
30
30
|
*/
|
|
31
|
-
export declare const
|
|
31
|
+
export declare const OrganizationRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
32
32
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../phoneNumbers/all/organization/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoL,KAAK,gCAAgC,EAAuB,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEjT,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;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gCAAgC,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,8CAA8C,CAAC;AACjG;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAcxD,CAAC"}
|
|
@@ -6,13 +6,13 @@ import { createPagedResultOfPhoneNumberTableRowFromDiscriminatorValue, createPro
|
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const
|
|
9
|
+
export const OrganizationRequestBuilderUriTemplate = "{+baseurl}/phone-numbers/all/organization";
|
|
10
10
|
/**
|
|
11
11
|
* Metadata for all the requests in the request builder.
|
|
12
12
|
*/
|
|
13
|
-
export const
|
|
13
|
+
export const OrganizationRequestBuilderRequestsMetadata = {
|
|
14
14
|
post: {
|
|
15
|
-
uriTemplate:
|
|
15
|
+
uriTemplate: OrganizationRequestBuilderUriTemplate,
|
|
16
16
|
responseBodyContentType: "application/json",
|
|
17
17
|
errorMappings: {
|
|
18
18
|
400: createProblemDetailsFromDiscriminatorValue,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../phoneNumbers/all/organization/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4DAA4D,EAAE,0CAA0C,EAA6C,2BAA2B,EAAuF,MAAM,0BAA0B,CAAC;AAyBjT;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,2CAA2C,CAAC;AACjG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAqB;IACxE,IAAI,EAAE;QACF,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4DAA4D;QAClF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -32,7 +32,7 @@ export interface PhoneNumbersRequestBuilder extends BaseRequestBuilder<PhoneNumb
|
|
|
32
32
|
*/
|
|
33
33
|
byPhoneNumberId(phoneNumberId: string): PhoneNumberItemRequestBuilder;
|
|
34
34
|
/**
|
|
35
|
-
* Purchases or creates a phone number for the current
|
|
35
|
+
* Purchases or creates a phone number for the current organization so it can be assigned to messaging, calls, and lead follow-up.
|
|
36
36
|
* @param body Request schema for the Leadping API phone number update request, including the fields clients can send.
|
|
37
37
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
38
|
* @returns {Promise<PhoneNumberResponse>}
|
|
@@ -42,7 +42,7 @@ export interface PhoneNumbersRequestBuilder extends BaseRequestBuilder<PhoneNumb
|
|
|
42
42
|
*/
|
|
43
43
|
post(body: PhoneNumberRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneNumberResponse | undefined>;
|
|
44
44
|
/**
|
|
45
|
-
* Purchases or creates a phone number for the current
|
|
45
|
+
* Purchases or creates a phone number for the current organization so it can be assigned to messaging, calls, and lead follow-up.
|
|
46
46
|
* @param body Request schema for the Leadping API phone number update request, including the fields clients can send.
|
|
47
47
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
48
48
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface IsAvailableForPurchaseRequestBuilder extends BaseRequestBuilder<IsAvailableForPurchaseRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Checks whether a phone number can be purchased for the current
|
|
8
|
+
* Checks whether a phone number can be purchased for the current organization before creating or assigning it.
|
|
9
9
|
* @param body Request schema for checking phone number availability before purchase or assignment.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<PhoneNumberAvailabilityResponse>}
|
|
@@ -15,7 +15,7 @@ export interface IsAvailableForPurchaseRequestBuilder extends BaseRequestBuilder
|
|
|
15
15
|
*/
|
|
16
16
|
post(body: PhoneNumberAvailabilityRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneNumberAvailabilityResponse | undefined>;
|
|
17
17
|
/**
|
|
18
|
-
* Checks whether a phone number can be purchased for the current
|
|
18
|
+
* Checks whether a phone number can be purchased for the current organization before creating or assigning it.
|
|
19
19
|
* @param body Request schema for checking phone number availability before purchase or assignment.
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {RequestInformation}
|
|
@@ -15,7 +15,7 @@ export interface PhoneNumberItemRequestBuilder extends BaseRequestBuilder<PhoneN
|
|
|
15
15
|
*/
|
|
16
16
|
get warmup(): WarmupRequestBuilder;
|
|
17
17
|
/**
|
|
18
|
-
* Deletes a phone number from the current
|
|
18
|
+
* Deletes a phone number from the current organization when it should no longer be used for lead communication.
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
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
|
|
@@ -43,7 +43,7 @@ export interface PhoneNumberItemRequestBuilder extends BaseRequestBuilder<PhoneN
|
|
|
43
43
|
*/
|
|
44
44
|
put(body: PhoneNumberRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneNumberResponse | undefined>;
|
|
45
45
|
/**
|
|
46
|
-
* Deletes a phone number from the current
|
|
46
|
+
* Deletes a phone number from the current organization when it should no longer be used for lead communication.
|
|
47
47
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
48
48
|
* @returns {RequestInformation}
|
|
49
49
|
*/
|
package/dist/sms/send/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface SendRequestBuilder extends BaseRequestBuilder<SendRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Sends an SMS message to a lead or phone number, applying current-
|
|
8
|
+
* Sends an SMS message to a lead or phone number, applying current-organization sender selection, scheduling, and delivery rules.
|
|
9
9
|
* @param body Request schema for the Leadping API SMS send request, including the fields clients can send.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<SmsResponse>}
|
|
@@ -15,7 +15,7 @@ export interface SendRequestBuilder extends BaseRequestBuilder<SendRequestBuilde
|
|
|
15
15
|
*/
|
|
16
16
|
post(body: SendSmsRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SmsResponse | undefined>;
|
|
17
17
|
/**
|
|
18
|
-
* Sends an SMS message to a lead or phone number, applying current-
|
|
18
|
+
* Sends an SMS message to a lead or phone number, applying current-organization sender selection, scheduling, and delivery rules.
|
|
19
19
|
* @param body Request schema for the Leadping API SMS send request, including the fields clients can send.
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {RequestInformation}
|
package/dist/sources/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface SourcesRequestBuilder extends BaseRequestBuilder<SourcesRequest
|
|
|
17
17
|
*/
|
|
18
18
|
byId(id: string): SourcesItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
* Creates a lead source for the current
|
|
20
|
+
* Creates a lead source for the current organization, storing intake credentials and routing context for captured external leads.
|
|
21
21
|
* @param body Request schema for the Leadping API lead source request, including the fields clients can send.
|
|
22
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
23
|
* @returns {Promise<SourceResponse>}
|
|
@@ -26,7 +26,7 @@ export interface SourcesRequestBuilder extends BaseRequestBuilder<SourcesRequest
|
|
|
26
26
|
*/
|
|
27
27
|
post(body: SourceRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SourceResponse | undefined>;
|
|
28
28
|
/**
|
|
29
|
-
* Creates a lead source for the current
|
|
29
|
+
* Creates a lead source for the current organization, storing intake credentials and routing context for captured external leads.
|
|
30
30
|
* @param body Request schema for the Leadping API lead source request, including the fields clients can send.
|
|
31
31
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
32
|
* @returns {RequestInformation}
|
|
@@ -10,14 +10,14 @@ export interface SourcesItemRequestBuilder extends BaseRequestBuilder<SourcesIte
|
|
|
10
10
|
*/
|
|
11
11
|
get metrics(): MetricsRequestBuilder;
|
|
12
12
|
/**
|
|
13
|
-
* Deletes a lead source from the current
|
|
13
|
+
* Deletes a lead source from the current organization so it can no longer accept or route newly captured leads.
|
|
14
14
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
15
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
16
16
|
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
17
17
|
*/
|
|
18
18
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
19
19
|
/**
|
|
20
|
-
* Returns one lead source for the current
|
|
20
|
+
* Returns one lead source for the current organization, including intake settings, credentials metadata, and routing context.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<SourceResponse>}
|
|
23
23
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -25,7 +25,7 @@ export interface SourcesItemRequestBuilder extends BaseRequestBuilder<SourcesIte
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SourceResponse | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
* Updates a lead source for the current
|
|
28
|
+
* Updates a lead source for the current organization, changing intake settings, credentials, routing context, or active status.
|
|
29
29
|
* @param body Request schema for the Leadping API lead source request, including the fields clients can send.
|
|
30
30
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
31
|
* @returns {Promise<SourceResponse>}
|
|
@@ -34,19 +34,19 @@ export interface SourcesItemRequestBuilder extends BaseRequestBuilder<SourcesIte
|
|
|
34
34
|
*/
|
|
35
35
|
put(body: SourceRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SourceResponse | undefined>;
|
|
36
36
|
/**
|
|
37
|
-
* Deletes a lead source from the current
|
|
37
|
+
* Deletes a lead source from the current organization so it can no longer accept or route newly captured leads.
|
|
38
38
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
39
|
* @returns {RequestInformation}
|
|
40
40
|
*/
|
|
41
41
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
42
42
|
/**
|
|
43
|
-
* Returns one lead source for the current
|
|
43
|
+
* Returns one lead source for the current organization, including intake settings, credentials metadata, and routing context.
|
|
44
44
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
45
|
* @returns {RequestInformation}
|
|
46
46
|
*/
|
|
47
47
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
48
48
|
/**
|
|
49
|
-
* Updates a lead source for the current
|
|
49
|
+
* Updates a lead source for the current organization, changing intake settings, credentials, routing context, or active status.
|
|
50
50
|
* @param body Request schema for the Leadping API lead source request, including the fields clients can send.
|
|
51
51
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
52
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface MetricsRequestBuilder extends BaseRequestBuilder<MetricsRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Returns lead creation metrics for one
|
|
8
|
+
* Returns lead creation metrics for one organization intake source, including accepted, rejected, duplicate, validation, and recent activity counts for monitoring.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<SourceMetricsResponse>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -13,14 +13,14 @@ export interface MetricsRequestBuilder extends BaseRequestBuilder<MetricsRequest
|
|
|
13
13
|
*/
|
|
14
14
|
get(requestConfiguration?: RequestConfiguration<MetricsRequestBuilderGetQueryParameters> | undefined): Promise<SourceMetricsResponse | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
* Returns lead creation metrics for one
|
|
16
|
+
* Returns lead creation metrics for one organization intake source, including accepted, rejected, duplicate, validation, and recent activity counts for monitoring.
|
|
17
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
18
|
* @returns {RequestInformation}
|
|
19
19
|
*/
|
|
20
20
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MetricsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Returns lead creation metrics for one
|
|
23
|
+
* Returns lead creation metrics for one organization intake source, including accepted, rejected, duplicate, validation, and recent activity counts for monitoring.
|
|
24
24
|
*/
|
|
25
25
|
export interface MetricsRequestBuilderGetQueryParameters {
|
|
26
26
|
/**
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface MyRequestBuilder extends BaseRequestBuilder<MyRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Get all for current
|
|
8
|
+
* Get all for current organization
|
|
9
9
|
* @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<PagedResultOfSuppressionEntryResponse>}
|
|
@@ -13,7 +13,7 @@ export interface MyRequestBuilder extends BaseRequestBuilder<MyRequestBuilder> {
|
|
|
13
13
|
*/
|
|
14
14
|
post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PagedResultOfSuppressionEntryResponse | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
* Get all for current
|
|
16
|
+
* Get all for current organization
|
|
17
17
|
* @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
|
|
18
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
19
|
* @returns {RequestInformation}
|
package/dist/tags/index.d.ts
CHANGED
|
@@ -12,14 +12,14 @@ export interface TagsRequestBuilder extends BaseRequestBuilder<TagsRequestBuilde
|
|
|
12
12
|
*/
|
|
13
13
|
byId(id: string): TagsItemRequestBuilder;
|
|
14
14
|
/**
|
|
15
|
-
* Lists tags for the current
|
|
15
|
+
* Lists tags for the current organization, optionally including archived tags, for lead segmentation, filters, and routing labels.
|
|
16
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
17
|
* @returns {Promise<TagResponse[]>}
|
|
18
18
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
19
19
|
*/
|
|
20
20
|
get(requestConfiguration?: RequestConfiguration<TagsRequestBuilderGetQueryParameters> | undefined): Promise<TagResponse[] | undefined>;
|
|
21
21
|
/**
|
|
22
|
-
* Creates a tag for the current
|
|
22
|
+
* Creates a tag for the current organization so leads can be segmented, filtered, routed, and reviewed by label.
|
|
23
23
|
* @param body Request schema for the Leadping API tag request, including the fields clients can send.
|
|
24
24
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
25
|
* @returns {Promise<TagResponse>}
|
|
@@ -28,13 +28,13 @@ export interface TagsRequestBuilder extends BaseRequestBuilder<TagsRequestBuilde
|
|
|
28
28
|
*/
|
|
29
29
|
post(body: TagRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TagResponse | undefined>;
|
|
30
30
|
/**
|
|
31
|
-
* Lists tags for the current
|
|
31
|
+
* Lists tags for the current organization, optionally including archived tags, for lead segmentation, filters, and routing labels.
|
|
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<TagsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
36
36
|
/**
|
|
37
|
-
* Creates a tag for the current
|
|
37
|
+
* Creates a tag for the current organization so leads can be segmented, filtered, routed, and reviewed by label.
|
|
38
38
|
* @param body Request schema for the Leadping API tag request, including the fields clients can send.
|
|
39
39
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
40
|
* @returns {RequestInformation}
|
|
@@ -42,7 +42,7 @@ export interface TagsRequestBuilder extends BaseRequestBuilder<TagsRequestBuilde
|
|
|
42
42
|
toPostRequestInformation(body: TagRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
* Lists tags for the current
|
|
45
|
+
* Lists tags for the current organization, optionally including archived tags, for lead segmentation, filters, and routing labels.
|
|
46
46
|
*/
|
|
47
47
|
export interface TagsRequestBuilderGetQueryParameters {
|
|
48
48
|
includeArchived?: boolean;
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface TagsItemRequestBuilder extends BaseRequestBuilder<TagsItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Archives a tag for the current
|
|
8
|
+
* Archives a tag for the current organization so it stops being used for new segmentation while historical lead labels remain available.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<boolean>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -13,7 +13,7 @@ export interface TagsItemRequestBuilder extends BaseRequestBuilder<TagsItemReque
|
|
|
13
13
|
*/
|
|
14
14
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
* Updates a current-
|
|
16
|
+
* Updates a current-organization tag's name, color, or archived state so lead segmentation and filters stay consistent.
|
|
17
17
|
* @param body Request schema for the Leadping API tag request, including the fields clients can send.
|
|
18
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
19
|
* @returns {Promise<TagResponse>}
|
|
@@ -23,13 +23,13 @@ export interface TagsItemRequestBuilder extends BaseRequestBuilder<TagsItemReque
|
|
|
23
23
|
*/
|
|
24
24
|
put(body: TagRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TagResponse | undefined>;
|
|
25
25
|
/**
|
|
26
|
-
* Archives a tag for the current
|
|
26
|
+
* Archives a tag for the current organization so it stops being used for new segmentation while historical lead labels remain available.
|
|
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
|
-
* Updates a current-
|
|
32
|
+
* Updates a current-organization tag's name, color, or archived state so lead segmentation and filters stay consistent.
|
|
33
33
|
* @param body Request schema for the Leadping API tag 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}
|