@leadping/sdk 1.0.31 → 1.0.33
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 +9 -0
- package/dist/analytics/my/index.d.ts.map +1 -1
- package/dist/analytics/my/index.js.map +1 -1
- package/dist/automations/index.d.ts +2 -2
- package/dist/automations/item/index.d.ts +2 -2
- package/dist/automations/preview/index.d.ts +2 -2
- package/dist/contact/index.d.ts +2 -2
- package/dist/conversations/my/index.d.ts +3 -0
- package/dist/conversations/my/index.d.ts.map +1 -1
- package/dist/conversations/my/index.js.map +1 -1
- package/dist/events/all/my/index.d.ts +9 -0
- package/dist/events/all/my/index.d.ts.map +1 -1
- package/dist/events/all/my/index.js.map +1 -1
- package/dist/events/conversations/item/notes/index.d.ts +2 -2
- package/dist/events/organizations/item/index.d.ts +6 -0
- package/dist/events/organizations/item/index.d.ts.map +1 -1
- package/dist/events/organizations/item/index.js.map +1 -1
- package/dist/feedback/index.d.ts +2 -2
- package/dist/leadStatusChanges/all/my/index.d.ts +2 -2
- package/dist/leadStatuses/index.d.ts +1 -1
- package/dist/leads/all/my/index.d.ts +12 -0
- package/dist/leads/all/my/index.d.ts.map +1 -1
- package/dist/leads/all/my/index.js.map +1 -1
- package/dist/leads/index.d.ts +2 -2
- package/dist/leads/intake/index.d.ts +2 -2
- package/dist/leads/item/archive/index.d.ts +3 -3
- package/dist/leads/item/index.d.ts +2 -2
- package/dist/leads/item/tags/index.d.ts +5 -5
- package/dist/models/index.d.ts +538 -358
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +156 -2
- package/dist/models/index.js.map +1 -1
- package/dist/notifications/index.d.ts +5 -0
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +5 -0
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/push/index.d.ts +20 -0
- package/dist/notifications/push/index.d.ts.map +1 -0
- package/dist/notifications/push/index.js +20 -0
- package/dist/notifications/push/index.js.map +1 -0
- package/dist/notifications/push/installations/current/index.d.ts +32 -0
- package/dist/notifications/push/installations/current/index.d.ts.map +1 -0
- package/dist/notifications/push/installations/current/index.js +30 -0
- package/dist/notifications/push/installations/current/index.js.map +1 -0
- package/dist/notifications/push/installations/index.d.ts +27 -0
- package/dist/notifications/push/installations/index.d.ts.map +1 -0
- package/dist/notifications/push/installations/index.js +26 -0
- package/dist/notifications/push/installations/index.js.map +1 -0
- package/dist/notifications/push/installations/item/index.d.ts +28 -0
- package/dist/notifications/push/installations/item/index.d.ts.map +1 -0
- package/dist/notifications/push/installations/item/index.js +26 -0
- package/dist/notifications/push/installations/item/index.js.map +1 -0
- package/dist/organizations/invitations/accept/index.d.ts +2 -2
- package/dist/organizations/me/index.d.ts +4 -4
- package/dist/organizations/me/invitations/index.d.ts +2 -2
- package/dist/organizations/me/members/index.d.ts +2 -2
- package/dist/organizations/me/members/item/index.d.ts +2 -2
- package/dist/organizations/me/switchEscaped/index.d.ts +2 -2
- package/dist/paymentMethods/invoices/index.d.ts +1 -1
- package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts +3 -0
- package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts.map +1 -1
- package/dist/paymentMethods/invoices/item/pdfAccess/index.js.map +1 -1
- package/dist/phoneCall/initiate/index.d.ts +2 -2
- 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/phoneNumbers/outgoing/conversation/item/index.d.ts +2 -2
- package/dist/phoneNumbers/outgoing/conversation/item/override/index.d.ts +2 -2
- package/dist/phoneNumbers/outgoing/manualOverride/index.d.ts +2 -2
- package/dist/phoneNumbers/outgoing/newEscaped/index.d.ts +2 -2
- package/dist/phoneNumbers/search/index.d.ts +2 -2
- package/dist/reports/exports/index.d.ts +1 -1
- package/dist/reports/exports/item/download/index.d.ts +3 -0
- package/dist/reports/exports/item/download/index.d.ts.map +1 -1
- package/dist/reports/exports/item/download/index.js.map +1 -1
- package/dist/sms/media/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 +2 -2
- package/dist/suppressions/all/my/index.d.ts +2 -2
- package/dist/suppressions/check/index.d.ts +2 -2
- package/dist/suppressions/index.d.ts +3 -3
- package/dist/suppressions/item/index.d.ts +2 -2
- package/dist/suppressions/release/index.d.ts +2 -2
- package/dist/tags/index.d.ts +6 -3
- package/dist/tags/index.d.ts.map +1 -1
- package/dist/tags/index.js.map +1 -1
- package/dist/tags/item/index.d.ts +2 -2
- package/dist/transactions/all/my/index.d.ts +6 -0
- package/dist/transactions/all/my/index.d.ts.map +1 -1
- package/dist/transactions/all/my/index.js.map +1 -1
- package/dist/users/changeBillingPlan/index.d.ts +2 -2
- package/dist/users/compliance/index.d.ts +2 -2
- package/dist/users/me/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { type AnnouncementsRequestBuilder } from './announcements/index.js';
|
|
|
2
2
|
import { type NotificationsItemRequestBuilder } from './item/index.js';
|
|
3
3
|
import { type MarkAllReadRequestBuilder } from './markAllRead/index.js';
|
|
4
4
|
import { type MeRequestBuilder } from './me/index.js';
|
|
5
|
+
import { type PushRequestBuilder } from './push/index.js';
|
|
5
6
|
import { type UnreadCountRequestBuilder } from './unreadCount/index.js';
|
|
6
7
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
7
8
|
/**
|
|
@@ -20,6 +21,10 @@ export interface NotificationsRequestBuilder extends BaseRequestBuilder<Notifica
|
|
|
20
21
|
* The me property
|
|
21
22
|
*/
|
|
22
23
|
get me(): MeRequestBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* The push property
|
|
26
|
+
*/
|
|
27
|
+
get push(): PushRequestBuilder;
|
|
23
28
|
/**
|
|
24
29
|
* The unreadCount property
|
|
25
30
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../notifications/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+C,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEzH,OAAO,EAAsG,KAAK,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAE3K,OAAO,EAA6C,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnH,OAAO,EAAoC,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAExF,OAAO,EAAE,KAAK,yBAAyB,EAA6C,MAAM,wBAAwB,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,aAAa,IAAI,2BAA2B,CAAC;IACjD;;OAEG;IACH,IAAI,WAAW,IAAI,yBAAyB,CAAC;IAC7C;;OAEG;IACH,IAAI,EAAE,IAAI,gBAAgB,CAAC;IAC3B;;OAEG;IACH,IAAI,WAAW,IAAI,yBAAyB,CAAC;IAC7C;;;;OAIG;IACF,IAAI,CAAC,EAAE,EAAE,MAAM,GAAI,+BAA+B,CAAC;CACvD;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,6BAA6B,CAAC;AACjF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../notifications/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+C,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEzH,OAAO,EAAsG,KAAK,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAE3K,OAAO,EAA6C,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnH,OAAO,EAAoC,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAExF,OAAO,EAAwC,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEhG,OAAO,EAAE,KAAK,yBAAyB,EAA6C,MAAM,wBAAwB,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,aAAa,IAAI,2BAA2B,CAAC;IACjD;;OAEG;IACH,IAAI,WAAW,IAAI,yBAAyB,CAAC;IAC7C;;OAEG;IACH,IAAI,EAAE,IAAI,gBAAgB,CAAC;IAC3B;;OAEG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAAC;IAC/B;;OAEG;IACH,IAAI,WAAW,IAAI,yBAAyB,CAAC;IAC7C;;;;OAIG;IACF,IAAI,CAAC,EAAE,EAAE,MAAM,GAAI,+BAA+B,CAAC;CACvD;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,6BAA6B,CAAC;AACjF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAqBpK,CAAC"}
|
|
@@ -10,6 +10,8 @@ import { MarkAllReadRequestBuilderRequestsMetadata } from './markAllRead/index.j
|
|
|
10
10
|
// @ts-ignore
|
|
11
11
|
import { MeRequestBuilderRequestsMetadata } from './me/index.js';
|
|
12
12
|
// @ts-ignore
|
|
13
|
+
import { PushRequestBuilderNavigationMetadata } from './push/index.js';
|
|
14
|
+
// @ts-ignore
|
|
13
15
|
import { UnreadCountRequestBuilderRequestsMetadata } from './unreadCount/index.js';
|
|
14
16
|
/**
|
|
15
17
|
* Uri template for the request builder.
|
|
@@ -33,6 +35,9 @@ export const NotificationsRequestBuilderNavigationMetadata = {
|
|
|
33
35
|
me: {
|
|
34
36
|
requestsMetadata: MeRequestBuilderRequestsMetadata,
|
|
35
37
|
},
|
|
38
|
+
push: {
|
|
39
|
+
navigationMetadata: PushRequestBuilderNavigationMetadata,
|
|
40
|
+
},
|
|
36
41
|
unreadCount: {
|
|
37
42
|
requestsMetadata: UnreadCountRequestBuilderRequestsMetadata,
|
|
38
43
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../notifications/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAoC,MAAM,0BAA0B,CAAC;AACzH,aAAa;AACb,OAAO,EAAE,iDAAiD,EAAE,+CAA+C,EAAwC,MAAM,iBAAiB,CAAC;AAC3K,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAkC,MAAM,wBAAwB,CAAC;AACnH,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAyB,MAAM,eAAe,CAAC;AACxF,aAAa;AACb,OAAO,EAAkC,yCAAyC,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../notifications/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAoC,MAAM,0BAA0B,CAAC;AACzH,aAAa;AACb,OAAO,EAAE,iDAAiD,EAAE,+CAA+C,EAAwC,MAAM,iBAAiB,CAAC;AAC3K,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAkC,MAAM,wBAAwB,CAAC;AACnH,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAyB,MAAM,eAAe,CAAC;AACxF,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA2B,MAAM,iBAAiB,CAAC;AAChG,aAAa;AACb,OAAO,EAAkC,yCAAyC,EAAE,MAAM,wBAAwB,CAAC;AAmCnH;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,0BAA0B,CAAC;AACjF;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAA+G;IACrK,IAAI,EAAE;QACF,gBAAgB,EAAE,+CAA+C;QACjE,kBAAkB,EAAE,iDAAiD;QACrE,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;IACD,aAAa,EAAE;QACX,gBAAgB,EAAE,2CAA2C;KAChE;IACD,WAAW,EAAE;QACT,gBAAgB,EAAE,yCAAyC;KAC9D;IACD,EAAE,EAAE;QACA,gBAAgB,EAAE,gCAAgC;KACrD;IACD,IAAI,EAAE;QACF,kBAAkB,EAAE,oCAAoC;KAC3D;IACD,WAAW,EAAE;QACT,gBAAgB,EAAE,yCAAyC;KAC9D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type InstallationsRequestBuilder } from './installations/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /notifications/push
|
|
5
|
+
*/
|
|
6
|
+
export interface PushRequestBuilder extends BaseRequestBuilder<PushRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The installations property
|
|
9
|
+
*/
|
|
10
|
+
get installations(): InstallationsRequestBuilder;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export declare const PushRequestBuilderUriTemplate = "{+baseurl}/notifications/push";
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the navigation properties in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export declare const PushRequestBuilderNavigationMetadata: Record<Exclude<keyof PushRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../notifications/push/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiD,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAE3H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;IAC9E;;OAEG;IACH,IAAI,aAAa,IAAI,2BAA2B,CAAC;CACpD;AACD;;GAEG;AACH,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,kBAAkB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIlJ,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { InstallationsRequestBuilderNavigationMetadata } from './installations/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const PushRequestBuilderUriTemplate = "{+baseurl}/notifications/push";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the navigation properties in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const PushRequestBuilderNavigationMetadata = {
|
|
14
|
+
installations: {
|
|
15
|
+
navigationMetadata: InstallationsRequestBuilderNavigationMetadata,
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
/* tslint:enable */
|
|
19
|
+
/* eslint-enable */
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../notifications/push/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAoC,MAAM,0BAA0B,CAAC;AAa3H;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,+BAA+B,CAAC;AAC7E;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAsG;IACnJ,aAAa,EAAE;QACX,kBAAkB,EAAE,6CAA6C;KACpE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type PushInstallationRequest } 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 /notifications/push/installations/current
|
|
5
|
+
*/
|
|
6
|
+
export interface CurrentRequestBuilder extends BaseRequestBuilder<CurrentRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Registers or refreshes the authenticated user's mobile push installation so Leadping can deliver account and workflow notifications to the device.
|
|
9
|
+
* @param body Describes a mobile push installation. Identity and Azure tags are derived by the API.
|
|
10
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
|
+
* @returns {Promise<boolean>}
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
13
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
14
|
+
*/
|
|
15
|
+
put(body: PushInstallationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* Registers or refreshes the authenticated user's mobile push installation so Leadping can deliver account and workflow notifications to the device.
|
|
18
|
+
* @param body Describes a mobile push installation. Identity and Azure tags are derived by the API.
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns {RequestInformation}
|
|
21
|
+
*/
|
|
22
|
+
toPutRequestInformation(body: PushInstallationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Uri template for the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const CurrentRequestBuilderUriTemplate = "{+baseurl}/notifications/push/installations/current";
|
|
28
|
+
/**
|
|
29
|
+
* Metadata for all the requests in the request builder.
|
|
30
|
+
*/
|
|
31
|
+
export declare const CurrentRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../notifications/push/installations/current/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqG,KAAK,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAE9K,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;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACpI;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,wDAAwD,CAAC;AACtG;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAcnD,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createProblemDetailsFromDiscriminatorValue, serializePushInstallationRequest } from '../../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CurrentRequestBuilderUriTemplate = "{+baseurl}/notifications/push/installations/current";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const CurrentRequestBuilderRequestsMetadata = {
|
|
14
|
+
put: {
|
|
15
|
+
uriTemplate: CurrentRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
400: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
},
|
|
21
|
+
adapterMethodName: "sendPrimitive",
|
|
22
|
+
responseBodyFactory: "boolean",
|
|
23
|
+
requestBodyContentType: "application/json",
|
|
24
|
+
requestBodySerializer: serializePushInstallationRequest,
|
|
25
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
/* tslint:enable */
|
|
29
|
+
/* eslint-enable */
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../notifications/push/installations/current/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,gCAAgC,EAAqD,MAAM,6BAA6B,CAAC;AAyB9K;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,qDAAqD,CAAC;AACtG;;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;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,SAAS;QAC/B,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gCAAgC;QACvD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type CurrentRequestBuilder } from './current/index.js';
|
|
2
|
+
import { type WithInstallationItemRequestBuilder } from './item/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Builds and executes requests for operations under /notifications/push/installations
|
|
6
|
+
*/
|
|
7
|
+
export interface InstallationsRequestBuilder extends BaseRequestBuilder<InstallationsRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* The current property
|
|
10
|
+
*/
|
|
11
|
+
get current(): CurrentRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Gets an item from the leadping.notifications.push.installations.item collection
|
|
14
|
+
* @param installationId The stable mobile installation identifier to unregister.
|
|
15
|
+
* @returns {WithInstallationItemRequestBuilder}
|
|
16
|
+
*/
|
|
17
|
+
byInstallationId(installationId: string): WithInstallationItemRequestBuilder;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Uri template for the request builder.
|
|
21
|
+
*/
|
|
22
|
+
export declare const InstallationsRequestBuilderUriTemplate = "{+baseurl}/notifications/push/installations";
|
|
23
|
+
/**
|
|
24
|
+
* Metadata for all the navigation properties in the request builder.
|
|
25
|
+
*/
|
|
26
|
+
export declare const InstallationsRequestBuilderNavigationMetadata: Record<Exclude<keyof InstallationsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../notifications/push/installations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,OAAO,EAAE,KAAK,kCAAkC,EAAsD,MAAM,iBAAiB,CAAC;AAE9H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;OAIG;IACF,gBAAgB,CAAC,cAAc,EAAE,MAAM,GAAI,kCAAkC,CAAC;CAClF;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,gDAAgD,CAAC;AACpG;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQpK,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { CurrentRequestBuilderRequestsMetadata } from './current/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { WithInstallationItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const InstallationsRequestBuilderUriTemplate = "{+baseurl}/notifications/push/installations";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the navigation properties in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const InstallationsRequestBuilderNavigationMetadata = {
|
|
16
|
+
byInstallationId: {
|
|
17
|
+
requestsMetadata: WithInstallationItemRequestBuilderRequestsMetadata,
|
|
18
|
+
pathParametersMappings: ["installationId"],
|
|
19
|
+
},
|
|
20
|
+
current: {
|
|
21
|
+
requestsMetadata: CurrentRequestBuilderRequestsMetadata,
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
/* tslint:enable */
|
|
25
|
+
/* eslint-enable */
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../notifications/push/installations/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAA2C,kDAAkD,EAAE,MAAM,iBAAiB,CAAC;AAmB9H;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,6CAA6C,CAAC;AACpG;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAA+G;IACrK,gBAAgB,EAAE;QACd,gBAAgB,EAAE,kDAAkD;QACpE,sBAAsB,EAAE,CAAC,gBAAgB,CAAC;KAC7C;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Builds and executes requests for operations under /notifications/push/installations/{installationId}
|
|
4
|
+
*/
|
|
5
|
+
export interface WithInstallationItemRequestBuilder extends BaseRequestBuilder<WithInstallationItemRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Removes a mobile push installation from the authenticated user's account so Leadping no longer sends notifications to that device.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns {Promise<boolean>}
|
|
10
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Removes a mobile push installation from the authenticated user's account so Leadping no longer sends notifications to that device.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const WithInstallationItemRequestBuilderUriTemplate = "{+baseurl}/notifications/push/installations/{installationId}";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const WithInstallationItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../notifications/push/installations/item/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,kCAAmC,SAAQ,kBAAkB,CAAC,kCAAkC,CAAC;IAC9G;;;;;OAKG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACxG;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrH;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,iEAAiE,CAAC;AAC5H;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBAUhE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createProblemDetailsFromDiscriminatorValue } from '../../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const WithInstallationItemRequestBuilderUriTemplate = "{+baseurl}/notifications/push/installations/{installationId}";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const WithInstallationItemRequestBuilderRequestsMetadata = {
|
|
14
|
+
delete: {
|
|
15
|
+
uriTemplate: WithInstallationItemRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
},
|
|
20
|
+
adapterMethodName: "sendPrimitive",
|
|
21
|
+
responseBodyFactory: "boolean",
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
/* tslint:enable */
|
|
25
|
+
/* eslint-enable */
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../notifications/push/installations/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,6BAA6B,CAAC;AAsB9G;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAG,8DAA8D,CAAC;AAC5H;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAqB;IAChF,MAAM,EAAE;QACJ,WAAW,EAAE,6CAA6C;QAC1D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,SAAS;KAClC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -6,7 +6,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
6
6
|
export interface AcceptRequestBuilder extends BaseRequestBuilder<AcceptRequestBuilder> {
|
|
7
7
|
/**
|
|
8
8
|
* Accepts an organization invitation for the signed-in user, creating membership and setting organization access context.
|
|
9
|
-
* @param body
|
|
9
|
+
* @param body Defines the input used for accept organization invitation.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<OrganizationInvitationResponse>}
|
|
12
12
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -14,7 +14,7 @@ export interface AcceptRequestBuilder extends BaseRequestBuilder<AcceptRequestBu
|
|
|
14
14
|
post(body: AcceptOrganizationInvitationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationInvitationResponse | undefined>;
|
|
15
15
|
/**
|
|
16
16
|
* Accepts an organization invitation for the signed-in user, creating membership and setting organization access context.
|
|
17
|
-
* @param body
|
|
17
|
+
* @param body Defines the input used for accept organization invitation.
|
|
18
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
19
|
* @returns {RequestInformation}
|
|
20
20
|
*/
|
|
@@ -39,7 +39,7 @@ export interface MeRequestBuilder extends BaseRequestBuilder<MeRequestBuilder> {
|
|
|
39
39
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationResponse | undefined>;
|
|
40
40
|
/**
|
|
41
41
|
* Creates an organization account for the authenticated user, assigns them as its owner, and makes it their active organization context.
|
|
42
|
-
* @param body
|
|
42
|
+
* @param body Defines the fields clients can send when working with organization profile.
|
|
43
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
44
|
* @returns {Promise<OrganizationResponse>}
|
|
45
45
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -48,7 +48,7 @@ export interface MeRequestBuilder extends BaseRequestBuilder<MeRequestBuilder> {
|
|
|
48
48
|
post(body: OrganizationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationResponse | undefined>;
|
|
49
49
|
/**
|
|
50
50
|
* Updates the authenticated user's current organization profile, including contact, settings, and communication configuration.
|
|
51
|
-
* @param body
|
|
51
|
+
* @param body Defines the fields clients can send when working with organization profile.
|
|
52
52
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
53
53
|
* @returns {Promise<OrganizationResponse>}
|
|
54
54
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -63,14 +63,14 @@ export interface MeRequestBuilder extends BaseRequestBuilder<MeRequestBuilder> {
|
|
|
63
63
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
64
64
|
/**
|
|
65
65
|
* Creates an organization account for the authenticated user, assigns them as its owner, and makes it their active organization context.
|
|
66
|
-
* @param body
|
|
66
|
+
* @param body Defines the fields clients can send when working with organization profile.
|
|
67
67
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
68
68
|
* @returns {RequestInformation}
|
|
69
69
|
*/
|
|
70
70
|
toPostRequestInformation(body: OrganizationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
71
71
|
/**
|
|
72
72
|
* Updates the authenticated user's current organization profile, including contact, settings, and communication configuration.
|
|
73
|
-
* @param body
|
|
73
|
+
* @param body Defines the fields clients can send when working with organization profile.
|
|
74
74
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
75
75
|
* @returns {RequestInformation}
|
|
76
76
|
*/
|
|
@@ -20,7 +20,7 @@ export interface InvitationsRequestBuilder extends BaseRequestBuilder<Invitation
|
|
|
20
20
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationInvitationTableRow[] | undefined>;
|
|
21
21
|
/**
|
|
22
22
|
* Creates an invitation for the current organization so another user can join with the requested role and account access.
|
|
23
|
-
* @param body
|
|
23
|
+
* @param body Defines the input used for organization invitation.
|
|
24
24
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
25
|
* @returns {Promise<OrganizationInvitationResponse>}
|
|
26
26
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -35,7 +35,7 @@ export interface InvitationsRequestBuilder extends BaseRequestBuilder<Invitation
|
|
|
35
35
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
36
36
|
/**
|
|
37
37
|
* Creates an invitation for the current organization so another user can join with the requested role and account access.
|
|
38
|
-
* @param body
|
|
38
|
+
* @param body Defines the input used 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
|
*/
|
|
@@ -20,7 +20,7 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
|
|
|
20
20
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationMemberTableRow[] | undefined>;
|
|
21
21
|
/**
|
|
22
22
|
* Adds an existing user to the current organization with the requested role for shared lead communication and account access.
|
|
23
|
-
* @param body
|
|
23
|
+
* @param body Defines the fields clients can send when working with organization user.
|
|
24
24
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
25
|
* @returns {Promise<OrganizationMemberResponse>}
|
|
26
26
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -36,7 +36,7 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
|
|
|
36
36
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
37
37
|
/**
|
|
38
38
|
* Adds an existing user to the current organization with the requested role for shared lead communication and account access.
|
|
39
|
-
* @param body
|
|
39
|
+
* @param body Defines the fields clients can send when working with organization user.
|
|
40
40
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
41
|
* @returns {RequestInformation}
|
|
42
42
|
*/
|
|
@@ -14,7 +14,7 @@ export interface WithUserItemRequestBuilder extends BaseRequestBuilder<WithUserI
|
|
|
14
14
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
15
15
|
/**
|
|
16
16
|
* Changes a user's role in the current organization, updating access to lead, automation, billing, and admin workflows.
|
|
17
|
-
* @param body
|
|
17
|
+
* @param body Defines the fields clients can send when working with organization user.
|
|
18
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
19
|
* @returns {Promise<OrganizationMemberResponse>}
|
|
20
20
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -30,7 +30,7 @@ export interface WithUserItemRequestBuilder extends BaseRequestBuilder<WithUserI
|
|
|
30
30
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
31
31
|
/**
|
|
32
32
|
* Changes a user's role in the current organization, updating access to lead, automation, billing, and admin workflows.
|
|
33
|
-
* @param body
|
|
33
|
+
* @param body Defines the fields clients can send when working with organization user.
|
|
34
34
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
35
|
* @returns {RequestInformation}
|
|
36
36
|
*/
|
|
@@ -6,7 +6,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
6
6
|
export interface SwitchRequestBuilder extends BaseRequestBuilder<SwitchRequestBuilder> {
|
|
7
7
|
/**
|
|
8
8
|
* Switches the authenticated user's active organization context so subsequent lead, billing, and communication requests target that organization.
|
|
9
|
-
* @param body
|
|
9
|
+
* @param body Defines the fields clients can send when working with organization switch.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<OrganizationResponse>}
|
|
12
12
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -15,7 +15,7 @@ export interface SwitchRequestBuilder extends BaseRequestBuilder<SwitchRequestBu
|
|
|
15
15
|
post(body: OrganizationSwitchRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationResponse | undefined>;
|
|
16
16
|
/**
|
|
17
17
|
* Switches the authenticated user's active organization context so subsequent lead, billing, and communication requests target that organization.
|
|
18
|
-
* @param body
|
|
18
|
+
* @param body Defines the fields clients can send when working with organization switch.
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
20
|
* @returns {RequestInformation}
|
|
21
21
|
*/
|
|
@@ -7,7 +7,7 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
|
|
|
7
7
|
export interface InvoicesRequestBuilder extends BaseRequestBuilder<InvoicesRequestBuilder> {
|
|
8
8
|
/**
|
|
9
9
|
* Gets an item from the leadping.paymentMethods.invoices.item collection
|
|
10
|
-
* @param invoiceId
|
|
10
|
+
* @param invoiceId The Stripe invoice identifier whose PDF should be accessed.
|
|
11
11
|
* @returns {WithInvoiceItemRequestBuilder}
|
|
12
12
|
*/
|
|
13
13
|
byInvoiceId(invoiceId: string): WithInvoiceItemRequestBuilder;
|
|
@@ -22,6 +22,9 @@ export interface PdfAccessRequestBuilder extends BaseRequestBuilder<PdfAccessReq
|
|
|
22
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
|
+
/**
|
|
26
|
+
* Whether the secure URL should download the PDF instead of displaying it inline.
|
|
27
|
+
*/
|
|
25
28
|
download?: boolean;
|
|
26
29
|
}
|
|
27
30
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../paymentMethods/invoices/item/pdfAccess/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoG,KAAK,wBAAwB,EAAuB,MAAM,6BAA6B,CAAC;AAEnM,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,2EAA2E,CAAC;AAC3H;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAUrD,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../paymentMethods/invoices/item/pdfAccess/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoG,KAAK,wBAAwB,EAAuB,MAAM,6BAA6B,CAAC;AAEnM,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,2EAA2E,CAAC;AAC3H;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAUrD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../paymentMethods/invoices/item/pdfAccess/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,oDAAoD,EAAE,0CAA0C,EAAsD,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../paymentMethods/invoices/item/pdfAccess/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,oDAAoD,EAAE,0CAA0C,EAAsD,MAAM,6BAA6B,CAAC;AA+BnM;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,wEAAwE,CAAC;AAC3H;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAqB;IACrE,GAAG,EAAE;QACD,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oDAAoD;KAC7E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -6,7 +6,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
6
6
|
export interface InitiateRequestBuilder extends BaseRequestBuilder<InitiateRequestBuilder> {
|
|
7
7
|
/**
|
|
8
8
|
* Starts an outbound Leadping phone call for an authenticated user and returns the provider call identifiers, status, and routing details.
|
|
9
|
-
* @param body
|
|
9
|
+
* @param body Defines the fields clients can send when working with phone call initiation.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<PhoneCallResponse>}
|
|
12
12
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -15,7 +15,7 @@ export interface InitiateRequestBuilder extends BaseRequestBuilder<InitiateReque
|
|
|
15
15
|
post(body: InitiateCallRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
|
|
16
16
|
/**
|
|
17
17
|
* Starts an outbound Leadping phone call for an authenticated user and returns the provider call identifiers, status, and routing details.
|
|
18
|
-
* @param body
|
|
18
|
+
* @param body Defines the fields clients can send when working with phone call initiation.
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
20
|
* @returns {RequestInformation}
|
|
21
21
|
*/
|
|
@@ -33,7 +33,7 @@ export interface PhoneNumbersRequestBuilder extends BaseRequestBuilder<PhoneNumb
|
|
|
33
33
|
byPhoneNumberId(phoneNumberId: string): PhoneNumberItemRequestBuilder;
|
|
34
34
|
/**
|
|
35
35
|
* Purchases or creates a phone number for the current organization so it can be assigned to messaging, calls, and lead follow-up.
|
|
36
|
-
* @param body
|
|
36
|
+
* @param body Defines the fields clients can send when working with phone number update.
|
|
37
37
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
38
|
* @returns {Promise<PhoneNumberResponse>}
|
|
39
39
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -43,7 +43,7 @@ export interface PhoneNumbersRequestBuilder extends BaseRequestBuilder<PhoneNumb
|
|
|
43
43
|
post(body: PhoneNumberRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneNumberResponse | undefined>;
|
|
44
44
|
/**
|
|
45
45
|
* Purchases or creates a phone number for the current organization so it can be assigned to messaging, calls, and lead follow-up.
|
|
46
|
-
* @param body
|
|
46
|
+
* @param body Defines the fields clients can send when working with phone number update.
|
|
47
47
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
48
48
|
* @returns {RequestInformation}
|
|
49
49
|
*/
|
|
@@ -6,7 +6,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
6
6
|
export interface IsAvailableForPurchaseRequestBuilder extends BaseRequestBuilder<IsAvailableForPurchaseRequestBuilder> {
|
|
7
7
|
/**
|
|
8
8
|
* Checks whether a phone number can be purchased for the current organization before creating or assigning it.
|
|
9
|
-
* @param body
|
|
9
|
+
* @param body Defines the phone number and capability requirements Leadping should verify 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>}
|
|
12
12
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -16,7 +16,7 @@ export interface IsAvailableForPurchaseRequestBuilder extends BaseRequestBuilder
|
|
|
16
16
|
post(body: PhoneNumberAvailabilityRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneNumberAvailabilityResponse | undefined>;
|
|
17
17
|
/**
|
|
18
18
|
* Checks whether a phone number can be purchased for the current organization before creating or assigning it.
|
|
19
|
-
* @param body
|
|
19
|
+
* @param body Defines the phone number and capability requirements Leadping should verify before purchase or assignment.
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {RequestInformation}
|
|
22
22
|
*/
|
|
@@ -33,7 +33,7 @@ export interface PhoneNumberItemRequestBuilder extends BaseRequestBuilder<PhoneN
|
|
|
33
33
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneNumberResponse | undefined>;
|
|
34
34
|
/**
|
|
35
35
|
* Updates phone number settings such as its optional label, assignment, messaging options, or warmup configuration.
|
|
36
|
-
* @param body
|
|
36
|
+
* @param body Defines the fields clients can send when working with phone number update.
|
|
37
37
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
38
|
* @returns {Promise<PhoneNumberResponse>}
|
|
39
39
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -56,7 +56,7 @@ export interface PhoneNumberItemRequestBuilder extends BaseRequestBuilder<PhoneN
|
|
|
56
56
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
57
57
|
/**
|
|
58
58
|
* Updates phone number settings such as its optional label, assignment, messaging options, or warmup configuration.
|
|
59
|
-
* @param body
|
|
59
|
+
* @param body Defines the fields clients can send when working with phone number update.
|
|
60
60
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
61
61
|
* @returns {RequestInformation}
|
|
62
62
|
*/
|
|
@@ -11,7 +11,7 @@ export interface WithConversationItemRequestBuilder extends BaseRequestBuilder<W
|
|
|
11
11
|
get override(): OverrideRequestBuilder;
|
|
12
12
|
/**
|
|
13
13
|
* Selects the outgoing phone number for an existing conversation, considering assignments, overrides, and delivery eligibility.
|
|
14
|
-
* @param body
|
|
14
|
+
* @param body Defines the fields clients can send when working with outgoing number selection.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {Promise<OutgoingNumberSelectionResponse>}
|
|
17
17
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -20,7 +20,7 @@ export interface WithConversationItemRequestBuilder extends BaseRequestBuilder<W
|
|
|
20
20
|
post(body: OutgoingNumberSelectionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OutgoingNumberSelectionResponse | undefined>;
|
|
21
21
|
/**
|
|
22
22
|
* Selects the outgoing phone number for an existing conversation, considering assignments, overrides, and delivery eligibility.
|
|
23
|
-
* @param body
|
|
23
|
+
* @param body Defines the fields clients can send when working with outgoing number selection.
|
|
24
24
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
25
|
* @returns {RequestInformation}
|
|
26
26
|
*/
|
|
@@ -14,7 +14,7 @@ export interface OverrideRequestBuilder extends BaseRequestBuilder<OverrideReque
|
|
|
14
14
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OutgoingNumberSelectionResponse | undefined>;
|
|
15
15
|
/**
|
|
16
16
|
* Sets the outgoing phone number override for a conversation so future lead messages use the selected eligible number.
|
|
17
|
-
* @param body
|
|
17
|
+
* @param body Defines the fields clients can send when working with outgoing number manual override.
|
|
18
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
19
|
* @returns {Promise<OutgoingNumberSelectionResponse>}
|
|
20
20
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -29,7 +29,7 @@ export interface OverrideRequestBuilder extends BaseRequestBuilder<OverrideReque
|
|
|
29
29
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
30
30
|
/**
|
|
31
31
|
* Sets the outgoing phone number override for a conversation so future lead messages use the selected eligible number.
|
|
32
|
-
* @param body
|
|
32
|
+
* @param body Defines the fields clients can send when working with outgoing number manual override.
|
|
33
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
34
|
* @returns {RequestInformation}
|
|
35
35
|
*/
|