pingram 1.0.24 → 1.0.25-alpha.1388
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/generated/src/apis/EmailApi.d.ts +9 -9
- package/dist/generated/src/apis/EmailApi.js +3 -3
- package/dist/generated/src/apis/RegistrationsApi.d.ts +94 -0
- package/dist/generated/src/apis/RegistrationsApi.js +217 -0
- package/dist/generated/src/apis/index.d.ts +2 -0
- package/dist/generated/src/apis/index.js +3 -1
- package/dist/generated/src/models/AccountGetResponse.d.ts +16 -0
- package/dist/generated/src/models/AccountGetResponse.js +18 -3
- package/dist/generated/src/models/BillingPostResponseBody.d.ts +16 -0
- package/dist/generated/src/models/BillingPostResponseBody.js +16 -1
- package/dist/generated/src/models/LogsGetResponseLogsInner.d.ts +10 -5
- package/dist/generated/src/models/LogsGetResponseLogsInner.js +5 -0
- package/dist/generated/src/models/TenDlcBrandAdminUpdateRequest.d.ts +205 -0
- package/dist/generated/src/models/TenDlcBrandAdminUpdateRequest.js +151 -0
- package/dist/generated/src/models/TenDlcBrandCreateRequest.d.ts +33 -7
- package/dist/generated/src/models/TenDlcBrandCreateRequest.js +22 -0
- package/dist/generated/src/models/TenDlcBrandRegistrationDetails.d.ts +1 -1
- package/dist/generated/src/models/TenDlcBrandUpdateRequest.d.ts +26 -34
- package/dist/generated/src/models/TenDlcBrandUpdateRequest.js +18 -16
- package/dist/generated/src/models/index.d.ts +1 -1
- package/dist/generated/src/models/index.js +1 -1
- package/dist/src/client.d.ts +2 -0
- package/dist/src/client.js +22 -19
- package/package.json +1 -1
- package/dist/generated/src/models/DeleteEmailSuppressionsResponse.d.ts +0 -38
- package/dist/generated/src/models/DeleteEmailSuppressionsResponse.js +0 -54
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { MessageResponse, SendEmailApiResponse, SendEmailRequest } from '../models/index';
|
|
14
14
|
export interface DeleteSuppressionsRequest {
|
|
15
15
|
reason: string;
|
|
16
16
|
}
|
|
@@ -26,17 +26,17 @@ export interface SendRequest {
|
|
|
26
26
|
export interface EmailApiInterface {
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
|
-
* @summary
|
|
29
|
+
* @summary Start removing all email suppressions of the given reason (`retryable` or `bounces`) for users in the environment. Returns immediately after the job is queued — suppressions are not yet cleared when this response is received. Large removals are processed in the background in batches.
|
|
30
30
|
* @param {string} reason Suppression reason to clear (retryable | bounces)
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
32
|
* @throws {RequiredError}
|
|
33
33
|
* @memberof EmailApiInterface
|
|
34
34
|
*/
|
|
35
|
-
deleteSuppressionsRaw(requestParameters: DeleteSuppressionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
35
|
+
deleteSuppressionsRaw(requestParameters: DeleteSuppressionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MessageResponse>>;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Start removing all email suppressions of the given reason (`retryable` or `bounces`) for users in the environment. Returns immediately after the job is queued — suppressions are not yet cleared when this response is received. Large removals are processed in the background in batches.
|
|
38
38
|
*/
|
|
39
|
-
deleteSuppressions(reason: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
39
|
+
deleteSuppressions(reason: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MessageResponse>;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @summary Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments. The fromAddress must be a verified domain; otherwise our built-in address will be used which is fine for testing purposes.
|
|
@@ -56,13 +56,13 @@ export interface EmailApiInterface {
|
|
|
56
56
|
*/
|
|
57
57
|
export declare class EmailApi extends runtime.BaseAPI implements EmailApiInterface {
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Start removing all email suppressions of the given reason (`retryable` or `bounces`) for users in the environment. Returns immediately after the job is queued — suppressions are not yet cleared when this response is received. Large removals are processed in the background in batches.
|
|
60
60
|
*/
|
|
61
|
-
deleteSuppressionsRaw(requestParameters: DeleteSuppressionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
61
|
+
deleteSuppressionsRaw(requestParameters: DeleteSuppressionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MessageResponse>>;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Start removing all email suppressions of the given reason (`retryable` or `bounces`) for users in the environment. Returns immediately after the job is queued — suppressions are not yet cleared when this response is received. Large removals are processed in the background in batches.
|
|
64
64
|
*/
|
|
65
|
-
deleteSuppressions(reason: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
65
|
+
deleteSuppressions(reason: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MessageResponse>;
|
|
66
66
|
/**
|
|
67
67
|
* Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments. The fromAddress must be a verified domain; otherwise our built-in address will be used which is fine for testing purposes.
|
|
68
68
|
*/
|
|
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class EmailApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Start removing all email suppressions of the given reason (`retryable` or `bounces`) for users in the environment. Returns immediately after the job is queued — suppressions are not yet cleared when this response is received. Large removals are processed in the background in batches.
|
|
58
58
|
*/
|
|
59
59
|
async deleteSuppressionsRaw(requestParameters, initOverrides) {
|
|
60
60
|
if (requestParameters['reason'] == null) {
|
|
@@ -98,10 +98,10 @@ class EmailApi extends runtime.BaseAPI {
|
|
|
98
98
|
headers: headerParameters,
|
|
99
99
|
query: queryParameters
|
|
100
100
|
}, initOverrides);
|
|
101
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
101
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.MessageResponseFromJSON)(jsonValue));
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Start removing all email suppressions of the given reason (`retryable` or `bounces`) for users in the environment. Returns immediately after the job is queued — suppressions are not yet cleared when this response is received. Large removals are processed in the background in batches.
|
|
105
105
|
*/
|
|
106
106
|
async deleteSuppressions(reason, initOverrides) {
|
|
107
107
|
const response = await this.deleteSuppressionsRaw({ reason: reason }, initOverrides);
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pingram
|
|
3
|
+
* Internal API for notification delivery and management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { TenDlcBrandCreateRequest, TenDlcBrandRegistration, TenDlcBrandUpdateRequest } from '../models/index';
|
|
14
|
+
export interface CreateUs10dlcBrandRequest {
|
|
15
|
+
tenDlcBrandCreateRequest: TenDlcBrandCreateRequest;
|
|
16
|
+
}
|
|
17
|
+
export interface UpdateUs10dlcBrandRequest {
|
|
18
|
+
tenDlcBrandUpdateRequest: TenDlcBrandUpdateRequest;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* RegistrationsApi - interface
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
* @interface RegistrationsApiInterface
|
|
25
|
+
*/
|
|
26
|
+
export interface RegistrationsApiInterface {
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @summary Create a new 10DLC brand registration. Sets brandStatus to pending_review; Pingram handles carrier submission after review.
|
|
30
|
+
* @param {TenDlcBrandCreateRequest} tenDlcBrandCreateRequest
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
* @memberof RegistrationsApiInterface
|
|
34
|
+
*/
|
|
35
|
+
createUs10dlcBrandRaw(requestParameters: CreateUs10dlcBrandRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TenDlcBrandRegistration>>;
|
|
36
|
+
/**
|
|
37
|
+
* Create a new 10DLC brand registration. Sets brandStatus to pending_review; Pingram handles carrier submission after review.
|
|
38
|
+
*/
|
|
39
|
+
createUs10dlcBrand(tenDlcBrandCreateRequest: TenDlcBrandCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TenDlcBrandRegistration>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @summary Get the 10DLC brand registration for the authenticated account. Returns null when no registration exists yet.
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
* @memberof RegistrationsApiInterface
|
|
46
|
+
*/
|
|
47
|
+
getUs10dlcBrandRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TenDlcBrandRegistration>>;
|
|
48
|
+
/**
|
|
49
|
+
* Get the 10DLC brand registration for the authenticated account. Returns null when no registration exists yet.
|
|
50
|
+
*/
|
|
51
|
+
getUs10dlcBrand(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TenDlcBrandRegistration>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @summary Update an existing 10DLC brand registration. Business fields are editable before carrier submission; workflow status is managed by Pingram.
|
|
55
|
+
* @param {TenDlcBrandUpdateRequest} tenDlcBrandUpdateRequest
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
* @memberof RegistrationsApiInterface
|
|
59
|
+
*/
|
|
60
|
+
updateUs10dlcBrandRaw(requestParameters: UpdateUs10dlcBrandRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TenDlcBrandRegistration>>;
|
|
61
|
+
/**
|
|
62
|
+
* Update an existing 10DLC brand registration. Business fields are editable before carrier submission; workflow status is managed by Pingram.
|
|
63
|
+
*/
|
|
64
|
+
updateUs10dlcBrand(tenDlcBrandUpdateRequest: TenDlcBrandUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TenDlcBrandRegistration>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export declare class RegistrationsApi extends runtime.BaseAPI implements RegistrationsApiInterface {
|
|
70
|
+
/**
|
|
71
|
+
* Create a new 10DLC brand registration. Sets brandStatus to pending_review; Pingram handles carrier submission after review.
|
|
72
|
+
*/
|
|
73
|
+
createUs10dlcBrandRaw(requestParameters: CreateUs10dlcBrandRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TenDlcBrandRegistration>>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a new 10DLC brand registration. Sets brandStatus to pending_review; Pingram handles carrier submission after review.
|
|
76
|
+
*/
|
|
77
|
+
createUs10dlcBrand(tenDlcBrandCreateRequest: TenDlcBrandCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TenDlcBrandRegistration>;
|
|
78
|
+
/**
|
|
79
|
+
* Get the 10DLC brand registration for the authenticated account. Returns null when no registration exists yet.
|
|
80
|
+
*/
|
|
81
|
+
getUs10dlcBrandRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TenDlcBrandRegistration>>;
|
|
82
|
+
/**
|
|
83
|
+
* Get the 10DLC brand registration for the authenticated account. Returns null when no registration exists yet.
|
|
84
|
+
*/
|
|
85
|
+
getUs10dlcBrand(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TenDlcBrandRegistration>;
|
|
86
|
+
/**
|
|
87
|
+
* Update an existing 10DLC brand registration. Business fields are editable before carrier submission; workflow status is managed by Pingram.
|
|
88
|
+
*/
|
|
89
|
+
updateUs10dlcBrandRaw(requestParameters: UpdateUs10dlcBrandRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TenDlcBrandRegistration>>;
|
|
90
|
+
/**
|
|
91
|
+
* Update an existing 10DLC brand registration. Business fields are editable before carrier submission; workflow status is managed by Pingram.
|
|
92
|
+
*/
|
|
93
|
+
updateUs10dlcBrand(tenDlcBrandUpdateRequest: TenDlcBrandUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TenDlcBrandRegistration>;
|
|
94
|
+
}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pingram
|
|
6
|
+
* Internal API for notification delivery and management
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.RegistrationsApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class RegistrationsApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Create a new 10DLC brand registration. Sets brandStatus to pending_review; Pingram handles carrier submission after review.
|
|
58
|
+
*/
|
|
59
|
+
async createUs10dlcBrandRaw(requestParameters, initOverrides) {
|
|
60
|
+
if (requestParameters['tenDlcBrandCreateRequest'] == null) {
|
|
61
|
+
throw new runtime.RequiredError('tenDlcBrandCreateRequest', 'Required parameter "tenDlcBrandCreateRequest" was null or undefined when calling createUs10dlcBrand().');
|
|
62
|
+
}
|
|
63
|
+
const queryParameters = {};
|
|
64
|
+
const headerParameters = {};
|
|
65
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
66
|
+
if (this.configuration &&
|
|
67
|
+
(this.configuration.username !== undefined ||
|
|
68
|
+
this.configuration.password !== undefined)) {
|
|
69
|
+
headerParameters['Authorization'] =
|
|
70
|
+
'Basic ' +
|
|
71
|
+
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
72
|
+
}
|
|
73
|
+
if (this.configuration &&
|
|
74
|
+
(this.configuration.username !== undefined ||
|
|
75
|
+
this.configuration.password !== undefined)) {
|
|
76
|
+
headerParameters['Authorization'] =
|
|
77
|
+
'Basic ' +
|
|
78
|
+
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
79
|
+
}
|
|
80
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
81
|
+
const token = this.configuration.accessToken;
|
|
82
|
+
const tokenString = await token('apiKey', []);
|
|
83
|
+
if (tokenString) {
|
|
84
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (this.configuration &&
|
|
88
|
+
(this.configuration.username !== undefined ||
|
|
89
|
+
this.configuration.password !== undefined)) {
|
|
90
|
+
headerParameters['Authorization'] =
|
|
91
|
+
'Basic ' +
|
|
92
|
+
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
93
|
+
}
|
|
94
|
+
let urlPath = `/registrations/us/10dlc/brand`;
|
|
95
|
+
const response = await this.request({
|
|
96
|
+
path: urlPath,
|
|
97
|
+
method: 'POST',
|
|
98
|
+
headers: headerParameters,
|
|
99
|
+
query: queryParameters,
|
|
100
|
+
body: (0, index_1.TenDlcBrandCreateRequestToJSON)(requestParameters['tenDlcBrandCreateRequest'])
|
|
101
|
+
}, initOverrides);
|
|
102
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TenDlcBrandRegistrationFromJSON)(jsonValue));
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Create a new 10DLC brand registration. Sets brandStatus to pending_review; Pingram handles carrier submission after review.
|
|
106
|
+
*/
|
|
107
|
+
async createUs10dlcBrand(tenDlcBrandCreateRequest, initOverrides) {
|
|
108
|
+
const response = await this.createUs10dlcBrandRaw({ tenDlcBrandCreateRequest: tenDlcBrandCreateRequest }, initOverrides);
|
|
109
|
+
return await response.value();
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Get the 10DLC brand registration for the authenticated account. Returns null when no registration exists yet.
|
|
113
|
+
*/
|
|
114
|
+
async getUs10dlcBrandRaw(initOverrides) {
|
|
115
|
+
const queryParameters = {};
|
|
116
|
+
const headerParameters = {};
|
|
117
|
+
if (this.configuration &&
|
|
118
|
+
(this.configuration.username !== undefined ||
|
|
119
|
+
this.configuration.password !== undefined)) {
|
|
120
|
+
headerParameters['Authorization'] =
|
|
121
|
+
'Basic ' +
|
|
122
|
+
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
123
|
+
}
|
|
124
|
+
if (this.configuration &&
|
|
125
|
+
(this.configuration.username !== undefined ||
|
|
126
|
+
this.configuration.password !== undefined)) {
|
|
127
|
+
headerParameters['Authorization'] =
|
|
128
|
+
'Basic ' +
|
|
129
|
+
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
130
|
+
}
|
|
131
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
132
|
+
const token = this.configuration.accessToken;
|
|
133
|
+
const tokenString = await token('apiKey', []);
|
|
134
|
+
if (tokenString) {
|
|
135
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
if (this.configuration &&
|
|
139
|
+
(this.configuration.username !== undefined ||
|
|
140
|
+
this.configuration.password !== undefined)) {
|
|
141
|
+
headerParameters['Authorization'] =
|
|
142
|
+
'Basic ' +
|
|
143
|
+
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
144
|
+
}
|
|
145
|
+
let urlPath = `/registrations/us/10dlc/brand`;
|
|
146
|
+
const response = await this.request({
|
|
147
|
+
path: urlPath,
|
|
148
|
+
method: 'GET',
|
|
149
|
+
headers: headerParameters,
|
|
150
|
+
query: queryParameters
|
|
151
|
+
}, initOverrides);
|
|
152
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TenDlcBrandRegistrationFromJSON)(jsonValue));
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Get the 10DLC brand registration for the authenticated account. Returns null when no registration exists yet.
|
|
156
|
+
*/
|
|
157
|
+
async getUs10dlcBrand(initOverrides) {
|
|
158
|
+
const response = await this.getUs10dlcBrandRaw(initOverrides);
|
|
159
|
+
return await response.value();
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Update an existing 10DLC brand registration. Business fields are editable before carrier submission; workflow status is managed by Pingram.
|
|
163
|
+
*/
|
|
164
|
+
async updateUs10dlcBrandRaw(requestParameters, initOverrides) {
|
|
165
|
+
if (requestParameters['tenDlcBrandUpdateRequest'] == null) {
|
|
166
|
+
throw new runtime.RequiredError('tenDlcBrandUpdateRequest', 'Required parameter "tenDlcBrandUpdateRequest" was null or undefined when calling updateUs10dlcBrand().');
|
|
167
|
+
}
|
|
168
|
+
const queryParameters = {};
|
|
169
|
+
const headerParameters = {};
|
|
170
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
171
|
+
if (this.configuration &&
|
|
172
|
+
(this.configuration.username !== undefined ||
|
|
173
|
+
this.configuration.password !== undefined)) {
|
|
174
|
+
headerParameters['Authorization'] =
|
|
175
|
+
'Basic ' +
|
|
176
|
+
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
177
|
+
}
|
|
178
|
+
if (this.configuration &&
|
|
179
|
+
(this.configuration.username !== undefined ||
|
|
180
|
+
this.configuration.password !== undefined)) {
|
|
181
|
+
headerParameters['Authorization'] =
|
|
182
|
+
'Basic ' +
|
|
183
|
+
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
184
|
+
}
|
|
185
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
186
|
+
const token = this.configuration.accessToken;
|
|
187
|
+
const tokenString = await token('apiKey', []);
|
|
188
|
+
if (tokenString) {
|
|
189
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
if (this.configuration &&
|
|
193
|
+
(this.configuration.username !== undefined ||
|
|
194
|
+
this.configuration.password !== undefined)) {
|
|
195
|
+
headerParameters['Authorization'] =
|
|
196
|
+
'Basic ' +
|
|
197
|
+
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
198
|
+
}
|
|
199
|
+
let urlPath = `/registrations/us/10dlc/brand`;
|
|
200
|
+
const response = await this.request({
|
|
201
|
+
path: urlPath,
|
|
202
|
+
method: 'PATCH',
|
|
203
|
+
headers: headerParameters,
|
|
204
|
+
query: queryParameters,
|
|
205
|
+
body: (0, index_1.TenDlcBrandUpdateRequestToJSON)(requestParameters['tenDlcBrandUpdateRequest'])
|
|
206
|
+
}, initOverrides);
|
|
207
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TenDlcBrandRegistrationFromJSON)(jsonValue));
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Update an existing 10DLC brand registration. Business fields are editable before carrier submission; workflow status is managed by Pingram.
|
|
211
|
+
*/
|
|
212
|
+
async updateUs10dlcBrand(tenDlcBrandUpdateRequest, initOverrides) {
|
|
213
|
+
const response = await this.updateUs10dlcBrandRaw({ tenDlcBrandUpdateRequest: tenDlcBrandUpdateRequest }, initOverrides);
|
|
214
|
+
return await response.value();
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
exports.RegistrationsApi = RegistrationsApi;
|
|
@@ -34,6 +34,8 @@ export type { OrderNumberRequest, ReleaseNumberRequest, SearchAvailableRequest,
|
|
|
34
34
|
export { NumbersApi } from './NumbersApi';
|
|
35
35
|
export type { AcceptInviteOperationRequest, ChangeEmailOperationRequest, DeleteAccountOperationRequest, DisableMfaRequest, SetupMfaRequest, VerifyMfaRequest, ProfileApiInterface } from './ProfileApi';
|
|
36
36
|
export { ProfileApi } from './ProfileApi';
|
|
37
|
+
export type { CreateUs10dlcBrandRequest, UpdateUs10dlcBrandRequest, RegistrationsApiInterface } from './RegistrationsApi';
|
|
38
|
+
export { RegistrationsApi } from './RegistrationsApi';
|
|
37
39
|
export type { DeleteScheduleRequest, TestEmailRequest, UpdateScheduleRequest, SenderApiInterface } from './SenderApi';
|
|
38
40
|
export { SenderApi } from './SenderApi';
|
|
39
41
|
export type { SendRequest as SmsApiSendRequest, SmsApiInterface } from './SmsApi';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Multiple `SendRequest` types from bare `send` APIs are re-exported under stable names.
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.WebhooksApi = exports.VoiceApi = exports.UsersApi = exports.UserApi = exports.TypesApi = exports.TemplatesApi = exports.SmsApi = exports.SenderApi = exports.ProfileApi = exports.NumbersApi = exports.MembersApi = exports.LogsApi = exports.KeysApi = exports.InsightsApi = exports.HealthApi = exports.EnvironmentsApi = exports.EmailApi = exports.EditorApi = exports.DomainsApi = exports.DefaultApi = exports.ComponentsApi = exports.AddressesApi = exports.AccountsApi = exports.AccountApi = void 0;
|
|
9
|
+
exports.WebhooksApi = exports.VoiceApi = exports.UsersApi = exports.UserApi = exports.TypesApi = exports.TemplatesApi = exports.SmsApi = exports.SenderApi = exports.RegistrationsApi = exports.ProfileApi = exports.NumbersApi = exports.MembersApi = exports.LogsApi = exports.KeysApi = exports.InsightsApi = exports.HealthApi = exports.EnvironmentsApi = exports.EmailApi = exports.EditorApi = exports.DomainsApi = exports.DefaultApi = exports.ComponentsApi = exports.AddressesApi = exports.AccountsApi = exports.AccountApi = void 0;
|
|
10
10
|
var AccountApi_1 = require("./AccountApi");
|
|
11
11
|
Object.defineProperty(exports, "AccountApi", { enumerable: true, get: function () { return AccountApi_1.AccountApi; } });
|
|
12
12
|
var AccountsApi_1 = require("./AccountsApi");
|
|
@@ -39,6 +39,8 @@ var NumbersApi_1 = require("./NumbersApi");
|
|
|
39
39
|
Object.defineProperty(exports, "NumbersApi", { enumerable: true, get: function () { return NumbersApi_1.NumbersApi; } });
|
|
40
40
|
var ProfileApi_1 = require("./ProfileApi");
|
|
41
41
|
Object.defineProperty(exports, "ProfileApi", { enumerable: true, get: function () { return ProfileApi_1.ProfileApi; } });
|
|
42
|
+
var RegistrationsApi_1 = require("./RegistrationsApi");
|
|
43
|
+
Object.defineProperty(exports, "RegistrationsApi", { enumerable: true, get: function () { return RegistrationsApi_1.RegistrationsApi; } });
|
|
42
44
|
var SenderApi_1 = require("./SenderApi");
|
|
43
45
|
Object.defineProperty(exports, "SenderApi", { enumerable: true, get: function () { return SenderApi_1.SenderApi; } });
|
|
44
46
|
var SmsApi_1 = require("./SmsApi");
|
|
@@ -99,6 +99,12 @@ export interface AccountGetResponse {
|
|
|
99
99
|
* @memberof AccountGetResponse
|
|
100
100
|
*/
|
|
101
101
|
status?: AccountGetResponseStatusEnum;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof AccountGetResponse
|
|
106
|
+
*/
|
|
107
|
+
subscriptionStatus?: AccountGetResponseSubscriptionStatusEnum | null;
|
|
102
108
|
}
|
|
103
109
|
/**
|
|
104
110
|
* @export
|
|
@@ -125,6 +131,16 @@ export declare enum AccountGetResponseStatusEnum {
|
|
|
125
131
|
UNVERIFIED = "unverified",
|
|
126
132
|
BLOCKED = "blocked"
|
|
127
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* @export
|
|
136
|
+
* @enum {string}
|
|
137
|
+
*/
|
|
138
|
+
export declare enum AccountGetResponseSubscriptionStatusEnum {
|
|
139
|
+
ACTIVE = "active",
|
|
140
|
+
CANCELED = "canceled",
|
|
141
|
+
PAST_DUE = "past_due",
|
|
142
|
+
PAUSED = "paused"
|
|
143
|
+
}
|
|
128
144
|
/**
|
|
129
145
|
* Check if a given object implements the AccountGetResponse interface.
|
|
130
146
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.AccountGetResponseStatusEnum = exports.AccountGetResponseBillingVersionEnum = exports.AccountGetResponseAccountTypeEnum = void 0;
|
|
16
|
+
exports.AccountGetResponseSubscriptionStatusEnum = exports.AccountGetResponseStatusEnum = exports.AccountGetResponseBillingVersionEnum = exports.AccountGetResponseAccountTypeEnum = void 0;
|
|
17
17
|
exports.instanceOfAccountGetResponse = instanceOfAccountGetResponse;
|
|
18
18
|
exports.AccountGetResponseFromJSON = AccountGetResponseFromJSON;
|
|
19
19
|
exports.AccountGetResponseFromJSONTyped = AccountGetResponseFromJSONTyped;
|
|
@@ -47,6 +47,17 @@ var AccountGetResponseStatusEnum;
|
|
|
47
47
|
AccountGetResponseStatusEnum["UNVERIFIED"] = "unverified";
|
|
48
48
|
AccountGetResponseStatusEnum["BLOCKED"] = "blocked";
|
|
49
49
|
})(AccountGetResponseStatusEnum || (exports.AccountGetResponseStatusEnum = AccountGetResponseStatusEnum = {}));
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
* @enum {string}
|
|
53
|
+
*/
|
|
54
|
+
var AccountGetResponseSubscriptionStatusEnum;
|
|
55
|
+
(function (AccountGetResponseSubscriptionStatusEnum) {
|
|
56
|
+
AccountGetResponseSubscriptionStatusEnum["ACTIVE"] = "active";
|
|
57
|
+
AccountGetResponseSubscriptionStatusEnum["CANCELED"] = "canceled";
|
|
58
|
+
AccountGetResponseSubscriptionStatusEnum["PAST_DUE"] = "past_due";
|
|
59
|
+
AccountGetResponseSubscriptionStatusEnum["PAUSED"] = "paused";
|
|
60
|
+
})(AccountGetResponseSubscriptionStatusEnum || (exports.AccountGetResponseSubscriptionStatusEnum = AccountGetResponseSubscriptionStatusEnum = {}));
|
|
50
61
|
/**
|
|
51
62
|
* Check if a given object implements the AccountGetResponse interface.
|
|
52
63
|
*/
|
|
@@ -90,7 +101,10 @@ function AccountGetResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
90
101
|
allowOverage: json['allowOverage'],
|
|
91
102
|
createdAt: json['createdAt'],
|
|
92
103
|
updatedAt: json['updatedAt'],
|
|
93
|
-
status: json['status'] == null ? undefined : json['status']
|
|
104
|
+
status: json['status'] == null ? undefined : json['status'],
|
|
105
|
+
subscriptionStatus: json['subscriptionStatus'] == null
|
|
106
|
+
? undefined
|
|
107
|
+
: json['subscriptionStatus']
|
|
94
108
|
};
|
|
95
109
|
}
|
|
96
110
|
function AccountGetResponseToJSON(json) {
|
|
@@ -114,6 +128,7 @@ function AccountGetResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
114
128
|
allowOverage: value['allowOverage'],
|
|
115
129
|
createdAt: value['createdAt'],
|
|
116
130
|
updatedAt: value['updatedAt'],
|
|
117
|
-
status: value['status']
|
|
131
|
+
status: value['status'],
|
|
132
|
+
subscriptionStatus: value['subscriptionStatus']
|
|
118
133
|
};
|
|
119
134
|
}
|
|
@@ -99,6 +99,12 @@ export interface BillingPostResponseBody {
|
|
|
99
99
|
* @memberof BillingPostResponseBody
|
|
100
100
|
*/
|
|
101
101
|
status?: BillingPostResponseBodyStatusEnum;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof BillingPostResponseBody
|
|
106
|
+
*/
|
|
107
|
+
subscriptionStatus?: BillingPostResponseBodySubscriptionStatusEnum | null;
|
|
102
108
|
/**
|
|
103
109
|
*
|
|
104
110
|
* @type {string}
|
|
@@ -137,6 +143,16 @@ export declare enum BillingPostResponseBodyStatusEnum {
|
|
|
137
143
|
UNVERIFIED = "unverified",
|
|
138
144
|
BLOCKED = "blocked"
|
|
139
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* @export
|
|
148
|
+
* @enum {string}
|
|
149
|
+
*/
|
|
150
|
+
export declare enum BillingPostResponseBodySubscriptionStatusEnum {
|
|
151
|
+
ACTIVE = "active",
|
|
152
|
+
CANCELED = "canceled",
|
|
153
|
+
PAST_DUE = "past_due",
|
|
154
|
+
PAUSED = "paused"
|
|
155
|
+
}
|
|
140
156
|
/**
|
|
141
157
|
* Check if a given object implements the BillingPostResponseBody interface.
|
|
142
158
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.BillingPostResponseBodyStatusEnum = exports.BillingPostResponseBodyBillingVersionEnum = exports.BillingPostResponseBodyAccountTypeEnum = void 0;
|
|
16
|
+
exports.BillingPostResponseBodySubscriptionStatusEnum = exports.BillingPostResponseBodyStatusEnum = exports.BillingPostResponseBodyBillingVersionEnum = exports.BillingPostResponseBodyAccountTypeEnum = void 0;
|
|
17
17
|
exports.instanceOfBillingPostResponseBody = instanceOfBillingPostResponseBody;
|
|
18
18
|
exports.BillingPostResponseBodyFromJSON = BillingPostResponseBodyFromJSON;
|
|
19
19
|
exports.BillingPostResponseBodyFromJSONTyped = BillingPostResponseBodyFromJSONTyped;
|
|
@@ -47,6 +47,17 @@ var BillingPostResponseBodyStatusEnum;
|
|
|
47
47
|
BillingPostResponseBodyStatusEnum["UNVERIFIED"] = "unverified";
|
|
48
48
|
BillingPostResponseBodyStatusEnum["BLOCKED"] = "blocked";
|
|
49
49
|
})(BillingPostResponseBodyStatusEnum || (exports.BillingPostResponseBodyStatusEnum = BillingPostResponseBodyStatusEnum = {}));
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
* @enum {string}
|
|
53
|
+
*/
|
|
54
|
+
var BillingPostResponseBodySubscriptionStatusEnum;
|
|
55
|
+
(function (BillingPostResponseBodySubscriptionStatusEnum) {
|
|
56
|
+
BillingPostResponseBodySubscriptionStatusEnum["ACTIVE"] = "active";
|
|
57
|
+
BillingPostResponseBodySubscriptionStatusEnum["CANCELED"] = "canceled";
|
|
58
|
+
BillingPostResponseBodySubscriptionStatusEnum["PAST_DUE"] = "past_due";
|
|
59
|
+
BillingPostResponseBodySubscriptionStatusEnum["PAUSED"] = "paused";
|
|
60
|
+
})(BillingPostResponseBodySubscriptionStatusEnum || (exports.BillingPostResponseBodySubscriptionStatusEnum = BillingPostResponseBodySubscriptionStatusEnum = {}));
|
|
50
61
|
/**
|
|
51
62
|
* Check if a given object implements the BillingPostResponseBody interface.
|
|
52
63
|
*/
|
|
@@ -91,6 +102,9 @@ function BillingPostResponseBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
91
102
|
createdAt: json['createdAt'],
|
|
92
103
|
updatedAt: json['updatedAt'],
|
|
93
104
|
status: json['status'] == null ? undefined : json['status'],
|
|
105
|
+
subscriptionStatus: json['subscriptionStatus'] == null
|
|
106
|
+
? undefined
|
|
107
|
+
: json['subscriptionStatus'],
|
|
94
108
|
sessionId: json['sessionId'] == null ? undefined : json['sessionId'],
|
|
95
109
|
url: json['url'] == null ? undefined : json['url']
|
|
96
110
|
};
|
|
@@ -117,6 +131,7 @@ function BillingPostResponseBodyToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
117
131
|
createdAt: value['createdAt'],
|
|
118
132
|
updatedAt: value['updatedAt'],
|
|
119
133
|
status: value['status'],
|
|
134
|
+
subscriptionStatus: value['subscriptionStatus'],
|
|
120
135
|
sessionId: value['sessionId'],
|
|
121
136
|
url: value['url']
|
|
122
137
|
};
|
|
@@ -1121,7 +1121,8 @@ export declare enum LogsGetResponseLogsInnerEmailFailedCodeEnum {
|
|
|
1121
1121
|
VERIFICATION_LIMIT = "VERIFICATION_LIMIT",
|
|
1122
1122
|
TEMPLATE_NOT_FOUND = "TEMPLATE_NOT_FOUND",
|
|
1123
1123
|
NO_DEFAULT_TEMPLATE = "NO_DEFAULT_TEMPLATE",
|
|
1124
|
-
SPAM_CONTENT = "SPAM_CONTENT"
|
|
1124
|
+
SPAM_CONTENT = "SPAM_CONTENT",
|
|
1125
|
+
SMS_FREE_RESTRICTED = "SMS_FREE_RESTRICTED"
|
|
1125
1126
|
}
|
|
1126
1127
|
/**
|
|
1127
1128
|
* @export
|
|
@@ -1144,7 +1145,8 @@ export declare enum LogsGetResponseLogsInnerWebPushFailedCodeEnum {
|
|
|
1144
1145
|
VERIFICATION_LIMIT = "VERIFICATION_LIMIT",
|
|
1145
1146
|
TEMPLATE_NOT_FOUND = "TEMPLATE_NOT_FOUND",
|
|
1146
1147
|
NO_DEFAULT_TEMPLATE = "NO_DEFAULT_TEMPLATE",
|
|
1147
|
-
SPAM_CONTENT = "SPAM_CONTENT"
|
|
1148
|
+
SPAM_CONTENT = "SPAM_CONTENT",
|
|
1149
|
+
SMS_FREE_RESTRICTED = "SMS_FREE_RESTRICTED"
|
|
1148
1150
|
}
|
|
1149
1151
|
/**
|
|
1150
1152
|
* @export
|
|
@@ -1329,7 +1331,8 @@ export declare enum LogsGetResponseLogsInnerSlackFailedCodeEnum {
|
|
|
1329
1331
|
VERIFICATION_LIMIT = "VERIFICATION_LIMIT",
|
|
1330
1332
|
TEMPLATE_NOT_FOUND = "TEMPLATE_NOT_FOUND",
|
|
1331
1333
|
NO_DEFAULT_TEMPLATE = "NO_DEFAULT_TEMPLATE",
|
|
1332
|
-
SPAM_CONTENT = "SPAM_CONTENT"
|
|
1334
|
+
SPAM_CONTENT = "SPAM_CONTENT",
|
|
1335
|
+
SMS_FREE_RESTRICTED = "SMS_FREE_RESTRICTED"
|
|
1333
1336
|
}
|
|
1334
1337
|
/**
|
|
1335
1338
|
* @export
|
|
@@ -1371,7 +1374,8 @@ export declare enum LogsGetResponseLogsInnerCallFailedCodeEnum {
|
|
|
1371
1374
|
VERIFICATION_LIMIT = "VERIFICATION_LIMIT",
|
|
1372
1375
|
TEMPLATE_NOT_FOUND = "TEMPLATE_NOT_FOUND",
|
|
1373
1376
|
NO_DEFAULT_TEMPLATE = "NO_DEFAULT_TEMPLATE",
|
|
1374
|
-
SPAM_CONTENT = "SPAM_CONTENT"
|
|
1377
|
+
SPAM_CONTENT = "SPAM_CONTENT",
|
|
1378
|
+
SMS_FREE_RESTRICTED = "SMS_FREE_RESTRICTED"
|
|
1375
1379
|
}
|
|
1376
1380
|
/**
|
|
1377
1381
|
* @export
|
|
@@ -1403,7 +1407,8 @@ export declare enum LogsGetResponseLogsInnerSmsFailedCodeEnum {
|
|
|
1403
1407
|
VERIFICATION_LIMIT = "VERIFICATION_LIMIT",
|
|
1404
1408
|
TEMPLATE_NOT_FOUND = "TEMPLATE_NOT_FOUND",
|
|
1405
1409
|
NO_DEFAULT_TEMPLATE = "NO_DEFAULT_TEMPLATE",
|
|
1406
|
-
SPAM_CONTENT = "SPAM_CONTENT"
|
|
1410
|
+
SPAM_CONTENT = "SPAM_CONTENT",
|
|
1411
|
+
SMS_FREE_RESTRICTED = "SMS_FREE_RESTRICTED"
|
|
1407
1412
|
}
|
|
1408
1413
|
/**
|
|
1409
1414
|
* Check if a given object implements the LogsGetResponseLogsInner interface.
|
|
@@ -85,6 +85,7 @@ var LogsGetResponseLogsInnerEmailFailedCodeEnum;
|
|
|
85
85
|
LogsGetResponseLogsInnerEmailFailedCodeEnum["TEMPLATE_NOT_FOUND"] = "TEMPLATE_NOT_FOUND";
|
|
86
86
|
LogsGetResponseLogsInnerEmailFailedCodeEnum["NO_DEFAULT_TEMPLATE"] = "NO_DEFAULT_TEMPLATE";
|
|
87
87
|
LogsGetResponseLogsInnerEmailFailedCodeEnum["SPAM_CONTENT"] = "SPAM_CONTENT";
|
|
88
|
+
LogsGetResponseLogsInnerEmailFailedCodeEnum["SMS_FREE_RESTRICTED"] = "SMS_FREE_RESTRICTED";
|
|
88
89
|
})(LogsGetResponseLogsInnerEmailFailedCodeEnum || (exports.LogsGetResponseLogsInnerEmailFailedCodeEnum = LogsGetResponseLogsInnerEmailFailedCodeEnum = {}));
|
|
89
90
|
/**
|
|
90
91
|
* @export
|
|
@@ -110,6 +111,7 @@ var LogsGetResponseLogsInnerWebPushFailedCodeEnum;
|
|
|
110
111
|
LogsGetResponseLogsInnerWebPushFailedCodeEnum["TEMPLATE_NOT_FOUND"] = "TEMPLATE_NOT_FOUND";
|
|
111
112
|
LogsGetResponseLogsInnerWebPushFailedCodeEnum["NO_DEFAULT_TEMPLATE"] = "NO_DEFAULT_TEMPLATE";
|
|
112
113
|
LogsGetResponseLogsInnerWebPushFailedCodeEnum["SPAM_CONTENT"] = "SPAM_CONTENT";
|
|
114
|
+
LogsGetResponseLogsInnerWebPushFailedCodeEnum["SMS_FREE_RESTRICTED"] = "SMS_FREE_RESTRICTED";
|
|
113
115
|
})(LogsGetResponseLogsInnerWebPushFailedCodeEnum || (exports.LogsGetResponseLogsInnerWebPushFailedCodeEnum = LogsGetResponseLogsInnerWebPushFailedCodeEnum = {}));
|
|
114
116
|
/**
|
|
115
117
|
* @export
|
|
@@ -311,6 +313,7 @@ var LogsGetResponseLogsInnerSlackFailedCodeEnum;
|
|
|
311
313
|
LogsGetResponseLogsInnerSlackFailedCodeEnum["TEMPLATE_NOT_FOUND"] = "TEMPLATE_NOT_FOUND";
|
|
312
314
|
LogsGetResponseLogsInnerSlackFailedCodeEnum["NO_DEFAULT_TEMPLATE"] = "NO_DEFAULT_TEMPLATE";
|
|
313
315
|
LogsGetResponseLogsInnerSlackFailedCodeEnum["SPAM_CONTENT"] = "SPAM_CONTENT";
|
|
316
|
+
LogsGetResponseLogsInnerSlackFailedCodeEnum["SMS_FREE_RESTRICTED"] = "SMS_FREE_RESTRICTED";
|
|
314
317
|
})(LogsGetResponseLogsInnerSlackFailedCodeEnum || (exports.LogsGetResponseLogsInnerSlackFailedCodeEnum = LogsGetResponseLogsInnerSlackFailedCodeEnum = {}));
|
|
315
318
|
/**
|
|
316
319
|
* @export
|
|
@@ -355,6 +358,7 @@ var LogsGetResponseLogsInnerCallFailedCodeEnum;
|
|
|
355
358
|
LogsGetResponseLogsInnerCallFailedCodeEnum["TEMPLATE_NOT_FOUND"] = "TEMPLATE_NOT_FOUND";
|
|
356
359
|
LogsGetResponseLogsInnerCallFailedCodeEnum["NO_DEFAULT_TEMPLATE"] = "NO_DEFAULT_TEMPLATE";
|
|
357
360
|
LogsGetResponseLogsInnerCallFailedCodeEnum["SPAM_CONTENT"] = "SPAM_CONTENT";
|
|
361
|
+
LogsGetResponseLogsInnerCallFailedCodeEnum["SMS_FREE_RESTRICTED"] = "SMS_FREE_RESTRICTED";
|
|
358
362
|
})(LogsGetResponseLogsInnerCallFailedCodeEnum || (exports.LogsGetResponseLogsInnerCallFailedCodeEnum = LogsGetResponseLogsInnerCallFailedCodeEnum = {}));
|
|
359
363
|
/**
|
|
360
364
|
* @export
|
|
@@ -388,6 +392,7 @@ var LogsGetResponseLogsInnerSmsFailedCodeEnum;
|
|
|
388
392
|
LogsGetResponseLogsInnerSmsFailedCodeEnum["TEMPLATE_NOT_FOUND"] = "TEMPLATE_NOT_FOUND";
|
|
389
393
|
LogsGetResponseLogsInnerSmsFailedCodeEnum["NO_DEFAULT_TEMPLATE"] = "NO_DEFAULT_TEMPLATE";
|
|
390
394
|
LogsGetResponseLogsInnerSmsFailedCodeEnum["SPAM_CONTENT"] = "SPAM_CONTENT";
|
|
395
|
+
LogsGetResponseLogsInnerSmsFailedCodeEnum["SMS_FREE_RESTRICTED"] = "SMS_FREE_RESTRICTED";
|
|
391
396
|
})(LogsGetResponseLogsInnerSmsFailedCodeEnum || (exports.LogsGetResponseLogsInnerSmsFailedCodeEnum = LogsGetResponseLogsInnerSmsFailedCodeEnum = {}));
|
|
392
397
|
/**
|
|
393
398
|
* Check if a given object implements the LogsGetResponseLogsInner interface.
|