@wraps.dev/client 0.4.0 → 0.5.0

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
@@ -102,6 +102,26 @@ interface paths {
102
102
  patch: operations["patchV1ContactsById"];
103
103
  trace?: never;
104
104
  };
105
+ "/v1/contacts/{id}/topics": {
106
+ parameters: {
107
+ query?: never;
108
+ header?: never;
109
+ path?: never;
110
+ cookie?: never;
111
+ };
112
+ get?: never;
113
+ /**
114
+ * Replace contact topics
115
+ * @description Replaces all topic subscriptions for a contact. Use PATCH to add topics without removing existing ones.
116
+ */
117
+ put: operations["putV1ContactsByIdTopics"];
118
+ post?: never;
119
+ delete?: never;
120
+ options?: never;
121
+ head?: never;
122
+ patch?: never;
123
+ trace?: never;
124
+ };
105
125
  "/v1/batch/": {
106
126
  parameters: {
107
127
  query?: never;
@@ -528,6 +548,40 @@ interface operations {
528
548
  };
529
549
  };
530
550
  };
551
+ putV1ContactsByIdTopics: {
552
+ parameters: {
553
+ query?: never;
554
+ header?: never;
555
+ path: {
556
+ id: string;
557
+ };
558
+ cookie?: never;
559
+ };
560
+ requestBody: {
561
+ content: {
562
+ "application/json": {
563
+ topicIds?: string[];
564
+ topicSlugs?: string[];
565
+ };
566
+ "multipart/form-data": {
567
+ topicIds?: string[];
568
+ topicSlugs?: string[];
569
+ };
570
+ "text/plain": {
571
+ topicIds?: string[];
572
+ topicSlugs?: string[];
573
+ };
574
+ };
575
+ };
576
+ responses: {
577
+ 200: {
578
+ headers: {
579
+ [name: string]: unknown;
580
+ };
581
+ content?: never;
582
+ };
583
+ };
584
+ };
531
585
  postV1Batch: {
532
586
  parameters: {
533
587
  query?: never;
package/dist/index.d.ts CHANGED
@@ -102,6 +102,26 @@ interface paths {
102
102
  patch: operations["patchV1ContactsById"];
103
103
  trace?: never;
104
104
  };
105
+ "/v1/contacts/{id}/topics": {
106
+ parameters: {
107
+ query?: never;
108
+ header?: never;
109
+ path?: never;
110
+ cookie?: never;
111
+ };
112
+ get?: never;
113
+ /**
114
+ * Replace contact topics
115
+ * @description Replaces all topic subscriptions for a contact. Use PATCH to add topics without removing existing ones.
116
+ */
117
+ put: operations["putV1ContactsByIdTopics"];
118
+ post?: never;
119
+ delete?: never;
120
+ options?: never;
121
+ head?: never;
122
+ patch?: never;
123
+ trace?: never;
124
+ };
105
125
  "/v1/batch/": {
106
126
  parameters: {
107
127
  query?: never;
@@ -528,6 +548,40 @@ interface operations {
528
548
  };
529
549
  };
530
550
  };
551
+ putV1ContactsByIdTopics: {
552
+ parameters: {
553
+ query?: never;
554
+ header?: never;
555
+ path: {
556
+ id: string;
557
+ };
558
+ cookie?: never;
559
+ };
560
+ requestBody: {
561
+ content: {
562
+ "application/json": {
563
+ topicIds?: string[];
564
+ topicSlugs?: string[];
565
+ };
566
+ "multipart/form-data": {
567
+ topicIds?: string[];
568
+ topicSlugs?: string[];
569
+ };
570
+ "text/plain": {
571
+ topicIds?: string[];
572
+ topicSlugs?: string[];
573
+ };
574
+ };
575
+ };
576
+ responses: {
577
+ 200: {
578
+ headers: {
579
+ [name: string]: unknown;
580
+ };
581
+ content?: never;
582
+ };
583
+ };
584
+ };
531
585
  postV1Batch: {
532
586
  parameters: {
533
587
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wraps.dev/client",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Type-safe API client for Wraps Platform",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",