samva 0.55.0 → 0.56.1
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/AGENTS.md +2 -2
- package/README.md +9 -8
- package/dist/client/sdk.gen.d.ts +13 -4
- package/dist/client/sdk.gen.js +32 -1
- package/dist/client/types.gen.d.ts +66 -6
- package/dist/effect/accounts.js +9 -10
- package/dist/effect/agents.js +16 -17
- package/dist/effect/analytics.js +9 -10
- package/dist/effect/api-keys.js +11 -12
- package/dist/effect/approval-requests.js +7 -8
- package/dist/effect/attachments.js +7 -8
- package/dist/effect/brands.js +9 -10
- package/dist/effect/campaigns.js +18 -19
- package/dist/effect/contact-groups.js +13 -14
- package/dist/effect/contacts.js +29 -30
- package/dist/effect/conversations.js +16 -17
- package/dist/effect/custom-fields.js +7 -8
- package/dist/effect/descriptors/accounts.d.ts +50 -52
- package/dist/effect/descriptors/accounts.js +50 -52
- package/dist/effect/descriptors/agents.d.ts +113 -115
- package/dist/effect/descriptors/agents.js +120 -122
- package/dist/effect/descriptors/analytics.d.ts +47 -49
- package/dist/effect/descriptors/analytics.js +42 -44
- package/dist/effect/descriptors/api-keys.d.ts +69 -71
- package/dist/effect/descriptors/api-keys.js +73 -75
- package/dist/effect/descriptors/approval-requests.d.ts +34 -36
- package/dist/effect/descriptors/approval-requests.js +36 -38
- package/dist/effect/descriptors/attachments.d.ts +34 -36
- package/dist/effect/descriptors/attachments.js +36 -38
- package/dist/effect/descriptors/brands.d.ts +51 -53
- package/dist/effect/descriptors/brands.js +53 -55
- package/dist/effect/descriptors/campaigns.d.ts +130 -132
- package/dist/effect/descriptors/campaigns.js +137 -139
- package/dist/effect/descriptors/contact-groups.d.ts +86 -88
- package/dist/effect/descriptors/contact-groups.js +90 -92
- package/dist/effect/descriptors/contacts.d.ts +242 -244
- package/dist/effect/descriptors/contacts.js +227 -229
- package/dist/effect/descriptors/conversations.d.ts +114 -116
- package/dist/effect/descriptors/conversations.js +123 -125
- package/dist/effect/descriptors/custom-fields.d.ts +33 -35
- package/dist/effect/descriptors/custom-fields.js +33 -35
- package/dist/effect/descriptors/email.d.ts +623 -625
- package/dist/effect/descriptors/email.js +562 -578
- package/dist/effect/descriptors/events.d.ts +15 -17
- package/dist/effect/descriptors/events.js +14 -16
- package/dist/effect/descriptors/feedback.d.ts +7 -9
- package/dist/effect/descriptors/feedback.js +3 -3
- package/dist/effect/descriptors/integrations-catalog.d.ts +159 -161
- package/dist/effect/descriptors/integrations-catalog.js +142 -144
- package/dist/effect/descriptors/integrations.d.ts +60 -62
- package/dist/effect/descriptors/integrations.js +63 -65
- package/dist/effect/descriptors/journeys.d.ts +123 -125
- package/dist/effect/descriptors/journeys.js +133 -135
- package/dist/effect/descriptors/logs.d.ts +16 -18
- package/dist/effect/descriptors/logs.js +16 -18
- package/dist/effect/descriptors/mailboxes.d.ts +780 -782
- package/dist/effect/descriptors/mailboxes.js +795 -797
- package/dist/effect/descriptors/media.d.ts +43 -45
- package/dist/effect/descriptors/media.js +46 -48
- package/dist/effect/descriptors/messages.d.ts +86 -88
- package/dist/effect/descriptors/messages.js +83 -92
- package/dist/effect/descriptors/namespaces.d.ts +96 -98
- package/dist/effect/descriptors/namespaces.js +107 -109
- package/dist/effect/descriptors/newsletter-domains.d.ts +35 -37
- package/dist/effect/descriptors/newsletter-domains.js +39 -41
- package/dist/effect/descriptors/newsletter-issues.d.ts +98 -100
- package/dist/effect/descriptors/newsletter-issues.js +109 -111
- package/dist/effect/descriptors/newsletters.d.ts +43 -45
- package/dist/effect/descriptors/newsletters.js +46 -48
- package/dist/effect/descriptors/operations.d.ts +25 -27
- package/dist/effect/descriptors/operations.js +26 -28
- package/dist/effect/descriptors/organizations.d.ts +96 -98
- package/dist/effect/descriptors/organizations.js +86 -88
- package/dist/effect/descriptors/phone-numbers.d.ts +41 -43
- package/dist/effect/descriptors/phone-numbers.js +40 -42
- package/dist/effect/descriptors/policies.d.ts +26 -28
- package/dist/effect/descriptors/policies.js +29 -31
- package/dist/effect/descriptors/scheduled-messages.d.ts +42 -44
- package/dist/effect/descriptors/scheduled-messages.js +43 -45
- package/dist/effect/descriptors/subscriptions.d.ts +7 -9
- package/dist/effect/descriptors/subscriptions.js +3 -3
- package/dist/effect/descriptors/template-registrations.d.ts +26 -28
- package/dist/effect/descriptors/template-registrations.js +29 -31
- package/dist/effect/descriptors/template-share-links.d.ts +44 -46
- package/dist/effect/descriptors/template-share-links.js +49 -51
- package/dist/effect/descriptors/templates.d.ts +361 -363
- package/dist/effect/descriptors/templates.js +348 -350
- package/dist/effect/descriptors/topic-forms.d.ts +44 -46
- package/dist/effect/descriptors/topic-forms.js +49 -51
- package/dist/effect/descriptors/topics.d.ts +77 -79
- package/dist/effect/descriptors/topics.js +80 -82
- package/dist/effect/descriptors/webhooks.d.ts +96 -98
- package/dist/effect/descriptors/webhooks.js +103 -105
- package/dist/effect/descriptors/whats-app-flows.d.ts +86 -88
- package/dist/effect/descriptors/whats-app-flows.js +90 -92
- package/dist/effect/descriptors/whats-app-setup-links.d.ts +33 -35
- package/dist/effect/descriptors/whats-app-setup-links.js +33 -35
- package/dist/effect/descriptors/whats-app.d.ts +111 -103
- package/dist/effect/descriptors/whats-app.js +111 -103
- package/dist/effect/descriptors/whoami.d.ts +7 -9
- package/dist/effect/descriptors/whoami.js +3 -3
- package/dist/effect/email.js +66 -67
- package/dist/effect/events.js +5 -6
- package/dist/effect/feedback.js +4 -4
- package/dist/effect/generated/accounts.d.ts +144 -142
- package/dist/effect/generated/accounts.js +14 -9
- package/dist/effect/generated/agents.d.ts +1502 -1493
- package/dist/effect/generated/agents.js +28 -16
- package/dist/effect/generated/analytics.d.ts +55 -53
- package/dist/effect/generated/analytics.js +14 -9
- package/dist/effect/generated/api-keys.d.ts +216 -212
- package/dist/effect/generated/api-keys.js +18 -11
- package/dist/effect/generated/approval-requests.d.ts +60 -60
- package/dist/effect/generated/approval-requests.js +10 -7
- package/dist/effect/generated/attachments.d.ts +32 -32
- package/dist/effect/generated/attachments.js +10 -7
- package/dist/effect/generated/brands.d.ts +179 -177
- package/dist/effect/generated/brands.js +14 -9
- package/dist/effect/generated/campaigns.d.ts +1083 -1072
- package/dist/effect/generated/campaigns.js +32 -18
- package/dist/effect/generated/contact-events.d.ts +3 -6
- package/dist/effect/generated/contact-events.js +4 -4
- package/dist/effect/generated/contact-groups.d.ts +186 -180
- package/dist/effect/generated/contact-groups.js +22 -13
- package/dist/effect/generated/contacts.d.ts +1565 -1545
- package/dist/effect/generated/contacts.js +50 -27
- package/dist/effect/generated/conversations.d.ts +340 -331
- package/dist/effect/generated/conversations.js +28 -16
- package/dist/effect/generated/custom-fields.d.ts +63 -63
- package/dist/effect/generated/custom-fields.js +10 -7
- package/dist/effect/generated/email.d.ts +2731 -2671
- package/dist/effect/generated/email.js +130 -67
- package/dist/effect/generated/events.d.ts +160 -162
- package/dist/effect/generated/events.js +6 -5
- package/dist/effect/generated/feedback.d.ts +3 -6
- package/dist/effect/generated/feedback.js +4 -4
- package/dist/effect/generated/index.d.ts +174 -45
- package/dist/effect/generated/integrations-catalog.d.ts +459 -446
- package/dist/effect/generated/integrations-catalog.js +36 -20
- package/dist/effect/generated/integrations.d.ts +155 -152
- package/dist/effect/generated/integrations.js +16 -10
- package/dist/effect/generated/journeys.d.ts +864 -854
- package/dist/effect/generated/journeys.js +30 -17
- package/dist/effect/generated/logs.d.ts +147 -149
- package/dist/effect/generated/logs.js +6 -5
- package/dist/effect/generated/mailboxes.d.ts +7271 -7196
- package/dist/effect/generated/mailboxes.js +160 -82
- package/dist/effect/generated/media.d.ts +77 -76
- package/dist/effect/generated/media.js +12 -8
- package/dist/effect/generated/messages.d.ts +1092 -1086
- package/dist/effect/generated/messages.js +22 -13
- package/dist/effect/generated/namespaces.d.ts +184 -177
- package/dist/effect/generated/namespaces.js +24 -14
- package/dist/effect/generated/newsletter-domains.d.ts +57 -57
- package/dist/effect/generated/newsletter-domains.js +10 -7
- package/dist/effect/generated/newsletter-issues.d.ts +225 -218
- package/dist/effect/generated/newsletter-issues.js +24 -14
- package/dist/effect/generated/newsletters.d.ts +46 -45
- package/dist/effect/generated/newsletters.js +12 -8
- package/dist/effect/generated/operations.d.ts +79 -80
- package/dist/effect/generated/operations.js +8 -6
- package/dist/effect/generated/organizations.d.ts +438 -430
- package/dist/effect/generated/organizations.js +26 -15
- package/dist/effect/generated/phone-numbers.d.ts +87 -86
- package/dist/effect/generated/phone-numbers.js +12 -8
- package/dist/effect/generated/policies.d.ts +64 -65
- package/dist/effect/generated/policies.js +8 -6
- package/dist/effect/generated/scheduled-messages.d.ts +66 -65
- package/dist/effect/generated/scheduled-messages.js +12 -8
- package/dist/effect/generated/shared.d.ts +37 -37
- package/dist/effect/generated/shared.js +63 -61
- package/dist/effect/generated/subscriptions.d.ts +3 -6
- package/dist/effect/generated/subscriptions.js +4 -4
- package/dist/effect/generated/template-registrations.d.ts +142 -134
- package/dist/effect/generated/template-registrations.js +9 -6
- package/dist/effect/generated/template-share-links.d.ts +25 -24
- package/dist/effect/generated/template-share-links.js +12 -8
- package/dist/effect/generated/templates.d.ts +2678 -2645
- package/dist/effect/generated/templates.js +76 -40
- package/dist/effect/generated/topic-forms.d.ts +47 -46
- package/dist/effect/generated/topic-forms.js +12 -8
- package/dist/effect/generated/topics.d.ts +204 -199
- package/dist/effect/generated/topics.js +20 -12
- package/dist/effect/generated/webhooks.d.ts +284 -277
- package/dist/effect/generated/webhooks.js +28 -14
- package/dist/effect/generated/whats-app-flows.d.ts +250 -244
- package/dist/effect/generated/whats-app-flows.js +22 -13
- package/dist/effect/generated/whats-app-setup-links.d.ts +107 -107
- package/dist/effect/generated/whats-app-setup-links.js +10 -7
- package/dist/effect/generated/whats-app.d.ts +482 -298
- package/dist/effect/generated/whats-app.js +58 -16
- package/dist/effect/generated/whoami.d.ts +3 -6
- package/dist/effect/generated/whoami.js +4 -4
- package/dist/effect/generated-metadata.d.ts +6 -0
- package/dist/effect/generated-metadata.js +1 -0
- package/dist/effect/integrations-catalog.js +20 -21
- package/dist/effect/integrations.js +10 -11
- package/dist/effect/internal/client.d.ts +2 -1
- package/dist/effect/internal/client.js +3 -3
- package/dist/effect/internal/email-sender.js +5 -4
- package/dist/effect/internal/operation.d.ts +11 -7
- package/dist/effect/internal/operation.js +17 -12
- package/dist/effect/internal/send.js +11 -8
- package/dist/effect/journeys.js +17 -18
- package/dist/effect/logs.js +5 -6
- package/dist/effect/mailboxes.js +82 -83
- package/dist/effect/media.js +8 -9
- package/dist/effect/messages.js +12 -13
- package/dist/effect/namespaces.js +14 -15
- package/dist/effect/newsletter-domains.js +7 -8
- package/dist/effect/newsletter-issues.js +14 -15
- package/dist/effect/newsletters.js +8 -9
- package/dist/effect/operations.js +6 -7
- package/dist/effect/organizations.js +15 -16
- package/dist/effect/phone-numbers.js +8 -9
- package/dist/effect/policies.js +6 -7
- package/dist/effect/runtime.js +3 -3
- package/dist/effect/scheduled-messages.js +8 -9
- package/dist/effect/subscriptions.js +4 -4
- package/dist/effect/template-registrations.js +6 -7
- package/dist/effect/template-share-links.js +8 -9
- package/dist/effect/templates.js +40 -41
- package/dist/effect/topic-forms.js +8 -9
- package/dist/effect/topics.js +12 -13
- package/dist/effect/webhooks.d.ts +4 -4
- package/dist/effect/webhooks.js +14 -15
- package/dist/effect/whatsapp-flows.js +13 -14
- package/dist/effect/whatsapp-setup-links.js +7 -8
- package/dist/effect/whatsapp.d.ts +6 -0
- package/dist/effect/whatsapp.js +18 -17
- package/dist/effect/whoami.js +4 -4
- package/dist/package.json.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +5 -0
- package/package.json +3 -2
|
@@ -1,130 +1,128 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
readonly
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
readonly
|
|
8
|
-
readonly kind: "params";
|
|
9
|
-
};
|
|
1
|
+
export declare const conversationsList: {
|
|
2
|
+
readonly group: "Conversations";
|
|
3
|
+
readonly method: "GET";
|
|
4
|
+
readonly idempotent: false;
|
|
5
|
+
readonly paginated: true;
|
|
6
|
+
readonly call: {
|
|
7
|
+
readonly kind: "params";
|
|
10
8
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
};
|
|
10
|
+
export declare const conversationsCreate: {
|
|
11
|
+
readonly group: "Conversations";
|
|
12
|
+
readonly method: "POST";
|
|
13
|
+
readonly idempotent: false;
|
|
14
|
+
readonly paginated: false;
|
|
15
|
+
readonly call: {
|
|
16
|
+
readonly kind: "payload";
|
|
19
17
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
};
|
|
19
|
+
export declare const conversationsGetById: {
|
|
20
|
+
readonly group: "Conversations";
|
|
21
|
+
readonly method: "GET";
|
|
22
|
+
readonly idempotent: false;
|
|
23
|
+
readonly paginated: false;
|
|
24
|
+
readonly call: {
|
|
25
|
+
readonly kind: "path";
|
|
26
|
+
readonly paths: readonly ["id"];
|
|
29
27
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
};
|
|
29
|
+
export declare const conversationsUpdate: {
|
|
30
|
+
readonly group: "Conversations";
|
|
31
|
+
readonly method: "PATCH";
|
|
32
|
+
readonly idempotent: false;
|
|
33
|
+
readonly paginated: false;
|
|
34
|
+
readonly call: {
|
|
35
|
+
readonly kind: "pathPayload";
|
|
36
|
+
readonly paths: readonly ["id"];
|
|
39
37
|
};
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
38
|
+
};
|
|
39
|
+
export declare const conversationsListMessages: {
|
|
40
|
+
readonly group: "Conversations";
|
|
41
|
+
readonly method: "GET";
|
|
42
|
+
readonly idempotent: false;
|
|
43
|
+
readonly paginated: true;
|
|
44
|
+
readonly call: {
|
|
45
|
+
readonly kind: "pathParams";
|
|
46
|
+
readonly paths: readonly ["id"];
|
|
49
47
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
48
|
+
};
|
|
49
|
+
export declare const conversationsAddTags: {
|
|
50
|
+
readonly group: "Conversations";
|
|
51
|
+
readonly method: "POST";
|
|
52
|
+
readonly idempotent: false;
|
|
53
|
+
readonly paginated: false;
|
|
54
|
+
readonly call: {
|
|
55
|
+
readonly kind: "pathPayload";
|
|
56
|
+
readonly paths: readonly ["id"];
|
|
59
57
|
};
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
58
|
+
};
|
|
59
|
+
export declare const conversationsRemoveTags: {
|
|
60
|
+
readonly group: "Conversations";
|
|
61
|
+
readonly method: "DELETE";
|
|
62
|
+
readonly idempotent: false;
|
|
63
|
+
readonly paginated: false;
|
|
64
|
+
readonly call: {
|
|
65
|
+
readonly kind: "pathPayload";
|
|
66
|
+
readonly paths: readonly ["id"];
|
|
69
67
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
68
|
+
};
|
|
69
|
+
export declare const conversationsAddCategories: {
|
|
70
|
+
readonly group: "Conversations";
|
|
71
|
+
readonly method: "POST";
|
|
72
|
+
readonly idempotent: false;
|
|
73
|
+
readonly paginated: false;
|
|
74
|
+
readonly call: {
|
|
75
|
+
readonly kind: "pathPayload";
|
|
76
|
+
readonly paths: readonly ["id"];
|
|
79
77
|
};
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
78
|
+
};
|
|
79
|
+
export declare const conversationsRemoveCategories: {
|
|
80
|
+
readonly group: "Conversations";
|
|
81
|
+
readonly method: "DELETE";
|
|
82
|
+
readonly idempotent: false;
|
|
83
|
+
readonly paginated: false;
|
|
84
|
+
readonly call: {
|
|
85
|
+
readonly kind: "pathPayload";
|
|
86
|
+
readonly paths: readonly ["id"];
|
|
89
87
|
};
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
88
|
+
};
|
|
89
|
+
export declare const conversationsAddChannels: {
|
|
90
|
+
readonly group: "Conversations";
|
|
91
|
+
readonly method: "POST";
|
|
92
|
+
readonly idempotent: false;
|
|
93
|
+
readonly paginated: false;
|
|
94
|
+
readonly call: {
|
|
95
|
+
readonly kind: "pathPayload";
|
|
96
|
+
readonly paths: readonly ["id"];
|
|
99
97
|
};
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
98
|
+
};
|
|
99
|
+
export declare const conversationsRemoveChannels: {
|
|
100
|
+
readonly group: "Conversations";
|
|
101
|
+
readonly method: "DELETE";
|
|
102
|
+
readonly idempotent: false;
|
|
103
|
+
readonly paginated: false;
|
|
104
|
+
readonly call: {
|
|
105
|
+
readonly kind: "pathPayload";
|
|
106
|
+
readonly paths: readonly ["id"];
|
|
109
107
|
};
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
108
|
+
};
|
|
109
|
+
export declare const conversationsAddContacts: {
|
|
110
|
+
readonly group: "Conversations";
|
|
111
|
+
readonly method: "POST";
|
|
112
|
+
readonly idempotent: false;
|
|
113
|
+
readonly paginated: false;
|
|
114
|
+
readonly call: {
|
|
115
|
+
readonly kind: "pathPayload";
|
|
116
|
+
readonly paths: readonly ["id"];
|
|
119
117
|
};
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
118
|
+
};
|
|
119
|
+
export declare const conversationsRemoveContacts: {
|
|
120
|
+
readonly group: "Conversations";
|
|
121
|
+
readonly method: "DELETE";
|
|
122
|
+
readonly idempotent: false;
|
|
123
|
+
readonly paginated: false;
|
|
124
|
+
readonly call: {
|
|
125
|
+
readonly kind: "pathPayload";
|
|
126
|
+
readonly paths: readonly ["id"];
|
|
129
127
|
};
|
|
130
128
|
};
|
|
@@ -1,130 +1,128 @@
|
|
|
1
1
|
// src/effect/descriptors/conversations.ts
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
paths: ["id"]
|
|
125
|
-
}
|
|
2
|
+
const conversationsList = {
|
|
3
|
+
group: "Conversations",
|
|
4
|
+
method: "GET",
|
|
5
|
+
idempotent: false,
|
|
6
|
+
paginated: true,
|
|
7
|
+
call: { kind: "params" }
|
|
8
|
+
};
|
|
9
|
+
const conversationsCreate = {
|
|
10
|
+
group: "Conversations",
|
|
11
|
+
method: "POST",
|
|
12
|
+
idempotent: false,
|
|
13
|
+
paginated: false,
|
|
14
|
+
call: { kind: "payload" }
|
|
15
|
+
};
|
|
16
|
+
const conversationsGetById = {
|
|
17
|
+
group: "Conversations",
|
|
18
|
+
method: "GET",
|
|
19
|
+
idempotent: false,
|
|
20
|
+
paginated: false,
|
|
21
|
+
call: {
|
|
22
|
+
kind: "path",
|
|
23
|
+
paths: ["id"]
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const conversationsUpdate = {
|
|
27
|
+
group: "Conversations",
|
|
28
|
+
method: "PATCH",
|
|
29
|
+
idempotent: false,
|
|
30
|
+
paginated: false,
|
|
31
|
+
call: {
|
|
32
|
+
kind: "pathPayload",
|
|
33
|
+
paths: ["id"]
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const conversationsListMessages = {
|
|
37
|
+
group: "Conversations",
|
|
38
|
+
method: "GET",
|
|
39
|
+
idempotent: false,
|
|
40
|
+
paginated: true,
|
|
41
|
+
call: {
|
|
42
|
+
kind: "pathParams",
|
|
43
|
+
paths: ["id"]
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const conversationsAddTags = {
|
|
47
|
+
group: "Conversations",
|
|
48
|
+
method: "POST",
|
|
49
|
+
idempotent: false,
|
|
50
|
+
paginated: false,
|
|
51
|
+
call: {
|
|
52
|
+
kind: "pathPayload",
|
|
53
|
+
paths: ["id"]
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
const conversationsRemoveTags = {
|
|
57
|
+
group: "Conversations",
|
|
58
|
+
method: "DELETE",
|
|
59
|
+
idempotent: false,
|
|
60
|
+
paginated: false,
|
|
61
|
+
call: {
|
|
62
|
+
kind: "pathPayload",
|
|
63
|
+
paths: ["id"]
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const conversationsAddCategories = {
|
|
67
|
+
group: "Conversations",
|
|
68
|
+
method: "POST",
|
|
69
|
+
idempotent: false,
|
|
70
|
+
paginated: false,
|
|
71
|
+
call: {
|
|
72
|
+
kind: "pathPayload",
|
|
73
|
+
paths: ["id"]
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
const conversationsRemoveCategories = {
|
|
77
|
+
group: "Conversations",
|
|
78
|
+
method: "DELETE",
|
|
79
|
+
idempotent: false,
|
|
80
|
+
paginated: false,
|
|
81
|
+
call: {
|
|
82
|
+
kind: "pathPayload",
|
|
83
|
+
paths: ["id"]
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
const conversationsAddChannels = {
|
|
87
|
+
group: "Conversations",
|
|
88
|
+
method: "POST",
|
|
89
|
+
idempotent: false,
|
|
90
|
+
paginated: false,
|
|
91
|
+
call: {
|
|
92
|
+
kind: "pathPayload",
|
|
93
|
+
paths: ["id"]
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
const conversationsRemoveChannels = {
|
|
97
|
+
group: "Conversations",
|
|
98
|
+
method: "DELETE",
|
|
99
|
+
idempotent: false,
|
|
100
|
+
paginated: false,
|
|
101
|
+
call: {
|
|
102
|
+
kind: "pathPayload",
|
|
103
|
+
paths: ["id"]
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
const conversationsAddContacts = {
|
|
107
|
+
group: "Conversations",
|
|
108
|
+
method: "POST",
|
|
109
|
+
idempotent: false,
|
|
110
|
+
paginated: false,
|
|
111
|
+
call: {
|
|
112
|
+
kind: "pathPayload",
|
|
113
|
+
paths: ["id"]
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
const conversationsRemoveContacts = {
|
|
117
|
+
group: "Conversations",
|
|
118
|
+
method: "DELETE",
|
|
119
|
+
idempotent: false,
|
|
120
|
+
paginated: false,
|
|
121
|
+
call: {
|
|
122
|
+
kind: "pathPayload",
|
|
123
|
+
paths: ["id"]
|
|
126
124
|
}
|
|
127
125
|
};
|
|
128
|
-
export {
|
|
126
|
+
export { conversationsAddCategories, conversationsAddChannels, conversationsAddContacts, conversationsAddTags, conversationsCreate, conversationsGetById, conversationsList, conversationsListMessages, conversationsRemoveCategories, conversationsRemoveChannels, conversationsRemoveContacts, conversationsRemoveTags, conversationsUpdate };
|
|
129
127
|
|
|
130
128
|
//# sourceMappingURL=conversations.js.map
|
|
@@ -1,40 +1,38 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
readonly
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
readonly
|
|
8
|
-
readonly kind: "none";
|
|
9
|
-
};
|
|
1
|
+
export declare const customFieldsList: {
|
|
2
|
+
readonly group: "Custom Fields";
|
|
3
|
+
readonly method: "GET";
|
|
4
|
+
readonly idempotent: false;
|
|
5
|
+
readonly paginated: false;
|
|
6
|
+
readonly call: {
|
|
7
|
+
readonly kind: "none";
|
|
10
8
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
};
|
|
10
|
+
export declare const customFieldsCreate: {
|
|
11
|
+
readonly group: "Custom Fields";
|
|
12
|
+
readonly method: "POST";
|
|
13
|
+
readonly idempotent: false;
|
|
14
|
+
readonly paginated: false;
|
|
15
|
+
readonly call: {
|
|
16
|
+
readonly kind: "payload";
|
|
19
17
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
};
|
|
19
|
+
export declare const customFieldsUpdate: {
|
|
20
|
+
readonly group: "Custom Fields";
|
|
21
|
+
readonly method: "PATCH";
|
|
22
|
+
readonly idempotent: false;
|
|
23
|
+
readonly paginated: false;
|
|
24
|
+
readonly call: {
|
|
25
|
+
readonly kind: "pathPayload";
|
|
26
|
+
readonly paths: readonly ["id"];
|
|
29
27
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
};
|
|
29
|
+
export declare const customFieldsRemove: {
|
|
30
|
+
readonly group: "Custom Fields";
|
|
31
|
+
readonly method: "DELETE";
|
|
32
|
+
readonly idempotent: false;
|
|
33
|
+
readonly paginated: false;
|
|
34
|
+
readonly call: {
|
|
35
|
+
readonly kind: "path";
|
|
36
|
+
readonly paths: readonly ["id"];
|
|
39
37
|
};
|
|
40
38
|
};
|
|
@@ -1,40 +1,38 @@
|
|
|
1
1
|
// src/effect/descriptors/custom-fields.ts
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
paths: ["id"]
|
|
35
|
-
}
|
|
2
|
+
const customFieldsList = {
|
|
3
|
+
group: "Custom Fields",
|
|
4
|
+
method: "GET",
|
|
5
|
+
idempotent: false,
|
|
6
|
+
paginated: false,
|
|
7
|
+
call: { kind: "none" }
|
|
8
|
+
};
|
|
9
|
+
const customFieldsCreate = {
|
|
10
|
+
group: "Custom Fields",
|
|
11
|
+
method: "POST",
|
|
12
|
+
idempotent: false,
|
|
13
|
+
paginated: false,
|
|
14
|
+
call: { kind: "payload" }
|
|
15
|
+
};
|
|
16
|
+
const customFieldsUpdate = {
|
|
17
|
+
group: "Custom Fields",
|
|
18
|
+
method: "PATCH",
|
|
19
|
+
idempotent: false,
|
|
20
|
+
paginated: false,
|
|
21
|
+
call: {
|
|
22
|
+
kind: "pathPayload",
|
|
23
|
+
paths: ["id"]
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const customFieldsRemove = {
|
|
27
|
+
group: "Custom Fields",
|
|
28
|
+
method: "DELETE",
|
|
29
|
+
idempotent: false,
|
|
30
|
+
paginated: false,
|
|
31
|
+
call: {
|
|
32
|
+
kind: "path",
|
|
33
|
+
paths: ["id"]
|
|
36
34
|
}
|
|
37
35
|
};
|
|
38
|
-
export {
|
|
36
|
+
export { customFieldsCreate, customFieldsList, customFieldsRemove, customFieldsUpdate };
|
|
39
37
|
|
|
40
38
|
//# sourceMappingURL=custom-fields.js.map
|