@wildix/stream-client 0.0.1 → 0.0.4
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-cjs/models/models_0.js +63 -1
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/models/models_0.js +62 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -2
- package/dist-types/commands/AddReactionCommand.d.ts +57 -0
- package/dist-types/commands/EditMessageCommand.d.ts +57 -0
- package/dist-types/commands/GetInboxCommand.d.ts +48 -1
- package/dist-types/commands/GetMessageCommand.d.ts +57 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +48 -1
- package/dist-types/commands/ListMentionsCommand.d.ts +57 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +57 -0
- package/dist-types/commands/PinMessageCommand.d.ts +57 -0
- package/dist-types/commands/RemoveReactionCommand.d.ts +57 -0
- package/dist-types/commands/SendMessageCommand.d.ts +57 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +57 -0
- package/dist-types/models/models_0.d.ts +342 -2
- package/package.json +1 -1
|
@@ -81,6 +81,14 @@ declare const ListMessagesCommand_base: {
|
|
|
81
81
|
* // reactionCounts: { // ReactionCounts // required
|
|
82
82
|
* // "<keys>": Number("int"),
|
|
83
83
|
* // },
|
|
84
|
+
* // latestReactions: [ // ReactionList
|
|
85
|
+
* // { // Reaction
|
|
86
|
+
* // type: "STRING_VALUE",
|
|
87
|
+
* // userId: "STRING_VALUE",
|
|
88
|
+
* // messageId: "STRING_VALUE",
|
|
89
|
+
* // user: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
84
92
|
* // pinned: true || false, // required
|
|
85
93
|
* // pinnedAt: "STRING_VALUE",
|
|
86
94
|
* // pinnedBy: "STRING_VALUE",
|
|
@@ -92,6 +100,55 @@ declare const ListMessagesCommand_base: {
|
|
|
92
100
|
* // createdAt: "STRING_VALUE", // required
|
|
93
101
|
* // editedAt: "STRING_VALUE",
|
|
94
102
|
* // deletedAt: "STRING_VALUE",
|
|
103
|
+
* // elements: [ // ElementsList
|
|
104
|
+
* // { // Element Union: only one key present
|
|
105
|
+
* // template: { // MessageTemplateConfig
|
|
106
|
+
* // whatsapp: { // TemplateWithParameters
|
|
107
|
+
* // name: "STRING_VALUE", // required
|
|
108
|
+
* // parameters: [ // ListTemplateParameter
|
|
109
|
+
* // { // TemplateParameter
|
|
110
|
+
* // name: "STRING_VALUE", // required
|
|
111
|
+
* // value: "STRING_VALUE", // required
|
|
112
|
+
* // },
|
|
113
|
+
* // ],
|
|
114
|
+
* // },
|
|
115
|
+
* // },
|
|
116
|
+
* // actions: [ // ActionsElementsList
|
|
117
|
+
* // { // ActionElement Union: only one key present
|
|
118
|
+
* // button: { // ButtonElement
|
|
119
|
+
* // text: "STRING_VALUE", // required
|
|
120
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
121
|
+
* // link: { // ButtonLinkHandler
|
|
122
|
+
* // url: "STRING_VALUE", // required
|
|
123
|
+
* // },
|
|
124
|
+
* // reply: { // ButtonReplyHandler
|
|
125
|
+
* // text: "STRING_VALUE",
|
|
126
|
+
* // },
|
|
127
|
+
* // action: { // ButtonActionHandler
|
|
128
|
+
* // id: "STRING_VALUE", // required
|
|
129
|
+
* // },
|
|
130
|
+
* // },
|
|
131
|
+
* // variant: "contained" || "outlined",
|
|
132
|
+
* // disabled: true || false,
|
|
133
|
+
* // },
|
|
134
|
+
* // },
|
|
135
|
+
* // ],
|
|
136
|
+
* // },
|
|
137
|
+
* // ],
|
|
138
|
+
* // whatsapp: true || false,
|
|
139
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
140
|
+
* // sms: true || false,
|
|
141
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
142
|
+
* // markdown: true || false,
|
|
143
|
+
* // giphy: { // MessageGiphy
|
|
144
|
+
* // id: "STRING_VALUE", // required
|
|
145
|
+
* // size: "STRING_VALUE", // required
|
|
146
|
+
* // url: "STRING_VALUE", // required
|
|
147
|
+
* // height: "STRING_VALUE", // required
|
|
148
|
+
* // width: "STRING_VALUE", // required
|
|
149
|
+
* // },
|
|
150
|
+
* // silent: true || false,
|
|
151
|
+
* // event: "STRING_VALUE",
|
|
95
152
|
* // },
|
|
96
153
|
* // ],
|
|
97
154
|
* // };
|
|
@@ -79,6 +79,14 @@ declare const PinMessageCommand_base: {
|
|
|
79
79
|
* // reactionCounts: { // ReactionCounts // required
|
|
80
80
|
* // "<keys>": Number("int"),
|
|
81
81
|
* // },
|
|
82
|
+
* // latestReactions: [ // ReactionList
|
|
83
|
+
* // { // Reaction
|
|
84
|
+
* // type: "STRING_VALUE",
|
|
85
|
+
* // userId: "STRING_VALUE",
|
|
86
|
+
* // messageId: "STRING_VALUE",
|
|
87
|
+
* // user: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
82
90
|
* // pinned: true || false, // required
|
|
83
91
|
* // pinnedAt: "STRING_VALUE",
|
|
84
92
|
* // pinnedBy: "STRING_VALUE",
|
|
@@ -90,6 +98,55 @@ declare const PinMessageCommand_base: {
|
|
|
90
98
|
* // createdAt: "STRING_VALUE", // required
|
|
91
99
|
* // editedAt: "STRING_VALUE",
|
|
92
100
|
* // deletedAt: "STRING_VALUE",
|
|
101
|
+
* // elements: [ // ElementsList
|
|
102
|
+
* // { // Element Union: only one key present
|
|
103
|
+
* // template: { // MessageTemplateConfig
|
|
104
|
+
* // whatsapp: { // TemplateWithParameters
|
|
105
|
+
* // name: "STRING_VALUE", // required
|
|
106
|
+
* // parameters: [ // ListTemplateParameter
|
|
107
|
+
* // { // TemplateParameter
|
|
108
|
+
* // name: "STRING_VALUE", // required
|
|
109
|
+
* // value: "STRING_VALUE", // required
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
112
|
+
* // },
|
|
113
|
+
* // },
|
|
114
|
+
* // actions: [ // ActionsElementsList
|
|
115
|
+
* // { // ActionElement Union: only one key present
|
|
116
|
+
* // button: { // ButtonElement
|
|
117
|
+
* // text: "STRING_VALUE", // required
|
|
118
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
119
|
+
* // link: { // ButtonLinkHandler
|
|
120
|
+
* // url: "STRING_VALUE", // required
|
|
121
|
+
* // },
|
|
122
|
+
* // reply: { // ButtonReplyHandler
|
|
123
|
+
* // text: "STRING_VALUE",
|
|
124
|
+
* // },
|
|
125
|
+
* // action: { // ButtonActionHandler
|
|
126
|
+
* // id: "STRING_VALUE", // required
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // variant: "contained" || "outlined",
|
|
130
|
+
* // disabled: true || false,
|
|
131
|
+
* // },
|
|
132
|
+
* // },
|
|
133
|
+
* // ],
|
|
134
|
+
* // },
|
|
135
|
+
* // ],
|
|
136
|
+
* // whatsapp: true || false,
|
|
137
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
138
|
+
* // sms: true || false,
|
|
139
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
140
|
+
* // markdown: true || false,
|
|
141
|
+
* // giphy: { // MessageGiphy
|
|
142
|
+
* // id: "STRING_VALUE", // required
|
|
143
|
+
* // size: "STRING_VALUE", // required
|
|
144
|
+
* // url: "STRING_VALUE", // required
|
|
145
|
+
* // height: "STRING_VALUE", // required
|
|
146
|
+
* // width: "STRING_VALUE", // required
|
|
147
|
+
* // },
|
|
148
|
+
* // silent: true || false,
|
|
149
|
+
* // event: "STRING_VALUE",
|
|
93
150
|
* // },
|
|
94
151
|
* // };
|
|
95
152
|
*
|
|
@@ -80,6 +80,14 @@ declare const RemoveReactionCommand_base: {
|
|
|
80
80
|
* // reactionCounts: { // ReactionCounts // required
|
|
81
81
|
* // "<keys>": Number("int"),
|
|
82
82
|
* // },
|
|
83
|
+
* // latestReactions: [ // ReactionList
|
|
84
|
+
* // { // Reaction
|
|
85
|
+
* // type: "STRING_VALUE",
|
|
86
|
+
* // userId: "STRING_VALUE",
|
|
87
|
+
* // messageId: "STRING_VALUE",
|
|
88
|
+
* // user: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
83
91
|
* // pinned: true || false, // required
|
|
84
92
|
* // pinnedAt: "STRING_VALUE",
|
|
85
93
|
* // pinnedBy: "STRING_VALUE",
|
|
@@ -91,6 +99,55 @@ declare const RemoveReactionCommand_base: {
|
|
|
91
99
|
* // createdAt: "STRING_VALUE", // required
|
|
92
100
|
* // editedAt: "STRING_VALUE",
|
|
93
101
|
* // deletedAt: "STRING_VALUE",
|
|
102
|
+
* // elements: [ // ElementsList
|
|
103
|
+
* // { // Element Union: only one key present
|
|
104
|
+
* // template: { // MessageTemplateConfig
|
|
105
|
+
* // whatsapp: { // TemplateWithParameters
|
|
106
|
+
* // name: "STRING_VALUE", // required
|
|
107
|
+
* // parameters: [ // ListTemplateParameter
|
|
108
|
+
* // { // TemplateParameter
|
|
109
|
+
* // name: "STRING_VALUE", // required
|
|
110
|
+
* // value: "STRING_VALUE", // required
|
|
111
|
+
* // },
|
|
112
|
+
* // ],
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // actions: [ // ActionsElementsList
|
|
116
|
+
* // { // ActionElement Union: only one key present
|
|
117
|
+
* // button: { // ButtonElement
|
|
118
|
+
* // text: "STRING_VALUE", // required
|
|
119
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
120
|
+
* // link: { // ButtonLinkHandler
|
|
121
|
+
* // url: "STRING_VALUE", // required
|
|
122
|
+
* // },
|
|
123
|
+
* // reply: { // ButtonReplyHandler
|
|
124
|
+
* // text: "STRING_VALUE",
|
|
125
|
+
* // },
|
|
126
|
+
* // action: { // ButtonActionHandler
|
|
127
|
+
* // id: "STRING_VALUE", // required
|
|
128
|
+
* // },
|
|
129
|
+
* // },
|
|
130
|
+
* // variant: "contained" || "outlined",
|
|
131
|
+
* // disabled: true || false,
|
|
132
|
+
* // },
|
|
133
|
+
* // },
|
|
134
|
+
* // ],
|
|
135
|
+
* // },
|
|
136
|
+
* // ],
|
|
137
|
+
* // whatsapp: true || false,
|
|
138
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
139
|
+
* // sms: true || false,
|
|
140
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
141
|
+
* // markdown: true || false,
|
|
142
|
+
* // giphy: { // MessageGiphy
|
|
143
|
+
* // id: "STRING_VALUE", // required
|
|
144
|
+
* // size: "STRING_VALUE", // required
|
|
145
|
+
* // url: "STRING_VALUE", // required
|
|
146
|
+
* // height: "STRING_VALUE", // required
|
|
147
|
+
* // width: "STRING_VALUE", // required
|
|
148
|
+
* // },
|
|
149
|
+
* // silent: true || false,
|
|
150
|
+
* // event: "STRING_VALUE",
|
|
94
151
|
* // },
|
|
95
152
|
* // };
|
|
96
153
|
*
|
|
@@ -103,6 +103,14 @@ declare const SendMessageCommand_base: {
|
|
|
103
103
|
* // reactionCounts: { // ReactionCounts // required
|
|
104
104
|
* // "<keys>": Number("int"),
|
|
105
105
|
* // },
|
|
106
|
+
* // latestReactions: [ // ReactionList
|
|
107
|
+
* // { // Reaction
|
|
108
|
+
* // type: "STRING_VALUE",
|
|
109
|
+
* // userId: "STRING_VALUE",
|
|
110
|
+
* // messageId: "STRING_VALUE",
|
|
111
|
+
* // user: "STRING_VALUE",
|
|
112
|
+
* // },
|
|
113
|
+
* // ],
|
|
106
114
|
* // pinned: true || false, // required
|
|
107
115
|
* // pinnedAt: "STRING_VALUE",
|
|
108
116
|
* // pinnedBy: "STRING_VALUE",
|
|
@@ -114,6 +122,55 @@ declare const SendMessageCommand_base: {
|
|
|
114
122
|
* // createdAt: "STRING_VALUE", // required
|
|
115
123
|
* // editedAt: "STRING_VALUE",
|
|
116
124
|
* // deletedAt: "STRING_VALUE",
|
|
125
|
+
* // elements: [ // ElementsList
|
|
126
|
+
* // { // Element Union: only one key present
|
|
127
|
+
* // template: { // MessageTemplateConfig
|
|
128
|
+
* // whatsapp: { // TemplateWithParameters
|
|
129
|
+
* // name: "STRING_VALUE", // required
|
|
130
|
+
* // parameters: [ // ListTemplateParameter
|
|
131
|
+
* // { // TemplateParameter
|
|
132
|
+
* // name: "STRING_VALUE", // required
|
|
133
|
+
* // value: "STRING_VALUE", // required
|
|
134
|
+
* // },
|
|
135
|
+
* // ],
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // actions: [ // ActionsElementsList
|
|
139
|
+
* // { // ActionElement Union: only one key present
|
|
140
|
+
* // button: { // ButtonElement
|
|
141
|
+
* // text: "STRING_VALUE", // required
|
|
142
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
143
|
+
* // link: { // ButtonLinkHandler
|
|
144
|
+
* // url: "STRING_VALUE", // required
|
|
145
|
+
* // },
|
|
146
|
+
* // reply: { // ButtonReplyHandler
|
|
147
|
+
* // text: "STRING_VALUE",
|
|
148
|
+
* // },
|
|
149
|
+
* // action: { // ButtonActionHandler
|
|
150
|
+
* // id: "STRING_VALUE", // required
|
|
151
|
+
* // },
|
|
152
|
+
* // },
|
|
153
|
+
* // variant: "contained" || "outlined",
|
|
154
|
+
* // disabled: true || false,
|
|
155
|
+
* // },
|
|
156
|
+
* // },
|
|
157
|
+
* // ],
|
|
158
|
+
* // },
|
|
159
|
+
* // ],
|
|
160
|
+
* // whatsapp: true || false,
|
|
161
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
162
|
+
* // sms: true || false,
|
|
163
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
164
|
+
* // markdown: true || false,
|
|
165
|
+
* // giphy: { // MessageGiphy
|
|
166
|
+
* // id: "STRING_VALUE", // required
|
|
167
|
+
* // size: "STRING_VALUE", // required
|
|
168
|
+
* // url: "STRING_VALUE", // required
|
|
169
|
+
* // height: "STRING_VALUE", // required
|
|
170
|
+
* // width: "STRING_VALUE", // required
|
|
171
|
+
* // },
|
|
172
|
+
* // silent: true || false,
|
|
173
|
+
* // event: "STRING_VALUE",
|
|
117
174
|
* // },
|
|
118
175
|
* // };
|
|
119
176
|
*
|
|
@@ -79,6 +79,14 @@ declare const UnpinMessageCommand_base: {
|
|
|
79
79
|
* // reactionCounts: { // ReactionCounts // required
|
|
80
80
|
* // "<keys>": Number("int"),
|
|
81
81
|
* // },
|
|
82
|
+
* // latestReactions: [ // ReactionList
|
|
83
|
+
* // { // Reaction
|
|
84
|
+
* // type: "STRING_VALUE",
|
|
85
|
+
* // userId: "STRING_VALUE",
|
|
86
|
+
* // messageId: "STRING_VALUE",
|
|
87
|
+
* // user: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
82
90
|
* // pinned: true || false, // required
|
|
83
91
|
* // pinnedAt: "STRING_VALUE",
|
|
84
92
|
* // pinnedBy: "STRING_VALUE",
|
|
@@ -90,6 +98,55 @@ declare const UnpinMessageCommand_base: {
|
|
|
90
98
|
* // createdAt: "STRING_VALUE", // required
|
|
91
99
|
* // editedAt: "STRING_VALUE",
|
|
92
100
|
* // deletedAt: "STRING_VALUE",
|
|
101
|
+
* // elements: [ // ElementsList
|
|
102
|
+
* // { // Element Union: only one key present
|
|
103
|
+
* // template: { // MessageTemplateConfig
|
|
104
|
+
* // whatsapp: { // TemplateWithParameters
|
|
105
|
+
* // name: "STRING_VALUE", // required
|
|
106
|
+
* // parameters: [ // ListTemplateParameter
|
|
107
|
+
* // { // TemplateParameter
|
|
108
|
+
* // name: "STRING_VALUE", // required
|
|
109
|
+
* // value: "STRING_VALUE", // required
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
112
|
+
* // },
|
|
113
|
+
* // },
|
|
114
|
+
* // actions: [ // ActionsElementsList
|
|
115
|
+
* // { // ActionElement Union: only one key present
|
|
116
|
+
* // button: { // ButtonElement
|
|
117
|
+
* // text: "STRING_VALUE", // required
|
|
118
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
119
|
+
* // link: { // ButtonLinkHandler
|
|
120
|
+
* // url: "STRING_VALUE", // required
|
|
121
|
+
* // },
|
|
122
|
+
* // reply: { // ButtonReplyHandler
|
|
123
|
+
* // text: "STRING_VALUE",
|
|
124
|
+
* // },
|
|
125
|
+
* // action: { // ButtonActionHandler
|
|
126
|
+
* // id: "STRING_VALUE", // required
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // variant: "contained" || "outlined",
|
|
130
|
+
* // disabled: true || false,
|
|
131
|
+
* // },
|
|
132
|
+
* // },
|
|
133
|
+
* // ],
|
|
134
|
+
* // },
|
|
135
|
+
* // ],
|
|
136
|
+
* // whatsapp: true || false,
|
|
137
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
138
|
+
* // sms: true || false,
|
|
139
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
140
|
+
* // markdown: true || false,
|
|
141
|
+
* // giphy: { // MessageGiphy
|
|
142
|
+
* // id: "STRING_VALUE", // required
|
|
143
|
+
* // size: "STRING_VALUE", // required
|
|
144
|
+
* // url: "STRING_VALUE", // required
|
|
145
|
+
* // height: "STRING_VALUE", // required
|
|
146
|
+
* // width: "STRING_VALUE", // required
|
|
147
|
+
* // },
|
|
148
|
+
* // silent: true || false,
|
|
149
|
+
* // event: "STRING_VALUE",
|
|
93
150
|
* // },
|
|
94
151
|
* // };
|
|
95
152
|
*
|