pingram 1.0.39-alpha.1665 → 1.0.39-alpha.1667
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/models/LocalNumberAdminUpdateRequest.d.ts +71 -0
- package/dist/generated/src/models/LocalNumberAdminUpdateRequest.js +78 -0
- package/dist/generated/src/models/LocalNumberAdminUpdateRequestFields.d.ts +110 -0
- package/dist/generated/src/models/LocalNumberAdminUpdateRequestFields.js +86 -0
- package/dist/generated/src/models/LocalNumberSubmitRequest.d.ts +44 -0
- package/dist/generated/src/models/LocalNumberSubmitRequest.js +52 -0
- package/dist/generated/src/models/LocalNumberUploadRequest.d.ts +66 -0
- package/dist/generated/src/models/LocalNumberUploadRequest.js +75 -0
- package/dist/generated/src/models/LocalNumberUploadResponse.d.ts +51 -0
- package/dist/generated/src/models/LocalNumberUploadResponse.js +69 -0
- package/dist/generated/src/models/SmsComplianceCountriesResponse.d.ts +33 -0
- package/dist/generated/src/models/SmsComplianceCountriesResponse.js +51 -0
- package/dist/generated/src/models/SmsComplianceCountriesResponseCountriesInner.d.ts +50 -0
- package/dist/generated/src/models/SmsComplianceCountriesResponseCountriesInner.js +62 -0
- package/dist/generated/src/models/SmsComplianceCountry.d.ts +50 -0
- package/dist/generated/src/models/SmsComplianceCountry.js +62 -0
- package/dist/generated/src/models/SmsComplianceCountryCreateRequest.d.ts +45 -0
- package/dist/generated/src/models/SmsComplianceCountryCreateRequest.js +61 -0
- package/dist/generated/src/models/SmsLocalNumberRegistrationAdmin.d.ts +153 -0
- package/dist/generated/src/models/SmsLocalNumberRegistrationAdmin.js +142 -0
- package/dist/generated/src/models/SmsLocalNumberRegistrationAdminDocumentsInner.d.ts +60 -0
- package/dist/generated/src/models/SmsLocalNumberRegistrationAdminDocumentsInner.js +71 -0
- package/dist/generated/src/models/SmsLocalNumberSubmitResponse.d.ts +100 -0
- package/dist/generated/src/models/SmsLocalNumberSubmitResponse.js +101 -0
- package/dist/generated/src/models/SmsLocalNumberSubmitResponseQuestionsInner.d.ts +52 -0
- package/dist/generated/src/models/SmsLocalNumberSubmitResponseQuestionsInner.js +68 -0
- package/dist/generated/src/models/SmsLocalNumberSubmitResponseSlotsInner.d.ts +80 -0
- package/dist/generated/src/models/SmsLocalNumberSubmitResponseSlotsInner.js +80 -0
- package/dist/generated/src/models/SmsRegistration.d.ts +68 -0
- package/dist/generated/src/models/SmsRegistration.js +80 -0
- package/dist/generated/src/models/SmsRegistrationA2p10dlc.d.ts +304 -0
- package/dist/generated/src/models/SmsRegistrationA2p10dlc.js +209 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequest.d.ts +40 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequest.js +56 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequestA2p10dlc.d.ts +262 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequestA2p10dlc.js +190 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequestLocalNumber.d.ts +56 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequestLocalNumber.js +70 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequestLocalNumberDocumentsInner.d.ts +66 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequestLocalNumberDocumentsInner.js +71 -0
- package/dist/generated/src/models/SmsRegistrationLocalNumber.d.ts +129 -0
- package/dist/generated/src/models/SmsRegistrationLocalNumber.js +130 -0
- package/dist/generated/src/models/SmsRegistrationLocalNumberDocumentsInner.d.ts +54 -0
- package/dist/generated/src/models/SmsRegistrationLocalNumberDocumentsInner.js +67 -0
- package/dist/generated/src/models/SmsRegistrationSenderId.d.ts +102 -0
- package/dist/generated/src/models/SmsRegistrationSenderId.js +101 -0
- package/dist/generated/src/models/SmsRegistrationUpdateRequest.d.ts +40 -0
- package/dist/generated/src/models/SmsRegistrationUpdateRequest.js +56 -0
- package/dist/generated/src/models/SmsRegistrationUpdateRequestA2p10dlc.d.ts +262 -0
- package/dist/generated/src/models/SmsRegistrationUpdateRequestA2p10dlc.js +170 -0
- package/dist/generated/src/models/SmsRegistrationUpdateRequestLocalNumber.d.ts +56 -0
- package/dist/generated/src/models/SmsRegistrationUpdateRequestLocalNumber.js +70 -0
- package/dist/generated/src/models/SmsSenderId.d.ts +72 -0
- package/dist/generated/src/models/SmsSenderId.js +80 -0
- package/dist/generated/src/models/SmsSenderIdAdmin.d.ts +84 -0
- package/dist/generated/src/models/SmsSenderIdAdmin.js +86 -0
- package/dist/generated/src/models/SmsSenderIdAdminUpdateRequest.d.ts +48 -0
- package/dist/generated/src/models/SmsSenderIdAdminUpdateRequest.js +64 -0
- package/dist/generated/src/models/SmsSenderIdCreateRequest.d.ts +32 -0
- package/dist/generated/src/models/SmsSenderIdCreateRequest.js +50 -0
- package/dist/generated/src/models/index.d.ts +30 -0
- package/dist/generated/src/models/index.js +30 -0
- package/package.json +1 -1
|
@@ -0,0 +1,71 @@
|
|
|
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 type { LocalNumberAdminUpdateRequestFields } from './LocalNumberAdminUpdateRequestFields';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LocalNumberAdminUpdateRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface LocalNumberAdminUpdateRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Pingram-side 10DLC registration workflow status (brand or campaign).
|
|
21
|
+
* - not_started: no customer submission yet
|
|
22
|
+
* - pending_review: customer submitted; Pingram has not submitted to carriers
|
|
23
|
+
* - in_progress: submitted for carrier review
|
|
24
|
+
* - approved | rejected | info_needed: review outcome
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LocalNumberAdminUpdateRequest
|
|
27
|
+
*/
|
|
28
|
+
status?: LocalNumberAdminUpdateRequestStatusEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Whether this local number is registered to a person or a business.
|
|
31
|
+
* - personal: an individual. firstName and lastName are that person.
|
|
32
|
+
* - business: a company. firstName and lastName are the authorized representative.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof LocalNumberAdminUpdateRequest
|
|
35
|
+
*/
|
|
36
|
+
registrationType?: LocalNumberAdminUpdateRequestRegistrationTypeEnum;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {LocalNumberAdminUpdateRequestFields}
|
|
40
|
+
* @memberof LocalNumberAdminUpdateRequest
|
|
41
|
+
*/
|
|
42
|
+
fields?: LocalNumberAdminUpdateRequestFields;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
* @enum {string}
|
|
47
|
+
*/
|
|
48
|
+
export declare enum LocalNumberAdminUpdateRequestStatusEnum {
|
|
49
|
+
NOT_STARTED = "not_started",
|
|
50
|
+
IN_PROGRESS = "in_progress",
|
|
51
|
+
PENDING_REVIEW = "pending_review",
|
|
52
|
+
APPROVED = "approved",
|
|
53
|
+
REJECTED = "rejected",
|
|
54
|
+
INFO_NEEDED = "info_needed"
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
* @enum {string}
|
|
59
|
+
*/
|
|
60
|
+
export declare enum LocalNumberAdminUpdateRequestRegistrationTypeEnum {
|
|
61
|
+
PERSONAL = "personal",
|
|
62
|
+
BUSINESS = "business"
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the LocalNumberAdminUpdateRequest interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfLocalNumberAdminUpdateRequest(value: object): value is LocalNumberAdminUpdateRequest;
|
|
68
|
+
export declare function LocalNumberAdminUpdateRequestFromJSON(json: any): LocalNumberAdminUpdateRequest;
|
|
69
|
+
export declare function LocalNumberAdminUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocalNumberAdminUpdateRequest;
|
|
70
|
+
export declare function LocalNumberAdminUpdateRequestToJSON(json: any): LocalNumberAdminUpdateRequest;
|
|
71
|
+
export declare function LocalNumberAdminUpdateRequestToJSONTyped(value?: LocalNumberAdminUpdateRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
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.LocalNumberAdminUpdateRequestRegistrationTypeEnum = exports.LocalNumberAdminUpdateRequestStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfLocalNumberAdminUpdateRequest = instanceOfLocalNumberAdminUpdateRequest;
|
|
18
|
+
exports.LocalNumberAdminUpdateRequestFromJSON = LocalNumberAdminUpdateRequestFromJSON;
|
|
19
|
+
exports.LocalNumberAdminUpdateRequestFromJSONTyped = LocalNumberAdminUpdateRequestFromJSONTyped;
|
|
20
|
+
exports.LocalNumberAdminUpdateRequestToJSON = LocalNumberAdminUpdateRequestToJSON;
|
|
21
|
+
exports.LocalNumberAdminUpdateRequestToJSONTyped = LocalNumberAdminUpdateRequestToJSONTyped;
|
|
22
|
+
const LocalNumberAdminUpdateRequestFields_1 = require("./LocalNumberAdminUpdateRequestFields");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
* @enum {string}
|
|
26
|
+
*/
|
|
27
|
+
var LocalNumberAdminUpdateRequestStatusEnum;
|
|
28
|
+
(function (LocalNumberAdminUpdateRequestStatusEnum) {
|
|
29
|
+
LocalNumberAdminUpdateRequestStatusEnum["NOT_STARTED"] = "not_started";
|
|
30
|
+
LocalNumberAdminUpdateRequestStatusEnum["IN_PROGRESS"] = "in_progress";
|
|
31
|
+
LocalNumberAdminUpdateRequestStatusEnum["PENDING_REVIEW"] = "pending_review";
|
|
32
|
+
LocalNumberAdminUpdateRequestStatusEnum["APPROVED"] = "approved";
|
|
33
|
+
LocalNumberAdminUpdateRequestStatusEnum["REJECTED"] = "rejected";
|
|
34
|
+
LocalNumberAdminUpdateRequestStatusEnum["INFO_NEEDED"] = "info_needed";
|
|
35
|
+
})(LocalNumberAdminUpdateRequestStatusEnum || (exports.LocalNumberAdminUpdateRequestStatusEnum = LocalNumberAdminUpdateRequestStatusEnum = {}));
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
* @enum {string}
|
|
39
|
+
*/
|
|
40
|
+
var LocalNumberAdminUpdateRequestRegistrationTypeEnum;
|
|
41
|
+
(function (LocalNumberAdminUpdateRequestRegistrationTypeEnum) {
|
|
42
|
+
LocalNumberAdminUpdateRequestRegistrationTypeEnum["PERSONAL"] = "personal";
|
|
43
|
+
LocalNumberAdminUpdateRequestRegistrationTypeEnum["BUSINESS"] = "business";
|
|
44
|
+
})(LocalNumberAdminUpdateRequestRegistrationTypeEnum || (exports.LocalNumberAdminUpdateRequestRegistrationTypeEnum = LocalNumberAdminUpdateRequestRegistrationTypeEnum = {}));
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the LocalNumberAdminUpdateRequest interface.
|
|
47
|
+
*/
|
|
48
|
+
function instanceOfLocalNumberAdminUpdateRequest(value) {
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function LocalNumberAdminUpdateRequestFromJSON(json) {
|
|
52
|
+
return LocalNumberAdminUpdateRequestFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function LocalNumberAdminUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
status: json['status'] == null ? undefined : json['status'],
|
|
60
|
+
registrationType: json['registrationType'] == null ? undefined : json['registrationType'],
|
|
61
|
+
fields: json['fields'] == null
|
|
62
|
+
? undefined
|
|
63
|
+
: (0, LocalNumberAdminUpdateRequestFields_1.LocalNumberAdminUpdateRequestFieldsFromJSON)(json['fields'])
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function LocalNumberAdminUpdateRequestToJSON(json) {
|
|
67
|
+
return LocalNumberAdminUpdateRequestToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function LocalNumberAdminUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
status: value['status'],
|
|
75
|
+
registrationType: value['registrationType'],
|
|
76
|
+
fields: (0, LocalNumberAdminUpdateRequestFields_1.LocalNumberAdminUpdateRequestFieldsToJSON)(value['fields'])
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LocalNumberAdminUpdateRequestFields
|
|
16
|
+
*/
|
|
17
|
+
export interface LocalNumberAdminUpdateRequestFields {
|
|
18
|
+
/**
|
|
19
|
+
* First name. For a business registration, the authorized representative.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
22
|
+
*/
|
|
23
|
+
firstName: string;
|
|
24
|
+
/**
|
|
25
|
+
* Last name. For a business registration, the authorized representative.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
28
|
+
*/
|
|
29
|
+
lastName: string;
|
|
30
|
+
/**
|
|
31
|
+
* Contact phone number.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
34
|
+
*/
|
|
35
|
+
contactPhone: string;
|
|
36
|
+
/**
|
|
37
|
+
* Street address, including the building number and street name. An IL registration also includes the apartment or suite.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
40
|
+
*/
|
|
41
|
+
street: string;
|
|
42
|
+
/**
|
|
43
|
+
* City.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
46
|
+
*/
|
|
47
|
+
city: string;
|
|
48
|
+
/**
|
|
49
|
+
* Postal or ZIP code.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
52
|
+
*/
|
|
53
|
+
postalCode: string;
|
|
54
|
+
/**
|
|
55
|
+
* Building number when it is sent separately from the street address.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
58
|
+
*/
|
|
59
|
+
buildingNumber?: string;
|
|
60
|
+
/**
|
|
61
|
+
* State or province. Required for an IL registration.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
64
|
+
*/
|
|
65
|
+
state?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Company name. Required for a business registration.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
70
|
+
*/
|
|
71
|
+
companyName?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Company website, including https://. Required for a GB business registration.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
76
|
+
*/
|
|
77
|
+
companyWebsite?: string;
|
|
78
|
+
/**
|
|
79
|
+
* How this number will be used. Required. A personal registration describes the inbound line, such as appointment reminders or two-factor authentication codes. A business registration describes messages sent to people who opted in, such as appointment reminders or delivery updates.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
82
|
+
*/
|
|
83
|
+
businessUseCase?: string;
|
|
84
|
+
/**
|
|
85
|
+
* True when someone else, such as a client, will use the number. False when you or your business will use it.
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
88
|
+
*/
|
|
89
|
+
subAllocated?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Name of the person or business who will use the number. Required when subAllocated is true.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
94
|
+
*/
|
|
95
|
+
subAllocatedParty?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Country of the address, as a country name or an ISO 3166-1 alpha-2 code. Required for an IL registration, which can use an address outside Israel. A GB registration uses a United Kingdom address and does not send this field.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof LocalNumberAdminUpdateRequestFields
|
|
100
|
+
*/
|
|
101
|
+
addressCountry?: string;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Check if a given object implements the LocalNumberAdminUpdateRequestFields interface.
|
|
105
|
+
*/
|
|
106
|
+
export declare function instanceOfLocalNumberAdminUpdateRequestFields(value: object): value is LocalNumberAdminUpdateRequestFields;
|
|
107
|
+
export declare function LocalNumberAdminUpdateRequestFieldsFromJSON(json: any): LocalNumberAdminUpdateRequestFields;
|
|
108
|
+
export declare function LocalNumberAdminUpdateRequestFieldsFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocalNumberAdminUpdateRequestFields;
|
|
109
|
+
export declare function LocalNumberAdminUpdateRequestFieldsToJSON(json: any): LocalNumberAdminUpdateRequestFields;
|
|
110
|
+
export declare function LocalNumberAdminUpdateRequestFieldsToJSONTyped(value?: LocalNumberAdminUpdateRequestFields | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,86 @@
|
|
|
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.instanceOfLocalNumberAdminUpdateRequestFields = instanceOfLocalNumberAdminUpdateRequestFields;
|
|
17
|
+
exports.LocalNumberAdminUpdateRequestFieldsFromJSON = LocalNumberAdminUpdateRequestFieldsFromJSON;
|
|
18
|
+
exports.LocalNumberAdminUpdateRequestFieldsFromJSONTyped = LocalNumberAdminUpdateRequestFieldsFromJSONTyped;
|
|
19
|
+
exports.LocalNumberAdminUpdateRequestFieldsToJSON = LocalNumberAdminUpdateRequestFieldsToJSON;
|
|
20
|
+
exports.LocalNumberAdminUpdateRequestFieldsToJSONTyped = LocalNumberAdminUpdateRequestFieldsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LocalNumberAdminUpdateRequestFields interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLocalNumberAdminUpdateRequestFields(value) {
|
|
25
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('contactPhone' in value) || value['contactPhone'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('street' in value) || value['street'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('city' in value) || value['city'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('postalCode' in value) || value['postalCode'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function LocalNumberAdminUpdateRequestFieldsFromJSON(json) {
|
|
40
|
+
return LocalNumberAdminUpdateRequestFieldsFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function LocalNumberAdminUpdateRequestFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
firstName: json['firstName'],
|
|
48
|
+
lastName: json['lastName'],
|
|
49
|
+
contactPhone: json['contactPhone'],
|
|
50
|
+
street: json['street'],
|
|
51
|
+
city: json['city'],
|
|
52
|
+
postalCode: json['postalCode'],
|
|
53
|
+
buildingNumber: json['buildingNumber'] == null ? undefined : json['buildingNumber'],
|
|
54
|
+
state: json['state'] == null ? undefined : json['state'],
|
|
55
|
+
companyName: json['companyName'] == null ? undefined : json['companyName'],
|
|
56
|
+
companyWebsite: json['companyWebsite'] == null ? undefined : json['companyWebsite'],
|
|
57
|
+
businessUseCase: json['businessUseCase'] == null ? undefined : json['businessUseCase'],
|
|
58
|
+
subAllocated: json['subAllocated'] == null ? undefined : json['subAllocated'],
|
|
59
|
+
subAllocatedParty: json['subAllocatedParty'] == null ? undefined : json['subAllocatedParty'],
|
|
60
|
+
addressCountry: json['addressCountry'] == null ? undefined : json['addressCountry']
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function LocalNumberAdminUpdateRequestFieldsToJSON(json) {
|
|
64
|
+
return LocalNumberAdminUpdateRequestFieldsToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function LocalNumberAdminUpdateRequestFieldsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
firstName: value['firstName'],
|
|
72
|
+
lastName: value['lastName'],
|
|
73
|
+
contactPhone: value['contactPhone'],
|
|
74
|
+
street: value['street'],
|
|
75
|
+
city: value['city'],
|
|
76
|
+
postalCode: value['postalCode'],
|
|
77
|
+
buildingNumber: value['buildingNumber'],
|
|
78
|
+
state: value['state'],
|
|
79
|
+
companyName: value['companyName'],
|
|
80
|
+
companyWebsite: value['companyWebsite'],
|
|
81
|
+
businessUseCase: value['businessUseCase'],
|
|
82
|
+
subAllocated: value['subAllocated'],
|
|
83
|
+
subAllocatedParty: value['subAllocatedParty'],
|
|
84
|
+
addressCountry: value['addressCountry']
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LocalNumberSubmitRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface LocalNumberSubmitRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Admin-confirmed use case. Required for personal registrations.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LocalNumberSubmitRequest
|
|
22
|
+
*/
|
|
23
|
+
useCase?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the number will be sub-allocated to a third party.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof LocalNumberSubmitRequest
|
|
28
|
+
*/
|
|
29
|
+
subAllocated?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Required when subAllocated is true.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LocalNumberSubmitRequest
|
|
34
|
+
*/
|
|
35
|
+
subAllocatedParty?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the LocalNumberSubmitRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfLocalNumberSubmitRequest(value: object): value is LocalNumberSubmitRequest;
|
|
41
|
+
export declare function LocalNumberSubmitRequestFromJSON(json: any): LocalNumberSubmitRequest;
|
|
42
|
+
export declare function LocalNumberSubmitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocalNumberSubmitRequest;
|
|
43
|
+
export declare function LocalNumberSubmitRequestToJSON(json: any): LocalNumberSubmitRequest;
|
|
44
|
+
export declare function LocalNumberSubmitRequestToJSONTyped(value?: LocalNumberSubmitRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfLocalNumberSubmitRequest = instanceOfLocalNumberSubmitRequest;
|
|
17
|
+
exports.LocalNumberSubmitRequestFromJSON = LocalNumberSubmitRequestFromJSON;
|
|
18
|
+
exports.LocalNumberSubmitRequestFromJSONTyped = LocalNumberSubmitRequestFromJSONTyped;
|
|
19
|
+
exports.LocalNumberSubmitRequestToJSON = LocalNumberSubmitRequestToJSON;
|
|
20
|
+
exports.LocalNumberSubmitRequestToJSONTyped = LocalNumberSubmitRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LocalNumberSubmitRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLocalNumberSubmitRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function LocalNumberSubmitRequestFromJSON(json) {
|
|
28
|
+
return LocalNumberSubmitRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function LocalNumberSubmitRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
useCase: json['useCase'] == null ? undefined : json['useCase'],
|
|
36
|
+
subAllocated: json['subAllocated'] == null ? undefined : json['subAllocated'],
|
|
37
|
+
subAllocatedParty: json['subAllocatedParty'] == null ? undefined : json['subAllocatedParty']
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function LocalNumberSubmitRequestToJSON(json) {
|
|
41
|
+
return LocalNumberSubmitRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function LocalNumberSubmitRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
useCase: value['useCase'],
|
|
49
|
+
subAllocated: value['subAllocated'],
|
|
50
|
+
subAllocatedParty: value['subAllocatedParty']
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LocalNumberUploadRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface LocalNumberUploadRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Which document this is.
|
|
20
|
+
* - passport_or_id: GB personal, with utility_bill.
|
|
21
|
+
* - utility_bill: needed for GB registration; must be less than 3 months old.
|
|
22
|
+
* - company_registration_certificate: GB business, with utility_bill.
|
|
23
|
+
* - proof_of_address: needed for IL registration; must be less than 3 months old.
|
|
24
|
+
* - business_registration_certificate: IL business, with proof_of_address.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LocalNumberUploadRequest
|
|
27
|
+
*/
|
|
28
|
+
docKind: LocalNumberUploadRequestDocKindEnum;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof LocalNumberUploadRequest
|
|
33
|
+
*/
|
|
34
|
+
fileName: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof LocalNumberUploadRequest
|
|
39
|
+
*/
|
|
40
|
+
contentType: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof LocalNumberUploadRequest
|
|
45
|
+
*/
|
|
46
|
+
contentLength: number;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @export
|
|
50
|
+
* @enum {string}
|
|
51
|
+
*/
|
|
52
|
+
export declare enum LocalNumberUploadRequestDocKindEnum {
|
|
53
|
+
PASSPORT_OR_ID = "passport_or_id",
|
|
54
|
+
COMPANY_REGISTRATION_CERTIFICATE = "company_registration_certificate",
|
|
55
|
+
UTILITY_BILL = "utility_bill",
|
|
56
|
+
BUSINESS_REGISTRATION_CERTIFICATE = "business_registration_certificate",
|
|
57
|
+
PROOF_OF_ADDRESS = "proof_of_address"
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the LocalNumberUploadRequest interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfLocalNumberUploadRequest(value: object): value is LocalNumberUploadRequest;
|
|
63
|
+
export declare function LocalNumberUploadRequestFromJSON(json: any): LocalNumberUploadRequest;
|
|
64
|
+
export declare function LocalNumberUploadRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocalNumberUploadRequest;
|
|
65
|
+
export declare function LocalNumberUploadRequestToJSON(json: any): LocalNumberUploadRequest;
|
|
66
|
+
export declare function LocalNumberUploadRequestToJSONTyped(value?: LocalNumberUploadRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
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.LocalNumberUploadRequestDocKindEnum = void 0;
|
|
17
|
+
exports.instanceOfLocalNumberUploadRequest = instanceOfLocalNumberUploadRequest;
|
|
18
|
+
exports.LocalNumberUploadRequestFromJSON = LocalNumberUploadRequestFromJSON;
|
|
19
|
+
exports.LocalNumberUploadRequestFromJSONTyped = LocalNumberUploadRequestFromJSONTyped;
|
|
20
|
+
exports.LocalNumberUploadRequestToJSON = LocalNumberUploadRequestToJSON;
|
|
21
|
+
exports.LocalNumberUploadRequestToJSONTyped = LocalNumberUploadRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
* @enum {string}
|
|
25
|
+
*/
|
|
26
|
+
var LocalNumberUploadRequestDocKindEnum;
|
|
27
|
+
(function (LocalNumberUploadRequestDocKindEnum) {
|
|
28
|
+
LocalNumberUploadRequestDocKindEnum["PASSPORT_OR_ID"] = "passport_or_id";
|
|
29
|
+
LocalNumberUploadRequestDocKindEnum["COMPANY_REGISTRATION_CERTIFICATE"] = "company_registration_certificate";
|
|
30
|
+
LocalNumberUploadRequestDocKindEnum["UTILITY_BILL"] = "utility_bill";
|
|
31
|
+
LocalNumberUploadRequestDocKindEnum["BUSINESS_REGISTRATION_CERTIFICATE"] = "business_registration_certificate";
|
|
32
|
+
LocalNumberUploadRequestDocKindEnum["PROOF_OF_ADDRESS"] = "proof_of_address";
|
|
33
|
+
})(LocalNumberUploadRequestDocKindEnum || (exports.LocalNumberUploadRequestDocKindEnum = LocalNumberUploadRequestDocKindEnum = {}));
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the LocalNumberUploadRequest interface.
|
|
36
|
+
*/
|
|
37
|
+
function instanceOfLocalNumberUploadRequest(value) {
|
|
38
|
+
if (!('docKind' in value) || value['docKind'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('contentType' in value) || value['contentType'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('contentLength' in value) || value['contentLength'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
function LocalNumberUploadRequestFromJSON(json) {
|
|
49
|
+
return LocalNumberUploadRequestFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function LocalNumberUploadRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
docKind: json['docKind'],
|
|
57
|
+
fileName: json['fileName'],
|
|
58
|
+
contentType: json['contentType'],
|
|
59
|
+
contentLength: json['contentLength']
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function LocalNumberUploadRequestToJSON(json) {
|
|
63
|
+
return LocalNumberUploadRequestToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function LocalNumberUploadRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
docKind: value['docKind'],
|
|
71
|
+
fileName: value['fileName'],
|
|
72
|
+
contentType: value['contentType'],
|
|
73
|
+
contentLength: value['contentLength']
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LocalNumberUploadResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface LocalNumberUploadResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LocalNumberUploadResponse
|
|
22
|
+
*/
|
|
23
|
+
uploadUrl: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LocalNumberUploadResponse
|
|
28
|
+
*/
|
|
29
|
+
s3Key: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LocalNumberUploadResponse
|
|
34
|
+
*/
|
|
35
|
+
method: LocalNumberUploadResponseMethodEnum;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export declare enum LocalNumberUploadResponseMethodEnum {
|
|
42
|
+
PUT = "PUT"
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the LocalNumberUploadResponse interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfLocalNumberUploadResponse(value: object): value is LocalNumberUploadResponse;
|
|
48
|
+
export declare function LocalNumberUploadResponseFromJSON(json: any): LocalNumberUploadResponse;
|
|
49
|
+
export declare function LocalNumberUploadResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocalNumberUploadResponse;
|
|
50
|
+
export declare function LocalNumberUploadResponseToJSON(json: any): LocalNumberUploadResponse;
|
|
51
|
+
export declare function LocalNumberUploadResponseToJSONTyped(value?: LocalNumberUploadResponse | null, ignoreDiscriminator?: boolean): any;
|