@leadping/sdk 1.0.22 → 1.0.24

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.
Files changed (58) hide show
  1. package/dist/businesses/me/index.d.ts +21 -0
  2. package/dist/businesses/me/index.d.ts.map +1 -1
  3. package/dist/businesses/me/index.js +18 -0
  4. package/dist/businesses/me/index.js.map +1 -1
  5. package/dist/businesses/me/oneZerodlc/index.d.ts +20 -0
  6. package/dist/businesses/me/oneZerodlc/index.d.ts.map +1 -0
  7. package/dist/businesses/me/oneZerodlc/index.js +20 -0
  8. package/dist/businesses/me/oneZerodlc/index.js.map +1 -0
  9. package/dist/businesses/me/oneZerodlc/notes/index.d.ts +32 -0
  10. package/dist/businesses/me/oneZerodlc/notes/index.d.ts.map +1 -0
  11. package/dist/businesses/me/oneZerodlc/notes/index.js +30 -0
  12. package/dist/businesses/me/oneZerodlc/notes/index.js.map +1 -0
  13. package/dist/leadStatuses/index.d.ts +53 -0
  14. package/dist/leadStatuses/index.d.ts.map +1 -0
  15. package/dist/leadStatuses/index.js +43 -0
  16. package/dist/leadStatuses/index.js.map +1 -0
  17. package/dist/leadStatuses/item/index.d.ts +42 -0
  18. package/dist/leadStatuses/item/index.d.ts.map +1 -0
  19. package/dist/leadStatuses/item/index.js +32 -0
  20. package/dist/leadStatuses/item/index.js.map +1 -0
  21. package/dist/leadpingOpenApiClient.d.ts +5 -0
  22. package/dist/leadpingOpenApiClient.d.ts.map +1 -1
  23. package/dist/leadpingOpenApiClient.js +6 -0
  24. package/dist/leadpingOpenApiClient.js.map +1 -1
  25. package/dist/models/index.d.ts +383 -0
  26. package/dist/models/index.d.ts.map +1 -1
  27. package/dist/models/index.js +350 -0
  28. package/dist/models/index.js.map +1 -1
  29. package/dist/notifications/index.d.ts +1 -1
  30. package/dist/notifications/index.d.ts.map +1 -1
  31. package/dist/notifications/index.js +2 -1
  32. package/dist/notifications/index.js.map +1 -1
  33. package/dist/notifications/item/index.d.ts +20 -1
  34. package/dist/notifications/item/index.d.ts.map +1 -1
  35. package/dist/notifications/item/index.js +17 -0
  36. package/dist/notifications/item/index.js.map +1 -1
  37. package/dist/notifications/me/index.d.ts +16 -3
  38. package/dist/notifications/me/index.d.ts.map +1 -1
  39. package/dist/notifications/me/index.js +1 -1
  40. package/dist/notifications/me/index.js.map +1 -1
  41. package/dist/paymentMethods/index.d.ts +7 -2
  42. package/dist/paymentMethods/index.d.ts.map +1 -1
  43. package/dist/paymentMethods/index.js +6 -0
  44. package/dist/paymentMethods/index.js.map +1 -1
  45. package/dist/paymentMethods/invoices/index.d.ts +39 -0
  46. package/dist/paymentMethods/invoices/index.d.ts.map +1 -0
  47. package/dist/paymentMethods/invoices/index.js +34 -0
  48. package/dist/paymentMethods/invoices/index.js.map +1 -0
  49. package/dist/paymentMethods/invoices/item/index.d.ts +20 -0
  50. package/dist/paymentMethods/invoices/item/index.d.ts.map +1 -0
  51. package/dist/paymentMethods/invoices/item/index.js +20 -0
  52. package/dist/paymentMethods/invoices/item/index.js.map +1 -0
  53. package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts +35 -0
  54. package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts.map +1 -0
  55. package/dist/paymentMethods/invoices/item/pdfAccess/index.js +26 -0
  56. package/dist/paymentMethods/invoices/item/pdfAccess/index.js.map +1 -0
  57. package/dist/paymentMethods/item/defaultEscaped/index.d.ts +2 -2
  58. package/package.json +1 -1
@@ -26,7 +26,7 @@ export interface NotificationsRequestBuilder extends BaseRequestBuilder<Notifica
26
26
  get unreadCount(): UnreadCountRequestBuilder;
27
27
  /**
28
28
  * Gets an item from the leadping.notifications.item collection
29
- * @param id The ID of the notification to mark as read.
29
+ * @param id The notification ID.
30
30
  * @returns {NotificationsItemRequestBuilder}
31
31
  */
32
32
  byId(id: string): NotificationsItemRequestBuilder;
@@ -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,EAAqD,KAAK,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAE1H,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,CAiBpK,CAAC"}
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,CAkBpK,CAAC"}
@@ -4,7 +4,7 @@
4
4
  // @ts-ignore
5
5
  import { AnnouncementsRequestBuilderRequestsMetadata } from './announcements/index.js';
6
6
  // @ts-ignore
7
- import { NotificationsItemRequestBuilderNavigationMetadata } from './item/index.js';
7
+ import { NotificationsItemRequestBuilderNavigationMetadata, NotificationsItemRequestBuilderRequestsMetadata } from './item/index.js';
8
8
  // @ts-ignore
9
9
  import { MarkAllReadRequestBuilderRequestsMetadata } from './markAllRead/index.js';
10
10
  // @ts-ignore
@@ -20,6 +20,7 @@ export const NotificationsRequestBuilderUriTemplate = "{+baseurl}/notifications"
20
20
  */
21
21
  export const NotificationsRequestBuilderNavigationMetadata = {
22
22
  byId: {
23
+ requestsMetadata: NotificationsItemRequestBuilderRequestsMetadata,
23
24
  navigationMetadata: NotificationsItemRequestBuilderNavigationMetadata,
24
25
  pathParametersMappings: ["id"],
25
26
  },
@@ -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,EAAwC,MAAM,iBAAiB,CAAC;AAC1H,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;AA+BnH;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,0BAA0B,CAAC;AACjF;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAA+G;IACrK,IAAI,EAAE;QACF,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,WAAW,EAAE;QACT,gBAAgB,EAAE,yCAAyC;KAC9D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
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;AA+BnH;;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,WAAW,EAAE;QACT,gBAAgB,EAAE,yCAAyC;KAC9D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,5 +1,6 @@
1
+ import { type NotificationResponse } from '../../models/index.js';
1
2
  import { type MarkReadRequestBuilder } from './markRead/index.js';
2
- import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
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 /notifications/{id}
5
6
  */
@@ -8,6 +9,20 @@ export interface NotificationsItemRequestBuilder extends BaseRequestBuilder<Noti
8
9
  * The markRead property
9
10
  */
10
11
  get markRead(): MarkReadRequestBuilder;
12
+ /**
13
+ * Gets one notification for the current user and business.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns {Promise<NotificationResponse>}
16
+ * @throws {ProblemDetails} error when the service returns a 401 status code
17
+ * @throws {ProblemDetails} error when the service returns a 404 status code
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<NotificationResponse | undefined>;
20
+ /**
21
+ * Gets one notification for the current user and business.
22
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
+ * @returns {RequestInformation}
24
+ */
25
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
11
26
  }
12
27
  /**
13
28
  * Uri template for the request builder.
@@ -17,4 +32,8 @@ export declare const NotificationsItemRequestBuilderUriTemplate = "{+baseurl}/no
17
32
  * Metadata for all the navigation properties in the request builder.
18
33
  */
19
34
  export declare const NotificationsItemRequestBuilderNavigationMetadata: Record<Exclude<keyof NotificationsItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
35
+ /**
36
+ * Metadata for all the requests in the request builder.
37
+ */
38
+ export declare const NotificationsItemRequestBuilderRequestsMetadata: RequestsMetadata;
20
39
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../notifications/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1G,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;CAC1C;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,kCAAkC,CAAC;AAC1F;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI5K,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../notifications/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgG,KAAK,oBAAoB,EAAuB,MAAM,uBAAuB,CAAC;AAErL,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1G,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,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,kCAAkC,CAAC;AAC1F;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAW7D,CAAC"}
@@ -2,6 +2,8 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
+ import { createNotificationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../models/index.js';
6
+ // @ts-ignore
5
7
  import { MarkReadRequestBuilderRequestsMetadata } from './markRead/index.js';
6
8
  /**
7
9
  * Uri template for the request builder.
@@ -15,6 +17,21 @@ export const NotificationsItemRequestBuilderNavigationMetadata = {
15
17
  requestsMetadata: MarkReadRequestBuilderRequestsMetadata,
16
18
  },
17
19
  };
20
+ /**
21
+ * Metadata for all the requests in the request builder.
22
+ */
23
+ export const NotificationsItemRequestBuilderRequestsMetadata = {
24
+ get: {
25
+ uriTemplate: NotificationsItemRequestBuilderUriTemplate,
26
+ responseBodyContentType: "application/json",
27
+ errorMappings: {
28
+ 401: createProblemDetailsFromDiscriminatorValue,
29
+ 404: createProblemDetailsFromDiscriminatorValue,
30
+ },
31
+ adapterMethodName: "send",
32
+ responseBodyFactory: createNotificationResponseFromDiscriminatorValue,
33
+ },
34
+ };
18
35
  /* tslint:enable */
19
36
  /* eslint-enable */
20
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../notifications/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAA+B,MAAM,qBAAqB,CAAC;AAa1G;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,+BAA+B,CAAC;AAC1F;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAmH;IAC7K,QAAQ,EAAE;QACN,gBAAgB,EAAE,sCAAsC;KAC3D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../notifications/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAE,0CAA0C,EAAkD,MAAM,uBAAuB,CAAC;AACrL,aAAa;AACb,OAAO,EAAE,sCAAsC,EAA+B,MAAM,qBAAqB,CAAC;AA2B1G;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,+BAA+B,CAAC;AAC1F;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAmH;IAC7K,QAAQ,EAAE;QACN,gBAAgB,EAAE,sCAAsC;KAC3D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAqB;IAC7E,GAAG,EAAE;QACD,WAAW,EAAE,0CAA0C;QACvD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gDAAgD;KACzE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -13,19 +13,32 @@ export interface MeRequestBuilder extends BaseRequestBuilder<MeRequestBuilder> {
13
13
  * @throws {ProblemDetails} error when the service returns a 401 status code
14
14
  * @throws {ProblemDetails} error when the service returns a 500 status code
15
15
  */
16
- post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PagedResultOfNotificationTableRow | undefined>;
16
+ post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<MeRequestBuilderPostQueryParameters> | undefined): Promise<PagedResultOfNotificationTableRow | undefined>;
17
17
  /**
18
18
  * Lists current-user notifications with paging, sorting, and filters for operational alerts, announcements, and follow-up updates.
19
19
  * @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
20
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
21
  * @returns {RequestInformation}
22
22
  */
23
- toPostRequestInformation(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
23
+ toPostRequestInformation(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<MeRequestBuilderPostQueryParameters> | undefined): RequestInformation;
24
+ }
25
+ /**
26
+ * Lists current-user notifications with paging, sorting, and filters for operational alerts, announcements, and follow-up updates.
27
+ */
28
+ export interface MeRequestBuilderPostQueryParameters {
29
+ /**
30
+ * Exclusive end of the created date range.
31
+ */
32
+ endAt?: Date;
33
+ /**
34
+ * Inclusive beginning of the created date range.
35
+ */
36
+ startAt?: Date;
24
37
  }
25
38
  /**
26
39
  * Uri template for the request builder.
27
40
  */
28
- export declare const MeRequestBuilderUriTemplate = "{+baseurl}/notifications/me";
41
+ export declare const MeRequestBuilderUriTemplate = "{+baseurl}/notifications/me{?endAt*,startAt*}";
29
42
  /**
30
43
  * Metadata for all the requests in the request builder.
31
44
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../notifications/me/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsL,KAAK,iCAAiC,EAAuB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,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,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;;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,2BAA2B,gCAAgC,CAAC;AACzE;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAe9C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../notifications/me/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsL,KAAK,iCAAiC,EAAuB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,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,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IACvL;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1K;AACD;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,kDAAkD,CAAC;AAC3F;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAe9C,CAAC"}
@@ -6,7 +6,7 @@ import { createPagedResultOfNotificationTableRowFromDiscriminatorValue, createPr
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
9
- export const MeRequestBuilderUriTemplate = "{+baseurl}/notifications/me";
9
+ export const MeRequestBuilderUriTemplate = "{+baseurl}/notifications/me{?endAt*,startAt*}";
10
10
  /**
11
11
  * Metadata for all the requests in the request builder.
12
12
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../notifications/me/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6DAA6D,EAAE,0CAA0C,EAA8C,2BAA2B,EAAwF,MAAM,uBAAuB,CAAC;AA0BjT;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,6BAA6B,CAAC;AACzE;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqB;IAC9D,IAAI,EAAE;QACF,WAAW,EAAE,2BAA2B;QACxC,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,6DAA6D;QACnF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../notifications/me/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6DAA6D,EAAE,0CAA0C,EAA8C,2BAA2B,EAAwF,MAAM,uBAAuB,CAAC;AAuCjT;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,+CAA+C,CAAC;AAC3F;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqB;IAC9D,IAAI,EAAE;QACF,WAAW,EAAE,2BAA2B;QACxC,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,6DAA6D;QACnF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,10 +1,15 @@
1
1
  import { type StripePaymentMethodResponse } from '../models/index.js';
2
+ import { type InvoicesRequestBuilder } from './invoices/index.js';
2
3
  import { type PaymentMethodsItemRequestBuilder } from './item/index.js';
3
4
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
5
  /**
5
6
  * Builds and executes requests for operations under /payment-methods
6
7
  */
7
8
  export interface PaymentMethodsRequestBuilder extends BaseRequestBuilder<PaymentMethodsRequestBuilder> {
9
+ /**
10
+ * The invoices property
11
+ */
12
+ get invoices(): InvoicesRequestBuilder;
8
13
  /**
9
14
  * Gets an item from the leadping.paymentMethods.item collection
10
15
  * @param id The ID of the payment method to retrieve.
@@ -12,14 +17,14 @@ export interface PaymentMethodsRequestBuilder extends BaseRequestBuilder<Payment
12
17
  */
13
18
  byId(id: string): PaymentMethodsItemRequestBuilder;
14
19
  /**
15
- * List payment methods
20
+ * Lists the payment methods available to the current business for billing, invoice payments, and wallet funding.
16
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
22
  * @returns {Promise<StripePaymentMethodResponse[]>}
18
23
  * @throws {ProblemDetails} error when the service returns a 401 status code
19
24
  */
20
25
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StripePaymentMethodResponse[] | undefined>;
21
26
  /**
22
- * List payment methods
27
+ * Lists the payment methods available to the current business for billing, invoice payments, and wallet funding.
23
28
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
29
  * @returns {RequestInformation}
25
30
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../paymentMethods/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4H,KAAK,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAEhM,OAAO,EAAwG,KAAK,gCAAgC,EAAE,MAAM,iBAAiB,CAAC;AAE9K,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,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;OAIG;IACF,IAAI,CAAC,EAAE,EAAE,MAAM,GAAI,gCAAgC,CAAC;IACrD;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,EAAE,GAAG,SAAS,CAAC,CAAC;IAC3H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,+BAA+B,CAAC;AACpF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAU1D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../paymentMethods/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4H,KAAK,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAEhM,OAAO,EAAoF,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEpJ,OAAO,EAAwG,KAAK,gCAAgC,EAAE,MAAM,iBAAiB,CAAC;AAE9K,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,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;;;OAIG;IACF,IAAI,CAAC,EAAE,EAAE,MAAM,GAAI,gCAAgC,CAAC;IACrD;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,EAAE,GAAG,SAAS,CAAC,CAAC;IAC3H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,+BAA+B,CAAC;AACpF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAU1D,CAAC"}
@@ -4,6 +4,8 @@
4
4
  // @ts-ignore
5
5
  import { createProblemDetailsFromDiscriminatorValue, createStripePaymentMethodResponseFromDiscriminatorValue } from '../models/index.js';
6
6
  // @ts-ignore
7
+ import { InvoicesRequestBuilderNavigationMetadata, InvoicesRequestBuilderRequestsMetadata } from './invoices/index.js';
8
+ // @ts-ignore
7
9
  import { PaymentMethodsItemRequestBuilderNavigationMetadata, PaymentMethodsItemRequestBuilderRequestsMetadata } from './item/index.js';
8
10
  /**
9
11
  * Uri template for the request builder.
@@ -18,6 +20,10 @@ export const PaymentMethodsRequestBuilderNavigationMetadata = {
18
20
  navigationMetadata: PaymentMethodsItemRequestBuilderNavigationMetadata,
19
21
  pathParametersMappings: ["id"],
20
22
  },
23
+ invoices: {
24
+ requestsMetadata: InvoicesRequestBuilderRequestsMetadata,
25
+ navigationMetadata: InvoicesRequestBuilderNavigationMetadata,
26
+ },
21
27
  };
22
28
  /**
23
29
  * Metadata for all the requests in the request builder.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../paymentMethods/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,uDAAuD,EAAyD,MAAM,oBAAoB,CAAC;AAChM,aAAa;AACb,OAAO,EAAE,kDAAkD,EAAE,gDAAgD,EAAyC,MAAM,iBAAiB,CAAC;AA4B9K;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,4BAA4B,CAAC;AACpF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAgH;IACvK,IAAI,EAAE;QACF,gBAAgB,EAAE,gDAAgD;QAClE,kBAAkB,EAAE,kDAAkD;QACtE,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,GAAG,EAAE;QACD,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,gBAAgB;QACnC,mBAAmB,EAAG,uDAAuD;KAChF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../paymentMethods/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,uDAAuD,EAAyD,MAAM,oBAAoB,CAAC;AAChM,aAAa;AACb,OAAO,EAAE,wCAAwC,EAAE,sCAAsC,EAA+B,MAAM,qBAAqB,CAAC;AACpJ,aAAa;AACb,OAAO,EAAE,kDAAkD,EAAE,gDAAgD,EAAyC,MAAM,iBAAiB,CAAC;AAgC9K;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,4BAA4B,CAAC;AACpF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAgH;IACvK,IAAI,EAAE;QACF,gBAAgB,EAAE,gDAAgD;QAClE,kBAAkB,EAAE,kDAAkD;QACtE,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;IACD,QAAQ,EAAE;QACN,gBAAgB,EAAE,sCAAsC;QACxD,kBAAkB,EAAE,wCAAwC;KAC/D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,GAAG,EAAE;QACD,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,gBAAgB;QACnC,mBAAmB,EAAG,uDAAuD;KAChF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,39 @@
1
+ import { type StripeInvoiceResponse } from '../../models/index.js';
2
+ import { type WithInvoiceItemRequestBuilder } from './item/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Builds and executes requests for operations under /payment-methods/invoices
6
+ */
7
+ export interface InvoicesRequestBuilder extends BaseRequestBuilder<InvoicesRequestBuilder> {
8
+ /**
9
+ * Gets an item from the leadping.paymentMethods.invoices.item collection
10
+ * @param invoiceId Unique identifier of the item
11
+ * @returns {WithInvoiceItemRequestBuilder}
12
+ */
13
+ byInvoiceId(invoiceId: string): WithInvoiceItemRequestBuilder;
14
+ /**
15
+ * Returns the current business's Stripe invoices with their amounts, payment status, billing period, and hosted invoice details.
16
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
+ * @returns {Promise<StripeInvoiceResponse[]>}
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StripeInvoiceResponse[] | undefined>;
20
+ /**
21
+ * Returns the current business's Stripe invoices with their amounts, payment status, billing period, and hosted invoice details.
22
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
+ * @returns {RequestInformation}
24
+ */
25
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
26
+ }
27
+ /**
28
+ * Uri template for the request builder.
29
+ */
30
+ export declare const InvoicesRequestBuilderUriTemplate = "{+baseurl}/payment-methods/invoices";
31
+ /**
32
+ * Metadata for all the navigation properties in the request builder.
33
+ */
34
+ export declare const InvoicesRequestBuilderNavigationMetadata: Record<Exclude<keyof InvoicesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
35
+ /**
36
+ * Metadata for all the requests in the request builder.
37
+ */
38
+ export declare const InvoicesRequestBuilderRequestsMetadata: RequestsMetadata;
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../paymentMethods/invoices/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqD,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEtH,OAAO,EAAE,KAAK,6BAA6B,EAAmD,MAAM,iBAAiB,CAAC;AAEtH,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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,MAAM,GAAI,6BAA6B,CAAC;IAChE;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,EAAE,GAAG,SAAS,CAAC,CAAC;IACrH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,wCAAwC,CAAC;AACvF;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAOpD,CAAC"}
@@ -0,0 +1,34 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createStripeInvoiceResponseFromDiscriminatorValue } from '../../models/index.js';
6
+ // @ts-ignore
7
+ import { WithInvoiceItemRequestBuilderNavigationMetadata } from './item/index.js';
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ export const InvoicesRequestBuilderUriTemplate = "{+baseurl}/payment-methods/invoices";
12
+ /**
13
+ * Metadata for all the navigation properties in the request builder.
14
+ */
15
+ export const InvoicesRequestBuilderNavigationMetadata = {
16
+ byInvoiceId: {
17
+ navigationMetadata: WithInvoiceItemRequestBuilderNavigationMetadata,
18
+ pathParametersMappings: ["invoiceId"],
19
+ },
20
+ };
21
+ /**
22
+ * Metadata for all the requests in the request builder.
23
+ */
24
+ export const InvoicesRequestBuilderRequestsMetadata = {
25
+ get: {
26
+ uriTemplate: InvoicesRequestBuilderUriTemplate,
27
+ responseBodyContentType: "application/json",
28
+ adapterMethodName: "sendCollection",
29
+ responseBodyFactory: createStripeInvoiceResponseFromDiscriminatorValue,
30
+ },
31
+ };
32
+ /* tslint:enable */
33
+ /* eslint-enable */
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../paymentMethods/invoices/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,iDAAiD,EAA8B,MAAM,uBAAuB,CAAC;AACtH,aAAa;AACb,OAAO,EAAsC,+CAA+C,EAAE,MAAM,iBAAiB,CAAC;AA2BtH;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,qCAAqC,CAAC;AACvF;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAA0G;IAC3J,WAAW,EAAE;QACT,kBAAkB,EAAE,+CAA+C;QACnE,sBAAsB,EAAE,CAAC,WAAW,CAAC;KACxC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,GAAG,EAAE;QACD,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,gBAAgB;QACnC,mBAAmB,EAAG,iDAAiD;KAC1E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,20 @@
1
+ import { type PdfAccessRequestBuilder } from './pdfAccess/index.js';
2
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /payment-methods/invoices/{invoiceId}
5
+ */
6
+ export interface WithInvoiceItemRequestBuilder extends BaseRequestBuilder<WithInvoiceItemRequestBuilder> {
7
+ /**
8
+ * The pdfAccess property
9
+ */
10
+ get pdfAccess(): PdfAccessRequestBuilder;
11
+ }
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export declare const WithInvoiceItemRequestBuilderUriTemplate = "{+baseurl}/payment-methods/invoices/{invoiceId}";
16
+ /**
17
+ * Metadata for all the navigation properties in the request builder.
18
+ */
19
+ export declare const WithInvoiceItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WithInvoiceItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../paymentMethods/invoices/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2C,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE7G,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;CAC5C;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,oDAAoD,CAAC;AAC1G;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6BAA6B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIxK,CAAC"}
@@ -0,0 +1,20 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { PdfAccessRequestBuilderRequestsMetadata } from './pdfAccess/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const WithInvoiceItemRequestBuilderUriTemplate = "{+baseurl}/payment-methods/invoices/{invoiceId}";
10
+ /**
11
+ * Metadata for all the navigation properties in the request builder.
12
+ */
13
+ export const WithInvoiceItemRequestBuilderNavigationMetadata = {
14
+ pdfAccess: {
15
+ requestsMetadata: PdfAccessRequestBuilderRequestsMetadata,
16
+ },
17
+ };
18
+ /* tslint:enable */
19
+ /* eslint-enable */
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../paymentMethods/invoices/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAgC,MAAM,sBAAsB,CAAC;AAa7G;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,iDAAiD,CAAC;AAC1G;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAiH;IACzK,SAAS,EAAE;QACP,gBAAgB,EAAE,uCAAuC;KAC5D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,35 @@
1
+ import { type InvoicePdfAccessResponse } 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 /payment-methods/invoices/{invoiceId}/pdf-access
5
+ */
6
+ export interface PdfAccessRequestBuilder extends BaseRequestBuilder<PdfAccessRequestBuilder> {
7
+ /**
8
+ * Creates a short-lived URL for viewing or downloading a private invoice PDF.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<InvoicePdfAccessResponse>}
11
+ * @throws {ProblemDetails} error when the service returns a 404 status code
12
+ */
13
+ get(requestConfiguration?: RequestConfiguration<PdfAccessRequestBuilderGetQueryParameters> | undefined): Promise<InvoicePdfAccessResponse | undefined>;
14
+ /**
15
+ * Creates a short-lived URL for viewing or downloading a private invoice PDF.
16
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
+ * @returns {RequestInformation}
18
+ */
19
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PdfAccessRequestBuilderGetQueryParameters> | undefined): RequestInformation;
20
+ }
21
+ /**
22
+ * Creates a short-lived URL for viewing or downloading a private invoice PDF.
23
+ */
24
+ export interface PdfAccessRequestBuilderGetQueryParameters {
25
+ download?: boolean;
26
+ }
27
+ /**
28
+ * Uri template for the request builder.
29
+ */
30
+ export declare const PdfAccessRequestBuilderUriTemplate = "{+baseurl}/payment-methods/invoices/{invoiceId}/pdf-access{?download*}";
31
+ /**
32
+ * Metadata for all the requests in the request builder.
33
+ */
34
+ export declare const PdfAccessRequestBuilderRequestsMetadata: RequestsMetadata;
35
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,26 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createInvoicePdfAccessResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const PdfAccessRequestBuilderUriTemplate = "{+baseurl}/payment-methods/invoices/{invoiceId}/pdf-access{?download*}";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const PdfAccessRequestBuilderRequestsMetadata = {
14
+ get: {
15
+ uriTemplate: PdfAccessRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ 404: createProblemDetailsFromDiscriminatorValue,
19
+ },
20
+ adapterMethodName: "send",
21
+ responseBodyFactory: createInvoicePdfAccessResponseFromDiscriminatorValue,
22
+ },
23
+ };
24
+ /* tslint:enable */
25
+ /* eslint-enable */
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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;AA4BnM;;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"}
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface DefaultRequestBuilder extends BaseRequestBuilder<DefaultRequestBuilder> {
7
7
  /**
8
- * Set default payment method
8
+ * Sets a payment method as the default for the current business'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
- * Set default payment method
16
+ * Sets a payment method as the default for the current business'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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leadping/sdk",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "Typed TypeScript client for the Leadping API, generated from the Leadping OpenAPI document with Microsoft Kiota.",
5
5
  "type": "module",
6
6
  "license": "MIT",