pingram 1.0.16-alpha.1272 → 1.0.16-alpha.1274

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.
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Pingram
3
+ * Internal API for notification delivery and management
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Request body for POST /registrations/us/10dlc/brand
14
+ * @export
15
+ * @interface TenDlcBrandCreateRequest
16
+ */
17
+ export interface TenDlcBrandCreateRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TenDlcBrandCreateRequest
22
+ */
23
+ scenarioId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof TenDlcBrandCreateRequest
28
+ */
29
+ businessType: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof TenDlcBrandCreateRequest
34
+ */
35
+ legalName: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof TenDlcBrandCreateRequest
40
+ */
41
+ taxId?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof TenDlcBrandCreateRequest
46
+ */
47
+ website: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof TenDlcBrandCreateRequest
52
+ */
53
+ country: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof TenDlcBrandCreateRequest
58
+ */
59
+ street?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof TenDlcBrandCreateRequest
64
+ */
65
+ city?: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof TenDlcBrandCreateRequest
70
+ */
71
+ state?: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof TenDlcBrandCreateRequest
76
+ */
77
+ postalCode?: string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof TenDlcBrandCreateRequest
82
+ */
83
+ complianceContactEmail: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof TenDlcBrandCreateRequest
88
+ */
89
+ complianceContactPhone: string;
90
+ }
91
+ /**
92
+ * Check if a given object implements the TenDlcBrandCreateRequest interface.
93
+ */
94
+ export declare function instanceOfTenDlcBrandCreateRequest(value: object): value is TenDlcBrandCreateRequest;
95
+ export declare function TenDlcBrandCreateRequestFromJSON(json: any): TenDlcBrandCreateRequest;
96
+ export declare function TenDlcBrandCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenDlcBrandCreateRequest;
97
+ export declare function TenDlcBrandCreateRequestToJSON(json: any): TenDlcBrandCreateRequest;
98
+ export declare function TenDlcBrandCreateRequestToJSONTyped(value?: TenDlcBrandCreateRequest | null, ignoreDiscriminator?: boolean): any;
@@ -13,15 +13,15 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfA2pRegistrationCreateRequest = instanceOfA2pRegistrationCreateRequest;
17
- exports.A2pRegistrationCreateRequestFromJSON = A2pRegistrationCreateRequestFromJSON;
18
- exports.A2pRegistrationCreateRequestFromJSONTyped = A2pRegistrationCreateRequestFromJSONTyped;
19
- exports.A2pRegistrationCreateRequestToJSON = A2pRegistrationCreateRequestToJSON;
20
- exports.A2pRegistrationCreateRequestToJSONTyped = A2pRegistrationCreateRequestToJSONTyped;
16
+ exports.instanceOfTenDlcBrandCreateRequest = instanceOfTenDlcBrandCreateRequest;
17
+ exports.TenDlcBrandCreateRequestFromJSON = TenDlcBrandCreateRequestFromJSON;
18
+ exports.TenDlcBrandCreateRequestFromJSONTyped = TenDlcBrandCreateRequestFromJSONTyped;
19
+ exports.TenDlcBrandCreateRequestToJSON = TenDlcBrandCreateRequestToJSON;
20
+ exports.TenDlcBrandCreateRequestToJSONTyped = TenDlcBrandCreateRequestToJSONTyped;
21
21
  /**
22
- * Check if a given object implements the A2pRegistrationCreateRequest interface.
22
+ * Check if a given object implements the TenDlcBrandCreateRequest interface.
23
23
  */
24
- function instanceOfA2pRegistrationCreateRequest(value) {
24
+ function instanceOfTenDlcBrandCreateRequest(value) {
25
25
  if (!('scenarioId' in value) || value['scenarioId'] === undefined)
26
26
  return false;
27
27
  if (!('businessType' in value) || value['businessType'] === undefined)
@@ -32,8 +32,6 @@ function instanceOfA2pRegistrationCreateRequest(value) {
32
32
  return false;
33
33
  if (!('country' in value) || value['country'] === undefined)
34
34
  return false;
35
- if (!('fullAddress' in value) || value['fullAddress'] === undefined)
36
- return false;
37
35
  if (!('complianceContactEmail' in value) ||
38
36
  value['complianceContactEmail'] === undefined)
39
37
  return false;
@@ -42,10 +40,10 @@ function instanceOfA2pRegistrationCreateRequest(value) {
42
40
  return false;
43
41
  return true;
44
42
  }
45
- function A2pRegistrationCreateRequestFromJSON(json) {
46
- return A2pRegistrationCreateRequestFromJSONTyped(json, false);
43
+ function TenDlcBrandCreateRequestFromJSON(json) {
44
+ return TenDlcBrandCreateRequestFromJSONTyped(json, false);
47
45
  }
48
- function A2pRegistrationCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
46
+ function TenDlcBrandCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
49
47
  if (json == null) {
50
48
  return json;
51
49
  }
@@ -56,15 +54,18 @@ function A2pRegistrationCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
56
54
  taxId: json['taxId'] == null ? undefined : json['taxId'],
57
55
  website: json['website'],
58
56
  country: json['country'],
59
- fullAddress: json['fullAddress'],
57
+ street: json['street'] == null ? undefined : json['street'],
58
+ city: json['city'] == null ? undefined : json['city'],
59
+ state: json['state'] == null ? undefined : json['state'],
60
+ postalCode: json['postalCode'] == null ? undefined : json['postalCode'],
60
61
  complianceContactEmail: json['complianceContactEmail'],
61
62
  complianceContactPhone: json['complianceContactPhone']
62
63
  };
63
64
  }
64
- function A2pRegistrationCreateRequestToJSON(json) {
65
- return A2pRegistrationCreateRequestToJSONTyped(json, false);
65
+ function TenDlcBrandCreateRequestToJSON(json) {
66
+ return TenDlcBrandCreateRequestToJSONTyped(json, false);
66
67
  }
67
- function A2pRegistrationCreateRequestToJSONTyped(value, ignoreDiscriminator = false) {
68
+ function TenDlcBrandCreateRequestToJSONTyped(value, ignoreDiscriminator = false) {
68
69
  if (value == null) {
69
70
  return value;
70
71
  }
@@ -75,7 +76,10 @@ function A2pRegistrationCreateRequestToJSONTyped(value, ignoreDiscriminator = fa
75
76
  taxId: value['taxId'],
76
77
  website: value['website'],
77
78
  country: value['country'],
78
- fullAddress: value['fullAddress'],
79
+ street: value['street'],
80
+ city: value['city'],
81
+ state: value['state'],
82
+ postalCode: value['postalCode'],
79
83
  complianceContactEmail: value['complianceContactEmail'],
80
84
  complianceContactPhone: value['complianceContactPhone']
81
85
  };
@@ -0,0 +1,172 @@
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
+ * Public response type for 10DLC brand registration
14
+ * @export
15
+ * @interface TenDlcBrandRegistration
16
+ */
17
+ export interface TenDlcBrandRegistration {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TenDlcBrandRegistration
22
+ */
23
+ accountId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof TenDlcBrandRegistration
28
+ */
29
+ scenarioId: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof TenDlcBrandRegistration
34
+ */
35
+ businessType: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof TenDlcBrandRegistration
40
+ */
41
+ legalName: string;
42
+ /**
43
+ * Brand display name (marketing/DBA); defaults to legalName on customer submit.
44
+ * @type {string}
45
+ * @memberof TenDlcBrandRegistration
46
+ */
47
+ displayName?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof TenDlcBrandRegistration
52
+ */
53
+ taxId?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof TenDlcBrandRegistration
58
+ */
59
+ website: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof TenDlcBrandRegistration
64
+ */
65
+ country: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof TenDlcBrandRegistration
70
+ */
71
+ street?: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof TenDlcBrandRegistration
76
+ */
77
+ city?: string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof TenDlcBrandRegistration
82
+ */
83
+ state?: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof TenDlcBrandRegistration
88
+ */
89
+ postalCode?: string;
90
+ /**
91
+ * Legacy records only; new submissions use structured address fields.
92
+ * @type {string}
93
+ * @memberof TenDlcBrandRegistration
94
+ */
95
+ fullAddress?: string;
96
+ /**
97
+ *
98
+ * @type {string}
99
+ * @memberof TenDlcBrandRegistration
100
+ */
101
+ complianceContactEmail: string;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof TenDlcBrandRegistration
106
+ */
107
+ complianceContactPhone: string;
108
+ /**
109
+ * Pingram-side brand registration workflow status.
110
+ * - not_started: no customer submission yet
111
+ * - pending_review: customer submitted; Pingram has not submitted to carriers
112
+ * - in_progress: submitted for carrier review
113
+ * - approved | rejected | info_needed: review outcome
114
+ * @type {string}
115
+ * @memberof TenDlcBrandRegistration
116
+ */
117
+ brandStatus: TenDlcBrandRegistrationBrandStatusEnum;
118
+ /**
119
+ * Pingram-side brand registration workflow status.
120
+ * - not_started: no customer submission yet
121
+ * - pending_review: customer submitted; Pingram has not submitted to carriers
122
+ * - in_progress: submitted for carrier review
123
+ * - approved | rejected | info_needed: review outcome
124
+ * @type {string}
125
+ * @memberof TenDlcBrandRegistration
126
+ */
127
+ campaignStatus: TenDlcBrandRegistrationCampaignStatusEnum;
128
+ /**
129
+ *
130
+ * @type {string}
131
+ * @memberof TenDlcBrandRegistration
132
+ */
133
+ createdAt: string;
134
+ /**
135
+ *
136
+ * @type {string}
137
+ * @memberof TenDlcBrandRegistration
138
+ */
139
+ updatedAt: string;
140
+ }
141
+ /**
142
+ * @export
143
+ * @enum {string}
144
+ */
145
+ export declare enum TenDlcBrandRegistrationBrandStatusEnum {
146
+ NOT_STARTED = "not_started",
147
+ IN_PROGRESS = "in_progress",
148
+ PENDING_REVIEW = "pending_review",
149
+ APPROVED = "approved",
150
+ REJECTED = "rejected",
151
+ INFO_NEEDED = "info_needed"
152
+ }
153
+ /**
154
+ * @export
155
+ * @enum {string}
156
+ */
157
+ export declare enum TenDlcBrandRegistrationCampaignStatusEnum {
158
+ NOT_STARTED = "not_started",
159
+ IN_PROGRESS = "in_progress",
160
+ PENDING_REVIEW = "pending_review",
161
+ APPROVED = "approved",
162
+ REJECTED = "rejected",
163
+ INFO_NEEDED = "info_needed"
164
+ }
165
+ /**
166
+ * Check if a given object implements the TenDlcBrandRegistration interface.
167
+ */
168
+ export declare function instanceOfTenDlcBrandRegistration(value: object): value is TenDlcBrandRegistration;
169
+ export declare function TenDlcBrandRegistrationFromJSON(json: any): TenDlcBrandRegistration;
170
+ export declare function TenDlcBrandRegistrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenDlcBrandRegistration;
171
+ export declare function TenDlcBrandRegistrationToJSON(json: any): TenDlcBrandRegistration;
172
+ export declare function TenDlcBrandRegistrationToJSONTyped(value?: TenDlcBrandRegistration | null, ignoreDiscriminator?: boolean): any;
@@ -13,42 +13,42 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.A2pRegistrationCampaignStatusEnum = exports.A2pRegistrationBrandStatusEnum = void 0;
17
- exports.instanceOfA2pRegistration = instanceOfA2pRegistration;
18
- exports.A2pRegistrationFromJSON = A2pRegistrationFromJSON;
19
- exports.A2pRegistrationFromJSONTyped = A2pRegistrationFromJSONTyped;
20
- exports.A2pRegistrationToJSON = A2pRegistrationToJSON;
21
- exports.A2pRegistrationToJSONTyped = A2pRegistrationToJSONTyped;
16
+ exports.TenDlcBrandRegistrationCampaignStatusEnum = exports.TenDlcBrandRegistrationBrandStatusEnum = void 0;
17
+ exports.instanceOfTenDlcBrandRegistration = instanceOfTenDlcBrandRegistration;
18
+ exports.TenDlcBrandRegistrationFromJSON = TenDlcBrandRegistrationFromJSON;
19
+ exports.TenDlcBrandRegistrationFromJSONTyped = TenDlcBrandRegistrationFromJSONTyped;
20
+ exports.TenDlcBrandRegistrationToJSON = TenDlcBrandRegistrationToJSON;
21
+ exports.TenDlcBrandRegistrationToJSONTyped = TenDlcBrandRegistrationToJSONTyped;
22
22
  /**
23
23
  * @export
24
24
  * @enum {string}
25
25
  */
26
- var A2pRegistrationBrandStatusEnum;
27
- (function (A2pRegistrationBrandStatusEnum) {
28
- A2pRegistrationBrandStatusEnum["NOT_STARTED"] = "not_started";
29
- A2pRegistrationBrandStatusEnum["IN_PROGRESS"] = "in_progress";
30
- A2pRegistrationBrandStatusEnum["PENDING_REVIEW"] = "pending_review";
31
- A2pRegistrationBrandStatusEnum["APPROVED"] = "approved";
32
- A2pRegistrationBrandStatusEnum["REJECTED"] = "rejected";
33
- A2pRegistrationBrandStatusEnum["INFO_NEEDED"] = "info_needed";
34
- })(A2pRegistrationBrandStatusEnum || (exports.A2pRegistrationBrandStatusEnum = A2pRegistrationBrandStatusEnum = {}));
26
+ var TenDlcBrandRegistrationBrandStatusEnum;
27
+ (function (TenDlcBrandRegistrationBrandStatusEnum) {
28
+ TenDlcBrandRegistrationBrandStatusEnum["NOT_STARTED"] = "not_started";
29
+ TenDlcBrandRegistrationBrandStatusEnum["IN_PROGRESS"] = "in_progress";
30
+ TenDlcBrandRegistrationBrandStatusEnum["PENDING_REVIEW"] = "pending_review";
31
+ TenDlcBrandRegistrationBrandStatusEnum["APPROVED"] = "approved";
32
+ TenDlcBrandRegistrationBrandStatusEnum["REJECTED"] = "rejected";
33
+ TenDlcBrandRegistrationBrandStatusEnum["INFO_NEEDED"] = "info_needed";
34
+ })(TenDlcBrandRegistrationBrandStatusEnum || (exports.TenDlcBrandRegistrationBrandStatusEnum = TenDlcBrandRegistrationBrandStatusEnum = {}));
35
35
  /**
36
36
  * @export
37
37
  * @enum {string}
38
38
  */
39
- var A2pRegistrationCampaignStatusEnum;
40
- (function (A2pRegistrationCampaignStatusEnum) {
41
- A2pRegistrationCampaignStatusEnum["NOT_STARTED"] = "not_started";
42
- A2pRegistrationCampaignStatusEnum["IN_PROGRESS"] = "in_progress";
43
- A2pRegistrationCampaignStatusEnum["PENDING_REVIEW"] = "pending_review";
44
- A2pRegistrationCampaignStatusEnum["APPROVED"] = "approved";
45
- A2pRegistrationCampaignStatusEnum["REJECTED"] = "rejected";
46
- A2pRegistrationCampaignStatusEnum["INFO_NEEDED"] = "info_needed";
47
- })(A2pRegistrationCampaignStatusEnum || (exports.A2pRegistrationCampaignStatusEnum = A2pRegistrationCampaignStatusEnum = {}));
39
+ var TenDlcBrandRegistrationCampaignStatusEnum;
40
+ (function (TenDlcBrandRegistrationCampaignStatusEnum) {
41
+ TenDlcBrandRegistrationCampaignStatusEnum["NOT_STARTED"] = "not_started";
42
+ TenDlcBrandRegistrationCampaignStatusEnum["IN_PROGRESS"] = "in_progress";
43
+ TenDlcBrandRegistrationCampaignStatusEnum["PENDING_REVIEW"] = "pending_review";
44
+ TenDlcBrandRegistrationCampaignStatusEnum["APPROVED"] = "approved";
45
+ TenDlcBrandRegistrationCampaignStatusEnum["REJECTED"] = "rejected";
46
+ TenDlcBrandRegistrationCampaignStatusEnum["INFO_NEEDED"] = "info_needed";
47
+ })(TenDlcBrandRegistrationCampaignStatusEnum || (exports.TenDlcBrandRegistrationCampaignStatusEnum = TenDlcBrandRegistrationCampaignStatusEnum = {}));
48
48
  /**
49
- * Check if a given object implements the A2pRegistration interface.
49
+ * Check if a given object implements the TenDlcBrandRegistration interface.
50
50
  */
51
- function instanceOfA2pRegistration(value) {
51
+ function instanceOfTenDlcBrandRegistration(value) {
52
52
  if (!('accountId' in value) || value['accountId'] === undefined)
53
53
  return false;
54
54
  if (!('scenarioId' in value) || value['scenarioId'] === undefined)
@@ -61,8 +61,6 @@ function instanceOfA2pRegistration(value) {
61
61
  return false;
62
62
  if (!('country' in value) || value['country'] === undefined)
63
63
  return false;
64
- if (!('fullAddress' in value) || value['fullAddress'] === undefined)
65
- return false;
66
64
  if (!('complianceContactEmail' in value) ||
67
65
  value['complianceContactEmail'] === undefined)
68
66
  return false;
@@ -79,10 +77,10 @@ function instanceOfA2pRegistration(value) {
79
77
  return false;
80
78
  return true;
81
79
  }
82
- function A2pRegistrationFromJSON(json) {
83
- return A2pRegistrationFromJSONTyped(json, false);
80
+ function TenDlcBrandRegistrationFromJSON(json) {
81
+ return TenDlcBrandRegistrationFromJSONTyped(json, false);
84
82
  }
85
- function A2pRegistrationFromJSONTyped(json, ignoreDiscriminator) {
83
+ function TenDlcBrandRegistrationFromJSONTyped(json, ignoreDiscriminator) {
86
84
  if (json == null) {
87
85
  return json;
88
86
  }
@@ -91,10 +89,15 @@ function A2pRegistrationFromJSONTyped(json, ignoreDiscriminator) {
91
89
  scenarioId: json['scenarioId'],
92
90
  businessType: json['businessType'],
93
91
  legalName: json['legalName'],
92
+ displayName: json['displayName'] == null ? undefined : json['displayName'],
94
93
  taxId: json['taxId'] == null ? undefined : json['taxId'],
95
94
  website: json['website'],
96
95
  country: json['country'],
97
- fullAddress: json['fullAddress'],
96
+ street: json['street'] == null ? undefined : json['street'],
97
+ city: json['city'] == null ? undefined : json['city'],
98
+ state: json['state'] == null ? undefined : json['state'],
99
+ postalCode: json['postalCode'] == null ? undefined : json['postalCode'],
100
+ fullAddress: json['fullAddress'] == null ? undefined : json['fullAddress'],
98
101
  complianceContactEmail: json['complianceContactEmail'],
99
102
  complianceContactPhone: json['complianceContactPhone'],
100
103
  brandStatus: json['brandStatus'],
@@ -103,10 +106,10 @@ function A2pRegistrationFromJSONTyped(json, ignoreDiscriminator) {
103
106
  updatedAt: json['updatedAt']
104
107
  };
105
108
  }
106
- function A2pRegistrationToJSON(json) {
107
- return A2pRegistrationToJSONTyped(json, false);
109
+ function TenDlcBrandRegistrationToJSON(json) {
110
+ return TenDlcBrandRegistrationToJSONTyped(json, false);
108
111
  }
109
- function A2pRegistrationToJSONTyped(value, ignoreDiscriminator = false) {
112
+ function TenDlcBrandRegistrationToJSONTyped(value, ignoreDiscriminator = false) {
110
113
  if (value == null) {
111
114
  return value;
112
115
  }
@@ -115,9 +118,14 @@ function A2pRegistrationToJSONTyped(value, ignoreDiscriminator = false) {
115
118
  scenarioId: value['scenarioId'],
116
119
  businessType: value['businessType'],
117
120
  legalName: value['legalName'],
121
+ displayName: value['displayName'],
118
122
  taxId: value['taxId'],
119
123
  website: value['website'],
120
124
  country: value['country'],
125
+ street: value['street'],
126
+ city: value['city'],
127
+ state: value['state'],
128
+ postalCode: value['postalCode'],
121
129
  fullAddress: value['fullAddress'],
122
130
  complianceContactEmail: value['complianceContactEmail'],
123
131
  complianceContactPhone: value['complianceContactPhone'],
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Pingram
3
+ * Internal API for notification delivery and management
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Request body for PATCH /registrations/us/10dlc/brand
14
+ * @export
15
+ * @interface TenDlcBrandUpdateRequest
16
+ */
17
+ export interface TenDlcBrandUpdateRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TenDlcBrandUpdateRequest
22
+ */
23
+ scenarioId?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof TenDlcBrandUpdateRequest
28
+ */
29
+ businessType?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof TenDlcBrandUpdateRequest
34
+ */
35
+ legalName?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof TenDlcBrandUpdateRequest
40
+ */
41
+ taxId?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof TenDlcBrandUpdateRequest
46
+ */
47
+ website?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof TenDlcBrandUpdateRequest
52
+ */
53
+ country?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof TenDlcBrandUpdateRequest
58
+ */
59
+ street?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof TenDlcBrandUpdateRequest
64
+ */
65
+ city?: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof TenDlcBrandUpdateRequest
70
+ */
71
+ state?: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof TenDlcBrandUpdateRequest
76
+ */
77
+ postalCode?: string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof TenDlcBrandUpdateRequest
82
+ */
83
+ complianceContactEmail?: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof TenDlcBrandUpdateRequest
88
+ */
89
+ complianceContactPhone?: string;
90
+ }
91
+ /**
92
+ * Check if a given object implements the TenDlcBrandUpdateRequest interface.
93
+ */
94
+ export declare function instanceOfTenDlcBrandUpdateRequest(value: object): value is TenDlcBrandUpdateRequest;
95
+ export declare function TenDlcBrandUpdateRequestFromJSON(json: any): TenDlcBrandUpdateRequest;
96
+ export declare function TenDlcBrandUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenDlcBrandUpdateRequest;
97
+ export declare function TenDlcBrandUpdateRequestToJSON(json: any): TenDlcBrandUpdateRequest;
98
+ export declare function TenDlcBrandUpdateRequestToJSONTyped(value?: TenDlcBrandUpdateRequest | null, ignoreDiscriminator?: boolean): any;
@@ -13,21 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfA2pRegistrationUpdateRequest = instanceOfA2pRegistrationUpdateRequest;
17
- exports.A2pRegistrationUpdateRequestFromJSON = A2pRegistrationUpdateRequestFromJSON;
18
- exports.A2pRegistrationUpdateRequestFromJSONTyped = A2pRegistrationUpdateRequestFromJSONTyped;
19
- exports.A2pRegistrationUpdateRequestToJSON = A2pRegistrationUpdateRequestToJSON;
20
- exports.A2pRegistrationUpdateRequestToJSONTyped = A2pRegistrationUpdateRequestToJSONTyped;
16
+ exports.instanceOfTenDlcBrandUpdateRequest = instanceOfTenDlcBrandUpdateRequest;
17
+ exports.TenDlcBrandUpdateRequestFromJSON = TenDlcBrandUpdateRequestFromJSON;
18
+ exports.TenDlcBrandUpdateRequestFromJSONTyped = TenDlcBrandUpdateRequestFromJSONTyped;
19
+ exports.TenDlcBrandUpdateRequestToJSON = TenDlcBrandUpdateRequestToJSON;
20
+ exports.TenDlcBrandUpdateRequestToJSONTyped = TenDlcBrandUpdateRequestToJSONTyped;
21
21
  /**
22
- * Check if a given object implements the A2pRegistrationUpdateRequest interface.
22
+ * Check if a given object implements the TenDlcBrandUpdateRequest interface.
23
23
  */
24
- function instanceOfA2pRegistrationUpdateRequest(value) {
24
+ function instanceOfTenDlcBrandUpdateRequest(value) {
25
25
  return true;
26
26
  }
27
- function A2pRegistrationUpdateRequestFromJSON(json) {
28
- return A2pRegistrationUpdateRequestFromJSONTyped(json, false);
27
+ function TenDlcBrandUpdateRequestFromJSON(json) {
28
+ return TenDlcBrandUpdateRequestFromJSONTyped(json, false);
29
29
  }
30
- function A2pRegistrationUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
30
+ function TenDlcBrandUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
31
31
  if (json == null) {
32
32
  return json;
33
33
  }
@@ -38,7 +38,10 @@ function A2pRegistrationUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
38
38
  taxId: json['taxId'] == null ? undefined : json['taxId'],
39
39
  website: json['website'] == null ? undefined : json['website'],
40
40
  country: json['country'] == null ? undefined : json['country'],
41
- fullAddress: json['fullAddress'] == null ? undefined : json['fullAddress'],
41
+ street: json['street'] == null ? undefined : json['street'],
42
+ city: json['city'] == null ? undefined : json['city'],
43
+ state: json['state'] == null ? undefined : json['state'],
44
+ postalCode: json['postalCode'] == null ? undefined : json['postalCode'],
42
45
  complianceContactEmail: json['complianceContactEmail'] == null
43
46
  ? undefined
44
47
  : json['complianceContactEmail'],
@@ -47,10 +50,10 @@ function A2pRegistrationUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
47
50
  : json['complianceContactPhone']
48
51
  };
49
52
  }
50
- function A2pRegistrationUpdateRequestToJSON(json) {
51
- return A2pRegistrationUpdateRequestToJSONTyped(json, false);
53
+ function TenDlcBrandUpdateRequestToJSON(json) {
54
+ return TenDlcBrandUpdateRequestToJSONTyped(json, false);
52
55
  }
53
- function A2pRegistrationUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
56
+ function TenDlcBrandUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
54
57
  if (value == null) {
55
58
  return value;
56
59
  }
@@ -61,7 +64,10 @@ function A2pRegistrationUpdateRequestToJSONTyped(value, ignoreDiscriminator = fa
61
64
  taxId: value['taxId'],
62
65
  website: value['website'],
63
66
  country: value['country'],
64
- fullAddress: value['fullAddress'],
67
+ street: value['street'],
68
+ city: value['city'],
69
+ state: value['state'],
70
+ postalCode: value['postalCode'],
65
71
  complianceContactEmail: value['complianceContactEmail'],
66
72
  complianceContactPhone: value['complianceContactPhone']
67
73
  };
@@ -1,6 +1,3 @@
1
- export * from './A2pRegistration';
2
- export * from './A2pRegistrationCreateRequest';
3
- export * from './A2pRegistrationUpdateRequest';
4
1
  export * from './APNConfig';
5
2
  export * from './AcceptInviteRequest';
6
3
  export * from './AcceptInviteResponse';
@@ -213,6 +210,9 @@ export * from './TemplatePatchRequest';
213
210
  export * from './TemplatePatchRequestBatch';
214
211
  export * from './TemplatePatchRequestInstant';
215
212
  export * from './TemplatePostRequest';
213
+ export * from './TenDlcBrandCreateRequest';
214
+ export * from './TenDlcBrandRegistration';
215
+ export * from './TenDlcBrandUpdateRequest';
216
216
  export * from './UpdateAddressRequest';
217
217
  export * from './User';
218
218
  export * from './UserSuppressionDeleteResponse';
@@ -16,9 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
- __exportStar(require("./A2pRegistration"), exports);
20
- __exportStar(require("./A2pRegistrationCreateRequest"), exports);
21
- __exportStar(require("./A2pRegistrationUpdateRequest"), exports);
22
19
  __exportStar(require("./APNConfig"), exports);
23
20
  __exportStar(require("./AcceptInviteRequest"), exports);
24
21
  __exportStar(require("./AcceptInviteResponse"), exports);
@@ -231,6 +228,9 @@ __exportStar(require("./TemplatePatchRequest"), exports);
231
228
  __exportStar(require("./TemplatePatchRequestBatch"), exports);
232
229
  __exportStar(require("./TemplatePatchRequestInstant"), exports);
233
230
  __exportStar(require("./TemplatePostRequest"), exports);
231
+ __exportStar(require("./TenDlcBrandCreateRequest"), exports);
232
+ __exportStar(require("./TenDlcBrandRegistration"), exports);
233
+ __exportStar(require("./TenDlcBrandUpdateRequest"), exports);
234
234
  __exportStar(require("./UpdateAddressRequest"), exports);
235
235
  __exportStar(require("./User"), exports);
236
236
  __exportStar(require("./UserSuppressionDeleteResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pingram",
3
- "version": "1.0.16-alpha.1272",
3
+ "version": "1.0.16-alpha.1274",
4
4
  "description": "Official Node.js SDK for Pingram - Send notifications via Email, SMS, Push, In-App, and more",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -1,134 +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
- * Public response type for A2P registration
14
- * @export
15
- * @interface A2pRegistration
16
- */
17
- export interface A2pRegistration {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof A2pRegistration
22
- */
23
- accountId: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof A2pRegistration
28
- */
29
- scenarioId: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof A2pRegistration
34
- */
35
- businessType: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof A2pRegistration
40
- */
41
- legalName: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof A2pRegistration
46
- */
47
- taxId?: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof A2pRegistration
52
- */
53
- website: string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof A2pRegistration
58
- */
59
- country: string;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof A2pRegistration
64
- */
65
- fullAddress: string;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof A2pRegistration
70
- */
71
- complianceContactEmail: string;
72
- /**
73
- *
74
- * @type {string}
75
- * @memberof A2pRegistration
76
- */
77
- complianceContactPhone: string;
78
- /**
79
- *
80
- * @type {string}
81
- * @memberof A2pRegistration
82
- */
83
- brandStatus: A2pRegistrationBrandStatusEnum;
84
- /**
85
- *
86
- * @type {string}
87
- * @memberof A2pRegistration
88
- */
89
- campaignStatus: A2pRegistrationCampaignStatusEnum;
90
- /**
91
- *
92
- * @type {string}
93
- * @memberof A2pRegistration
94
- */
95
- createdAt: string;
96
- /**
97
- *
98
- * @type {string}
99
- * @memberof A2pRegistration
100
- */
101
- updatedAt: string;
102
- }
103
- /**
104
- * @export
105
- * @enum {string}
106
- */
107
- export declare enum A2pRegistrationBrandStatusEnum {
108
- NOT_STARTED = "not_started",
109
- IN_PROGRESS = "in_progress",
110
- PENDING_REVIEW = "pending_review",
111
- APPROVED = "approved",
112
- REJECTED = "rejected",
113
- INFO_NEEDED = "info_needed"
114
- }
115
- /**
116
- * @export
117
- * @enum {string}
118
- */
119
- export declare enum A2pRegistrationCampaignStatusEnum {
120
- NOT_STARTED = "not_started",
121
- IN_PROGRESS = "in_progress",
122
- PENDING_REVIEW = "pending_review",
123
- APPROVED = "approved",
124
- REJECTED = "rejected",
125
- INFO_NEEDED = "info_needed"
126
- }
127
- /**
128
- * Check if a given object implements the A2pRegistration interface.
129
- */
130
- export declare function instanceOfA2pRegistration(value: object): value is A2pRegistration;
131
- export declare function A2pRegistrationFromJSON(json: any): A2pRegistration;
132
- export declare function A2pRegistrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): A2pRegistration;
133
- export declare function A2pRegistrationToJSON(json: any): A2pRegistration;
134
- export declare function A2pRegistrationToJSONTyped(value?: A2pRegistration | null, ignoreDiscriminator?: boolean): any;
@@ -1,80 +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
- * Request body for POST /registrations/a2p
14
- * @export
15
- * @interface A2pRegistrationCreateRequest
16
- */
17
- export interface A2pRegistrationCreateRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof A2pRegistrationCreateRequest
22
- */
23
- scenarioId: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof A2pRegistrationCreateRequest
28
- */
29
- businessType: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof A2pRegistrationCreateRequest
34
- */
35
- legalName: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof A2pRegistrationCreateRequest
40
- */
41
- taxId?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof A2pRegistrationCreateRequest
46
- */
47
- website: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof A2pRegistrationCreateRequest
52
- */
53
- country: string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof A2pRegistrationCreateRequest
58
- */
59
- fullAddress: string;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof A2pRegistrationCreateRequest
64
- */
65
- complianceContactEmail: string;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof A2pRegistrationCreateRequest
70
- */
71
- complianceContactPhone: string;
72
- }
73
- /**
74
- * Check if a given object implements the A2pRegistrationCreateRequest interface.
75
- */
76
- export declare function instanceOfA2pRegistrationCreateRequest(value: object): value is A2pRegistrationCreateRequest;
77
- export declare function A2pRegistrationCreateRequestFromJSON(json: any): A2pRegistrationCreateRequest;
78
- export declare function A2pRegistrationCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): A2pRegistrationCreateRequest;
79
- export declare function A2pRegistrationCreateRequestToJSON(json: any): A2pRegistrationCreateRequest;
80
- export declare function A2pRegistrationCreateRequestToJSONTyped(value?: A2pRegistrationCreateRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,80 +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
- * Request body for PUT /registrations/a2p
14
- * @export
15
- * @interface A2pRegistrationUpdateRequest
16
- */
17
- export interface A2pRegistrationUpdateRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof A2pRegistrationUpdateRequest
22
- */
23
- scenarioId?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof A2pRegistrationUpdateRequest
28
- */
29
- businessType?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof A2pRegistrationUpdateRequest
34
- */
35
- legalName?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof A2pRegistrationUpdateRequest
40
- */
41
- taxId?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof A2pRegistrationUpdateRequest
46
- */
47
- website?: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof A2pRegistrationUpdateRequest
52
- */
53
- country?: string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof A2pRegistrationUpdateRequest
58
- */
59
- fullAddress?: string;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof A2pRegistrationUpdateRequest
64
- */
65
- complianceContactEmail?: string;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof A2pRegistrationUpdateRequest
70
- */
71
- complianceContactPhone?: string;
72
- }
73
- /**
74
- * Check if a given object implements the A2pRegistrationUpdateRequest interface.
75
- */
76
- export declare function instanceOfA2pRegistrationUpdateRequest(value: object): value is A2pRegistrationUpdateRequest;
77
- export declare function A2pRegistrationUpdateRequestFromJSON(json: any): A2pRegistrationUpdateRequest;
78
- export declare function A2pRegistrationUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): A2pRegistrationUpdateRequest;
79
- export declare function A2pRegistrationUpdateRequestToJSON(json: any): A2pRegistrationUpdateRequest;
80
- export declare function A2pRegistrationUpdateRequestToJSONTyped(value?: A2pRegistrationUpdateRequest | null, ignoreDiscriminator?: boolean): any;