@leadping/sdk 1.0.23 → 1.0.25
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/businesses/me/index.d.ts +7 -2
- package/dist/businesses/me/index.d.ts.map +1 -1
- package/dist/businesses/me/index.js +5 -0
- package/dist/businesses/me/index.js.map +1 -1
- package/dist/businesses/me/oneZerodlc/index.d.ts +20 -0
- package/dist/businesses/me/oneZerodlc/index.d.ts.map +1 -0
- package/dist/businesses/me/oneZerodlc/index.js +20 -0
- package/dist/businesses/me/oneZerodlc/index.js.map +1 -0
- package/dist/businesses/me/oneZerodlc/notes/index.d.ts +32 -0
- package/dist/businesses/me/oneZerodlc/notes/index.d.ts.map +1 -0
- package/dist/businesses/me/oneZerodlc/notes/index.js +30 -0
- package/dist/businesses/me/oneZerodlc/notes/index.js.map +1 -0
- package/dist/leadStatuses/index.d.ts +4 -4
- package/dist/leadStatuses/item/index.d.ts +4 -4
- package/dist/models/index.d.ts +377 -162
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +334 -158
- package/dist/models/index.js.map +1 -1
- package/dist/notifications/index.d.ts +1 -1
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +2 -1
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/item/index.d.ts +20 -1
- package/dist/notifications/item/index.d.ts.map +1 -1
- package/dist/notifications/item/index.js +17 -0
- package/dist/notifications/item/index.js.map +1 -1
- package/dist/notifications/me/index.d.ts +16 -3
- package/dist/notifications/me/index.d.ts.map +1 -1
- package/dist/notifications/me/index.js +1 -1
- package/dist/notifications/me/index.js.map +1 -1
- package/dist/paymentMethods/index.d.ts +2 -2
- package/dist/paymentMethods/index.d.ts.map +1 -1
- package/dist/paymentMethods/index.js +2 -1
- package/dist/paymentMethods/index.js.map +1 -1
- package/dist/paymentMethods/invoices/index.d.ts +14 -3
- package/dist/paymentMethods/invoices/index.d.ts.map +1 -1
- package/dist/paymentMethods/invoices/index.js +11 -0
- package/dist/paymentMethods/invoices/index.js.map +1 -1
- package/dist/paymentMethods/invoices/item/index.d.ts +20 -0
- package/dist/paymentMethods/invoices/item/index.d.ts.map +1 -0
- package/dist/paymentMethods/invoices/item/index.js +20 -0
- package/dist/paymentMethods/invoices/item/index.js.map +1 -0
- package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts +35 -0
- package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts.map +1 -0
- package/dist/paymentMethods/invoices/item/pdfAccess/index.js +26 -0
- package/dist/paymentMethods/invoices/item/pdfAccess/index.js.map +1 -0
- package/dist/paymentMethods/item/defaultEscaped/index.d.ts +2 -2
- package/dist/phoneNumbers/item/index.d.ts +2 -2
- package/dist/phoneNumbers/item/status/index.d.ts +3 -3
- package/dist/phoneNumbers/item/warmup/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type BusinessRequest, type BusinessResponse } from '../../models/index.js';
|
|
2
2
|
import { type InvitationsRequestBuilder } from './invitations/index.js';
|
|
3
|
+
import { type OneZerodlcRequestBuilder } from './oneZerodlc/index.js';
|
|
3
4
|
import { type OptionsRequestBuilder } from './options/index.js';
|
|
4
5
|
import { type SwitchRequestBuilder } from './switchEscaped/index.js';
|
|
5
6
|
import { type UsersRequestBuilder } from './users/index.js';
|
|
@@ -12,6 +13,10 @@ export interface MeRequestBuilder extends BaseRequestBuilder<MeRequestBuilder> {
|
|
|
12
13
|
* The invitations property
|
|
13
14
|
*/
|
|
14
15
|
get invitations(): InvitationsRequestBuilder;
|
|
16
|
+
/**
|
|
17
|
+
* The OneZerodlc property
|
|
18
|
+
*/
|
|
19
|
+
get oneZerodlc(): OneZerodlcRequestBuilder;
|
|
15
20
|
/**
|
|
16
21
|
* The optionsPath property
|
|
17
22
|
*/
|
|
@@ -33,7 +38,7 @@ export interface MeRequestBuilder extends BaseRequestBuilder<MeRequestBuilder> {
|
|
|
33
38
|
*/
|
|
34
39
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BusinessResponse | undefined>;
|
|
35
40
|
/**
|
|
36
|
-
* Creates a business
|
|
41
|
+
* Creates a business account for the authenticated user, assigns them as its owner, and makes it their active business context.
|
|
37
42
|
* @param body Request schema for the Leadping API business profile request, including the fields clients can send.
|
|
38
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
44
|
* @returns {Promise<BusinessResponse>}
|
|
@@ -57,7 +62,7 @@ export interface MeRequestBuilder extends BaseRequestBuilder<MeRequestBuilder> {
|
|
|
57
62
|
*/
|
|
58
63
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
59
64
|
/**
|
|
60
|
-
* Creates a business
|
|
65
|
+
* Creates a business account for the authenticated user, assigns them as its owner, and makes it their active business context.
|
|
61
66
|
* @param body Request schema for the Leadping API business profile request, including the fields clients can send.
|
|
62
67
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
63
68
|
* @returns {RequestInformation}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../businesses/me/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiJ,KAAK,eAAe,EAAE,KAAK,gBAAgB,EAAuB,MAAM,uBAAuB,CAAC;AAExP,OAAO,EAA0F,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEhK,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAE3G,OAAO,EAAE,KAAK,mBAAmB,EAA8E,MAAM,kBAAkB,CAAC;AAExI,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B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OAOG;IACF,IAAI,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IACtI;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IACrI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACvI;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzI;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,6BAA6B,CAAC;AACtE;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gBAAgB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAkB9I,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAqC9C,CAAC"}
|
|
@@ -6,6 +6,8 @@ import { createBusinessResponseFromDiscriminatorValue, createProblemDetailsFromD
|
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { InvitationsRequestBuilderNavigationMetadata, InvitationsRequestBuilderRequestsMetadata } from './invitations/index.js';
|
|
8
8
|
// @ts-ignore
|
|
9
|
+
import { OneZerodlcRequestBuilderNavigationMetadata } from './oneZerodlc/index.js';
|
|
10
|
+
// @ts-ignore
|
|
9
11
|
import { OptionsRequestBuilderRequestsMetadata } from './options/index.js';
|
|
10
12
|
// @ts-ignore
|
|
11
13
|
import { SwitchRequestBuilderRequestsMetadata } from './switchEscaped/index.js';
|
|
@@ -23,6 +25,9 @@ export const MeRequestBuilderNavigationMetadata = {
|
|
|
23
25
|
requestsMetadata: InvitationsRequestBuilderRequestsMetadata,
|
|
24
26
|
navigationMetadata: InvitationsRequestBuilderNavigationMetadata,
|
|
25
27
|
},
|
|
28
|
+
oneZerodlc: {
|
|
29
|
+
navigationMetadata: OneZerodlcRequestBuilderNavigationMetadata,
|
|
30
|
+
},
|
|
26
31
|
optionsPath: {
|
|
27
32
|
requestsMetadata: OptionsRequestBuilderRequestsMetadata,
|
|
28
33
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../businesses/me/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,wBAAwB,EAA+F,MAAM,uBAAuB,CAAC;AACxP,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAE,yCAAyC,EAAkC,MAAM,wBAAwB,CAAC;AAChK,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,0BAA0B,CAAC;AAC3G,aAAa;AACb,OAAO,EAA4B,qCAAqC,EAAE,mCAAmC,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../businesses/me/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,wBAAwB,EAA+F,MAAM,uBAAuB,CAAC;AACxP,aAAa;A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B,mBAAmB,EAAG,4CAA4C;QAClE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,wBAAwB;QAC/C,kCAAkC,EAAE,wBAAwB;KAC/D;IACD,GAAG,EAAE;QACD,WAAW,EAAE,2BAA2B;QACxC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,wBAAwB;QAC/C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type NotesRequestBuilder } from './notes/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /businesses/me/10dlc
|
|
5
|
+
*/
|
|
6
|
+
export interface OneZerodlcRequestBuilder extends BaseRequestBuilder<OneZerodlcRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The notes property
|
|
9
|
+
*/
|
|
10
|
+
get notes(): NotesRequestBuilder;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export declare const OneZerodlcRequestBuilderUriTemplate = "{+baseurl}/businesses/me/10dlc";
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the navigation properties in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export declare const OneZerodlcRequestBuilderNavigationMetadata: Record<Exclude<keyof OneZerodlcRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../businesses/me/oneZerodlc/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;CACpC;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,mCAAmC,CAAC;AACpF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI9J,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { NotesRequestBuilderRequestsMetadata } from './notes/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const OneZerodlcRequestBuilderUriTemplate = "{+baseurl}/businesses/me/10dlc";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the navigation properties in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const OneZerodlcRequestBuilderNavigationMetadata = {
|
|
14
|
+
notes: {
|
|
15
|
+
requestsMetadata: NotesRequestBuilderRequestsMetadata,
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
/* tslint:enable */
|
|
19
|
+
/* eslint-enable */
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../businesses/me/oneZerodlc/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AAajG;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,gCAAgC,CAAC;AACpF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAA4G;IAC/J,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type BusinessResponse, type TenDlcNotesRequest } 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 /businesses/me/10dlc/notes
|
|
5
|
+
*/
|
|
6
|
+
export interface NotesRequestBuilder extends BaseRequestBuilder<NotesRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Updates the shared 10DLC notes for the current business.
|
|
9
|
+
* @param body The request body
|
|
10
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
|
+
* @returns {Promise<BusinessResponse>}
|
|
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: TenDlcNotesRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BusinessResponse | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* Updates the shared 10DLC notes for the current business.
|
|
18
|
+
* @param body The request body
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns {RequestInformation}
|
|
21
|
+
*/
|
|
22
|
+
toPutRequestInformation(body: TenDlcNotesRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Uri template for the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const NotesRequestBuilderUriTemplate = "{+baseurl}/businesses/me/10dlc/notes";
|
|
28
|
+
/**
|
|
29
|
+
* Metadata for all the requests in the request builder.
|
|
30
|
+
*/
|
|
31
|
+
export declare const NotesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../businesses/me/oneZerodlc/notes/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoJ,KAAK,gBAAgB,EAAuB,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEpQ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IACxI;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,yCAAyC,CAAC;AACrF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAcjD,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createBusinessResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeTenDlcNotesRequest } from '../../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const NotesRequestBuilderUriTemplate = "{+baseurl}/businesses/me/10dlc/notes";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const NotesRequestBuilderRequestsMetadata = {
|
|
14
|
+
put: {
|
|
15
|
+
uriTemplate: NotesRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
400: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
},
|
|
21
|
+
adapterMethodName: "send",
|
|
22
|
+
responseBodyFactory: createBusinessResponseFromDiscriminatorValue,
|
|
23
|
+
requestBodyContentType: "application/json",
|
|
24
|
+
requestBodySerializer: serializeTenDlcNotesRequest,
|
|
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":["../../../../../businesses/me/oneZerodlc/notes/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,0CAA0C,EAA6B,2BAA2B,EAAuE,MAAM,6BAA6B,CAAC;AAyBpQ;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,sCAAsC,CAAC;AACrF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -12,26 +12,26 @@ export interface LeadStatusesRequestBuilder extends BaseRequestBuilder<LeadStatu
|
|
|
12
12
|
*/
|
|
13
13
|
byId(id: string): LeadStatusesItemRequestBuilder;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Lists the current business's active lead statuses for organizing and tracking leads through the sales workflow.
|
|
16
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
17
|
* @returns {Promise<LeadStatusResponse[]>}
|
|
18
18
|
*/
|
|
19
19
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LeadStatusResponse[] | undefined>;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Creates a reusable lead status for the current business to categorize leads in its sales workflow.
|
|
22
22
|
* @param body The request body
|
|
23
23
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
24
|
* @returns {Promise<LeadStatusResponse>}
|
|
25
25
|
*/
|
|
26
26
|
post(body: LeadStatusRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LeadStatusResponse | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Lists the current business's active lead statuses for organizing and tracking leads through the sales workflow.
|
|
29
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
30
|
* @returns {RequestInformation}
|
|
31
31
|
*/
|
|
32
32
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Creates a reusable lead status for the current business to categorize leads in its sales workflow.
|
|
35
35
|
* @param body The request body
|
|
36
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
37
|
* @returns {RequestInformation}
|
|
@@ -5,26 +5,26 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface LeadStatusesItemRequestBuilder extends BaseRequestBuilder<LeadStatusesItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Archives a lead status for the current business so it is unavailable for new assignments while existing lead history is preserved.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<boolean>}
|
|
11
11
|
*/
|
|
12
12
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Updates the name, color, and display order of a lead status owned by the current business.
|
|
15
15
|
* @param body The request body
|
|
16
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
17
|
* @returns {Promise<LeadStatusResponse>}
|
|
18
18
|
*/
|
|
19
19
|
put(body: LeadStatusRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LeadStatusResponse | undefined>;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Archives a lead status for the current business so it is unavailable for new assignments while existing lead history is preserved.
|
|
22
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
23
|
* @returns {RequestInformation}
|
|
24
24
|
*/
|
|
25
25
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Updates the name, color, and display order of a lead status owned by the current business.
|
|
28
28
|
* @param body The request body
|
|
29
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
30
|
* @returns {RequestInformation}
|