@ingestkorea/client-sens 1.2.0 → 1.3.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.
Files changed (69) hide show
  1. package/README.md +33 -10
  2. package/dist-cjs/commands/{GetRequestResultCommand.js → GetAlimtalkResultCommand.js} +6 -6
  3. package/dist-cjs/commands/{GetRequestStatusCommand.js → GetAlimtalkStatusCommand.js} +6 -6
  4. package/dist-cjs/commands/{GetTemplateCommand.js → GetAlimtalkTemplateCommand.js} +6 -6
  5. package/dist-cjs/commands/{ListChannelsCommand.js → ListAlimtalkChannelsCommand.js} +6 -6
  6. package/dist-cjs/commands/ListAlimtalkTemplatesCommand.js +44 -0
  7. package/dist-cjs/commands/index.js +5 -5
  8. package/dist-cjs/models/{GetRequestResult.js → GetAlimtalkResult.js} +0 -0
  9. package/dist-cjs/models/{GetRequestStatus.js → GetAlimtalkStatus.js} +0 -0
  10. package/dist-cjs/models/{GetTemplate.js → GetAlimtalkTemplate.js} +0 -0
  11. package/dist-cjs/models/{ListChannels.js → ListAlimtalkChannels.js} +0 -0
  12. package/dist-cjs/models/{ListTemplates.js → ListAlimtalkTemplates.js} +0 -0
  13. package/dist-cjs/models/index.js +5 -5
  14. package/dist-cjs/protocols/{GetRequestResult.js → GetAlimtalkResult.js} +12 -12
  15. package/dist-cjs/protocols/{GetRequestStatus.js → GetAlimtalkStatus.js} +13 -12
  16. package/dist-cjs/protocols/{GetTemplate.js → GetAlimtalkTemplate.js} +11 -11
  17. package/dist-cjs/protocols/{ListChannels.js → ListAlimtalkChannels.js} +12 -12
  18. package/dist-cjs/protocols/{ListTemplates.js → ListAlimtalkTemplates.js} +24 -21
  19. package/dist-cjs/protocols/index.js +5 -5
  20. package/dist-es/commands/{GetRequestStatusCommand.js → GetAlimtalkResultCommand.js} +4 -4
  21. package/dist-es/commands/{GetRequestResultCommand.js → GetAlimtalkStatusCommand.js} +4 -4
  22. package/dist-es/commands/{ListChannelsCommand.js → GetAlimtalkTemplateCommand.js} +4 -4
  23. package/dist-es/commands/{GetTemplateCommand.js → ListAlimtalkChannelsCommand.js} +4 -4
  24. package/dist-es/commands/ListAlimtalkTemplatesCommand.js +29 -0
  25. package/dist-es/commands/index.js +5 -5
  26. package/dist-es/models/{GetRequestResult.js → GetAlimtalkResult.js} +0 -0
  27. package/dist-es/models/{GetRequestStatus.js → GetAlimtalkStatus.js} +0 -0
  28. package/dist-es/models/{GetTemplate.js → GetAlimtalkTemplate.js} +0 -0
  29. package/dist-es/models/{ListChannels.js → ListAlimtalkChannels.js} +0 -0
  30. package/dist-es/models/{ListTemplates.js → ListAlimtalkTemplates.js} +0 -0
  31. package/dist-es/models/index.js +5 -5
  32. package/dist-es/protocols/{GetRequestResult.js → GetAlimtalkResult.js} +7 -7
  33. package/dist-es/protocols/{GetRequestStatus.js → GetAlimtalkStatus.js} +8 -7
  34. package/dist-es/protocols/{GetTemplate.js → GetAlimtalkTemplate.js} +7 -7
  35. package/dist-es/protocols/{ListChannels.js → ListAlimtalkChannels.js} +7 -7
  36. package/dist-es/protocols/{ListTemplates.js → ListAlimtalkTemplates.js} +17 -14
  37. package/dist-es/protocols/index.js +5 -5
  38. package/dist-types/commands/GetAlimtalkResultCommand.d.ts +13 -0
  39. package/dist-types/commands/GetAlimtalkStatusCommand.d.ts +13 -0
  40. package/dist-types/commands/GetAlimtalkTemplateCommand.d.ts +13 -0
  41. package/dist-types/commands/ListAlimtalkChannelsCommand.d.ts +13 -0
  42. package/dist-types/commands/ListAlimtalkTemplatesCommand.d.ts +13 -0
  43. package/dist-types/commands/index.d.ts +5 -5
  44. package/dist-types/models/{GetRequestResult.d.ts → GetAlimtalkResult.d.ts} +3 -3
  45. package/dist-types/models/{GetRequestStatus.d.ts → GetAlimtalkStatus.d.ts} +2 -2
  46. package/dist-types/models/GetAlimtalkTemplate.d.ts +6 -0
  47. package/dist-types/models/{ListChannels.d.ts → ListAlimtalkChannels.d.ts} +2 -2
  48. package/dist-types/models/{ListTemplates.d.ts → ListAlimtalkTemplates.d.ts} +2 -2
  49. package/dist-types/models/index.d.ts +5 -5
  50. package/dist-types/protocols/GetAlimtalkResult.d.ts +8 -0
  51. package/dist-types/protocols/GetAlimtalkStatus.d.ts +8 -0
  52. package/dist-types/protocols/GetAlimtalkTemplate.d.ts +7 -0
  53. package/dist-types/protocols/ListAlimtalkChannels.d.ts +8 -0
  54. package/dist-types/protocols/ListAlimtalkTemplates.d.ts +10 -0
  55. package/dist-types/protocols/index.d.ts +5 -5
  56. package/package.json +9 -2
  57. package/dist-cjs/commands/ListTemplatesCommand.js +0 -44
  58. package/dist-es/commands/ListTemplatesCommand.js +0 -29
  59. package/dist-types/commands/GetRequestResultCommand.d.ts +0 -13
  60. package/dist-types/commands/GetRequestStatusCommand.d.ts +0 -13
  61. package/dist-types/commands/GetTemplateCommand.d.ts +0 -13
  62. package/dist-types/commands/ListChannelsCommand.d.ts +0 -13
  63. package/dist-types/commands/ListTemplatesCommand.d.ts +0 -13
  64. package/dist-types/models/GetTemplate.d.ts +0 -6
  65. package/dist-types/protocols/GetRequestResult.d.ts +0 -8
  66. package/dist-types/protocols/GetRequestStatus.d.ts +0 -8
  67. package/dist-types/protocols/GetTemplate.d.ts +0 -7
  68. package/dist-types/protocols/ListChannels.d.ts +0 -8
  69. package/dist-types/protocols/ListTemplates.d.ts +0 -10
@@ -1,7 +1,7 @@
1
1
  export * from './SendAlimtalkCommand';
2
- export * from './GetRequestStatusCommand';
3
- export * from './GetRequestResultCommand';
4
- export * from './ListChannelsCommand';
2
+ export * from './GetAlimtalkStatusCommand';
3
+ export * from './GetAlimtalkResultCommand';
4
+ export * from './GetAlimtalkTemplateCommand';
5
+ export * from './ListAlimtalkTemplatesCommand';
6
+ export * from './ListAlimtalkChannelsCommand';
5
7
  export * from './SendSMSCommand';
6
- export * from './ListTemplatesCommand';
7
- export * from './GetTemplateCommand';
@@ -1,8 +1,8 @@
1
- import { StatusMessage } from './GetRequestStatus';
2
- export interface GetRequestResultInput {
1
+ import { StatusMessage } from './GetAlimtalkStatus';
2
+ export interface GetAlimtalkResultInput {
3
3
  messageId: string;
4
4
  }
5
- export interface GetRequestResultOutput extends StatusMessage {
5
+ export interface GetAlimtalkResultOutput extends StatusMessage {
6
6
  requestId?: string;
7
7
  failover?: Failover;
8
8
  }
@@ -1,8 +1,8 @@
1
1
  import { ReceivedMessage } from './SendAlimtalk';
2
- export interface GetRequestStatusInput {
2
+ export interface GetAlimtalkStatusInput {
3
3
  requestId: string;
4
4
  }
5
- export interface GetRequestStatusOutput {
5
+ export interface GetAlimtalkStatusOutput {
6
6
  requestId?: string;
7
7
  statusCode?: string;
8
8
  statusName?: string;
@@ -0,0 +1,6 @@
1
+ import { ListAlimtalkTemplatesInput, ListAlimtalkTemplatesOutput } from './ListAlimtalkTemplates';
2
+ export interface GetAlimtalkTemplateInput extends ListAlimtalkTemplatesInput {
3
+ templateCode: string;
4
+ }
5
+ export interface GetAlimtalkTemplateOutput extends ListAlimtalkTemplatesOutput {
6
+ }
@@ -1,6 +1,6 @@
1
- export interface ListChannelsInput {
1
+ export interface ListAlimtalkChannelsInput {
2
2
  }
3
- export interface ListChannelsOutput {
3
+ export interface ListAlimtalkChannelsOutput {
4
4
  channels: Channel[];
5
5
  }
6
6
  export interface Channel {
@@ -1,7 +1,7 @@
1
- export interface ListTemplatesInput {
1
+ export interface ListAlimtalkTemplatesInput {
2
2
  channelId: string;
3
3
  }
4
- export interface ListTemplatesOutput {
4
+ export interface ListAlimtalkTemplatesOutput {
5
5
  templates?: Template[];
6
6
  }
7
7
  export interface Template {
@@ -1,8 +1,8 @@
1
1
  export * from './SensCommand';
2
2
  export * from './SendAlimtalk';
3
- export * from './GetRequestStatus';
4
- export * from './GetRequestResult';
5
- export * from './ListChannels';
3
+ export * from './GetAlimtalkStatus';
4
+ export * from './GetAlimtalkResult';
5
+ export * from './GetAlimtalkTemplate';
6
+ export * from './ListAlimtalkTemplates';
7
+ export * from './ListAlimtalkChannels';
6
8
  export * from './SendSMS';
7
- export * from './ListTemplates';
8
- export * from './GetTemplate';
@@ -0,0 +1,8 @@
1
+ import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
+ import { GetAlimtalkResultOutput, Failover } from '../models/GetAlimtalkResult';
3
+ import { SensClientResolvedConfig } from '../SensClient';
4
+ import { GetAlimtalkResultCommandInput, GetAlimtalkResultCommandOutput } from '../commands/GetAlimtalkResultCommand';
5
+ export declare const serializeIngestkorea_restJson_GetAlimtalkResultCommand: (input: GetAlimtalkResultCommandInput, config: SensClientResolvedConfig) => Promise<HttpRequest>;
6
+ export declare const deserializeIngestkorea_restJson_GetAlimtalkResultCommand: (output: HttpResponse) => Promise<GetAlimtalkResultCommandOutput>;
7
+ export declare const deserializeIngestkorea_restJson_GetAlimtalkResultOutput: (output: any) => Promise<GetAlimtalkResultOutput>;
8
+ export declare const deserializeIngestkorea_restJson_AlimtalkFailover: (output: any) => Failover;
@@ -0,0 +1,8 @@
1
+ import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
+ import { GetAlimtalkStatusOutput, StatusMessage } from '../models/GetAlimtalkStatus';
3
+ import { SensClientResolvedConfig } from '../SensClient';
4
+ import { GetAlimtalkStatusCommandInput, GetAlimtalkStatusCommandOutput } from '../commands/GetAlimtalkStatusCommand';
5
+ export declare const serializeIngestkorea_restJson_GetAlimtalkStatusCommand: (input: GetAlimtalkStatusCommandInput, config: SensClientResolvedConfig) => Promise<HttpRequest>;
6
+ export declare const deserializeIngestkorea_restJson_GetAlimtalkStatusCommand: (output: HttpResponse) => Promise<GetAlimtalkStatusCommandOutput>;
7
+ export declare const deserializeIngestkorea_restJson_GetAlimtalkStatusOutput: (output: any) => Promise<GetAlimtalkStatusOutput>;
8
+ export declare const deserializeIngestkorea_restJson_GetAlimtalkStatusMessages: (outputs: any[]) => StatusMessage[];
@@ -0,0 +1,7 @@
1
+ import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
+ import { GetAlimtalkTemplateOutput } from '../models/GetAlimtalkTemplate';
3
+ import { SensClientResolvedConfig } from '../SensClient';
4
+ import { GetAlimtalkTemplateCommandInput, GetAlimtalkTemplateCommandOutput } from '../commands/GetAlimtalkTemplateCommand';
5
+ export declare const serializeIngestkorea_restJson_GetAlimtalkTemplateCommand: (input: GetAlimtalkTemplateCommandInput, config: SensClientResolvedConfig) => Promise<HttpRequest>;
6
+ export declare const deserializeIngestkorea_restJson_GetAlimtalkTemplateCommand: (output: HttpResponse) => Promise<GetAlimtalkTemplateCommandOutput>;
7
+ export declare const deserializeIngestkorea_restJson_GetAlimtalkTemplateOutput: (output: any) => Promise<GetAlimtalkTemplateOutput>;
@@ -0,0 +1,8 @@
1
+ import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
+ import { ListAlimtalkChannelsOutput, Channel } from '../models/ListAlimtalkChannels';
3
+ import { SensClientResolvedConfig } from '../SensClient';
4
+ import { ListAlimtalkChannelsCommandInput, ListAlimtalkChannelsCommandOutput } from '../commands/ListAlimtalkChannelsCommand';
5
+ export declare const serializeIngestkorea_restJson_ListAlimtalkChannelsCommand: (input: ListAlimtalkChannelsCommandInput, config: SensClientResolvedConfig) => Promise<HttpRequest>;
6
+ export declare const deserializeIngestkorea_restJson_ListAlimtalkChannelsCommand: (output: HttpResponse) => Promise<ListAlimtalkChannelsCommandOutput>;
7
+ export declare const deserializeIngestkorea_restJson_ListAlimtalkChannelsOutput: (outputs: any[]) => Promise<ListAlimtalkChannelsOutput>;
8
+ export declare const deserializeIngestkorea_restJson_Channel: (outputs: any[]) => Channel[];
@@ -0,0 +1,10 @@
1
+ import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
+ import { ListAlimtalkTemplatesOutput, Template, Comment, Button } from '../models/ListAlimtalkTemplates';
3
+ import { SensClientResolvedConfig } from '../SensClient';
4
+ import { ListAlimtalkTemplatesCommandInput, ListAlimtalkTemplatesCommandOutput } from '../commands/ListAlimtalkTemplatesCommand';
5
+ export declare const serializeIngestkorea_restJson_ListAlimtalkTemplatesCommand: (input: ListAlimtalkTemplatesCommandInput, config: SensClientResolvedConfig) => Promise<HttpRequest>;
6
+ export declare const deserializeIngestkorea_restJson_ListAlimtalkTemplatesCommand: (output: HttpResponse) => Promise<ListAlimtalkTemplatesCommandOutput>;
7
+ export declare const deserializeIngestkorea_restJson_ListAlimtalkTemplatesOutput: (output: any) => Promise<ListAlimtalkTemplatesOutput>;
8
+ export declare const deserializeIngestkorea_restJson_AlimtalkTemplate: (outputs: any[]) => Template[];
9
+ export declare const deserializeIngestkorea_restJson_AlimtalkTemplateComment: (outputs: any[]) => Comment[];
10
+ export declare const deserializeIngestkorea_restJson_AlimtalkTemplateButton: (outputs: any[]) => Button[];
@@ -1,7 +1,7 @@
1
1
  export * from './SendAlimtalk';
2
- export * from './GetRequestStatus';
3
- export * from './GetRequestResult';
4
- export * from './ListChannels';
2
+ export * from './GetAlimtalkStatus';
3
+ export * from './GetAlimtalkResult';
4
+ export * from './GetAlimtalkTemplate';
5
+ export * from './ListAlimtalkTemplates';
6
+ export * from './ListAlimtalkChannels';
5
7
  export * from './SendSMS';
6
- export * from './ListTemplates';
7
- export * from './GetTemplate';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ingestkorea/client-sens",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "description": "INGESTKOREA SDK Naver Cloud Platform SENS Client for Node.js.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,5 +29,12 @@
29
29
  "@ingestkorea/util-error-handler": "^1.0.3",
30
30
  "@ingestkorea/util-http-handler": "^1.0.0",
31
31
  "@ingestkorea/util-simple-logger": "^1.0.3"
32
- }
32
+ },
33
+ "keywords": [
34
+ "sens",
35
+ "alimtalk",
36
+ "sms",
37
+ "push",
38
+ "ncp"
39
+ ]
33
40
  }
@@ -1,44 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ListTemplatesCommand = void 0;
13
- const models_1 = require("../models");
14
- const ListTemplates_1 = require("../protocols/ListTemplates");
15
- const util_error_handler_1 = require("@ingestkorea/util-error-handler");
16
- ;
17
- ;
18
- class ListTemplatesCommand extends models_1.SensCommand {
19
- constructor(input) {
20
- super(input);
21
- this.input = Object.assign({}, input);
22
- }
23
- ;
24
- serialize(input, config) {
25
- return __awaiter(this, void 0, void 0, function* () {
26
- if (!config.serviceId.kakao)
27
- throw new util_error_handler_1.IngestkoreaError({
28
- code: 400, type: 'Bad Request', message: 'Invalid Params', description: 'Please Check Kakao ServiceId'
29
- });
30
- let request = yield (0, ListTemplates_1.serializeIngestkorea_restJson_ListTemplatesCommand)(input, config);
31
- return request;
32
- });
33
- }
34
- ;
35
- deserialize(response) {
36
- return __awaiter(this, void 0, void 0, function* () {
37
- let output = yield (0, ListTemplates_1.deserializeIngestkorea_restJson_ListTemplatesCommand)(response);
38
- return output;
39
- });
40
- }
41
- ;
42
- }
43
- exports.ListTemplatesCommand = ListTemplatesCommand;
44
- ;
@@ -1,29 +0,0 @@
1
- import { SensCommand } from '../models';
2
- import { serializeIngestkorea_restJson_ListTemplatesCommand, deserializeIngestkorea_restJson_ListTemplatesCommand } from '../protocols/ListTemplates';
3
- import { IngestkoreaError } from '@ingestkorea/util-error-handler';
4
- ;
5
- ;
6
- export class ListTemplatesCommand extends SensCommand {
7
- constructor(input) {
8
- super(input);
9
- this.input = {
10
- ...input
11
- };
12
- }
13
- ;
14
- async serialize(input, config) {
15
- if (!config.serviceId.kakao)
16
- throw new IngestkoreaError({
17
- code: 400, type: 'Bad Request', message: 'Invalid Params', description: 'Please Check Kakao ServiceId'
18
- });
19
- let request = await serializeIngestkorea_restJson_ListTemplatesCommand(input, config);
20
- return request;
21
- }
22
- ;
23
- async deserialize(response) {
24
- let output = await deserializeIngestkorea_restJson_ListTemplatesCommand(response);
25
- return output;
26
- }
27
- ;
28
- }
29
- ;
@@ -1,13 +0,0 @@
1
- import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
- import { SensCommand, GetRequestResultInput, GetRequestResultOutput } from '../models';
3
- import { SensClientResolvedConfig } from '../SensClient';
4
- export interface GetRequestResultCommandInput extends GetRequestResultInput {
5
- }
6
- export interface GetRequestResultCommandOutput extends GetRequestResultOutput {
7
- }
8
- export declare class GetRequestResultCommand extends SensCommand<GetRequestResultCommandInput, GetRequestResultCommandOutput, SensClientResolvedConfig> {
9
- input: GetRequestResultCommandInput;
10
- constructor(input: GetRequestResultCommandInput);
11
- serialize(input: GetRequestResultCommandInput, config: SensClientResolvedConfig): Promise<HttpRequest>;
12
- deserialize(response: HttpResponse): Promise<GetRequestResultCommandOutput>;
13
- }
@@ -1,13 +0,0 @@
1
- import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
- import { SensCommand, GetRequestStatusInput, GetRequestStatusOutput } from '../models';
3
- import { SensClientResolvedConfig } from '../SensClient';
4
- export interface GetRequestStatusCommandInput extends GetRequestStatusInput {
5
- }
6
- export interface GetRequestStatusCommandOutput extends GetRequestStatusOutput {
7
- }
8
- export declare class GetRequestStatusCommand extends SensCommand<GetRequestStatusCommandInput, GetRequestStatusCommandOutput, SensClientResolvedConfig> {
9
- input: GetRequestStatusCommandInput;
10
- constructor(input: GetRequestStatusCommandInput);
11
- serialize(input: GetRequestStatusCommandInput, config: SensClientResolvedConfig): Promise<HttpRequest>;
12
- deserialize(response: HttpResponse): Promise<GetRequestStatusCommandOutput>;
13
- }
@@ -1,13 +0,0 @@
1
- import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
- import { SensCommand, GetTemplateInput, GetTemplateOutput } from '../models';
3
- import { SensClientResolvedConfig } from '../SensClient';
4
- export interface GetTemplateCommandInput extends GetTemplateInput {
5
- }
6
- export interface GetTemplateCommandOutput extends GetTemplateOutput {
7
- }
8
- export declare class GetTemplateCommand extends SensCommand<GetTemplateCommandInput, GetTemplateCommandOutput, SensClientResolvedConfig> {
9
- input: GetTemplateCommandInput;
10
- constructor(input: GetTemplateCommandInput);
11
- serialize(input: GetTemplateCommandInput, config: SensClientResolvedConfig): Promise<HttpRequest>;
12
- deserialize(response: HttpResponse): Promise<GetTemplateCommandOutput>;
13
- }
@@ -1,13 +0,0 @@
1
- import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
- import { SensCommand, ListChannelsInput, ListChannelsOutput } from '../models';
3
- import { SensClientResolvedConfig } from '../SensClient';
4
- export interface ListChannelsCommandInput extends ListChannelsInput {
5
- }
6
- export interface ListChannelsCommandOutput extends ListChannelsOutput {
7
- }
8
- export declare class ListChannelsCommand extends SensCommand<ListChannelsCommandInput, ListChannelsCommandOutput, SensClientResolvedConfig> {
9
- input: ListChannelsCommandInput;
10
- constructor(input: ListChannelsCommandInput);
11
- serialize(input: ListChannelsCommandInput, config: SensClientResolvedConfig): Promise<HttpRequest>;
12
- deserialize(response: HttpResponse): Promise<ListChannelsCommandOutput>;
13
- }
@@ -1,13 +0,0 @@
1
- import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
- import { SensCommand, ListTemplatesInput, ListTemplatesOutput } from '../models';
3
- import { SensClientResolvedConfig } from '../SensClient';
4
- export interface ListTemplatesCommandInput extends ListTemplatesInput {
5
- }
6
- export interface ListTemplatesCommandOutput extends ListTemplatesOutput {
7
- }
8
- export declare class ListTemplatesCommand extends SensCommand<ListTemplatesCommandInput, ListTemplatesCommandOutput, SensClientResolvedConfig> {
9
- input: ListTemplatesCommandInput;
10
- constructor(input: ListTemplatesCommandInput);
11
- serialize(input: ListTemplatesCommandInput, config: SensClientResolvedConfig): Promise<HttpRequest>;
12
- deserialize(response: HttpResponse): Promise<ListTemplatesCommandOutput>;
13
- }
@@ -1,6 +0,0 @@
1
- import { ListTemplatesInput, ListTemplatesOutput } from './ListTemplates';
2
- export interface GetTemplateInput extends ListTemplatesInput {
3
- templateCode: string;
4
- }
5
- export interface GetTemplateOutput extends ListTemplatesOutput {
6
- }
@@ -1,8 +0,0 @@
1
- import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
- import { GetRequestResultOutput, Failover } from '../models/GetRequestResult';
3
- import { SensClientResolvedConfig } from '../SensClient';
4
- import { GetRequestResultCommandInput, GetRequestResultCommandOutput } from '../commands/GetRequestResultCommand';
5
- export declare const serializeIngestkorea_restJson_GetRequestResultCommand: (input: GetRequestResultCommandInput, config: SensClientResolvedConfig) => Promise<HttpRequest>;
6
- export declare const deserializeIngestkorea_restJson_GetRequestResultCommand: (output: HttpResponse) => Promise<GetRequestResultCommandOutput>;
7
- export declare const deserializeIngestkorea_restJson_GetRequestResultOutput: (output: any) => Promise<GetRequestResultOutput>;
8
- export declare const deserializeIngestkorea_restJson_GetRequestResultFailover: (output: any) => Failover;
@@ -1,8 +0,0 @@
1
- import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
- import { GetRequestStatusOutput, StatusMessage } from '../models/GetRequestStatus';
3
- import { SensClientResolvedConfig } from '../SensClient';
4
- import { GetRequestStatusCommandInput, GetRequestStatusCommandOutput } from '../commands/GetRequestStatusCommand';
5
- export declare const serializeIngestkorea_restJson_GetRequestStatusCommand: (input: GetRequestStatusCommandInput, config: SensClientResolvedConfig) => Promise<HttpRequest>;
6
- export declare const deserializeIngestkorea_restJson_GetRequestStatusCommand: (output: HttpResponse) => Promise<GetRequestStatusCommandOutput>;
7
- export declare const deserializeIngestkorea_restJson_GetRequestStatusOutput: (output: any) => Promise<GetRequestStatusOutput>;
8
- export declare const deserializeIngestkorea_restJson_GetRequestStatusMessages: (outputs: any[]) => StatusMessage[];
@@ -1,7 +0,0 @@
1
- import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
- import { GetTemplateOutput } from '../models/GetTemplate';
3
- import { SensClientResolvedConfig } from '../SensClient';
4
- import { GetTemplateCommandInput, GetTemplateCommandOutput } from '../commands/GetTemplateCommand';
5
- export declare const serializeIngestkorea_restJson_GetTemplateCommand: (input: GetTemplateCommandInput, config: SensClientResolvedConfig) => Promise<HttpRequest>;
6
- export declare const deserializeIngestkorea_restJson_GetTemplateCommand: (output: HttpResponse) => Promise<GetTemplateCommandOutput>;
7
- export declare const deserializeIngestkorea_restJson_GetTemplateOutput: (output: any) => Promise<GetTemplateOutput>;
@@ -1,8 +0,0 @@
1
- import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
- import { ListChannelsOutput, Channel } from '../models/ListChannels';
3
- import { SensClientResolvedConfig } from '../SensClient';
4
- import { ListChannelsCommandInput, ListChannelsCommandOutput } from '../commands/ListChannelsCommand';
5
- export declare const serializeIngestkorea_restJson_ListChannelsCommand: (input: ListChannelsCommandInput, config: SensClientResolvedConfig) => Promise<HttpRequest>;
6
- export declare const deserializeIngestkorea_restJson_ListChannelsCommand: (output: HttpResponse) => Promise<ListChannelsCommandOutput>;
7
- export declare const deserializeIngestkorea_restJson_ListChannelsOutput: (outputs: any[]) => Promise<ListChannelsOutput>;
8
- export declare const deserializeIngestkorea_restJson_ListChannelsChannelInfo: (outputs: any[]) => Channel[];
@@ -1,10 +0,0 @@
1
- import { HttpRequest, HttpResponse } from '@ingestkorea/util-http-handler';
2
- import { ListTemplatesOutput, Template, Comment, Button } from '../models/ListTemplates';
3
- import { SensClientResolvedConfig } from '../SensClient';
4
- import { ListTemplatesCommandInput, ListTemplatesCommandOutput } from '../commands/ListTemplatesCommand';
5
- export declare const serializeIngestkorea_restJson_ListTemplatesCommand: (input: ListTemplatesCommandInput, config: SensClientResolvedConfig) => Promise<HttpRequest>;
6
- export declare const deserializeIngestkorea_restJson_ListTemplatesCommand: (output: HttpResponse) => Promise<ListTemplatesCommandOutput>;
7
- export declare const deserializeIngestkorea_restJson_ListTemplatesOutput: (output: any) => Promise<ListTemplatesOutput>;
8
- export declare const deserializeIngestkorea_restJson_Template: (outputs: any[]) => Template[];
9
- export declare const deserializeIngestkorea_restJson_Comment: (outputs: any[]) => Comment[];
10
- export declare const deserializeIngestkorea_restJson_Button: (outputs: any[]) => Button[];