pingram 1.0.24-alpha.1386 → 1.0.25-alpha.1387
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/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/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 -0
- package/dist/generated/src/models/index.js +1 -0
- package/dist/src/client.d.ts +2 -0
- package/dist/src/client.js +22 -19
- package/package.json +1 -1
|
@@ -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");
|
|
@@ -0,0 +1,205 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* Request body for the superadmin-only PATCH /registrations/us/10dlc/brand/admin
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TenDlcBrandAdminUpdateRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface TenDlcBrandAdminUpdateRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Who the 10DLC brand is registered for.
|
|
20
|
+
* - own_brand: personal or company project
|
|
21
|
+
* - client_brand: agency or contractor
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
24
|
+
*/
|
|
25
|
+
scenarioId?: TenDlcBrandAdminUpdateRequestScenarioIdEnum;
|
|
26
|
+
/**
|
|
27
|
+
* Legal entity type for a 10DLC brand.
|
|
28
|
+
* - PRIVATE_PROFIT: private for-profit (LLC, corp, etc.)
|
|
29
|
+
* - SOLE_PROPRIETOR: sole proprietorship
|
|
30
|
+
* - PUBLIC_PROFIT: publicly traded for-profit
|
|
31
|
+
* - NON_PROFIT: non-profit
|
|
32
|
+
* - GOVERNMENT: government
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
35
|
+
*/
|
|
36
|
+
businessType?: TenDlcBrandAdminUpdateRequestBusinessTypeEnum;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
41
|
+
*/
|
|
42
|
+
legalName?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Brand display name (marketing/DBA); defaults to legalName when omitted on legalName-only updates.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
47
|
+
*/
|
|
48
|
+
displayName?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
53
|
+
*/
|
|
54
|
+
firstName?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
59
|
+
*/
|
|
60
|
+
lastName?: string;
|
|
61
|
+
/**
|
|
62
|
+
* For US companies (country US): 9-digit EIN (Employer Identification Number). For Canada (country CA): 9-digit BN (Business Number). For other countries: national business tax identifier.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
65
|
+
*/
|
|
66
|
+
taxId?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
71
|
+
*/
|
|
72
|
+
website?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
77
|
+
*/
|
|
78
|
+
country?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
83
|
+
*/
|
|
84
|
+
street?: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
89
|
+
*/
|
|
90
|
+
city?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
95
|
+
*/
|
|
96
|
+
state?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
101
|
+
*/
|
|
102
|
+
postalCode?: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
107
|
+
*/
|
|
108
|
+
complianceContactEmail?: string;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
113
|
+
*/
|
|
114
|
+
complianceContactPhone?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Industry vertical required before Pingram submits the brand to carriers.
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
119
|
+
*/
|
|
120
|
+
vertical?: TenDlcBrandAdminUpdateRequestVerticalEnum;
|
|
121
|
+
/**
|
|
122
|
+
* Legacy only when businessType is Other.
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
125
|
+
*/
|
|
126
|
+
entityType?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Pingram-side brand registration workflow status.
|
|
129
|
+
* - not_started: no customer submission yet
|
|
130
|
+
* - pending_review: customer submitted; Pingram has not submitted to carriers
|
|
131
|
+
* - in_progress: submitted for carrier review
|
|
132
|
+
* - approved | rejected | info_needed: review outcome
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof TenDlcBrandAdminUpdateRequest
|
|
135
|
+
*/
|
|
136
|
+
brandStatus?: TenDlcBrandAdminUpdateRequestBrandStatusEnum;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* @export
|
|
140
|
+
* @enum {string}
|
|
141
|
+
*/
|
|
142
|
+
export declare enum TenDlcBrandAdminUpdateRequestScenarioIdEnum {
|
|
143
|
+
OWN_BRAND = "own_brand",
|
|
144
|
+
CLIENT_BRAND = "client_brand"
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* @export
|
|
148
|
+
* @enum {string}
|
|
149
|
+
*/
|
|
150
|
+
export declare enum TenDlcBrandAdminUpdateRequestBusinessTypeEnum {
|
|
151
|
+
PRIVATE_PROFIT = "PRIVATE_PROFIT",
|
|
152
|
+
SOLE_PROPRIETOR = "SOLE_PROPRIETOR",
|
|
153
|
+
PUBLIC_PROFIT = "PUBLIC_PROFIT",
|
|
154
|
+
NON_PROFIT = "NON_PROFIT",
|
|
155
|
+
GOVERNMENT = "GOVERNMENT"
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @export
|
|
159
|
+
* @enum {string}
|
|
160
|
+
*/
|
|
161
|
+
export declare enum TenDlcBrandAdminUpdateRequestVerticalEnum {
|
|
162
|
+
AGRICULTURE = "AGRICULTURE",
|
|
163
|
+
COMMUNICATION = "COMMUNICATION",
|
|
164
|
+
CONSTRUCTION = "CONSTRUCTION",
|
|
165
|
+
EDUCATION = "EDUCATION",
|
|
166
|
+
ENERGY = "ENERGY",
|
|
167
|
+
ENTERTAINMENT = "ENTERTAINMENT",
|
|
168
|
+
FINANCIAL = "FINANCIAL",
|
|
169
|
+
GAMBLING = "GAMBLING",
|
|
170
|
+
GOVERNMENT = "GOVERNMENT",
|
|
171
|
+
HEALTHCARE = "HEALTHCARE",
|
|
172
|
+
HOSPITALITY = "HOSPITALITY",
|
|
173
|
+
HUMAN_RESOURCES = "HUMAN_RESOURCES",
|
|
174
|
+
INSURANCE = "INSURANCE",
|
|
175
|
+
LEGAL = "LEGAL",
|
|
176
|
+
MANUFACTURING = "MANUFACTURING",
|
|
177
|
+
NGO = "NGO",
|
|
178
|
+
POLITICAL = "POLITICAL",
|
|
179
|
+
POSTAL = "POSTAL",
|
|
180
|
+
PROFESSIONAL = "PROFESSIONAL",
|
|
181
|
+
REAL_ESTATE = "REAL_ESTATE",
|
|
182
|
+
RETAIL = "RETAIL",
|
|
183
|
+
TECHNOLOGY = "TECHNOLOGY",
|
|
184
|
+
TRANSPORTATION = "TRANSPORTATION"
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* @export
|
|
188
|
+
* @enum {string}
|
|
189
|
+
*/
|
|
190
|
+
export declare enum TenDlcBrandAdminUpdateRequestBrandStatusEnum {
|
|
191
|
+
NOT_STARTED = "not_started",
|
|
192
|
+
IN_PROGRESS = "in_progress",
|
|
193
|
+
PENDING_REVIEW = "pending_review",
|
|
194
|
+
APPROVED = "approved",
|
|
195
|
+
REJECTED = "rejected",
|
|
196
|
+
INFO_NEEDED = "info_needed"
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Check if a given object implements the TenDlcBrandAdminUpdateRequest interface.
|
|
200
|
+
*/
|
|
201
|
+
export declare function instanceOfTenDlcBrandAdminUpdateRequest(value: object): value is TenDlcBrandAdminUpdateRequest;
|
|
202
|
+
export declare function TenDlcBrandAdminUpdateRequestFromJSON(json: any): TenDlcBrandAdminUpdateRequest;
|
|
203
|
+
export declare function TenDlcBrandAdminUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenDlcBrandAdminUpdateRequest;
|
|
204
|
+
export declare function TenDlcBrandAdminUpdateRequestToJSON(json: any): TenDlcBrandAdminUpdateRequest;
|
|
205
|
+
export declare function TenDlcBrandAdminUpdateRequestToJSONTyped(value?: TenDlcBrandAdminUpdateRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,151 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.TenDlcBrandAdminUpdateRequestBrandStatusEnum = exports.TenDlcBrandAdminUpdateRequestVerticalEnum = exports.TenDlcBrandAdminUpdateRequestBusinessTypeEnum = exports.TenDlcBrandAdminUpdateRequestScenarioIdEnum = void 0;
|
|
17
|
+
exports.instanceOfTenDlcBrandAdminUpdateRequest = instanceOfTenDlcBrandAdminUpdateRequest;
|
|
18
|
+
exports.TenDlcBrandAdminUpdateRequestFromJSON = TenDlcBrandAdminUpdateRequestFromJSON;
|
|
19
|
+
exports.TenDlcBrandAdminUpdateRequestFromJSONTyped = TenDlcBrandAdminUpdateRequestFromJSONTyped;
|
|
20
|
+
exports.TenDlcBrandAdminUpdateRequestToJSON = TenDlcBrandAdminUpdateRequestToJSON;
|
|
21
|
+
exports.TenDlcBrandAdminUpdateRequestToJSONTyped = TenDlcBrandAdminUpdateRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
* @enum {string}
|
|
25
|
+
*/
|
|
26
|
+
var TenDlcBrandAdminUpdateRequestScenarioIdEnum;
|
|
27
|
+
(function (TenDlcBrandAdminUpdateRequestScenarioIdEnum) {
|
|
28
|
+
TenDlcBrandAdminUpdateRequestScenarioIdEnum["OWN_BRAND"] = "own_brand";
|
|
29
|
+
TenDlcBrandAdminUpdateRequestScenarioIdEnum["CLIENT_BRAND"] = "client_brand";
|
|
30
|
+
})(TenDlcBrandAdminUpdateRequestScenarioIdEnum || (exports.TenDlcBrandAdminUpdateRequestScenarioIdEnum = TenDlcBrandAdminUpdateRequestScenarioIdEnum = {}));
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
* @enum {string}
|
|
34
|
+
*/
|
|
35
|
+
var TenDlcBrandAdminUpdateRequestBusinessTypeEnum;
|
|
36
|
+
(function (TenDlcBrandAdminUpdateRequestBusinessTypeEnum) {
|
|
37
|
+
TenDlcBrandAdminUpdateRequestBusinessTypeEnum["PRIVATE_PROFIT"] = "PRIVATE_PROFIT";
|
|
38
|
+
TenDlcBrandAdminUpdateRequestBusinessTypeEnum["SOLE_PROPRIETOR"] = "SOLE_PROPRIETOR";
|
|
39
|
+
TenDlcBrandAdminUpdateRequestBusinessTypeEnum["PUBLIC_PROFIT"] = "PUBLIC_PROFIT";
|
|
40
|
+
TenDlcBrandAdminUpdateRequestBusinessTypeEnum["NON_PROFIT"] = "NON_PROFIT";
|
|
41
|
+
TenDlcBrandAdminUpdateRequestBusinessTypeEnum["GOVERNMENT"] = "GOVERNMENT";
|
|
42
|
+
})(TenDlcBrandAdminUpdateRequestBusinessTypeEnum || (exports.TenDlcBrandAdminUpdateRequestBusinessTypeEnum = TenDlcBrandAdminUpdateRequestBusinessTypeEnum = {}));
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
* @enum {string}
|
|
46
|
+
*/
|
|
47
|
+
var TenDlcBrandAdminUpdateRequestVerticalEnum;
|
|
48
|
+
(function (TenDlcBrandAdminUpdateRequestVerticalEnum) {
|
|
49
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["AGRICULTURE"] = "AGRICULTURE";
|
|
50
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["COMMUNICATION"] = "COMMUNICATION";
|
|
51
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["CONSTRUCTION"] = "CONSTRUCTION";
|
|
52
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["EDUCATION"] = "EDUCATION";
|
|
53
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["ENERGY"] = "ENERGY";
|
|
54
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["ENTERTAINMENT"] = "ENTERTAINMENT";
|
|
55
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["FINANCIAL"] = "FINANCIAL";
|
|
56
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["GAMBLING"] = "GAMBLING";
|
|
57
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["GOVERNMENT"] = "GOVERNMENT";
|
|
58
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["HEALTHCARE"] = "HEALTHCARE";
|
|
59
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["HOSPITALITY"] = "HOSPITALITY";
|
|
60
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["HUMAN_RESOURCES"] = "HUMAN_RESOURCES";
|
|
61
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["INSURANCE"] = "INSURANCE";
|
|
62
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["LEGAL"] = "LEGAL";
|
|
63
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["MANUFACTURING"] = "MANUFACTURING";
|
|
64
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["NGO"] = "NGO";
|
|
65
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["POLITICAL"] = "POLITICAL";
|
|
66
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["POSTAL"] = "POSTAL";
|
|
67
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["PROFESSIONAL"] = "PROFESSIONAL";
|
|
68
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["REAL_ESTATE"] = "REAL_ESTATE";
|
|
69
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["RETAIL"] = "RETAIL";
|
|
70
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["TECHNOLOGY"] = "TECHNOLOGY";
|
|
71
|
+
TenDlcBrandAdminUpdateRequestVerticalEnum["TRANSPORTATION"] = "TRANSPORTATION";
|
|
72
|
+
})(TenDlcBrandAdminUpdateRequestVerticalEnum || (exports.TenDlcBrandAdminUpdateRequestVerticalEnum = TenDlcBrandAdminUpdateRequestVerticalEnum = {}));
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
* @enum {string}
|
|
76
|
+
*/
|
|
77
|
+
var TenDlcBrandAdminUpdateRequestBrandStatusEnum;
|
|
78
|
+
(function (TenDlcBrandAdminUpdateRequestBrandStatusEnum) {
|
|
79
|
+
TenDlcBrandAdminUpdateRequestBrandStatusEnum["NOT_STARTED"] = "not_started";
|
|
80
|
+
TenDlcBrandAdminUpdateRequestBrandStatusEnum["IN_PROGRESS"] = "in_progress";
|
|
81
|
+
TenDlcBrandAdminUpdateRequestBrandStatusEnum["PENDING_REVIEW"] = "pending_review";
|
|
82
|
+
TenDlcBrandAdminUpdateRequestBrandStatusEnum["APPROVED"] = "approved";
|
|
83
|
+
TenDlcBrandAdminUpdateRequestBrandStatusEnum["REJECTED"] = "rejected";
|
|
84
|
+
TenDlcBrandAdminUpdateRequestBrandStatusEnum["INFO_NEEDED"] = "info_needed";
|
|
85
|
+
})(TenDlcBrandAdminUpdateRequestBrandStatusEnum || (exports.TenDlcBrandAdminUpdateRequestBrandStatusEnum = TenDlcBrandAdminUpdateRequestBrandStatusEnum = {}));
|
|
86
|
+
/**
|
|
87
|
+
* Check if a given object implements the TenDlcBrandAdminUpdateRequest interface.
|
|
88
|
+
*/
|
|
89
|
+
function instanceOfTenDlcBrandAdminUpdateRequest(value) {
|
|
90
|
+
return true;
|
|
91
|
+
}
|
|
92
|
+
function TenDlcBrandAdminUpdateRequestFromJSON(json) {
|
|
93
|
+
return TenDlcBrandAdminUpdateRequestFromJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
function TenDlcBrandAdminUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
96
|
+
if (json == null) {
|
|
97
|
+
return json;
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
scenarioId: json['scenarioId'] == null ? undefined : json['scenarioId'],
|
|
101
|
+
businessType: json['businessType'] == null ? undefined : json['businessType'],
|
|
102
|
+
legalName: json['legalName'] == null ? undefined : json['legalName'],
|
|
103
|
+
displayName: json['displayName'] == null ? undefined : json['displayName'],
|
|
104
|
+
firstName: json['firstName'] == null ? undefined : json['firstName'],
|
|
105
|
+
lastName: json['lastName'] == null ? undefined : json['lastName'],
|
|
106
|
+
taxId: json['taxId'] == null ? undefined : json['taxId'],
|
|
107
|
+
website: json['website'] == null ? undefined : json['website'],
|
|
108
|
+
country: json['country'] == null ? undefined : json['country'],
|
|
109
|
+
street: json['street'] == null ? undefined : json['street'],
|
|
110
|
+
city: json['city'] == null ? undefined : json['city'],
|
|
111
|
+
state: json['state'] == null ? undefined : json['state'],
|
|
112
|
+
postalCode: json['postalCode'] == null ? undefined : json['postalCode'],
|
|
113
|
+
complianceContactEmail: json['complianceContactEmail'] == null
|
|
114
|
+
? undefined
|
|
115
|
+
: json['complianceContactEmail'],
|
|
116
|
+
complianceContactPhone: json['complianceContactPhone'] == null
|
|
117
|
+
? undefined
|
|
118
|
+
: json['complianceContactPhone'],
|
|
119
|
+
vertical: json['vertical'] == null ? undefined : json['vertical'],
|
|
120
|
+
entityType: json['entityType'] == null ? undefined : json['entityType'],
|
|
121
|
+
brandStatus: json['brandStatus'] == null ? undefined : json['brandStatus']
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function TenDlcBrandAdminUpdateRequestToJSON(json) {
|
|
125
|
+
return TenDlcBrandAdminUpdateRequestToJSONTyped(json, false);
|
|
126
|
+
}
|
|
127
|
+
function TenDlcBrandAdminUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
128
|
+
if (value == null) {
|
|
129
|
+
return value;
|
|
130
|
+
}
|
|
131
|
+
return {
|
|
132
|
+
scenarioId: value['scenarioId'],
|
|
133
|
+
businessType: value['businessType'],
|
|
134
|
+
legalName: value['legalName'],
|
|
135
|
+
displayName: value['displayName'],
|
|
136
|
+
firstName: value['firstName'],
|
|
137
|
+
lastName: value['lastName'],
|
|
138
|
+
taxId: value['taxId'],
|
|
139
|
+
website: value['website'],
|
|
140
|
+
country: value['country'],
|
|
141
|
+
street: value['street'],
|
|
142
|
+
city: value['city'],
|
|
143
|
+
state: value['state'],
|
|
144
|
+
postalCode: value['postalCode'],
|
|
145
|
+
complianceContactEmail: value['complianceContactEmail'],
|
|
146
|
+
complianceContactPhone: value['complianceContactPhone'],
|
|
147
|
+
vertical: value['vertical'],
|
|
148
|
+
entityType: value['entityType'],
|
|
149
|
+
brandStatus: value['brandStatus']
|
|
150
|
+
};
|
|
151
|
+
}
|
|
@@ -16,17 +16,24 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface TenDlcBrandCreateRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Who the 10DLC brand is registered for.
|
|
20
|
+
* - own_brand: personal or company project
|
|
21
|
+
* - client_brand: agency or contractor
|
|
20
22
|
* @type {string}
|
|
21
23
|
* @memberof TenDlcBrandCreateRequest
|
|
22
24
|
*/
|
|
23
|
-
scenarioId:
|
|
25
|
+
scenarioId: TenDlcBrandCreateRequestScenarioIdEnum;
|
|
24
26
|
/**
|
|
25
|
-
*
|
|
27
|
+
* Legal entity type for a 10DLC brand.
|
|
28
|
+
* - PRIVATE_PROFIT: private for-profit (LLC, corp, etc.)
|
|
29
|
+
* - SOLE_PROPRIETOR: sole proprietorship
|
|
30
|
+
* - PUBLIC_PROFIT: publicly traded for-profit
|
|
31
|
+
* - NON_PROFIT: non-profit
|
|
32
|
+
* - GOVERNMENT: government
|
|
26
33
|
* @type {string}
|
|
27
34
|
* @memberof TenDlcBrandCreateRequest
|
|
28
35
|
*/
|
|
29
|
-
businessType:
|
|
36
|
+
businessType: TenDlcBrandCreateRequestBusinessTypeEnum;
|
|
30
37
|
/**
|
|
31
38
|
*
|
|
32
39
|
* @type {string}
|
|
@@ -34,19 +41,19 @@ export interface TenDlcBrandCreateRequest {
|
|
|
34
41
|
*/
|
|
35
42
|
legalName: string;
|
|
36
43
|
/**
|
|
37
|
-
*
|
|
44
|
+
* Required when businessType is SOLE_PROPRIETOR.
|
|
38
45
|
* @type {string}
|
|
39
46
|
* @memberof TenDlcBrandCreateRequest
|
|
40
47
|
*/
|
|
41
48
|
firstName?: string;
|
|
42
49
|
/**
|
|
43
|
-
*
|
|
50
|
+
* Required when businessType is SOLE_PROPRIETOR.
|
|
44
51
|
* @type {string}
|
|
45
52
|
* @memberof TenDlcBrandCreateRequest
|
|
46
53
|
*/
|
|
47
54
|
lastName?: string;
|
|
48
55
|
/**
|
|
49
|
-
*
|
|
56
|
+
* For US companies (country US): 9-digit EIN (Employer Identification Number). For Canada (country CA): 9-digit BN (Business Number). For other countries: national business tax identifier. Required except when businessType is SOLE_PROPRIETOR.
|
|
50
57
|
* @type {string}
|
|
51
58
|
* @memberof TenDlcBrandCreateRequest
|
|
52
59
|
*/
|
|
@@ -100,6 +107,25 @@ export interface TenDlcBrandCreateRequest {
|
|
|
100
107
|
*/
|
|
101
108
|
complianceContactPhone: string;
|
|
102
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* @export
|
|
112
|
+
* @enum {string}
|
|
113
|
+
*/
|
|
114
|
+
export declare enum TenDlcBrandCreateRequestScenarioIdEnum {
|
|
115
|
+
OWN_BRAND = "own_brand",
|
|
116
|
+
CLIENT_BRAND = "client_brand"
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* @export
|
|
120
|
+
* @enum {string}
|
|
121
|
+
*/
|
|
122
|
+
export declare enum TenDlcBrandCreateRequestBusinessTypeEnum {
|
|
123
|
+
PRIVATE_PROFIT = "PRIVATE_PROFIT",
|
|
124
|
+
SOLE_PROPRIETOR = "SOLE_PROPRIETOR",
|
|
125
|
+
PUBLIC_PROFIT = "PUBLIC_PROFIT",
|
|
126
|
+
NON_PROFIT = "NON_PROFIT",
|
|
127
|
+
GOVERNMENT = "GOVERNMENT"
|
|
128
|
+
}
|
|
103
129
|
/**
|
|
104
130
|
* Check if a given object implements the TenDlcBrandCreateRequest interface.
|
|
105
131
|
*/
|
|
@@ -13,11 +13,33 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.TenDlcBrandCreateRequestBusinessTypeEnum = exports.TenDlcBrandCreateRequestScenarioIdEnum = void 0;
|
|
16
17
|
exports.instanceOfTenDlcBrandCreateRequest = instanceOfTenDlcBrandCreateRequest;
|
|
17
18
|
exports.TenDlcBrandCreateRequestFromJSON = TenDlcBrandCreateRequestFromJSON;
|
|
18
19
|
exports.TenDlcBrandCreateRequestFromJSONTyped = TenDlcBrandCreateRequestFromJSONTyped;
|
|
19
20
|
exports.TenDlcBrandCreateRequestToJSON = TenDlcBrandCreateRequestToJSON;
|
|
20
21
|
exports.TenDlcBrandCreateRequestToJSONTyped = TenDlcBrandCreateRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
* @enum {string}
|
|
25
|
+
*/
|
|
26
|
+
var TenDlcBrandCreateRequestScenarioIdEnum;
|
|
27
|
+
(function (TenDlcBrandCreateRequestScenarioIdEnum) {
|
|
28
|
+
TenDlcBrandCreateRequestScenarioIdEnum["OWN_BRAND"] = "own_brand";
|
|
29
|
+
TenDlcBrandCreateRequestScenarioIdEnum["CLIENT_BRAND"] = "client_brand";
|
|
30
|
+
})(TenDlcBrandCreateRequestScenarioIdEnum || (exports.TenDlcBrandCreateRequestScenarioIdEnum = TenDlcBrandCreateRequestScenarioIdEnum = {}));
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
* @enum {string}
|
|
34
|
+
*/
|
|
35
|
+
var TenDlcBrandCreateRequestBusinessTypeEnum;
|
|
36
|
+
(function (TenDlcBrandCreateRequestBusinessTypeEnum) {
|
|
37
|
+
TenDlcBrandCreateRequestBusinessTypeEnum["PRIVATE_PROFIT"] = "PRIVATE_PROFIT";
|
|
38
|
+
TenDlcBrandCreateRequestBusinessTypeEnum["SOLE_PROPRIETOR"] = "SOLE_PROPRIETOR";
|
|
39
|
+
TenDlcBrandCreateRequestBusinessTypeEnum["PUBLIC_PROFIT"] = "PUBLIC_PROFIT";
|
|
40
|
+
TenDlcBrandCreateRequestBusinessTypeEnum["NON_PROFIT"] = "NON_PROFIT";
|
|
41
|
+
TenDlcBrandCreateRequestBusinessTypeEnum["GOVERNMENT"] = "GOVERNMENT";
|
|
42
|
+
})(TenDlcBrandCreateRequestBusinessTypeEnum || (exports.TenDlcBrandCreateRequestBusinessTypeEnum = TenDlcBrandCreateRequestBusinessTypeEnum = {}));
|
|
21
43
|
/**
|
|
22
44
|
* Check if a given object implements the TenDlcBrandCreateRequest interface.
|
|
23
45
|
*/
|
|
@@ -150,7 +150,7 @@ export interface TenDlcBrandRegistrationDetails {
|
|
|
150
150
|
*/
|
|
151
151
|
updatedAt: string;
|
|
152
152
|
/**
|
|
153
|
-
*
|
|
153
|
+
* Industry vertical required before Pingram submits the brand to carriers (for example TECHNOLOGY, HEALTHCARE, RETAIL, or FINANCIAL).
|
|
154
154
|
* @type {string}
|
|
155
155
|
* @memberof TenDlcBrandRegistrationDetails
|
|
156
156
|
*/
|
|
@@ -16,17 +16,24 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface TenDlcBrandUpdateRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Who the 10DLC brand is registered for.
|
|
20
|
+
* - own_brand: personal or company project
|
|
21
|
+
* - client_brand: agency or contractor
|
|
20
22
|
* @type {string}
|
|
21
23
|
* @memberof TenDlcBrandUpdateRequest
|
|
22
24
|
*/
|
|
23
|
-
scenarioId?:
|
|
25
|
+
scenarioId?: TenDlcBrandUpdateRequestScenarioIdEnum;
|
|
24
26
|
/**
|
|
25
|
-
*
|
|
27
|
+
* Legal entity type for a 10DLC brand.
|
|
28
|
+
* - PRIVATE_PROFIT: private for-profit (LLC, corp, etc.)
|
|
29
|
+
* - SOLE_PROPRIETOR: sole proprietorship
|
|
30
|
+
* - PUBLIC_PROFIT: publicly traded for-profit
|
|
31
|
+
* - NON_PROFIT: non-profit
|
|
32
|
+
* - GOVERNMENT: government
|
|
26
33
|
* @type {string}
|
|
27
34
|
* @memberof TenDlcBrandUpdateRequest
|
|
28
35
|
*/
|
|
29
|
-
businessType?:
|
|
36
|
+
businessType?: TenDlcBrandUpdateRequestBusinessTypeEnum;
|
|
30
37
|
/**
|
|
31
38
|
*
|
|
32
39
|
* @type {string}
|
|
@@ -52,29 +59,7 @@ export interface TenDlcBrandUpdateRequest {
|
|
|
52
59
|
*/
|
|
53
60
|
lastName?: string;
|
|
54
61
|
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof TenDlcBrandUpdateRequest
|
|
58
|
-
*/
|
|
59
|
-
vertical?: string;
|
|
60
|
-
/**
|
|
61
|
-
* Admin-only; legacy Other records. Ignored on customer PATCH.
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof TenDlcBrandUpdateRequest
|
|
64
|
-
*/
|
|
65
|
-
entityType?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Pingram-side brand registration workflow status.
|
|
68
|
-
* - not_started: no customer submission yet
|
|
69
|
-
* - pending_review: customer submitted; Pingram has not submitted to carriers
|
|
70
|
-
* - in_progress: submitted for carrier review
|
|
71
|
-
* - approved | rejected | info_needed: review outcome
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof TenDlcBrandUpdateRequest
|
|
74
|
-
*/
|
|
75
|
-
brandStatus?: TenDlcBrandUpdateRequestBrandStatusEnum;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
62
|
+
* For US companies (country US): 9-digit EIN (Employer Identification Number). For Canada (country CA): 9-digit BN (Business Number). For other countries: national business tax identifier.
|
|
78
63
|
* @type {string}
|
|
79
64
|
* @memberof TenDlcBrandUpdateRequest
|
|
80
65
|
*/
|
|
@@ -132,13 +117,20 @@ export interface TenDlcBrandUpdateRequest {
|
|
|
132
117
|
* @export
|
|
133
118
|
* @enum {string}
|
|
134
119
|
*/
|
|
135
|
-
export declare enum
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
120
|
+
export declare enum TenDlcBrandUpdateRequestScenarioIdEnum {
|
|
121
|
+
OWN_BRAND = "own_brand",
|
|
122
|
+
CLIENT_BRAND = "client_brand"
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* @export
|
|
126
|
+
* @enum {string}
|
|
127
|
+
*/
|
|
128
|
+
export declare enum TenDlcBrandUpdateRequestBusinessTypeEnum {
|
|
129
|
+
PRIVATE_PROFIT = "PRIVATE_PROFIT",
|
|
130
|
+
SOLE_PROPRIETOR = "SOLE_PROPRIETOR",
|
|
131
|
+
PUBLIC_PROFIT = "PUBLIC_PROFIT",
|
|
132
|
+
NON_PROFIT = "NON_PROFIT",
|
|
133
|
+
GOVERNMENT = "GOVERNMENT"
|
|
142
134
|
}
|
|
143
135
|
/**
|
|
144
136
|
* Check if a given object implements the TenDlcBrandUpdateRequest interface.
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.TenDlcBrandUpdateRequestBusinessTypeEnum = exports.TenDlcBrandUpdateRequestScenarioIdEnum = void 0;
|
|
17
17
|
exports.instanceOfTenDlcBrandUpdateRequest = instanceOfTenDlcBrandUpdateRequest;
|
|
18
18
|
exports.TenDlcBrandUpdateRequestFromJSON = TenDlcBrandUpdateRequestFromJSON;
|
|
19
19
|
exports.TenDlcBrandUpdateRequestFromJSONTyped = TenDlcBrandUpdateRequestFromJSONTyped;
|
|
@@ -23,15 +23,23 @@ exports.TenDlcBrandUpdateRequestToJSONTyped = TenDlcBrandUpdateRequestToJSONType
|
|
|
23
23
|
* @export
|
|
24
24
|
* @enum {string}
|
|
25
25
|
*/
|
|
26
|
-
var
|
|
27
|
-
(function (
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
var TenDlcBrandUpdateRequestScenarioIdEnum;
|
|
27
|
+
(function (TenDlcBrandUpdateRequestScenarioIdEnum) {
|
|
28
|
+
TenDlcBrandUpdateRequestScenarioIdEnum["OWN_BRAND"] = "own_brand";
|
|
29
|
+
TenDlcBrandUpdateRequestScenarioIdEnum["CLIENT_BRAND"] = "client_brand";
|
|
30
|
+
})(TenDlcBrandUpdateRequestScenarioIdEnum || (exports.TenDlcBrandUpdateRequestScenarioIdEnum = TenDlcBrandUpdateRequestScenarioIdEnum = {}));
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
* @enum {string}
|
|
34
|
+
*/
|
|
35
|
+
var TenDlcBrandUpdateRequestBusinessTypeEnum;
|
|
36
|
+
(function (TenDlcBrandUpdateRequestBusinessTypeEnum) {
|
|
37
|
+
TenDlcBrandUpdateRequestBusinessTypeEnum["PRIVATE_PROFIT"] = "PRIVATE_PROFIT";
|
|
38
|
+
TenDlcBrandUpdateRequestBusinessTypeEnum["SOLE_PROPRIETOR"] = "SOLE_PROPRIETOR";
|
|
39
|
+
TenDlcBrandUpdateRequestBusinessTypeEnum["PUBLIC_PROFIT"] = "PUBLIC_PROFIT";
|
|
40
|
+
TenDlcBrandUpdateRequestBusinessTypeEnum["NON_PROFIT"] = "NON_PROFIT";
|
|
41
|
+
TenDlcBrandUpdateRequestBusinessTypeEnum["GOVERNMENT"] = "GOVERNMENT";
|
|
42
|
+
})(TenDlcBrandUpdateRequestBusinessTypeEnum || (exports.TenDlcBrandUpdateRequestBusinessTypeEnum = TenDlcBrandUpdateRequestBusinessTypeEnum = {}));
|
|
35
43
|
/**
|
|
36
44
|
* Check if a given object implements the TenDlcBrandUpdateRequest interface.
|
|
37
45
|
*/
|
|
@@ -52,9 +60,6 @@ function TenDlcBrandUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
60
|
displayName: json['displayName'] == null ? undefined : json['displayName'],
|
|
53
61
|
firstName: json['firstName'] == null ? undefined : json['firstName'],
|
|
54
62
|
lastName: json['lastName'] == null ? undefined : json['lastName'],
|
|
55
|
-
vertical: json['vertical'] == null ? undefined : json['vertical'],
|
|
56
|
-
entityType: json['entityType'] == null ? undefined : json['entityType'],
|
|
57
|
-
brandStatus: json['brandStatus'] == null ? undefined : json['brandStatus'],
|
|
58
63
|
taxId: json['taxId'] == null ? undefined : json['taxId'],
|
|
59
64
|
website: json['website'] == null ? undefined : json['website'],
|
|
60
65
|
country: json['country'] == null ? undefined : json['country'],
|
|
@@ -84,9 +89,6 @@ function TenDlcBrandUpdateRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
84
89
|
displayName: value['displayName'],
|
|
85
90
|
firstName: value['firstName'],
|
|
86
91
|
lastName: value['lastName'],
|
|
87
|
-
vertical: value['vertical'],
|
|
88
|
-
entityType: value['entityType'],
|
|
89
|
-
brandStatus: value['brandStatus'],
|
|
90
92
|
taxId: value['taxId'],
|
|
91
93
|
website: value['website'],
|
|
92
94
|
country: value['country'],
|
|
@@ -248,6 +248,7 @@ export * from './TemplatePatchRequest';
|
|
|
248
248
|
export * from './TemplatePatchRequestBatch';
|
|
249
249
|
export * from './TemplatePatchRequestInstant';
|
|
250
250
|
export * from './TemplatePostRequest';
|
|
251
|
+
export * from './TenDlcBrandAdminUpdateRequest';
|
|
251
252
|
export * from './TenDlcBrandCreateRequest';
|
|
252
253
|
export * from './TenDlcBrandRegistration';
|
|
253
254
|
export * from './TenDlcBrandRegistrationDetails';
|
|
@@ -266,6 +266,7 @@ __exportStar(require("./TemplatePatchRequest"), exports);
|
|
|
266
266
|
__exportStar(require("./TemplatePatchRequestBatch"), exports);
|
|
267
267
|
__exportStar(require("./TemplatePatchRequestInstant"), exports);
|
|
268
268
|
__exportStar(require("./TemplatePostRequest"), exports);
|
|
269
|
+
__exportStar(require("./TenDlcBrandAdminUpdateRequest"), exports);
|
|
269
270
|
__exportStar(require("./TenDlcBrandCreateRequest"), exports);
|
|
270
271
|
__exportStar(require("./TenDlcBrandRegistration"), exports);
|
|
271
272
|
__exportStar(require("./TenDlcBrandRegistrationDetails"), exports);
|
package/dist/src/client.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { LogsApi } from '../generated/src';
|
|
|
18
18
|
import { MembersApi } from '../generated/src';
|
|
19
19
|
import { NumbersApi } from '../generated/src';
|
|
20
20
|
import { ProfileApi } from '../generated/src';
|
|
21
|
+
import { RegistrationsApi } from '../generated/src';
|
|
21
22
|
import { SenderApi } from '../generated/src';
|
|
22
23
|
import { SmsApi } from '../generated/src';
|
|
23
24
|
import { TemplatesApi } from '../generated/src';
|
|
@@ -122,6 +123,7 @@ export declare class Pingram {
|
|
|
122
123
|
members: MembersApi;
|
|
123
124
|
numbers: NumbersApi;
|
|
124
125
|
profile: ProfileApi;
|
|
126
|
+
registrations: RegistrationsApi;
|
|
125
127
|
sender: SenderApi;
|
|
126
128
|
sms: SmsApi;
|
|
127
129
|
templates: TemplatesApi;
|
package/dist/src/client.js
CHANGED
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
8
8
|
exports.Pingram = void 0;
|
|
9
9
|
const src_1 = require("../generated/src");
|
|
10
10
|
// SDK version for User-Agent header (injected at codegen time)
|
|
11
|
-
const SDK_VERSION = '1.0.
|
|
11
|
+
const SDK_VERSION = '1.0.25';
|
|
12
12
|
const USER_AGENT = `pingram-node/${SDK_VERSION}`;
|
|
13
13
|
const src_2 = require("../generated/src");
|
|
14
14
|
const src_3 = require("../generated/src");
|
|
@@ -34,6 +34,7 @@ const src_22 = require("../generated/src");
|
|
|
34
34
|
const src_23 = require("../generated/src");
|
|
35
35
|
const src_24 = require("../generated/src");
|
|
36
36
|
const src_25 = require("../generated/src");
|
|
37
|
+
const src_26 = require("../generated/src");
|
|
37
38
|
const testing_1 = require("./testing");
|
|
38
39
|
/**
|
|
39
40
|
* Get the base URL for a given region
|
|
@@ -129,15 +130,16 @@ class Pingram {
|
|
|
129
130
|
this.members = new src_14.MembersApi(this.config);
|
|
130
131
|
this.numbers = new src_15.NumbersApi(this.config);
|
|
131
132
|
this.profile = new src_16.ProfileApi(this.config);
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
134
|
-
this.
|
|
135
|
-
this.
|
|
136
|
-
this.
|
|
137
|
-
this.
|
|
138
|
-
this.
|
|
139
|
-
this.
|
|
140
|
-
this.
|
|
133
|
+
this.registrations = new src_17.RegistrationsApi(this.config);
|
|
134
|
+
this.sender = new src_18.SenderApi(this.config);
|
|
135
|
+
this.sms = new src_19.SmsApi(this.config);
|
|
136
|
+
this.templates = new src_20.TemplatesApi(this.config);
|
|
137
|
+
this.types = new src_21.TypesApi(this.config);
|
|
138
|
+
this.user = new src_22.UserApi(this.config);
|
|
139
|
+
this.users = new src_23.UsersApi(this.config);
|
|
140
|
+
this.voice = new src_24.VoiceApi(this.config);
|
|
141
|
+
this.webhooks = new src_25.WebhooksApi(this.config);
|
|
142
|
+
this.defaultApi = new src_26.DefaultApi(this.config);
|
|
141
143
|
}
|
|
142
144
|
/**
|
|
143
145
|
* Update the base URL (overrides region)
|
|
@@ -163,15 +165,16 @@ class Pingram {
|
|
|
163
165
|
this.members = new src_14.MembersApi(this.config);
|
|
164
166
|
this.numbers = new src_15.NumbersApi(this.config);
|
|
165
167
|
this.profile = new src_16.ProfileApi(this.config);
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
168
|
+
this.registrations = new src_17.RegistrationsApi(this.config);
|
|
169
|
+
this.sender = new src_18.SenderApi(this.config);
|
|
170
|
+
this.sms = new src_19.SmsApi(this.config);
|
|
171
|
+
this.templates = new src_20.TemplatesApi(this.config);
|
|
172
|
+
this.types = new src_21.TypesApi(this.config);
|
|
173
|
+
this.user = new src_22.UserApi(this.config);
|
|
174
|
+
this.users = new src_23.UsersApi(this.config);
|
|
175
|
+
this.voice = new src_24.VoiceApi(this.config);
|
|
176
|
+
this.webhooks = new src_25.WebhooksApi(this.config);
|
|
177
|
+
this.defaultApi = new src_26.DefaultApi(this.config);
|
|
175
178
|
}
|
|
176
179
|
/**
|
|
177
180
|
* send
|
package/package.json
CHANGED