@getyetty-sdk/pennylane 2026.3.19 → 2026.3.20

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/index.d.mts CHANGED
@@ -370,15 +370,17 @@ declare const createClient: (config?: Config) => Client;
370
370
  declare const CompanyWebhookSubscriptionEvents: {
371
371
  readonly CUSTOMER_INVOICE_CREATED: "customer_invoice.created";
372
372
  readonly QUOTE_CREATED: "quote.created";
373
+ readonly DMS_FILE_CREATED: "dms_file.created";
373
374
  };
374
375
  type CompanyWebhookSubscriptionEvents = (typeof CompanyWebhookSubscriptionEvents)[keyof typeof CompanyWebhookSubscriptionEvents];
375
376
  /**
376
377
  * Array of event types to subscribe to.
377
378
  * - `customer_invoice.created`: the event is triggered when a customer invoice is created.
378
379
  * - `quote.created`: the event is triggered when a quote is created.
380
+ * - `dms_file.created`: the event is triggered when a dms file is created.
379
381
  *
380
382
  */
381
- type WebhookSubscriptionsEvents = Array<'customer_invoice.created' | 'quote.created'>;
383
+ type WebhookSubscriptionsEvents = Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
382
384
  type WebhookSubscriptionsResponse = {
383
385
  /**
384
386
  * ID of the webhook subscription
@@ -392,9 +394,10 @@ type WebhookSubscriptionsResponse = {
392
394
  * Array of event types to subscribe to.
393
395
  * - `customer_invoice.created`: the event is triggered when a customer invoice is created.
394
396
  * - `quote.created`: the event is triggered when a quote is created.
397
+ * - `dms_file.created`: the event is triggered when a dms file is created.
395
398
  *
396
399
  */
397
- events: Array<'customer_invoice.created' | 'quote.created'>;
400
+ events: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
398
401
  /**
399
402
  * Indicates whether the webhook subscription is active
400
403
  */
@@ -449,9 +452,10 @@ type WebhookSubscriptionsCreateResponse = {
449
452
  * Array of event types to subscribe to.
450
453
  * - `customer_invoice.created`: the event is triggered when a customer invoice is created.
451
454
  * - `quote.created`: the event is triggered when a quote is created.
455
+ * - `dms_file.created`: the event is triggered when a dms file is created.
452
456
  *
453
457
  */
454
- events: Array<'customer_invoice.created' | 'quote.created'>;
458
+ events: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
455
459
  /**
456
460
  * Indicates whether the webhook subscription is active
457
461
  */
@@ -5751,9 +5755,10 @@ type GetWebhookSubscriptionResponses = {
5751
5755
  * Array of event types to subscribe to.
5752
5756
  * - `customer_invoice.created`: the event is triggered when a customer invoice is created.
5753
5757
  * - `quote.created`: the event is triggered when a quote is created.
5758
+ * - `dms_file.created`: the event is triggered when a dms file is created.
5754
5759
  *
5755
5760
  */
5756
- events: Array<'customer_invoice.created' | 'quote.created'>;
5761
+ events: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
5757
5762
  /**
5758
5763
  * Indicates whether the webhook subscription is active
5759
5764
  */
@@ -5779,9 +5784,10 @@ type PostWebhookSubscriptionData = {
5779
5784
  * Array of event types to subscribe to.
5780
5785
  * - `customer_invoice.created`: the event is triggered when a customer invoice is created.
5781
5786
  * - `quote.created`: the event is triggered when a quote is created.
5787
+ * - `dms_file.created`: the event is triggered when a dms file is created.
5782
5788
  *
5783
5789
  */
5784
- events: Array<'customer_invoice.created' | 'quote.created'>;
5790
+ events: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
5785
5791
  /**
5786
5792
  * Indicates whether the webhook subscription is active
5787
5793
  */
@@ -5871,9 +5877,10 @@ type PostWebhookSubscriptionResponses = {
5871
5877
  * Array of event types to subscribe to.
5872
5878
  * - `customer_invoice.created`: the event is triggered when a customer invoice is created.
5873
5879
  * - `quote.created`: the event is triggered when a quote is created.
5880
+ * - `dms_file.created`: the event is triggered when a dms file is created.
5874
5881
  *
5875
5882
  */
5876
- events: Array<'customer_invoice.created' | 'quote.created'>;
5883
+ events: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
5877
5884
  /**
5878
5885
  * Indicates whether the webhook subscription is active
5879
5886
  */
@@ -5905,9 +5912,10 @@ type PutWebhookSubscriptionData = {
5905
5912
  * Array of event types to subscribe to.
5906
5913
  * - `customer_invoice.created`: the event is triggered when a customer invoice is created.
5907
5914
  * - `quote.created`: the event is triggered when a quote is created.
5915
+ * - `dms_file.created`: the event is triggered when a dms file is created.
5908
5916
  *
5909
5917
  */
5910
- events?: Array<'customer_invoice.created' | 'quote.created'>;
5918
+ events?: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
5911
5919
  /**
5912
5920
  * Indicates whether the webhook subscription is active
5913
5921
  */
@@ -5990,9 +5998,10 @@ type PutWebhookSubscriptionResponses = {
5990
5998
  * Array of event types to subscribe to.
5991
5999
  * - `customer_invoice.created`: the event is triggered when a customer invoice is created.
5992
6000
  * - `quote.created`: the event is triggered when a quote is created.
6001
+ * - `dms_file.created`: the event is triggered when a dms file is created.
5993
6002
  *
5994
6003
  */
5995
- events: Array<'customer_invoice.created' | 'quote.created'>;
6004
+ events: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
5996
6005
  /**
5997
6006
  * Indicates whether the webhook subscription is active
5998
6007
  */
@@ -32045,14 +32054,14 @@ declare const client: Client;
32045
32054
  //#region src/generated/schemas.gen.d.ts
32046
32055
  declare const CompanyWebhookSubscriptionEventsSchema: {
32047
32056
  readonly type: "string";
32048
- readonly enum: readonly ["customer_invoice.created", "quote.created"];
32057
+ readonly enum: readonly ["customer_invoice.created", "quote.created", "dms_file.created"];
32049
32058
  };
32050
32059
  declare const WebhookSubscriptions__EventsSchema: {
32051
- readonly description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n";
32060
+ readonly description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n- `dms_file.created`: the event is triggered when a dms file is created.\n";
32052
32061
  readonly type: "array";
32053
32062
  readonly items: {
32054
32063
  readonly type: "string";
32055
- readonly enum: readonly ["customer_invoice.created", "quote.created"];
32064
+ readonly enum: readonly ["customer_invoice.created", "quote.created", "dms_file.created"];
32056
32065
  };
32057
32066
  readonly example: readonly ["customer_invoice.created", "quote.created"];
32058
32067
  readonly minItems: 1;
@@ -32073,11 +32082,11 @@ declare const WebhookSubscriptions__ResponseSchema: {
32073
32082
  readonly example: "https://example.com/webhooks";
32074
32083
  };
32075
32084
  readonly events: {
32076
- readonly description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n";
32085
+ readonly description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n- `dms_file.created`: the event is triggered when a dms file is created.\n";
32077
32086
  readonly type: "array";
32078
32087
  readonly items: {
32079
32088
  readonly type: "string";
32080
- readonly enum: readonly ["customer_invoice.created", "quote.created"];
32089
+ readonly enum: readonly ["customer_invoice.created", "quote.created", "dms_file.created"];
32081
32090
  };
32082
32091
  readonly example: readonly ["customer_invoice.created", "quote.created"];
32083
32092
  readonly minItems: 1;
@@ -32122,11 +32131,11 @@ declare const WebhookSubscriptions__CreateResponseSchema: {
32122
32131
  readonly example: "https://example.com/webhooks";
32123
32132
  };
32124
32133
  readonly events: {
32125
- readonly description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n";
32134
+ readonly description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n- `dms_file.created`: the event is triggered when a dms file is created.\n";
32126
32135
  readonly type: "array";
32127
32136
  readonly items: {
32128
32137
  readonly type: "string";
32129
- readonly enum: readonly ["customer_invoice.created", "quote.created"];
32138
+ readonly enum: readonly ["customer_invoice.created", "quote.created", "dms_file.created"];
32130
32139
  };
32131
32140
  readonly example: readonly ["customer_invoice.created", "quote.created"];
32132
32141
  readonly minItems: 1;