pingram 1.0.41-alpha.1728 → 1.0.42-alpha.1729
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/index.d.ts +0 -2
- package/dist/generated/src/apis/index.js +1 -3
- package/dist/generated/src/models/index.d.ts +0 -5
- package/dist/generated/src/models/index.js +0 -5
- package/dist/src/client.d.ts +0 -2
- package/dist/src/client.js +51 -54
- package/package.json +1 -1
- package/dist/generated/src/apis/AddressesApi.d.ts +0 -118
- package/dist/generated/src/apis/AddressesApi.js +0 -271
- package/dist/generated/src/models/AccountAddressesResponse.d.ts +0 -33
- package/dist/generated/src/models/AccountAddressesResponse.js +0 -51
- package/dist/generated/src/models/AccountAddressesResponseAddressesInner.d.ts +0 -70
- package/dist/generated/src/models/AccountAddressesResponseAddressesInner.js +0 -76
- package/dist/generated/src/models/AddressResponse.d.ts +0 -33
- package/dist/generated/src/models/AddressResponse.js +0 -51
- package/dist/generated/src/models/CreateAddressRequest.d.ts +0 -44
- package/dist/generated/src/models/CreateAddressRequest.js +0 -54
- package/dist/generated/src/models/UpdateAddressRequest.d.ts +0 -44
- package/dist/generated/src/models/UpdateAddressRequest.js +0 -54
|
@@ -6,8 +6,6 @@ export type { AssignPaymentMethodOperationRequest, CancelSubscriptionOperationRe
|
|
|
6
6
|
export { AccountApi } from './AccountApi';
|
|
7
7
|
export type { CreateAccountOperationRequest, AccountsApiInterface } from './AccountsApi';
|
|
8
8
|
export { AccountsApi } from './AccountsApi';
|
|
9
|
-
export type { CreateAddressOperationRequest, DeleteAddressRequest, UpdateAddressOperationRequest, AddressesApiInterface } from './AddressesApi';
|
|
10
|
-
export { AddressesApi } from './AddressesApi';
|
|
11
9
|
export type { DeleteRequest, ArchiveRequest, CancelRequest, CreateRequest as BroadcastsApi_CreateRequest, GetRequest, GetMetricsRequest, ListRequest as BroadcastsApi_ListRequest, ListRecipientsRequest, PauseRequest, ResumeRequest, ScheduleRequest, SendRequest as BroadcastsApi_SendRequest, UnarchiveRequest, UpdateRequest as BroadcastsApi_UpdateRequest, BroadcastsApiInterface } from './BroadcastsApi';
|
|
12
10
|
export { BroadcastsApi } from './BroadcastsApi';
|
|
13
11
|
export type { CreateComponentRequest, DeleteComponentRequest, GetComponentRequest, ListComponentsRequest, PatchComponentRequest, ComponentsApiInterface } from './ComponentsApi';
|
|
@@ -6,13 +6,11 @@
|
|
|
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.SubNotificationsApi = exports.SmsApi = exports.SenderApi = exports.RegistrationsApi = exports.ProfileApi = exports.NumbersApi = exports.MembersApi = exports.LogsApi = exports.LibraryApi = exports.KeysApi = exports.InsightsApi = exports.HealthApi = exports.EnvironmentsApi = exports.EmailApi = exports.EditorApi = exports.DomainsApi = exports.DefaultApi = exports.ComponentsApi = exports.BroadcastsApi = exports.
|
|
9
|
+
exports.WebhooksApi = exports.VoiceApi = exports.UsersApi = exports.UserApi = exports.TypesApi = exports.TemplatesApi = exports.SubNotificationsApi = exports.SmsApi = exports.SenderApi = exports.RegistrationsApi = exports.ProfileApi = exports.NumbersApi = exports.MembersApi = exports.LogsApi = exports.LibraryApi = exports.KeysApi = exports.InsightsApi = exports.HealthApi = exports.EnvironmentsApi = exports.EmailApi = exports.EditorApi = exports.DomainsApi = exports.DefaultApi = exports.ComponentsApi = exports.BroadcastsApi = 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");
|
|
13
13
|
Object.defineProperty(exports, "AccountsApi", { enumerable: true, get: function () { return AccountsApi_1.AccountsApi; } });
|
|
14
|
-
var AddressesApi_1 = require("./AddressesApi");
|
|
15
|
-
Object.defineProperty(exports, "AddressesApi", { enumerable: true, get: function () { return AddressesApi_1.AddressesApi; } });
|
|
16
14
|
var BroadcastsApi_1 = require("./BroadcastsApi");
|
|
17
15
|
Object.defineProperty(exports, "BroadcastsApi", { enumerable: true, get: function () { return BroadcastsApi_1.BroadcastsApi; } });
|
|
18
16
|
var ComponentsApi_1 = require("./ComponentsApi");
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
export * from './AcceptInviteRequest';
|
|
2
2
|
export * from './AcceptInviteResponse';
|
|
3
|
-
export * from './AccountAddressesResponse';
|
|
4
|
-
export * from './AccountAddressesResponseAddressesInner';
|
|
5
3
|
export * from './AccountGetResponse';
|
|
6
4
|
export * from './AccountGetResponseBillingAlerts';
|
|
7
5
|
export * from './AccountPatchRequest';
|
|
8
6
|
export * from './AccountPaymentMethods';
|
|
9
7
|
export * from './AccountPaymentMethodsPaymentMethodsInner';
|
|
10
|
-
export * from './AddressResponse';
|
|
11
8
|
export * from './Agent';
|
|
12
9
|
export * from './Agent1';
|
|
13
10
|
export * from './AgentAgent';
|
|
@@ -42,7 +39,6 @@ export * from './ConfirmPasswordChangeRequest';
|
|
|
42
39
|
export * from './CreateAccountRequest';
|
|
43
40
|
export * from './CreateAccountRequestPlan';
|
|
44
41
|
export * from './CreateAccountResponse';
|
|
45
|
-
export * from './CreateAddressRequest';
|
|
46
42
|
export * from './CreateBroadcastRequest';
|
|
47
43
|
export * from './CreateKeyRequest';
|
|
48
44
|
export * from './CreateKeyResponse';
|
|
@@ -327,7 +323,6 @@ export * from './TenDlcCampaignUpdateRequest';
|
|
|
327
323
|
export * from './Transfer';
|
|
328
324
|
export * from './Transfer1';
|
|
329
325
|
export * from './TransferDestinationsInner';
|
|
330
|
-
export * from './UpdateAddressRequest';
|
|
331
326
|
export * from './UpdateBillingEmailRequest';
|
|
332
327
|
export * from './UpdateBroadcastRequest';
|
|
333
328
|
export * from './User';
|
|
@@ -18,14 +18,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AcceptInviteRequest"), exports);
|
|
20
20
|
__exportStar(require("./AcceptInviteResponse"), exports);
|
|
21
|
-
__exportStar(require("./AccountAddressesResponse"), exports);
|
|
22
|
-
__exportStar(require("./AccountAddressesResponseAddressesInner"), exports);
|
|
23
21
|
__exportStar(require("./AccountGetResponse"), exports);
|
|
24
22
|
__exportStar(require("./AccountGetResponseBillingAlerts"), exports);
|
|
25
23
|
__exportStar(require("./AccountPatchRequest"), exports);
|
|
26
24
|
__exportStar(require("./AccountPaymentMethods"), exports);
|
|
27
25
|
__exportStar(require("./AccountPaymentMethodsPaymentMethodsInner"), exports);
|
|
28
|
-
__exportStar(require("./AddressResponse"), exports);
|
|
29
26
|
__exportStar(require("./Agent"), exports);
|
|
30
27
|
__exportStar(require("./Agent1"), exports);
|
|
31
28
|
__exportStar(require("./AgentAgent"), exports);
|
|
@@ -60,7 +57,6 @@ __exportStar(require("./ConfirmPasswordChangeRequest"), exports);
|
|
|
60
57
|
__exportStar(require("./CreateAccountRequest"), exports);
|
|
61
58
|
__exportStar(require("./CreateAccountRequestPlan"), exports);
|
|
62
59
|
__exportStar(require("./CreateAccountResponse"), exports);
|
|
63
|
-
__exportStar(require("./CreateAddressRequest"), exports);
|
|
64
60
|
__exportStar(require("./CreateBroadcastRequest"), exports);
|
|
65
61
|
__exportStar(require("./CreateKeyRequest"), exports);
|
|
66
62
|
__exportStar(require("./CreateKeyResponse"), exports);
|
|
@@ -345,7 +341,6 @@ __exportStar(require("./TenDlcCampaignUpdateRequest"), exports);
|
|
|
345
341
|
__exportStar(require("./Transfer"), exports);
|
|
346
342
|
__exportStar(require("./Transfer1"), exports);
|
|
347
343
|
__exportStar(require("./TransferDestinationsInner"), exports);
|
|
348
|
-
__exportStar(require("./UpdateAddressRequest"), exports);
|
|
349
344
|
__exportStar(require("./UpdateBillingEmailRequest"), exports);
|
|
350
345
|
__exportStar(require("./UpdateBroadcastRequest"), exports);
|
|
351
346
|
__exportStar(require("./User"), exports);
|
package/dist/src/client.d.ts
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { AccountApi } from '../generated/src';
|
|
7
7
|
import { AccountsApi } from '../generated/src';
|
|
8
|
-
import { AddressesApi } from '../generated/src';
|
|
9
8
|
import { BroadcastsApi } from '../generated/src';
|
|
10
9
|
import { ComponentsApi } from '../generated/src';
|
|
11
10
|
import { DomainsApi } from '../generated/src';
|
|
@@ -113,7 +112,6 @@ export declare class Pingram {
|
|
|
113
112
|
private configurationParams;
|
|
114
113
|
account: AccountApi;
|
|
115
114
|
accounts: AccountsApi;
|
|
116
|
-
addresses: AddressesApi;
|
|
117
115
|
broadcasts: BroadcastsApi;
|
|
118
116
|
components: ComponentsApi;
|
|
119
117
|
domains: DomainsApi;
|
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.42';
|
|
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");
|
|
@@ -37,7 +37,6 @@ const src_25 = require("../generated/src");
|
|
|
37
37
|
const src_26 = require("../generated/src");
|
|
38
38
|
const src_27 = require("../generated/src");
|
|
39
39
|
const src_28 = require("../generated/src");
|
|
40
|
-
const src_29 = require("../generated/src");
|
|
41
40
|
const testing_1 = require("./testing");
|
|
42
41
|
/**
|
|
43
42
|
* Get the base URL for a given region
|
|
@@ -120,32 +119,31 @@ class Pingram {
|
|
|
120
119
|
this.config = new src_1.Configuration(this.configurationParams);
|
|
121
120
|
this.account = new src_2.AccountApi(this.config);
|
|
122
121
|
this.accounts = new src_3.AccountsApi(this.config);
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
134
|
-
this.
|
|
135
|
-
this.
|
|
136
|
-
this.
|
|
137
|
-
this.
|
|
138
|
-
this.
|
|
139
|
-
this.
|
|
140
|
-
this.
|
|
141
|
-
this.
|
|
142
|
-
this.
|
|
143
|
-
this.
|
|
144
|
-
this.
|
|
145
|
-
this.
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
148
|
-
this.defaultApi = new src_29.DefaultApi(this.config);
|
|
122
|
+
this.broadcasts = new src_4.BroadcastsApi(this.config);
|
|
123
|
+
this.components = new src_5.ComponentsApi(this.config);
|
|
124
|
+
this.domains = new src_6.DomainsApi(this.config);
|
|
125
|
+
this.editor = new src_7.EditorApi(this.config);
|
|
126
|
+
this.email = new src_8.EmailApi(this.config);
|
|
127
|
+
this.environments = new src_9.EnvironmentsApi(this.config);
|
|
128
|
+
this.health = new src_10.HealthApi(this.config);
|
|
129
|
+
this.insights = new src_11.InsightsApi(this.config);
|
|
130
|
+
this.keys = new src_12.KeysApi(this.config);
|
|
131
|
+
this.library = new src_13.LibraryApi(this.config);
|
|
132
|
+
this.logs = new src_14.LogsApi(this.config);
|
|
133
|
+
this.members = new src_15.MembersApi(this.config);
|
|
134
|
+
this.numbers = new src_16.NumbersApi(this.config);
|
|
135
|
+
this.profile = new src_17.ProfileApi(this.config);
|
|
136
|
+
this.registrations = new src_18.RegistrationsApi(this.config);
|
|
137
|
+
this.sender = new src_19.SenderApi(this.config);
|
|
138
|
+
this.sms = new src_20.SmsApi(this.config);
|
|
139
|
+
this.subNotifications = new src_21.SubNotificationsApi(this.config);
|
|
140
|
+
this.templates = new src_22.TemplatesApi(this.config);
|
|
141
|
+
this.types = new src_23.TypesApi(this.config);
|
|
142
|
+
this.user = new src_24.UserApi(this.config);
|
|
143
|
+
this.users = new src_25.UsersApi(this.config);
|
|
144
|
+
this.voice = new src_26.VoiceApi(this.config);
|
|
145
|
+
this.webhooks = new src_27.WebhooksApi(this.config);
|
|
146
|
+
this.defaultApi = new src_28.DefaultApi(this.config);
|
|
149
147
|
}
|
|
150
148
|
/**
|
|
151
149
|
* Update the base URL (overrides region)
|
|
@@ -158,32 +156,31 @@ class Pingram {
|
|
|
158
156
|
this.config = new src_1.Configuration(this.configurationParams);
|
|
159
157
|
this.account = new src_2.AccountApi(this.config);
|
|
160
158
|
this.accounts = new src_3.AccountsApi(this.config);
|
|
161
|
-
this.
|
|
162
|
-
this.
|
|
163
|
-
this.
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
175
|
-
this.
|
|
176
|
-
this.
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
184
|
-
this.
|
|
185
|
-
this.
|
|
186
|
-
this.defaultApi = new src_29.DefaultApi(this.config);
|
|
159
|
+
this.broadcasts = new src_4.BroadcastsApi(this.config);
|
|
160
|
+
this.components = new src_5.ComponentsApi(this.config);
|
|
161
|
+
this.domains = new src_6.DomainsApi(this.config);
|
|
162
|
+
this.editor = new src_7.EditorApi(this.config);
|
|
163
|
+
this.email = new src_8.EmailApi(this.config);
|
|
164
|
+
this.environments = new src_9.EnvironmentsApi(this.config);
|
|
165
|
+
this.health = new src_10.HealthApi(this.config);
|
|
166
|
+
this.insights = new src_11.InsightsApi(this.config);
|
|
167
|
+
this.keys = new src_12.KeysApi(this.config);
|
|
168
|
+
this.library = new src_13.LibraryApi(this.config);
|
|
169
|
+
this.logs = new src_14.LogsApi(this.config);
|
|
170
|
+
this.members = new src_15.MembersApi(this.config);
|
|
171
|
+
this.numbers = new src_16.NumbersApi(this.config);
|
|
172
|
+
this.profile = new src_17.ProfileApi(this.config);
|
|
173
|
+
this.registrations = new src_18.RegistrationsApi(this.config);
|
|
174
|
+
this.sender = new src_19.SenderApi(this.config);
|
|
175
|
+
this.sms = new src_20.SmsApi(this.config);
|
|
176
|
+
this.subNotifications = new src_21.SubNotificationsApi(this.config);
|
|
177
|
+
this.templates = new src_22.TemplatesApi(this.config);
|
|
178
|
+
this.types = new src_23.TypesApi(this.config);
|
|
179
|
+
this.user = new src_24.UserApi(this.config);
|
|
180
|
+
this.users = new src_25.UsersApi(this.config);
|
|
181
|
+
this.voice = new src_26.VoiceApi(this.config);
|
|
182
|
+
this.webhooks = new src_27.WebhooksApi(this.config);
|
|
183
|
+
this.defaultApi = new src_28.DefaultApi(this.config);
|
|
187
184
|
}
|
|
188
185
|
/**
|
|
189
186
|
* send
|
package/package.json
CHANGED
|
@@ -1,118 +0,0 @@
|
|
|
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 { AccountAddressesResponse, AddressResponse, CreateAddressRequest, SuccessResponse, UpdateAddressRequest } from '../models/index';
|
|
14
|
-
export interface CreateAddressOperationRequest {
|
|
15
|
-
createAddressRequest: CreateAddressRequest;
|
|
16
|
-
}
|
|
17
|
-
export interface DeleteAddressRequest {
|
|
18
|
-
fullAddress: string;
|
|
19
|
-
}
|
|
20
|
-
export interface UpdateAddressOperationRequest {
|
|
21
|
-
updateAddressRequest: UpdateAddressRequest;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* AddressesApi - interface
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface AddressesApiInterface
|
|
28
|
-
*/
|
|
29
|
-
export interface AddressesApiInterface {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @summary Create a new email inbox. Omit `domain` for a built-in `@mail.pingram.io` address; set `domain` and `displayName` for a custom address on a verified domain.
|
|
33
|
-
* @param {CreateAddressRequest} createAddressRequest
|
|
34
|
-
* @param {*} [options] Override http request option.
|
|
35
|
-
* @throws {RequiredError}
|
|
36
|
-
* @memberof AddressesApiInterface
|
|
37
|
-
*/
|
|
38
|
-
createAddressRaw(requestParameters: CreateAddressOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AddressResponse>>;
|
|
39
|
-
/**
|
|
40
|
-
* Create a new email inbox. Omit `domain` for a built-in `@mail.pingram.io` address; set `domain` and `displayName` for a custom address on a verified domain.
|
|
41
|
-
*/
|
|
42
|
-
createAddress(createAddressRequest: CreateAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AddressResponse>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @summary Delete a custom inbound address. Builtin addresses cannot be deleted.
|
|
46
|
-
* @param {string} fullAddress Full address to delete (e.g. hello@example.com)
|
|
47
|
-
* @param {*} [options] Override http request option.
|
|
48
|
-
* @throws {RequiredError}
|
|
49
|
-
* @memberof AddressesApiInterface
|
|
50
|
-
*/
|
|
51
|
-
deleteAddressRaw(requestParameters: DeleteAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessResponse>>;
|
|
52
|
-
/**
|
|
53
|
-
* Delete a custom inbound address. Builtin addresses cannot be deleted.
|
|
54
|
-
*/
|
|
55
|
-
deleteAddress(fullAddress: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessResponse>;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @summary List email inboxes (addresses) configured for receiving. Custom addresses must use a verified domain.
|
|
59
|
-
* @param {*} [options] Override http request option.
|
|
60
|
-
* @throws {RequiredError}
|
|
61
|
-
* @memberof AddressesApiInterface
|
|
62
|
-
*/
|
|
63
|
-
listAddressesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountAddressesResponse>>;
|
|
64
|
-
/**
|
|
65
|
-
* List email inboxes (addresses) configured for receiving. Custom addresses must use a verified domain.
|
|
66
|
-
*/
|
|
67
|
-
listAddresses(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountAddressesResponse>;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @summary Update one inbox on this account. A new prefix deletes the old address, so mail to the previous address stops, and that address is not kept. displayName only relabels a custom inbox and does not change where mail is delivered. Does not create an inbox or change its domain.
|
|
71
|
-
* @param {UpdateAddressRequest} updateAddressRequest
|
|
72
|
-
* @param {*} [options] Override http request option.
|
|
73
|
-
* @throws {RequiredError}
|
|
74
|
-
* @memberof AddressesApiInterface
|
|
75
|
-
*/
|
|
76
|
-
updateAddressRaw(requestParameters: UpdateAddressOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AddressResponse>>;
|
|
77
|
-
/**
|
|
78
|
-
* Update one inbox on this account. A new prefix deletes the old address, so mail to the previous address stops, and that address is not kept. displayName only relabels a custom inbox and does not change where mail is delivered. Does not create an inbox or change its domain.
|
|
79
|
-
*/
|
|
80
|
-
updateAddress(updateAddressRequest: UpdateAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AddressResponse>;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
*/
|
|
85
|
-
export declare class AddressesApi extends runtime.BaseAPI implements AddressesApiInterface {
|
|
86
|
-
/**
|
|
87
|
-
* Create a new email inbox. Omit `domain` for a built-in `@mail.pingram.io` address; set `domain` and `displayName` for a custom address on a verified domain.
|
|
88
|
-
*/
|
|
89
|
-
createAddressRaw(requestParameters: CreateAddressOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AddressResponse>>;
|
|
90
|
-
/**
|
|
91
|
-
* Create a new email inbox. Omit `domain` for a built-in `@mail.pingram.io` address; set `domain` and `displayName` for a custom address on a verified domain.
|
|
92
|
-
*/
|
|
93
|
-
createAddress(createAddressRequest: CreateAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AddressResponse>;
|
|
94
|
-
/**
|
|
95
|
-
* Delete a custom inbound address. Builtin addresses cannot be deleted.
|
|
96
|
-
*/
|
|
97
|
-
deleteAddressRaw(requestParameters: DeleteAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessResponse>>;
|
|
98
|
-
/**
|
|
99
|
-
* Delete a custom inbound address. Builtin addresses cannot be deleted.
|
|
100
|
-
*/
|
|
101
|
-
deleteAddress(fullAddress: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessResponse>;
|
|
102
|
-
/**
|
|
103
|
-
* List email inboxes (addresses) configured for receiving. Custom addresses must use a verified domain.
|
|
104
|
-
*/
|
|
105
|
-
listAddressesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountAddressesResponse>>;
|
|
106
|
-
/**
|
|
107
|
-
* List email inboxes (addresses) configured for receiving. Custom addresses must use a verified domain.
|
|
108
|
-
*/
|
|
109
|
-
listAddresses(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountAddressesResponse>;
|
|
110
|
-
/**
|
|
111
|
-
* Update one inbox on this account. A new prefix deletes the old address, so mail to the previous address stops, and that address is not kept. displayName only relabels a custom inbox and does not change where mail is delivered. Does not create an inbox or change its domain.
|
|
112
|
-
*/
|
|
113
|
-
updateAddressRaw(requestParameters: UpdateAddressOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AddressResponse>>;
|
|
114
|
-
/**
|
|
115
|
-
* Update one inbox on this account. A new prefix deletes the old address, so mail to the previous address stops, and that address is not kept. displayName only relabels a custom inbox and does not change where mail is delivered. Does not create an inbox or change its domain.
|
|
116
|
-
*/
|
|
117
|
-
updateAddress(updateAddressRequest: UpdateAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AddressResponse>;
|
|
118
|
-
}
|
|
@@ -1,271 +0,0 @@
|
|
|
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.AddressesApi = void 0;
|
|
50
|
-
const runtime = __importStar(require("../runtime"));
|
|
51
|
-
const index_1 = require("../models/index");
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
55
|
-
class AddressesApi extends runtime.BaseAPI {
|
|
56
|
-
/**
|
|
57
|
-
* Create a new email inbox. Omit `domain` for a built-in `@mail.pingram.io` address; set `domain` and `displayName` for a custom address on a verified domain.
|
|
58
|
-
*/
|
|
59
|
-
async createAddressRaw(requestParameters, initOverrides) {
|
|
60
|
-
if (requestParameters['createAddressRequest'] == null) {
|
|
61
|
-
throw new runtime.RequiredError('createAddressRequest', 'Required parameter "createAddressRequest" was null or undefined when calling createAddress().');
|
|
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 = `/addresses`;
|
|
95
|
-
const response = await this.request({
|
|
96
|
-
path: urlPath,
|
|
97
|
-
method: 'POST',
|
|
98
|
-
headers: headerParameters,
|
|
99
|
-
query: queryParameters,
|
|
100
|
-
body: (0, index_1.CreateAddressRequestToJSON)(requestParameters['createAddressRequest'])
|
|
101
|
-
}, initOverrides);
|
|
102
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AddressResponseFromJSON)(jsonValue));
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Create a new email inbox. Omit `domain` for a built-in `@mail.pingram.io` address; set `domain` and `displayName` for a custom address on a verified domain.
|
|
106
|
-
*/
|
|
107
|
-
async createAddress(createAddressRequest, initOverrides) {
|
|
108
|
-
const response = await this.createAddressRaw({ createAddressRequest: createAddressRequest }, initOverrides);
|
|
109
|
-
return await response.value();
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Delete a custom inbound address. Builtin addresses cannot be deleted.
|
|
113
|
-
*/
|
|
114
|
-
async deleteAddressRaw(requestParameters, initOverrides) {
|
|
115
|
-
if (requestParameters['fullAddress'] == null) {
|
|
116
|
-
throw new runtime.RequiredError('fullAddress', 'Required parameter "fullAddress" was null or undefined when calling deleteAddress().');
|
|
117
|
-
}
|
|
118
|
-
const queryParameters = {};
|
|
119
|
-
const headerParameters = {};
|
|
120
|
-
if (this.configuration &&
|
|
121
|
-
(this.configuration.username !== undefined ||
|
|
122
|
-
this.configuration.password !== undefined)) {
|
|
123
|
-
headerParameters['Authorization'] =
|
|
124
|
-
'Basic ' +
|
|
125
|
-
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
126
|
-
}
|
|
127
|
-
if (this.configuration &&
|
|
128
|
-
(this.configuration.username !== undefined ||
|
|
129
|
-
this.configuration.password !== undefined)) {
|
|
130
|
-
headerParameters['Authorization'] =
|
|
131
|
-
'Basic ' +
|
|
132
|
-
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
133
|
-
}
|
|
134
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
135
|
-
const token = this.configuration.accessToken;
|
|
136
|
-
const tokenString = await token('apiKey', []);
|
|
137
|
-
if (tokenString) {
|
|
138
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
if (this.configuration &&
|
|
142
|
-
(this.configuration.username !== undefined ||
|
|
143
|
-
this.configuration.password !== undefined)) {
|
|
144
|
-
headerParameters['Authorization'] =
|
|
145
|
-
'Basic ' +
|
|
146
|
-
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
147
|
-
}
|
|
148
|
-
let urlPath = `/addresses/{fullAddress}`;
|
|
149
|
-
urlPath = urlPath.replace(`{${'fullAddress'}}`, encodeURIComponent(String(requestParameters['fullAddress'])));
|
|
150
|
-
const response = await this.request({
|
|
151
|
-
path: urlPath,
|
|
152
|
-
method: 'DELETE',
|
|
153
|
-
headers: headerParameters,
|
|
154
|
-
query: queryParameters
|
|
155
|
-
}, initOverrides);
|
|
156
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SuccessResponseFromJSON)(jsonValue));
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Delete a custom inbound address. Builtin addresses cannot be deleted.
|
|
160
|
-
*/
|
|
161
|
-
async deleteAddress(fullAddress, initOverrides) {
|
|
162
|
-
const response = await this.deleteAddressRaw({ fullAddress: fullAddress }, initOverrides);
|
|
163
|
-
return await response.value();
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* List email inboxes (addresses) configured for receiving. Custom addresses must use a verified domain.
|
|
167
|
-
*/
|
|
168
|
-
async listAddressesRaw(initOverrides) {
|
|
169
|
-
const queryParameters = {};
|
|
170
|
-
const headerParameters = {};
|
|
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 = `/addresses`;
|
|
200
|
-
const response = await this.request({
|
|
201
|
-
path: urlPath,
|
|
202
|
-
method: 'GET',
|
|
203
|
-
headers: headerParameters,
|
|
204
|
-
query: queryParameters
|
|
205
|
-
}, initOverrides);
|
|
206
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AccountAddressesResponseFromJSON)(jsonValue));
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* List email inboxes (addresses) configured for receiving. Custom addresses must use a verified domain.
|
|
210
|
-
*/
|
|
211
|
-
async listAddresses(initOverrides) {
|
|
212
|
-
const response = await this.listAddressesRaw(initOverrides);
|
|
213
|
-
return await response.value();
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* Update one inbox on this account. A new prefix deletes the old address, so mail to the previous address stops, and that address is not kept. displayName only relabels a custom inbox and does not change where mail is delivered. Does not create an inbox or change its domain.
|
|
217
|
-
*/
|
|
218
|
-
async updateAddressRaw(requestParameters, initOverrides) {
|
|
219
|
-
if (requestParameters['updateAddressRequest'] == null) {
|
|
220
|
-
throw new runtime.RequiredError('updateAddressRequest', 'Required parameter "updateAddressRequest" was null or undefined when calling updateAddress().');
|
|
221
|
-
}
|
|
222
|
-
const queryParameters = {};
|
|
223
|
-
const headerParameters = {};
|
|
224
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
225
|
-
if (this.configuration &&
|
|
226
|
-
(this.configuration.username !== undefined ||
|
|
227
|
-
this.configuration.password !== undefined)) {
|
|
228
|
-
headerParameters['Authorization'] =
|
|
229
|
-
'Basic ' +
|
|
230
|
-
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
231
|
-
}
|
|
232
|
-
if (this.configuration &&
|
|
233
|
-
(this.configuration.username !== undefined ||
|
|
234
|
-
this.configuration.password !== undefined)) {
|
|
235
|
-
headerParameters['Authorization'] =
|
|
236
|
-
'Basic ' +
|
|
237
|
-
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
238
|
-
}
|
|
239
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
240
|
-
const token = this.configuration.accessToken;
|
|
241
|
-
const tokenString = await token('apiKey', []);
|
|
242
|
-
if (tokenString) {
|
|
243
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
if (this.configuration &&
|
|
247
|
-
(this.configuration.username !== undefined ||
|
|
248
|
-
this.configuration.password !== undefined)) {
|
|
249
|
-
headerParameters['Authorization'] =
|
|
250
|
-
'Basic ' +
|
|
251
|
-
btoa(this.configuration.username + ':' + this.configuration.password);
|
|
252
|
-
}
|
|
253
|
-
let urlPath = `/addresses`;
|
|
254
|
-
const response = await this.request({
|
|
255
|
-
path: urlPath,
|
|
256
|
-
method: 'PATCH',
|
|
257
|
-
headers: headerParameters,
|
|
258
|
-
query: queryParameters,
|
|
259
|
-
body: (0, index_1.UpdateAddressRequestToJSON)(requestParameters['updateAddressRequest'])
|
|
260
|
-
}, initOverrides);
|
|
261
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AddressResponseFromJSON)(jsonValue));
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* Update one inbox on this account. A new prefix deletes the old address, so mail to the previous address stops, and that address is not kept. displayName only relabels a custom inbox and does not change where mail is delivered. Does not create an inbox or change its domain.
|
|
265
|
-
*/
|
|
266
|
-
async updateAddress(updateAddressRequest, initOverrides) {
|
|
267
|
-
const response = await this.updateAddressRaw({ updateAddressRequest: updateAddressRequest }, initOverrides);
|
|
268
|
-
return await response.value();
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
exports.AddressesApi = AddressesApi;
|
|
@@ -1,33 +0,0 @@
|
|
|
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 { AccountAddressesResponseAddressesInner } from './AccountAddressesResponseAddressesInner';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AccountAddressesResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface AccountAddressesResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<AccountAddressesResponseAddressesInner>}
|
|
22
|
-
* @memberof AccountAddressesResponse
|
|
23
|
-
*/
|
|
24
|
-
addresses: Array<AccountAddressesResponseAddressesInner>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the AccountAddressesResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfAccountAddressesResponse(value: object): value is AccountAddressesResponse;
|
|
30
|
-
export declare function AccountAddressesResponseFromJSON(json: any): AccountAddressesResponse;
|
|
31
|
-
export declare function AccountAddressesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressesResponse;
|
|
32
|
-
export declare function AccountAddressesResponseToJSON(json: any): AccountAddressesResponse;
|
|
33
|
-
export declare function AccountAddressesResponseToJSONTyped(value?: AccountAddressesResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.instanceOfAccountAddressesResponse = instanceOfAccountAddressesResponse;
|
|
17
|
-
exports.AccountAddressesResponseFromJSON = AccountAddressesResponseFromJSON;
|
|
18
|
-
exports.AccountAddressesResponseFromJSONTyped = AccountAddressesResponseFromJSONTyped;
|
|
19
|
-
exports.AccountAddressesResponseToJSON = AccountAddressesResponseToJSON;
|
|
20
|
-
exports.AccountAddressesResponseToJSONTyped = AccountAddressesResponseToJSONTyped;
|
|
21
|
-
const AccountAddressesResponseAddressesInner_1 = require("./AccountAddressesResponseAddressesInner");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the AccountAddressesResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfAccountAddressesResponse(value) {
|
|
26
|
-
if (!('addresses' in value) || value['addresses'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function AccountAddressesResponseFromJSON(json) {
|
|
31
|
-
return AccountAddressesResponseFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function AccountAddressesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
addresses: json['addresses'].map(AccountAddressesResponseAddressesInner_1.AccountAddressesResponseAddressesInnerFromJSON)
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function AccountAddressesResponseToJSON(json) {
|
|
42
|
-
return AccountAddressesResponseToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function AccountAddressesResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
addresses: (value['addresses'] ?? []).map(AccountAddressesResponseAddressesInner_1.AccountAddressesResponseAddressesInnerToJSON)
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
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 AccountAddressesResponseAddressesInner
|
|
16
|
-
*/
|
|
17
|
-
export interface AccountAddressesResponseAddressesInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AccountAddressesResponseAddressesInner
|
|
22
|
-
*/
|
|
23
|
-
fullAddress: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AccountAddressesResponseAddressesInner
|
|
28
|
-
*/
|
|
29
|
-
prefix: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AccountAddressesResponseAddressesInner
|
|
34
|
-
*/
|
|
35
|
-
domain: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AccountAddressesResponseAddressesInner
|
|
40
|
-
*/
|
|
41
|
-
type: AccountAddressesResponseAddressesInnerTypeEnum;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof AccountAddressesResponseAddressesInner
|
|
46
|
-
*/
|
|
47
|
-
displayName?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof AccountAddressesResponseAddressesInner
|
|
52
|
-
*/
|
|
53
|
-
createdAt: string;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export declare const AccountAddressesResponseAddressesInnerTypeEnum: {
|
|
59
|
-
readonly BUILTIN: "builtin";
|
|
60
|
-
readonly CUSTOM: "custom";
|
|
61
|
-
};
|
|
62
|
-
export type AccountAddressesResponseAddressesInnerTypeEnum = (typeof AccountAddressesResponseAddressesInnerTypeEnum)[keyof typeof AccountAddressesResponseAddressesInnerTypeEnum];
|
|
63
|
-
/**
|
|
64
|
-
* Check if a given object implements the AccountAddressesResponseAddressesInner interface.
|
|
65
|
-
*/
|
|
66
|
-
export declare function instanceOfAccountAddressesResponseAddressesInner(value: object): value is AccountAddressesResponseAddressesInner;
|
|
67
|
-
export declare function AccountAddressesResponseAddressesInnerFromJSON(json: any): AccountAddressesResponseAddressesInner;
|
|
68
|
-
export declare function AccountAddressesResponseAddressesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressesResponseAddressesInner;
|
|
69
|
-
export declare function AccountAddressesResponseAddressesInnerToJSON(json: any): AccountAddressesResponseAddressesInner;
|
|
70
|
-
export declare function AccountAddressesResponseAddressesInnerToJSONTyped(value?: AccountAddressesResponseAddressesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,76 +0,0 @@
|
|
|
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.AccountAddressesResponseAddressesInnerTypeEnum = void 0;
|
|
17
|
-
exports.instanceOfAccountAddressesResponseAddressesInner = instanceOfAccountAddressesResponseAddressesInner;
|
|
18
|
-
exports.AccountAddressesResponseAddressesInnerFromJSON = AccountAddressesResponseAddressesInnerFromJSON;
|
|
19
|
-
exports.AccountAddressesResponseAddressesInnerFromJSONTyped = AccountAddressesResponseAddressesInnerFromJSONTyped;
|
|
20
|
-
exports.AccountAddressesResponseAddressesInnerToJSON = AccountAddressesResponseAddressesInnerToJSON;
|
|
21
|
-
exports.AccountAddressesResponseAddressesInnerToJSONTyped = AccountAddressesResponseAddressesInnerToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.AccountAddressesResponseAddressesInnerTypeEnum = {
|
|
26
|
-
BUILTIN: 'builtin',
|
|
27
|
-
CUSTOM: 'custom'
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Check if a given object implements the AccountAddressesResponseAddressesInner interface.
|
|
31
|
-
*/
|
|
32
|
-
function instanceOfAccountAddressesResponseAddressesInner(value) {
|
|
33
|
-
if (!('fullAddress' in value) || value['fullAddress'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('prefix' in value) || value['prefix'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('domain' in value) || value['domain'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
42
|
-
return false;
|
|
43
|
-
return true;
|
|
44
|
-
}
|
|
45
|
-
function AccountAddressesResponseAddressesInnerFromJSON(json) {
|
|
46
|
-
return AccountAddressesResponseAddressesInnerFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function AccountAddressesResponseAddressesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
-
if (json == null) {
|
|
50
|
-
return json;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
fullAddress: json['fullAddress'],
|
|
54
|
-
prefix: json['prefix'],
|
|
55
|
-
domain: json['domain'],
|
|
56
|
-
type: json['type'],
|
|
57
|
-
displayName: json['displayName'] == null ? undefined : json['displayName'],
|
|
58
|
-
createdAt: json['createdAt']
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function AccountAddressesResponseAddressesInnerToJSON(json) {
|
|
62
|
-
return AccountAddressesResponseAddressesInnerToJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
function AccountAddressesResponseAddressesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
fullAddress: value['fullAddress'],
|
|
70
|
-
prefix: value['prefix'],
|
|
71
|
-
domain: value['domain'],
|
|
72
|
-
type: value['type'],
|
|
73
|
-
displayName: value['displayName'],
|
|
74
|
-
createdAt: value['createdAt']
|
|
75
|
-
};
|
|
76
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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 { AccountAddressesResponseAddressesInner } from './AccountAddressesResponseAddressesInner';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AddressResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface AddressResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {AccountAddressesResponseAddressesInner}
|
|
22
|
-
* @memberof AddressResponse
|
|
23
|
-
*/
|
|
24
|
-
address: AccountAddressesResponseAddressesInner;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the AddressResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfAddressResponse(value: object): value is AddressResponse;
|
|
30
|
-
export declare function AddressResponseFromJSON(json: any): AddressResponse;
|
|
31
|
-
export declare function AddressResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressResponse;
|
|
32
|
-
export declare function AddressResponseToJSON(json: any): AddressResponse;
|
|
33
|
-
export declare function AddressResponseToJSONTyped(value?: AddressResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.instanceOfAddressResponse = instanceOfAddressResponse;
|
|
17
|
-
exports.AddressResponseFromJSON = AddressResponseFromJSON;
|
|
18
|
-
exports.AddressResponseFromJSONTyped = AddressResponseFromJSONTyped;
|
|
19
|
-
exports.AddressResponseToJSON = AddressResponseToJSON;
|
|
20
|
-
exports.AddressResponseToJSONTyped = AddressResponseToJSONTyped;
|
|
21
|
-
const AccountAddressesResponseAddressesInner_1 = require("./AccountAddressesResponseAddressesInner");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the AddressResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfAddressResponse(value) {
|
|
26
|
-
if (!('address' in value) || value['address'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function AddressResponseFromJSON(json) {
|
|
31
|
-
return AddressResponseFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function AddressResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
address: (0, AccountAddressesResponseAddressesInner_1.AccountAddressesResponseAddressesInnerFromJSON)(json['address'])
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function AddressResponseToJSON(json) {
|
|
42
|
-
return AddressResponseToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function AddressResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
address: (0, AccountAddressesResponseAddressesInner_1.AccountAddressesResponseAddressesInnerToJSON)(value['address'])
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
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 CreateAddressRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface CreateAddressRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateAddressRequest
|
|
22
|
-
*/
|
|
23
|
-
prefix: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateAddressRequest
|
|
28
|
-
*/
|
|
29
|
-
domain?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CreateAddressRequest
|
|
34
|
-
*/
|
|
35
|
-
displayName?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the CreateAddressRequest interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfCreateAddressRequest(value: object): value is CreateAddressRequest;
|
|
41
|
-
export declare function CreateAddressRequestFromJSON(json: any): CreateAddressRequest;
|
|
42
|
-
export declare function CreateAddressRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAddressRequest;
|
|
43
|
-
export declare function CreateAddressRequestToJSON(json: any): CreateAddressRequest;
|
|
44
|
-
export declare function CreateAddressRequestToJSONTyped(value?: CreateAddressRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,54 +0,0 @@
|
|
|
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.instanceOfCreateAddressRequest = instanceOfCreateAddressRequest;
|
|
17
|
-
exports.CreateAddressRequestFromJSON = CreateAddressRequestFromJSON;
|
|
18
|
-
exports.CreateAddressRequestFromJSONTyped = CreateAddressRequestFromJSONTyped;
|
|
19
|
-
exports.CreateAddressRequestToJSON = CreateAddressRequestToJSON;
|
|
20
|
-
exports.CreateAddressRequestToJSONTyped = CreateAddressRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the CreateAddressRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfCreateAddressRequest(value) {
|
|
25
|
-
if (!('prefix' in value) || value['prefix'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function CreateAddressRequestFromJSON(json) {
|
|
30
|
-
return CreateAddressRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function CreateAddressRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
prefix: json['prefix'],
|
|
38
|
-
domain: json['domain'] == null ? undefined : json['domain'],
|
|
39
|
-
displayName: json['displayName'] == null ? undefined : json['displayName']
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function CreateAddressRequestToJSON(json) {
|
|
43
|
-
return CreateAddressRequestToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function CreateAddressRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
prefix: value['prefix'],
|
|
51
|
-
domain: value['domain'],
|
|
52
|
-
displayName: value['displayName']
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
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 UpdateAddressRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface UpdateAddressRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UpdateAddressRequest
|
|
22
|
-
*/
|
|
23
|
-
fullAddress: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UpdateAddressRequest
|
|
28
|
-
*/
|
|
29
|
-
prefix?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UpdateAddressRequest
|
|
34
|
-
*/
|
|
35
|
-
displayName?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the UpdateAddressRequest interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfUpdateAddressRequest(value: object): value is UpdateAddressRequest;
|
|
41
|
-
export declare function UpdateAddressRequestFromJSON(json: any): UpdateAddressRequest;
|
|
42
|
-
export declare function UpdateAddressRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAddressRequest;
|
|
43
|
-
export declare function UpdateAddressRequestToJSON(json: any): UpdateAddressRequest;
|
|
44
|
-
export declare function UpdateAddressRequestToJSONTyped(value?: UpdateAddressRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,54 +0,0 @@
|
|
|
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.instanceOfUpdateAddressRequest = instanceOfUpdateAddressRequest;
|
|
17
|
-
exports.UpdateAddressRequestFromJSON = UpdateAddressRequestFromJSON;
|
|
18
|
-
exports.UpdateAddressRequestFromJSONTyped = UpdateAddressRequestFromJSONTyped;
|
|
19
|
-
exports.UpdateAddressRequestToJSON = UpdateAddressRequestToJSON;
|
|
20
|
-
exports.UpdateAddressRequestToJSONTyped = UpdateAddressRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the UpdateAddressRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfUpdateAddressRequest(value) {
|
|
25
|
-
if (!('fullAddress' in value) || value['fullAddress'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function UpdateAddressRequestFromJSON(json) {
|
|
30
|
-
return UpdateAddressRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function UpdateAddressRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
fullAddress: json['fullAddress'],
|
|
38
|
-
prefix: json['prefix'] == null ? undefined : json['prefix'],
|
|
39
|
-
displayName: json['displayName'] == null ? undefined : json['displayName']
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function UpdateAddressRequestToJSON(json) {
|
|
43
|
-
return UpdateAddressRequestToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function UpdateAddressRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
fullAddress: value['fullAddress'],
|
|
51
|
-
prefix: value['prefix'],
|
|
52
|
-
displayName: value['displayName']
|
|
53
|
-
};
|
|
54
|
-
}
|