@isnap/sdk 1.1.0-next.53 → 1.1.0-next.54

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.
@@ -4420,7 +4420,13 @@ export interface paths {
4420
4420
  [name: string]: unknown;
4421
4421
  };
4422
4422
  content: {
4423
- "application/json": components["schemas"]["LineList"];
4423
+ "application/json": {
4424
+ /** @enum {boolean} */
4425
+ success: true;
4426
+ data: components["schemas"]["LineList"];
4427
+ trace_id: string;
4428
+ request_id: string;
4429
+ };
4424
4430
  };
4425
4431
  };
4426
4432
  /** @description Bad request — validation failed */
@@ -4469,7 +4475,7 @@ export interface paths {
4469
4475
  };
4470
4476
  /**
4471
4477
  * List the caller's own lines
4472
- * @description Return every line owned by the authenticated user that's in `active` or `reserved` status. Includes a `fulfillment_status` hint for lines whose hardware is still being procured.
4478
+ * @description Return every line owned by the authenticated user that's in `active` or `reserved` status. Includes a `fulfillment_status` hint for lines whose hardware is still being procured. Accepts an API key (`isnap_*`) or a dashboard JWT.
4473
4479
  */
4474
4480
  get: {
4475
4481
  parameters: {
@@ -4486,7 +4492,13 @@ export interface paths {
4486
4492
  [name: string]: unknown;
4487
4493
  };
4488
4494
  content: {
4489
- "application/json": components["schemas"]["MyLines"];
4495
+ "application/json": {
4496
+ /** @enum {boolean} */
4497
+ success: true;
4498
+ data: components["schemas"]["MyLines"];
4499
+ trace_id: string;
4500
+ request_id: string;
4501
+ };
4490
4502
  };
4491
4503
  };
4492
4504
  /** @description Bad request — validation failed */
@@ -4563,7 +4575,13 @@ export interface paths {
4563
4575
  [name: string]: unknown;
4564
4576
  };
4565
4577
  content: {
4566
- "application/json": components["schemas"]["Line"];
4578
+ "application/json": {
4579
+ /** @enum {boolean} */
4580
+ success: true;
4581
+ data: components["schemas"]["Line"];
4582
+ trace_id: string;
4583
+ request_id: string;
4584
+ };
4567
4585
  };
4568
4586
  };
4569
4587
  /** @description Bad request — validation failed */
@@ -4634,7 +4652,13 @@ export interface paths {
4634
4652
  [name: string]: unknown;
4635
4653
  };
4636
4654
  content: {
4637
- "application/json": components["schemas"]["Line"];
4655
+ "application/json": {
4656
+ /** @enum {boolean} */
4657
+ success: true;
4658
+ data: components["schemas"]["Line"];
4659
+ trace_id: string;
4660
+ request_id: string;
4661
+ };
4638
4662
  };
4639
4663
  };
4640
4664
  /** @description Bad request — validation failed */
@@ -4727,7 +4751,13 @@ export interface paths {
4727
4751
  [name: string]: unknown;
4728
4752
  };
4729
4753
  content: {
4730
- "application/json": components["schemas"]["Line"];
4754
+ "application/json": {
4755
+ /** @enum {boolean} */
4756
+ success: true;
4757
+ data: components["schemas"]["Line"];
4758
+ trace_id: string;
4759
+ request_id: string;
4760
+ };
4731
4761
  };
4732
4762
  };
4733
4763
  /** @description Bad request — validation failed */
@@ -4831,7 +4861,13 @@ export interface paths {
4831
4861
  [name: string]: unknown;
4832
4862
  };
4833
4863
  content: {
4834
- "application/json": components["schemas"]["Line"];
4864
+ "application/json": {
4865
+ /** @enum {boolean} */
4866
+ success: true;
4867
+ data: components["schemas"]["Line"];
4868
+ trace_id: string;
4869
+ request_id: string;
4870
+ };
4835
4871
  };
4836
4872
  };
4837
4873
  /** @description Bad request — validation failed */
@@ -4939,7 +4975,13 @@ export interface paths {
4939
4975
  [name: string]: unknown;
4940
4976
  };
4941
4977
  content: {
4942
- "application/json": components["schemas"]["Line"];
4978
+ "application/json": {
4979
+ /** @enum {boolean} */
4980
+ success: true;
4981
+ data: components["schemas"]["Line"];
4982
+ trace_id: string;
4983
+ request_id: string;
4984
+ };
4943
4985
  };
4944
4986
  };
4945
4987
  /** @description Bad request — validation failed */
@@ -5047,7 +5089,13 @@ export interface paths {
5047
5089
  [name: string]: unknown;
5048
5090
  };
5049
5091
  content: {
5050
- "application/json": components["schemas"]["Line"];
5092
+ "application/json": {
5093
+ /** @enum {boolean} */
5094
+ success: true;
5095
+ data: components["schemas"]["Line"];
5096
+ trace_id: string;
5097
+ request_id: string;
5098
+ };
5051
5099
  };
5052
5100
  };
5053
5101
  /** @description Bad request — validation failed */
@@ -5151,7 +5199,13 @@ export interface paths {
5151
5199
  [name: string]: unknown;
5152
5200
  };
5153
5201
  content: {
5154
- "application/json": components["schemas"]["Line"];
5202
+ "application/json": {
5203
+ /** @enum {boolean} */
5204
+ success: true;
5205
+ data: components["schemas"]["Line"];
5206
+ trace_id: string;
5207
+ request_id: string;
5208
+ };
5155
5209
  };
5156
5210
  };
5157
5211
  /** @description Bad request — validation failed */
@@ -5785,7 +5839,13 @@ export interface paths {
5785
5839
  [name: string]: unknown;
5786
5840
  };
5787
5841
  content: {
5788
- "application/json": components["schemas"]["PreOrder"];
5842
+ "application/json": {
5843
+ /** @enum {boolean} */
5844
+ success: true;
5845
+ data: components["schemas"]["PreOrder"];
5846
+ trace_id: string;
5847
+ request_id: string;
5848
+ };
5789
5849
  };
5790
5850
  };
5791
5851
  /** @description Bad request — validation failed */
@@ -5862,7 +5922,13 @@ export interface paths {
5862
5922
  [name: string]: unknown;
5863
5923
  };
5864
5924
  content: {
5865
- "application/json": components["schemas"]["PreOrder"];
5925
+ "application/json": {
5926
+ /** @enum {boolean} */
5927
+ success: true;
5928
+ data: components["schemas"]["PreOrder"];
5929
+ trace_id: string;
5930
+ request_id: string;
5931
+ };
5866
5932
  };
5867
5933
  };
5868
5934
  /** @description Bad request — validation failed */
@@ -5946,7 +6012,13 @@ export interface paths {
5946
6012
  [name: string]: unknown;
5947
6013
  };
5948
6014
  content: {
5949
- "application/json": components["schemas"]["PreOrder"];
6015
+ "application/json": {
6016
+ /** @enum {boolean} */
6017
+ success: true;
6018
+ data: components["schemas"]["PreOrder"];
6019
+ trace_id: string;
6020
+ request_id: string;
6021
+ };
5950
6022
  };
5951
6023
  };
5952
6024
  /** @description Bad request — validation failed */
@@ -6034,7 +6106,13 @@ export interface paths {
6034
6106
  [name: string]: unknown;
6035
6107
  };
6036
6108
  content: {
6037
- "application/json": components["schemas"]["PreOrder"];
6109
+ "application/json": {
6110
+ /** @enum {boolean} */
6111
+ success: true;
6112
+ data: components["schemas"]["PreOrder"];
6113
+ trace_id: string;
6114
+ request_id: string;
6115
+ };
6038
6116
  };
6039
6117
  };
6040
6118
  /** @description Bad request — validation failed */
@@ -7411,7 +7489,7 @@ export interface paths {
7411
7489
  };
7412
7490
  /**
7413
7491
  * List webhook subscriptions
7414
- * @description Return every webhook subscription owned by the authenticated user. Each entry surfaces the URL, the subscribed event list, the line allowlist, the active flag, the failure counter, and the last success / failure timestamps.
7492
+ * @description Return every webhook subscription owned by the authenticated user. Each entry surfaces the URL, the subscribed event list, the line allowlist, the active flag, the failure counter, and the last success / failure timestamps. Accepts an API key (`isnap_*`) or a dashboard JWT.
7415
7493
  */
7416
7494
  get: {
7417
7495
  parameters: {
@@ -7428,7 +7506,13 @@ export interface paths {
7428
7506
  [name: string]: unknown;
7429
7507
  };
7430
7508
  content: {
7431
- "application/json": components["schemas"]["WebhookList"];
7509
+ "application/json": {
7510
+ /** @enum {boolean} */
7511
+ success: true;
7512
+ data: components["schemas"]["WebhookList"];
7513
+ trace_id: string;
7514
+ request_id: string;
7515
+ };
7432
7516
  };
7433
7517
  };
7434
7518
  /** @description Bad request — validation failed */
@@ -7472,7 +7556,7 @@ export interface paths {
7472
7556
  put?: never;
7473
7557
  /**
7474
7558
  * Register a webhook subscription
7475
- * @description Subscribe a URL to a list of event types and (optionally) a line allowlist. The server signs deliveries with an HMAC-SHA256 secret returned once here. Retries follow exponential backoff; 10 consecutive failures auto-disable the subscription.
7559
+ * @description Subscribe a URL to a list of event types and (optionally) a line allowlist. The server signs deliveries with an HMAC-SHA256 secret returned once here. Retries follow exponential backoff; 10 consecutive failures auto-disable the subscription. Accepts an API key (`isnap_*`) or a dashboard JWT.
7476
7560
  */
7477
7561
  post: {
7478
7562
  parameters: {
@@ -7498,7 +7582,13 @@ export interface paths {
7498
7582
  [name: string]: unknown;
7499
7583
  };
7500
7584
  content: {
7501
- "application/json": components["schemas"]["Webhook"];
7585
+ "application/json": {
7586
+ /** @enum {boolean} */
7587
+ success: true;
7588
+ data: components["schemas"]["Webhook"];
7589
+ trace_id: string;
7590
+ request_id: string;
7591
+ };
7502
7592
  };
7503
7593
  };
7504
7594
  /** @description Bad request — validation failed */
@@ -7627,7 +7717,7 @@ export interface paths {
7627
7717
  post?: never;
7628
7718
  /**
7629
7719
  * Delete a webhook subscription
7630
- * @description Permanently delete the webhook subscription. In-flight deliveries already enqueued will still attempt — the deletion only stops new event matching.
7720
+ * @description Permanently delete the webhook subscription. In-flight deliveries already enqueued will still attempt — the deletion only stops new event matching. Accepts an API key (`isnap_*`) or a dashboard JWT.
7631
7721
  */
7632
7722
  delete: {
7633
7723
  parameters: {
@@ -8161,7 +8251,13 @@ export interface paths {
8161
8251
  [name: string]: unknown;
8162
8252
  };
8163
8253
  content: {
8164
- "application/json": components["schemas"]["CreateAttachmentResponse"];
8254
+ "application/json": {
8255
+ /** @enum {boolean} */
8256
+ success: true;
8257
+ data: components["schemas"]["CreateAttachmentResponse"];
8258
+ trace_id: string;
8259
+ request_id: string;
8260
+ };
8165
8261
  };
8166
8262
  };
8167
8263
  /** @description Bad request — validation failed */
@@ -8236,7 +8332,13 @@ export interface paths {
8236
8332
  [name: string]: unknown;
8237
8333
  };
8238
8334
  content: {
8239
- "application/json": components["schemas"]["Attachment"];
8335
+ "application/json": {
8336
+ /** @enum {boolean} */
8337
+ success: true;
8338
+ data: components["schemas"]["Attachment"];
8339
+ trace_id: string;
8340
+ request_id: string;
8341
+ };
8240
8342
  };
8241
8343
  };
8242
8344
  /** @description Bad request — validation failed */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isnap/sdk",
3
- "version": "1.1.0-next.53",
3
+ "version": "1.1.0-next.54",
4
4
  "description": "Official TypeScript SDK for the iSnap P2P telephony API",
5
5
  "license": "MIT",
6
6
  "type": "module",