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
|
@@ -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'],
|
|
@@ -41,7 +41,6 @@ export * from './CreateVoiceAgentRequest';
|
|
|
41
41
|
export * from './CreateVoiceAgentResponse';
|
|
42
42
|
export * from './Custom';
|
|
43
43
|
export * from './DeleteAccountRequest';
|
|
44
|
-
export * from './DeleteEmailSuppressionsResponse';
|
|
45
44
|
export * from './DeleteKeyResponse';
|
|
46
45
|
export * from './DeleteUserResponse';
|
|
47
46
|
export * from './DeleteVoiceAgentResponse';
|
|
@@ -249,6 +248,7 @@ export * from './TemplatePatchRequest';
|
|
|
249
248
|
export * from './TemplatePatchRequestBatch';
|
|
250
249
|
export * from './TemplatePatchRequestInstant';
|
|
251
250
|
export * from './TemplatePostRequest';
|
|
251
|
+
export * from './TenDlcBrandAdminUpdateRequest';
|
|
252
252
|
export * from './TenDlcBrandCreateRequest';
|
|
253
253
|
export * from './TenDlcBrandRegistration';
|
|
254
254
|
export * from './TenDlcBrandRegistrationDetails';
|
|
@@ -59,7 +59,6 @@ __exportStar(require("./CreateVoiceAgentRequest"), exports);
|
|
|
59
59
|
__exportStar(require("./CreateVoiceAgentResponse"), exports);
|
|
60
60
|
__exportStar(require("./Custom"), exports);
|
|
61
61
|
__exportStar(require("./DeleteAccountRequest"), exports);
|
|
62
|
-
__exportStar(require("./DeleteEmailSuppressionsResponse"), exports);
|
|
63
62
|
__exportStar(require("./DeleteKeyResponse"), exports);
|
|
64
63
|
__exportStar(require("./DeleteUserResponse"), exports);
|
|
65
64
|
__exportStar(require("./DeleteVoiceAgentResponse"), exports);
|
|
@@ -267,6 +266,7 @@ __exportStar(require("./TemplatePatchRequest"), exports);
|
|
|
267
266
|
__exportStar(require("./TemplatePatchRequestBatch"), exports);
|
|
268
267
|
__exportStar(require("./TemplatePatchRequestInstant"), exports);
|
|
269
268
|
__exportStar(require("./TemplatePostRequest"), exports);
|
|
269
|
+
__exportStar(require("./TenDlcBrandAdminUpdateRequest"), exports);
|
|
270
270
|
__exportStar(require("./TenDlcBrandCreateRequest"), exports);
|
|
271
271
|
__exportStar(require("./TenDlcBrandRegistration"), exports);
|
|
272
272
|
__exportStar(require("./TenDlcBrandRegistrationDetails"), exports);
|