Skip to content

Commit 5ce6f51

Browse files
James RobertsonJames Robertson
authored andcommitted
switch to group parameters
1 parent 14a2d08 commit 5ce6f51

File tree

643 files changed

+5532
-3886
lines changed

Some content is hidden

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

643 files changed

+5532
-3886
lines changed

.openapi-generator/FILES

Lines changed: 8 additions & 304 deletions
Large diffs are not rendered by default.

dist/ApiClient.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
1313
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1414
/**
1515
* @module ApiClient
16-
* @version 0.0.14
16+
* @version 0.0.16
1717
*/
1818
/**
1919
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -50,7 +50,7 @@ var ApiClient = /*#__PURE__*/function () {
5050
* @default {}
5151
*/
5252
this.defaultHeaders = {
53-
'User-Agent': 'OpenAPI-Generator/0.0.14/Javascript'
53+
'User-Agent': 'OpenAPI-Generator/0.0.16/Javascript'
5454
};
5555

5656
/**
@@ -649,11 +649,12 @@ var ApiClient = /*#__PURE__*/function () {
649649
}
650650
}]);
651651
return ApiClient;
652-
}(); /**
653-
* Enumeration of collection format separator strategies.
654-
* @enum {String}
655-
* @readonly
656-
*/
652+
}();
653+
/**
654+
* Enumeration of collection format separator strategies.
655+
* @enum {String}
656+
* @readonly
657+
*/
657658
ApiClient.CollectionFormatEnum = {
658659
/**
659660
* Comma-separated values. Value: <code>csv</code>

dist/api/AnnouncementApi.js

Lines changed: 291 additions & 78 deletions
Large diffs are not rendered by default.

dist/api/ApplicationApi.js

Lines changed: 92 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ var _AddHmsPushConfigurationResponse = _interopRequireDefault(require("../model/
1414
var _AddIpToWhitelistData = _interopRequireDefault(require("../model/AddIpToWhitelistData"));
1515
var _AddIpToWhitelistResponse = _interopRequireDefault(require("../model/AddIpToWhitelistResponse"));
1616
var _BanUsersInChannelsWithCustomChannelTypeData = _interopRequireDefault(require("../model/BanUsersInChannelsWithCustomChannelTypeData"));
17+
var _ConfigureAutoEventData = _interopRequireDefault(require("../model/ConfigureAutoEventData"));
1718
var _CustomTypeListBannedUsersResponse = _interopRequireDefault(require("../model/CustomTypeListBannedUsersResponse"));
1819
var _DeleteAllowedIpsFromWhitelistResponse = _interopRequireDefault(require("../model/DeleteAllowedIpsFromWhitelistResponse"));
1920
var _DeleteApnsCertificateByIdResponse = _interopRequireDefault(require("../model/DeleteApnsCertificateByIdResponse"));
@@ -27,6 +28,7 @@ var _MuteUsersInChannelsWithCustomChannelTypeData = _interopRequireDefault(requi
2728
var _RemovePushConfigurationByIdResponse = _interopRequireDefault(require("../model/RemovePushConfigurationByIdResponse"));
2829
var _RetrieveIpWhitelistResponse = _interopRequireDefault(require("../model/RetrieveIpWhitelistResponse"));
2930
var _RevokeSecondaryApiTokenByTokenResponse = _interopRequireDefault(require("../model/RevokeSecondaryApiTokenByTokenResponse"));
31+
var _SendBirdAutoEventMessageSettings = _interopRequireDefault(require("../model/SendBirdAutoEventMessageSettings"));
3032
var _SendBirdChannelResponse = _interopRequireDefault(require("../model/SendBirdChannelResponse"));
3133
var _SetDomainFilterData = _interopRequireDefault(require("../model/SetDomainFilterData"));
3234
var _UpdateApnsPushConfigurationByIdData = _interopRequireDefault(require("../model/UpdateApnsPushConfigurationByIdData"));
@@ -50,8 +52,9 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
5052
/**
5153
* Application service.
5254
* @module api/ApplicationApi
53-
* @version 0.0.14
54-
*/var ApplicationApi = /*#__PURE__*/function () {
55+
* @version 0.0.16
56+
*/
57+
var ApplicationApi = /*#__PURE__*/function () {
5558
/**
5659
* Constructs a new ApplicationApi.
5760
* @alias module:api/ApplicationApi
@@ -302,6 +305,52 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
302305
});
303306
}
304307

308+
/**
309+
* Configure auto event message settings
310+
* ## Configure auto event message settings Determines whether to automatically send event messages to group channels when events take place in an application. You can choose which auto event message to receive on the Sendbird Dashboard https://sendbird.com/docs/chat/v3/platform-api/application/managing-auto-event-messages/configure-auto-event-message-settings ----------------------------
311+
* @param {String} apiToken
312+
* @param {Object} opts Optional parameters
313+
* @param {module:model/ConfigureAutoEventData} opts.configureAutoEventData
314+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SendBirdAutoEventMessageSettings} and HTTP response
315+
*/
316+
}, {
317+
key: "configureAutoEventMessagesWithHttpInfo",
318+
value: function configureAutoEventMessagesWithHttpInfo(apiToken, opts) {
319+
opts = opts || {};
320+
var postBody = opts['configureAutoEventData'];
321+
// verify the required parameter 'apiToken' is set
322+
if (apiToken === undefined || apiToken === null) {
323+
throw new Error("Missing the required parameter 'apiToken' when calling configureAutoEventMessages");
324+
}
325+
var pathParams = {};
326+
var queryParams = {};
327+
var headerParams = {
328+
'Api-Token': apiToken
329+
};
330+
var formParams = {};
331+
var authNames = [];
332+
var contentTypes = ['application/json'];
333+
var accepts = ['application/json'];
334+
var returnType = _SendBirdAutoEventMessageSettings["default"];
335+
return this.apiClient.callApi('/v3/applications/settings/auto_event_message', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
336+
}
337+
338+
/**
339+
* Configure auto event message settings
340+
* ## Configure auto event message settings Determines whether to automatically send event messages to group channels when events take place in an application. You can choose which auto event message to receive on the Sendbird Dashboard https://sendbird.com/docs/chat/v3/platform-api/application/managing-auto-event-messages/configure-auto-event-message-settings ----------------------------
341+
* @param {String} apiToken
342+
* @param {Object} opts Optional parameters
343+
* @param {module:model/ConfigureAutoEventData} opts.configureAutoEventData
344+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SendBirdAutoEventMessageSettings}
345+
*/
346+
}, {
347+
key: "configureAutoEventMessages",
348+
value: function configureAutoEventMessages(apiToken, opts) {
349+
return this.configureAutoEventMessagesWithHttpInfo(apiToken, opts).then(function (response_and_data) {
350+
return response_and_data.data;
351+
});
352+
}
353+
305354
/**
306355
* Delete allowed IPs from a whitelist
307356
* ## Delete allowed IPs from a whitelist Deletes allowed IPs from the whitelist by specifying their IP addresses or ranges. You can configure the IP whitelist under Settings > Security > Allowed IPs in the [Sendbird Dashboard](https://dashboard.sendbird.com). https://sendbird.com/docs/chat/v3/platform-api/guides/application#2-delete-allowed-ips-from-a-whitelist
@@ -446,6 +495,47 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
446495
});
447496
}
448497

498+
/**
499+
* List auto event messages
500+
* ## List auto event messages Retrieves a list of auto event messages that are sent in a specified application and indicates which ones are in use. Auto event messages are Admin messages that are automatically generated when a specific event occurs. https://sendbird.com/docs/chat/v3/platform-api/application/managing-auto-event-messages/list-auto-event-messages ----------------------------
501+
* @param {String} apiToken
502+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SendBirdAutoEventMessageSettings} and HTTP response
503+
*/
504+
}, {
505+
key: "listAutoEventMessagesWithHttpInfo",
506+
value: function listAutoEventMessagesWithHttpInfo(apiToken) {
507+
var postBody = null;
508+
// verify the required parameter 'apiToken' is set
509+
if (apiToken === undefined || apiToken === null) {
510+
throw new Error("Missing the required parameter 'apiToken' when calling listAutoEventMessages");
511+
}
512+
var pathParams = {};
513+
var queryParams = {};
514+
var headerParams = {
515+
'Api-Token': apiToken
516+
};
517+
var formParams = {};
518+
var authNames = [];
519+
var contentTypes = [];
520+
var accepts = ['application/json'];
521+
var returnType = _SendBirdAutoEventMessageSettings["default"];
522+
return this.apiClient.callApi('/v3/applications/settings/auto_event_message', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
523+
}
524+
525+
/**
526+
* List auto event messages
527+
* ## List auto event messages Retrieves a list of auto event messages that are sent in a specified application and indicates which ones are in use. Auto event messages are Admin messages that are automatically generated when a specific event occurs. https://sendbird.com/docs/chat/v3/platform-api/application/managing-auto-event-messages/list-auto-event-messages ----------------------------
528+
* @param {String} apiToken
529+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SendBirdAutoEventMessageSettings}
530+
*/
531+
}, {
532+
key: "listAutoEventMessages",
533+
value: function listAutoEventMessages(apiToken) {
534+
return this.listAutoEventMessagesWithHttpInfo(apiToken).then(function (response_and_data) {
535+
return response_and_data.data;
536+
});
537+
}
538+
449539
/**
450540
* List banned users in channels with a custom channel type
451541
* ## Retrieves a list of users banned from channels with the specified custom channel type.

dist/api/BotApi.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
2222
/**
2323
* Bot service.
2424
* @module api/BotApi
25-
* @version 0.0.14
26-
*/var BotApi = /*#__PURE__*/function () {
25+
* @version 0.0.16
26+
*/
27+
var BotApi = /*#__PURE__*/function () {
2728
/**
2829
* Constructs a new BotApi.
2930
* @alias module:api/BotApi

dist/api/DataExportApi.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
1616
/**
1717
* DataExport service.
1818
* @module api/DataExportApi
19-
* @version 0.0.14
20-
*/var DataExportApi = /*#__PURE__*/function () {
19+
* @version 0.0.16
20+
*/
21+
var DataExportApi = /*#__PURE__*/function () {
2122
/**
2223
* Constructs a new DataExportApi.
2324
* @alias module:api/DataExportApi

dist/api/GroupChannelApi.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
3030
/**
3131
* GroupChannel service.
3232
* @module api/GroupChannelApi
33-
* @version 0.0.14
34-
*/var GroupChannelApi = /*#__PURE__*/function () {
33+
* @version 0.0.16
34+
*/
35+
var GroupChannelApi = /*#__PURE__*/function () {
3536
/**
3637
* Constructs a new GroupChannelApi.
3738
* @alias module:api/GroupChannelApi

0 commit comments

Comments
 (0)