@salable/sdk 1.0.43 → 1.0.44

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.
@@ -62,4 +62,5 @@ export declare const GetTypesQueryParameterTypeObject: {
62
62
  readonly Usage_recorded: "usage_recorded";
63
63
  readonly Receipt_created: "receipt_created";
64
64
  readonly Owner_updated: "owner_updated";
65
+ readonly Ping: "ping";
65
66
  };
@@ -1,10 +1,15 @@
1
1
  import { type GetWebhookDetailSchema, type UpdateWebhookRequestSchema } from '../../../models/index.js';
2
- import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ import { type PingRequestBuilder } from './ping/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
4
  export type GetExpandQueryParameterType = (typeof GetExpandQueryParameterTypeObject)[keyof typeof GetExpandQueryParameterTypeObject];
4
5
  /**
5
6
  * Builds and executes requests for operations under /api/webhooks/{id}
6
7
  */
7
8
  export interface WebhooksItemRequestBuilder extends BaseRequestBuilder<WebhooksItemRequestBuilder> {
9
+ /**
10
+ * The ping property
11
+ */
12
+ get ping(): PingRequestBuilder;
8
13
  /**
9
14
  * Delete Webhook Destination
10
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -77,6 +82,10 @@ export declare const GetExpandQueryParameterTypeObject: {
77
82
  readonly EventTypes: "eventTypes";
78
83
  readonly Destinations: "destinations";
79
84
  };
85
+ /**
86
+ * Metadata for all the navigation properties in the request builder.
87
+ */
88
+ export declare const WebhooksItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WebhooksItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
80
89
  /**
81
90
  * Metadata for all the requests in the request builder.
82
91
  */
@@ -0,0 +1,32 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Builds and executes requests for operations under /api/webhooks/{id}/ping
4
+ */
5
+ export interface PingRequestBuilder extends BaseRequestBuilder<PingRequestBuilder> {
6
+ /**
7
+ * Queues a ping event for the specified webhook destination
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
10
+ * @throws {ErrorResponseBody} error when the service returns a 401 status code
11
+ * @throws {ErrorResponseBody} error when the service returns a 403 status code
12
+ * @throws {ErrorResponseBody} error when the service returns a 404 status code
13
+ * @throws {ErrorResponseBody} error when the service returns a 405 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
15
+ * @throws {ErrorResponseBody} error when the service returns a 500 status code
16
+ */
17
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
18
+ /**
19
+ * Queues a ping event for the specified webhook destination
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {RequestInformation}
22
+ */
23
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
24
+ }
25
+ /**
26
+ * Uri template for the request builder.
27
+ */
28
+ export declare const PingRequestBuilderUriTemplate = "{+baseurl}/api/webhooks/{id}/ping";
29
+ /**
30
+ * Metadata for all the requests in the request builder.
31
+ */
32
+ export declare const PingRequestBuilderRequestsMetadata: RequestsMetadata;
@@ -3427,6 +3427,10 @@ export interface CreateWebhookRequestResponseSchema_data extends Parsable {
3427
3427
  * The description property
3428
3428
  */
3429
3429
  description?: string | null;
3430
+ /**
3431
+ * The disabledAt property
3432
+ */
3433
+ disabledAt?: string | null;
3430
3434
  /**
3431
3435
  * The id property
3432
3436
  */
@@ -7474,6 +7478,10 @@ export interface GetEventDetailSchema_data_destinations_data_webhook extends Par
7474
7478
  * The description property
7475
7479
  */
7476
7480
  description?: string | null;
7481
+ /**
7482
+ * The disabledAt property
7483
+ */
7484
+ disabledAt?: string | null;
7477
7485
  /**
7478
7486
  * The id property
7479
7487
  */
@@ -13493,6 +13501,10 @@ export interface GetWebhookDetailSchema_data extends AdditionalDataHolder, Parsa
13493
13501
  * The destinations property
13494
13502
  */
13495
13503
  destinations?: GetWebhookDetailSchema_data_destinations | null;
13504
+ /**
13505
+ * The disabledAt property
13506
+ */
13507
+ disabledAt?: string | null;
13496
13508
  /**
13497
13509
  * The eventTypes property
13498
13510
  */
@@ -13676,6 +13688,10 @@ export interface GetWebhookListSchema_data extends AdditionalDataHolder, Parsabl
13676
13688
  * The description property
13677
13689
  */
13678
13690
  description?: string | null;
13691
+ /**
13692
+ * The disabledAt property
13693
+ */
13694
+ disabledAt?: string | null;
13679
13695
  /**
13680
13696
  * The eventTypes property
13681
13697
  */
@@ -17946,6 +17962,10 @@ export interface UpdateWebhookRequestSchema extends Parsable {
17946
17962
  * The description property
17947
17963
  */
17948
17964
  description?: string | null;
17965
+ /**
17966
+ * When true, new events are dropped until the webhook is enabled; dropped events are not replayed.
17967
+ */
17968
+ disabled?: boolean | null;
17949
17969
  /**
17950
17970
  * The events property
17951
17971
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salable/sdk",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",