Skip to content

Commit 4178953

Browse files
James RobertsonJames Robertson
authored andcommitted
verion 0.0.13
1 parent 3c557a5 commit 4178953

File tree

930 files changed

+5248
-2412
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

930 files changed

+5248
-2412
lines changed

.openapi-generator/FILES

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ docs/CreateChannelMetadataResponse.md
4646
docs/CreateUserData.md
4747
docs/CreateUserMetadataData.md
4848
docs/CreateUserMetadataResponse.md
49+
docs/CreateUserTokenData.md
50+
docs/CreateUserTokenResponse.md
4951
docs/CustomTypeListBannedUsersResponse.md
5052
docs/DataExportApi.md
5153
docs/DeleteAllowedIpsFromWhitelistResponse.md
@@ -206,6 +208,8 @@ docs/SendBirdGroupChannelChannel.md
206208
docs/SendBirdGroupChannelCollection.md
207209
docs/SendBirdGroupChannelCreatedBy.md
208210
docs/SendBirdGroupChannelDisappearingMessage.md
211+
docs/SendBirdGroupChannelInviter.md
212+
docs/SendBirdGroupChannelLastMessage.md
209213
docs/SendBirdGroupChannelSmsFallback.md
210214
docs/SendBirdMember.md
211215
docs/SendBirdMessageMetaArray.md
@@ -361,6 +365,8 @@ src/model/CreateChannelMetadataResponse.js
361365
src/model/CreateUserData.js
362366
src/model/CreateUserMetadataData.js
363367
src/model/CreateUserMetadataResponse.js
368+
src/model/CreateUserTokenData.js
369+
src/model/CreateUserTokenResponse.js
364370
src/model/CustomTypeListBannedUsersResponse.js
365371
src/model/DeleteAllowedIpsFromWhitelistResponse.js
366372
src/model/DeleteApnsCertificateByIdResponse.js
@@ -513,6 +519,8 @@ src/model/SendBirdGroupChannelChannel.js
513519
src/model/SendBirdGroupChannelCollection.js
514520
src/model/SendBirdGroupChannelCreatedBy.js
515521
src/model/SendBirdGroupChannelDisappearingMessage.js
522+
src/model/SendBirdGroupChannelInviter.js
523+
src/model/SendBirdGroupChannelLastMessage.js
516524
src/model/SendBirdGroupChannelSmsFallback.js
517525
src/model/SendBirdMember.js
518526
src/model/SendBirdMessageMetaArray.js
@@ -660,6 +668,8 @@ test/model/CreateChannelMetadataResponse.spec.js
660668
test/model/CreateUserData.spec.js
661669
test/model/CreateUserMetadataData.spec.js
662670
test/model/CreateUserMetadataResponse.spec.js
671+
test/model/CreateUserTokenData.spec.js
672+
test/model/CreateUserTokenResponse.spec.js
663673
test/model/CustomTypeListBannedUsersResponse.spec.js
664674
test/model/DeleteAllowedIpsFromWhitelistResponse.spec.js
665675
test/model/DeleteApnsCertificateByIdResponse.spec.js
@@ -812,6 +822,8 @@ test/model/SendBirdGroupChannelChannel.spec.js
812822
test/model/SendBirdGroupChannelCollection.spec.js
813823
test/model/SendBirdGroupChannelCreatedBy.spec.js
814824
test/model/SendBirdGroupChannelDisappearingMessage.spec.js
825+
test/model/SendBirdGroupChannelInviter.spec.js
826+
test/model/SendBirdGroupChannelLastMessage.spec.js
815827
test/model/SendBirdGroupChannelSmsFallback.spec.js
816828
test/model/SendBirdMember.spec.js
817829
test/model/SendBirdMessageMetaArray.spec.js

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ createUser();
3737

3838
```
3939

40-
# ⚠️ Warnings
41-
42-
1. This package is not currently in npm. Please see the Local development section for installation instructions.
43-
44-
2. This library is intended for server to server requests. **Do not use in a browser environment**. This SDK uses the Master API Token, which should never be exposed to the outside world like in a webpage or app.
45-
4640
# ⚒️ Prerequisite
4741

4842
In order to make requests with this SDK you will need you master API token. This can be found through the [Sendbird dashboard](https://dashboard.sendbird.com/). Each app you create in Sendbird has its own master api token. These tokens can be found in Settings > Application > General.

dist/ApiClient.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
2121

2222
/**
2323
* @module ApiClient
24-
* @version 1.0.7
24+
* @version 0.0.13
2525
*/
2626

2727
/**
@@ -61,7 +61,7 @@ var ApiClient = /*#__PURE__*/function () {
6161
*/
6262

6363
this.defaultHeaders = {
64-
'User-Agent': 'OpenAPI-Generator/1.0.7/Javascript'
64+
'User-Agent': 'OpenAPI-Generator/0.0.13/Javascript'
6565
};
6666
/**
6767
* The default HTTP timeout for all API calls.

dist/api/AnnouncementApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
2626
/**
2727
* Announcement service.
2828
* @module api/AnnouncementApi
29-
* @version 1.0.7
29+
* @version 0.0.13
3030
*/
3131
var AnnouncementApi = /*#__PURE__*/function () {
3232
/**

dist/api/ApplicationApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
9494
/**
9595
* Application service.
9696
* @module api/ApplicationApi
97-
* @version 1.0.7
97+
* @version 0.0.13
9898
*/
9999
var ApplicationApi = /*#__PURE__*/function () {
100100
/**

dist/api/BotApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
3838
/**
3939
* Bot service.
4040
* @module api/BotApi
41-
* @version 1.0.7
41+
* @version 0.0.13
4242
*/
4343
var BotApi = /*#__PURE__*/function () {
4444
/**

dist/api/DataExportApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
2626
/**
2727
* DataExport service.
2828
* @module api/DataExportApi
29-
* @version 1.0.7
29+
* @version 0.0.13
3030
*/
3131
var DataExportApi = /*#__PURE__*/function () {
3232
/**

dist/api/GroupChannelApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
5454
/**
5555
* GroupChannel service.
5656
* @module api/GroupChannelApi
57-
* @version 1.0.7
57+
* @version 0.0.13
5858
*/
5959
var GroupChannelApi = /*#__PURE__*/function () {
6060
/**

dist/api/MessageApi.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
9898
/**
9999
* Message service.
100100
* @module api/MessageApi
101-
* @version 1.0.7
101+
* @version 0.0.13
102102
*/
103103
var MessageApi = /*#__PURE__*/function () {
104104
/**
@@ -1225,7 +1225,7 @@ var MessageApi = /*#__PURE__*/function () {
12251225
* @param {String} channelType
12261226
* @param {String} channelUrl
12271227
* @param {Object} opts Optional parameters
1228-
* @param {Number} opts.messageTs
1228+
* @param {String} opts.messageTs
12291229
* @param {Number} opts.messageId
12301230
* @param {Number} opts.prevLimit
12311231
* @param {Number} opts.nextLimit
@@ -1307,7 +1307,7 @@ var MessageApi = /*#__PURE__*/function () {
13071307
* @param {String} channelType
13081308
* @param {String} channelUrl
13091309
* @param {Object} opts Optional parameters
1310-
* @param {Number} opts.messageTs
1310+
* @param {String} opts.messageTs
13111311
* @param {Number} opts.messageId
13121312
* @param {Number} opts.prevLimit
13131313
* @param {Number} opts.nextLimit

dist/api/MetadataApi.js

Lines changed: 41 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
3838
/**
3939
* Metadata service.
4040
* @module api/MetadataApi
41-
* @version 1.0.7
41+
* @version 0.0.13
4242
*/
4343
var MetadataApi = /*#__PURE__*/function () {
4444
/**
@@ -687,7 +687,7 @@ var MetadataApi = /*#__PURE__*/function () {
687687
* @param {String} key
688688
* @param {Object} opts Optional parameters
689689
* @param {Object.<String, Object>} opts.body
690-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
690+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
691691
*/
692692

693693
}, {
@@ -728,7 +728,9 @@ var MetadataApi = /*#__PURE__*/function () {
728728
var authNames = [];
729729
var contentTypes = ['application/json'];
730730
var accepts = ['application/json'];
731-
var returnType = Object;
731+
var returnType = {
732+
'String': 'String'
733+
};
732734
return this.apiClient.callApi('/v3/{channel_type}/{channel_url}/metacounter/{key}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
733735
}
734736
/**
@@ -740,7 +742,7 @@ var MetadataApi = /*#__PURE__*/function () {
740742
* @param {String} key
741743
* @param {Object} opts Optional parameters
742744
* @param {Object.<String, Object>} opts.body
743-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
745+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
744746
*/
745747

746748
}, {
@@ -758,7 +760,7 @@ var MetadataApi = /*#__PURE__*/function () {
758760
* @param {String} channelUrl
759761
* @param {Object} opts Optional parameters
760762
* @param {module:model/UpdateChannelMetadataData} opts.updateChannelMetadataData
761-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
763+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
762764
*/
763765

764766
}, {
@@ -793,7 +795,9 @@ var MetadataApi = /*#__PURE__*/function () {
793795
var authNames = [];
794796
var contentTypes = ['application/json'];
795797
var accepts = ['application/json'];
796-
var returnType = Object;
798+
var returnType = {
799+
'String': 'String'
800+
};
797801
return this.apiClient.callApi('/v3/{channel_type}/{channel_url}/metadata', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
798802
}
799803
/**
@@ -804,7 +808,7 @@ var MetadataApi = /*#__PURE__*/function () {
804808
* @param {String} channelUrl
805809
* @param {Object} opts Optional parameters
806810
* @param {module:model/UpdateChannelMetadataData} opts.updateChannelMetadataData
807-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
811+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
808812
*/
809813

810814
}, {
@@ -823,7 +827,7 @@ var MetadataApi = /*#__PURE__*/function () {
823827
* @param {String} key
824828
* @param {Object} opts Optional parameters
825829
* @param {Object.<String, Object>} opts.body
826-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
830+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
827831
*/
828832

829833
}, {
@@ -864,7 +868,9 @@ var MetadataApi = /*#__PURE__*/function () {
864868
var authNames = [];
865869
var contentTypes = ['application/json'];
866870
var accepts = ['application/json'];
867-
var returnType = Object;
871+
var returnType = {
872+
'String': 'String'
873+
};
868874
return this.apiClient.callApi('/v3/{channel_type}/{channel_url}/metadata/{key}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
869875
}
870876
/**
@@ -876,7 +882,7 @@ var MetadataApi = /*#__PURE__*/function () {
876882
* @param {String} key
877883
* @param {Object} opts Optional parameters
878884
* @param {Object.<String, Object>} opts.body
879-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
885+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
880886
*/
881887

882888
}, {
@@ -950,7 +956,7 @@ var MetadataApi = /*#__PURE__*/function () {
950956
* @param {String} key
951957
* @param {Object} opts Optional parameters
952958
* @param {Object.<String, Object>} opts.body
953-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
959+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
954960
*/
955961

956962
}, {
@@ -985,7 +991,9 @@ var MetadataApi = /*#__PURE__*/function () {
985991
var authNames = [];
986992
var contentTypes = ['application/json'];
987993
var accepts = ['application/json'];
988-
var returnType = Object;
994+
var returnType = {
995+
'String': 'String'
996+
};
989997
return this.apiClient.callApi('/v3/users/{user_id}/metadata/{key}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
990998
}
991999
/**
@@ -996,7 +1004,7 @@ var MetadataApi = /*#__PURE__*/function () {
9961004
* @param {String} key
9971005
* @param {Object} opts Optional parameters
9981006
* @param {Object.<String, Object>} opts.body
999-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1007+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
10001008
*/
10011009

10021010
}, {
@@ -1015,7 +1023,7 @@ var MetadataApi = /*#__PURE__*/function () {
10151023
* @param {Object} opts Optional parameters
10161024
* @param {String} opts.key
10171025
* @param {Array.<String>} opts.keys
1018-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1026+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
10191027
*/
10201028

10211029
}, {
@@ -1053,7 +1061,9 @@ var MetadataApi = /*#__PURE__*/function () {
10531061
var authNames = [];
10541062
var contentTypes = [];
10551063
var accepts = ['application/json'];
1056-
var returnType = Object;
1064+
var returnType = {
1065+
'String': 'String'
1066+
};
10571067
return this.apiClient.callApi('/v3/{channel_type}/{channel_url}/metacounter', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
10581068
}
10591069
/**
@@ -1065,7 +1075,7 @@ var MetadataApi = /*#__PURE__*/function () {
10651075
* @param {Object} opts Optional parameters
10661076
* @param {String} opts.key
10671077
* @param {Array.<String>} opts.keys
1068-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1078+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
10691079
*/
10701080

10711081
}, {
@@ -1151,7 +1161,7 @@ var MetadataApi = /*#__PURE__*/function () {
11511161
* @param {Object} opts Optional parameters
11521162
* @param {String} opts.key
11531163
* @param {Array.<String>} opts.keys
1154-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1164+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
11551165
*/
11561166

11571167
}, {
@@ -1189,7 +1199,9 @@ var MetadataApi = /*#__PURE__*/function () {
11891199
var authNames = [];
11901200
var contentTypes = [];
11911201
var accepts = ['application/json'];
1192-
var returnType = Object;
1202+
var returnType = {
1203+
'String': 'String'
1204+
};
11931205
return this.apiClient.callApi('/v3/{channel_type}/{channel_url}/metadata', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
11941206
}
11951207
/**
@@ -1201,7 +1213,7 @@ var MetadataApi = /*#__PURE__*/function () {
12011213
* @param {Object} opts Optional parameters
12021214
* @param {String} opts.key
12031215
* @param {Array.<String>} opts.keys
1204-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1216+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
12051217
*/
12061218

12071219
}, {
@@ -1218,7 +1230,7 @@ var MetadataApi = /*#__PURE__*/function () {
12181230
* @param {String} channelType
12191231
* @param {String} channelUrl
12201232
* @param {String} key
1221-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1233+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
12221234
*/
12231235

12241236
}, {
@@ -1258,7 +1270,9 @@ var MetadataApi = /*#__PURE__*/function () {
12581270
var authNames = [];
12591271
var contentTypes = [];
12601272
var accepts = ['application/json'];
1261-
var returnType = Object;
1273+
var returnType = {
1274+
'String': 'String'
1275+
};
12621276
return this.apiClient.callApi('/v3/{channel_type}/{channel_url}/metadata/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
12631277
}
12641278
/**
@@ -1268,7 +1282,7 @@ var MetadataApi = /*#__PURE__*/function () {
12681282
* @param {String} channelType
12691283
* @param {String} channelUrl
12701284
* @param {String} key
1271-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1285+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
12721286
*/
12731287

12741288
}, {
@@ -1345,7 +1359,7 @@ var MetadataApi = /*#__PURE__*/function () {
13451359
* @param {String} apiToken
13461360
* @param {String} userId
13471361
* @param {String} key
1348-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1362+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
13491363
*/
13501364

13511365
}, {
@@ -1379,7 +1393,9 @@ var MetadataApi = /*#__PURE__*/function () {
13791393
var authNames = [];
13801394
var contentTypes = [];
13811395
var accepts = ['application/json'];
1382-
var returnType = Object;
1396+
var returnType = {
1397+
'String': 'String'
1398+
};
13831399
return this.apiClient.callApi('/v3/users/{user_id}/metadata/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
13841400
}
13851401
/**
@@ -1388,7 +1404,7 @@ var MetadataApi = /*#__PURE__*/function () {
13881404
* @param {String} apiToken
13891405
* @param {String} userId
13901406
* @param {String} key
1391-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1407+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
13921408
*/
13931409

13941410
}, {

0 commit comments

Comments
 (0)