@leadping/sdk 1.0.84 → 1.0.85
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/models/index.d.ts +120 -11
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +104 -6
- package/dist/models/index.js.map +1 -1
- package/dist/wallets/index.d.ts.map +1 -1
- package/dist/wallets/index.js +2 -1
- package/dist/wallets/index.js.map +1 -1
- package/dist/wallets/me/index.d.ts +10 -1
- package/dist/wallets/me/index.d.ts.map +1 -1
- package/dist/wallets/me/index.js +10 -0
- package/dist/wallets/me/index.js.map +1 -1
- package/dist/wallets/me/spendLimits/index.d.ts +48 -0
- package/dist/wallets/me/spendLimits/index.d.ts.map +1 -0
- package/dist/wallets/me/spendLimits/index.js +42 -0
- package/dist/wallets/me/spendLimits/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../wallets/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,yBAAyB,EAA6C,MAAM,iBAAiB,CAAC;AAE5G,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../wallets/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,yBAAyB,EAA6C,MAAM,iBAAiB,CAAC;AAE5G,OAAO,EAAwE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE5H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;OAEG;IACH,IAAI,EAAE,IAAI,gBAAgB,CAAC;IAC3B;;;;OAIG;IACF,IAAI,CAAC,EAAE,EAAE,MAAM,GAAI,yBAAyB,CAAC;CACjD;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,uBAAuB,CAAC;AACrE;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASxJ,CAAC"}
|
package/dist/wallets/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// @ts-ignore
|
|
5
5
|
import { WalletsItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
|
-
import { MeRequestBuilderRequestsMetadata } from './me/index.js';
|
|
7
|
+
import { MeRequestBuilderNavigationMetadata, MeRequestBuilderRequestsMetadata } from './me/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Uri template for the request builder.
|
|
10
10
|
*/
|
|
@@ -19,6 +19,7 @@ export const WalletsRequestBuilderNavigationMetadata = {
|
|
|
19
19
|
},
|
|
20
20
|
me: {
|
|
21
21
|
requestsMetadata: MeRequestBuilderRequestsMetadata,
|
|
22
|
+
navigationMetadata: MeRequestBuilderNavigationMetadata,
|
|
22
23
|
},
|
|
23
24
|
};
|
|
24
25
|
/* tslint:enable */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../wallets/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAkC,yCAAyC,EAAE,MAAM,iBAAiB,CAAC;AAC5G,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAyB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../wallets/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAkC,yCAAyC,EAAE,MAAM,iBAAiB,CAAC;AAC5G,aAAa;AACb,OAAO,EAAE,kCAAkC,EAAE,gCAAgC,EAAyB,MAAM,eAAe,CAAC;AAmB5H;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,oBAAoB,CAAC;AACrE;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAyG;IACzJ,IAAI,EAAE;QACF,gBAAgB,EAAE,yCAAyC;QAC3D,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;IACD,EAAE,EAAE;QACA,gBAAgB,EAAE,gCAAgC;QAClD,kBAAkB,EAAE,kCAAkC;KACzD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { type WalletResponse } from '../../models/index.js';
|
|
2
|
-
import { type
|
|
2
|
+
import { type SpendLimitsRequestBuilder } from './spendLimits/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
4
|
/**
|
|
4
5
|
* Builds and executes requests for operations under /wallets/me
|
|
5
6
|
*/
|
|
6
7
|
export interface MeRequestBuilder extends BaseRequestBuilder<MeRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* The spendLimits property
|
|
10
|
+
*/
|
|
11
|
+
get spendLimits(): SpendLimitsRequestBuilder;
|
|
7
12
|
/**
|
|
8
13
|
* Returns the current organization wallet, including balance and funding status used for communication delivery and billing.
|
|
9
14
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -26,6 +31,10 @@ export interface MeRequestBuilder extends BaseRequestBuilder<MeRequestBuilder> {
|
|
|
26
31
|
* Uri template for the request builder.
|
|
27
32
|
*/
|
|
28
33
|
export declare const MeRequestBuilderUriTemplate = "{+baseurl}/wallets/me";
|
|
34
|
+
/**
|
|
35
|
+
* Metadata for all the navigation properties in the request builder.
|
|
36
|
+
*/
|
|
37
|
+
export declare const MeRequestBuilderNavigationMetadata: Record<Exclude<keyof MeRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
29
38
|
/**
|
|
30
39
|
* Metadata for all the requests in the request builder.
|
|
31
40
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../wallets/me/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+G,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEzK,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../wallets/me/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+G,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEzK,OAAO,EAA6C,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;OAEG;IACH,IAAI,WAAW,IAAI,yBAAyB,CAAC;IAC7C;;;;;;;;;OASG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IAC5G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,0BAA0B,CAAC;AACnE;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gBAAgB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI9I,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAc9C,CAAC"}
|
package/dist/wallets/me/index.js
CHANGED
|
@@ -3,10 +3,20 @@
|
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
5
|
import { createProblemDetailsFromDiscriminatorValue, createWalletResponseFromDiscriminatorValue } from '../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { SpendLimitsRequestBuilderRequestsMetadata } from './spendLimits/index.js';
|
|
6
8
|
/**
|
|
7
9
|
* Uri template for the request builder.
|
|
8
10
|
*/
|
|
9
11
|
export const MeRequestBuilderUriTemplate = "{+baseurl}/wallets/me";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the navigation properties in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const MeRequestBuilderNavigationMetadata = {
|
|
16
|
+
spendLimits: {
|
|
17
|
+
requestsMetadata: SpendLimitsRequestBuilderRequestsMetadata,
|
|
18
|
+
},
|
|
19
|
+
};
|
|
10
20
|
/**
|
|
11
21
|
* Metadata for all the requests in the request builder.
|
|
12
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../wallets/me/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,0CAA0C,EAA4C,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../wallets/me/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,0CAA0C,EAA4C,MAAM,uBAAuB,CAAC;AACzK,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAkC,MAAM,wBAAwB,CAAC;AA8BnH;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,uBAAuB,CAAC;AACnE;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAoG;IAC/I,WAAW,EAAE;QACT,gBAAgB,EAAE,yCAAyC;KAC9D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqB;IAC9D,GAAG,EAAE;QACD,WAAW,EAAE,2BAA2B;QACxC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0CAA0C;KACnE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type SpendLimitsRequest, type SpendLimitsResponse } 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 /wallets/me/spend-limits
|
|
5
|
+
*/
|
|
6
|
+
export interface SpendLimitsRequestBuilder extends BaseRequestBuilder<SpendLimitsRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Returns the current organization's daily and monthly usage limits in USD and its progress for the current UTC periods.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<SpendLimitsResponse>}
|
|
11
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
13
|
+
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
14
|
+
*/
|
|
15
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SpendLimitsResponse | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* Sets the current organization's daily and monthly usage limits in USD and returns the updated limits and UTC progress.A null limit removes that budget; a zero limit stops new paid usage.
|
|
18
|
+
* @param body Organization usage budgets in USD. Null removes a limit; zero stops new paid usage.
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns {Promise<SpendLimitsResponse>}
|
|
21
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
22
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
23
|
+
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
24
|
+
*/
|
|
25
|
+
put(body: SpendLimitsRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SpendLimitsResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the current organization's daily and monthly usage limits in USD and its progress for the current UTC periods.
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns {RequestInformation}
|
|
30
|
+
*/
|
|
31
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
32
|
+
/**
|
|
33
|
+
* Sets the current organization's daily and monthly usage limits in USD and returns the updated limits and UTC progress.A null limit removes that budget; a zero limit stops new paid usage.
|
|
34
|
+
* @param body Organization usage budgets in USD. Null removes a limit; zero stops new paid usage.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns {RequestInformation}
|
|
37
|
+
*/
|
|
38
|
+
toPutRequestInformation(body: SpendLimitsRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Uri template for the request builder.
|
|
42
|
+
*/
|
|
43
|
+
export declare const SpendLimitsRequestBuilderUriTemplate = "{+baseurl}/wallets/me/spend-limits";
|
|
44
|
+
/**
|
|
45
|
+
* Metadata for all the requests in the request builder.
|
|
46
|
+
*/
|
|
47
|
+
export declare const SpendLimitsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
48
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../wallets/me/spendLimits/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+K,KAAK,kBAAkB,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE1Q,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;;;;OAOG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IACjH;;;;;;;;OAQG;IACF,GAAG,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC3I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;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,oCAAoC,uCAAuC,CAAC;AACzF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBA0BvD,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createProblemDetailsFromDiscriminatorValue, createSpendLimitsResponseFromDiscriminatorValue, serializeSpendLimitsRequest } from '../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const SpendLimitsRequestBuilderUriTemplate = "{+baseurl}/wallets/me/spend-limits";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const SpendLimitsRequestBuilderRequestsMetadata = {
|
|
14
|
+
get: {
|
|
15
|
+
uriTemplate: SpendLimitsRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "send",
|
|
23
|
+
responseBodyFactory: createSpendLimitsResponseFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
put: {
|
|
26
|
+
uriTemplate: SpendLimitsRequestBuilderUriTemplate,
|
|
27
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
28
|
+
errorMappings: {
|
|
29
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
30
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
31
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
32
|
+
},
|
|
33
|
+
adapterMethodName: "send",
|
|
34
|
+
responseBodyFactory: createSpendLimitsResponseFromDiscriminatorValue,
|
|
35
|
+
requestBodyContentType: "application/json",
|
|
36
|
+
requestBodySerializer: serializeSpendLimitsRequest,
|
|
37
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
/* tslint:enable */
|
|
41
|
+
/* eslint-enable */
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../wallets/me/spendLimits/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,+CAA+C,EAAE,2BAA2B,EAAwG,MAAM,0BAA0B,CAAC;AAyC1Q;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,oCAAoC,CAAC;AACzF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;KACxE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/package.json
CHANGED