bandwidth-sdk 7.3.0 → 7.4.1
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/.openapi-generator/FILES +2 -0
- package/README.md +1 -0
- package/bandwidth.yml +145 -33
- package/configuration.ts +1 -1
- package/coverage/clover.xml +11 -6
- package/coverage/coverage-final.json +5 -4
- package/coverage/lcov-report/index.html +7 -7
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/index.html +1 -1
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/base.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/common.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/configuration.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/business-registration-issuing-country-enum.ts.html +217 -0
- package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +52 -4
- package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/index.html +20 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +7 -4
- package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +7 -4
- package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-open-url-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-web-view-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +1 -1
- package/coverage/lcov.info +16 -5
- package/dist/configuration.js +1 -1
- package/dist/models/business-entity-type-enum.d.ts +1 -1
- package/dist/models/business-entity-type-enum.js +1 -1
- package/dist/models/business-registration-issuing-country-enum.d.ts +34 -0
- package/dist/models/business-registration-issuing-country-enum.js +38 -0
- package/dist/models/business-registration-type-enum.d.ts +17 -1
- package/dist/models/business-registration-type-enum.js +18 -2
- package/dist/models/callback.d.ts +2 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/latest-message-delivery-status-enum.d.ts +2 -1
- package/dist/models/latest-message-delivery-status-enum.js +3 -2
- package/dist/models/message-request.d.ts +1 -1
- package/dist/models/message.d.ts +1 -1
- package/dist/models/multi-channel-channel-list-object-base.d.ts +1 -1
- package/dist/models/multi-channel-channel-list-request-object.d.ts +1 -1
- package/dist/models/multi-channel-channel-list-response-object.d.ts +1 -1
- package/dist/models/status-callback-message.d.ts +1 -1
- package/dist/models/tfv-status.d.ts +1 -1
- package/dist/models/tfv-submission-info.d.ts +4 -2
- package/dist/models/verification-request.d.ts +5 -3
- package/dist/models/verification-update-request.d.ts +5 -3
- package/docs/BusinessEntityTypeEnum.md +1 -1
- package/docs/BusinessRegistrationIssuingCountryEnum.md +41 -0
- package/docs/BusinessRegistrationTypeEnum.md +33 -1
- package/docs/InboundCallbackMessage.md +1 -1
- package/docs/LatestMessageDeliveryStatusEnum.md +3 -1
- package/docs/Message.md +1 -1
- package/docs/MessageRequest.md +1 -1
- package/docs/MultiChannelChannelListMMSObject.md +1 -1
- package/docs/MultiChannelChannelListMMSResponseObject.md +1 -1
- package/docs/MultiChannelChannelListObjectBase.md +1 -1
- package/docs/MultiChannelChannelListRBMObject.md +1 -1
- package/docs/MultiChannelChannelListRBMResponseObject.md +1 -1
- package/docs/MultiChannelChannelListRequestObject.md +1 -1
- package/docs/MultiChannelChannelListResponseObject.md +1 -1
- package/docs/MultiChannelChannelListSMSObject.md +1 -1
- package/docs/MultiChannelChannelListSMSResponseObject.md +1 -1
- package/docs/StatusCallbackMessage.md +1 -1
- package/docs/TfvStatus.md +1 -1
- package/docs/TfvSubmissionInfo.md +3 -1
- package/docs/VerificationRequest.md +5 -3
- package/docs/VerificationUpdateRequest.md +4 -2
- package/models/business-entity-type-enum.ts +1 -1
- package/models/business-registration-issuing-country-enum.ts +44 -0
- package/models/business-registration-type-enum.ts +18 -2
- package/models/callback.ts +1 -1
- package/models/index.ts +1 -0
- package/models/latest-message-delivery-status-enum.ts +3 -2
- package/models/message-request.ts +1 -1
- package/models/message.ts +1 -1
- package/models/multi-channel-channel-list-object-base.ts +1 -1
- package/models/multi-channel-channel-list-request-object.ts +1 -1
- package/models/multi-channel-channel-list-response-object.ts +1 -1
- package/models/status-callback-message.ts +1 -1
- package/models/tfv-status.ts +1 -1
- package/models/tfv-submission-info.ts +6 -2
- package/models/verification-request.ts +7 -3
- package/models/verification-update-request.ts +7 -3
- package/package.json +1 -1
- package/tests/smoke/phone-number-lookup-api.test.ts +0 -2
- package/tests/unit/api/toll-free-verification-api.test.ts +2 -1
- package/tests/unit/models/business-registration-issuing-country-enum.test.ts +23 -0
- package/tests/unit/models/business-registration-type-enum.test.ts +16 -0
- package/tests/unit/models/latest-message-delivery-status-enum.test.ts +1 -0
package/models/tfv-status.ts
CHANGED
|
@@ -56,7 +56,7 @@ export interface TfvStatus {
|
|
|
56
56
|
*/
|
|
57
57
|
'blockedReason'?: string;
|
|
58
58
|
/**
|
|
59
|
-
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted.
|
|
59
|
+
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection.
|
|
60
60
|
*/
|
|
61
61
|
'cvToken'?: string | null;
|
|
62
62
|
}
|
|
@@ -21,6 +21,9 @@ import type { Address } from './address';
|
|
|
21
21
|
import type { BusinessEntityTypeEnum } from './business-entity-type-enum';
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import type { BusinessRegistrationIssuingCountryEnum } from './business-registration-issuing-country-enum';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
24
27
|
import type { BusinessRegistrationTypeEnum } from './business-registration-type-enum';
|
|
25
28
|
// May contain unused imports in some cases
|
|
26
29
|
// @ts-ignore
|
|
@@ -70,11 +73,12 @@ export interface TfvSubmissionInfo {
|
|
|
70
73
|
*/
|
|
71
74
|
'businessDba'?: string;
|
|
72
75
|
/**
|
|
73
|
-
*
|
|
76
|
+
* Government-issued business identifying number. **Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection.
|
|
74
77
|
*/
|
|
75
78
|
'businessRegistrationNumber'?: string | null;
|
|
76
79
|
'businessRegistrationType'?: BusinessRegistrationTypeEnum | null;
|
|
77
|
-
'
|
|
80
|
+
'businessRegistrationIssuingCountry'?: BusinessRegistrationIssuingCountryEnum;
|
|
81
|
+
'businessEntityType'?: BusinessEntityTypeEnum;
|
|
78
82
|
}
|
|
79
83
|
|
|
80
84
|
|
|
@@ -21,6 +21,9 @@ import type { Address } from './address';
|
|
|
21
21
|
import type { BusinessEntityTypeEnum } from './business-entity-type-enum';
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import type { BusinessRegistrationIssuingCountryEnum } from './business-registration-issuing-country-enum';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
24
27
|
import type { BusinessRegistrationTypeEnum } from './business-registration-type-enum';
|
|
25
28
|
// May contain unused imports in some cases
|
|
26
29
|
// @ts-ignore
|
|
@@ -71,11 +74,12 @@ export interface VerificationRequest {
|
|
|
71
74
|
*/
|
|
72
75
|
'businessDba'?: string;
|
|
73
76
|
/**
|
|
74
|
-
*
|
|
77
|
+
* Government-issued business identifying number. **Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection.
|
|
75
78
|
*/
|
|
76
79
|
'businessRegistrationNumber'?: string | null;
|
|
77
80
|
'businessRegistrationType'?: BusinessRegistrationTypeEnum | null;
|
|
78
|
-
'
|
|
81
|
+
'businessRegistrationIssuingCountry'?: BusinessRegistrationIssuingCountryEnum;
|
|
82
|
+
'businessEntityType': BusinessEntityTypeEnum;
|
|
79
83
|
/**
|
|
80
84
|
* A message that gets sent to users requesting help.
|
|
81
85
|
*/
|
|
@@ -85,7 +89,7 @@ export interface VerificationRequest {
|
|
|
85
89
|
*/
|
|
86
90
|
'ageGatedContent'?: boolean;
|
|
87
91
|
/**
|
|
88
|
-
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted.
|
|
92
|
+
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection.
|
|
89
93
|
*/
|
|
90
94
|
'cvToken'?: string | null;
|
|
91
95
|
}
|
|
@@ -21,6 +21,9 @@ import type { Address } from './address';
|
|
|
21
21
|
import type { BusinessEntityTypeEnum } from './business-entity-type-enum';
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import type { BusinessRegistrationIssuingCountryEnum } from './business-registration-issuing-country-enum';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
24
27
|
import type { BusinessRegistrationTypeEnum } from './business-registration-type-enum';
|
|
25
28
|
// May contain unused imports in some cases
|
|
26
29
|
// @ts-ignore
|
|
@@ -70,11 +73,12 @@ export interface VerificationUpdateRequest {
|
|
|
70
73
|
*/
|
|
71
74
|
'businessDba'?: string;
|
|
72
75
|
/**
|
|
73
|
-
*
|
|
76
|
+
* Government-issued business identifying number. **Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection.
|
|
74
77
|
*/
|
|
75
78
|
'businessRegistrationNumber'?: string | null;
|
|
76
79
|
'businessRegistrationType'?: BusinessRegistrationTypeEnum | null;
|
|
77
|
-
'businessEntityType'?: BusinessEntityTypeEnum
|
|
80
|
+
'businessEntityType'?: BusinessEntityTypeEnum;
|
|
81
|
+
'businessRegistrationIssuingCountry'?: BusinessRegistrationIssuingCountryEnum;
|
|
78
82
|
/**
|
|
79
83
|
* A message that gets sent to users requesting help.
|
|
80
84
|
*/
|
|
@@ -84,7 +88,7 @@ export interface VerificationUpdateRequest {
|
|
|
84
88
|
*/
|
|
85
89
|
'ageGatedContent'?: boolean;
|
|
86
90
|
/**
|
|
87
|
-
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted.
|
|
91
|
+
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection.
|
|
88
92
|
*/
|
|
89
93
|
'cvToken'?: string | null;
|
|
90
94
|
}
|
package/package.json
CHANGED
|
@@ -54,7 +54,6 @@ describe('PhoneNumberLookupApi', () => {
|
|
|
54
54
|
expect(getData.data.results[0]).toBeDefined();
|
|
55
55
|
expect(getData.data.results[0].phoneNumber).toBeString();
|
|
56
56
|
expect(getData.data.results[0].lineType).toBeOneOf(Object.values(LineTypeEnum));
|
|
57
|
-
expect(getData.data.results[0].messagingProvider).toBeString();
|
|
58
57
|
expect(getData.data.results[0].voiceProvider).toBeString();
|
|
59
58
|
expect(getData.data.results[0].countryCodeA3).toBeString();
|
|
60
59
|
});
|
|
@@ -77,7 +76,6 @@ describe('PhoneNumberLookupApi', () => {
|
|
|
77
76
|
expect(data.data.results[0]).toBeDefined();
|
|
78
77
|
expect(data.data.results[0].phoneNumber).toBeString();
|
|
79
78
|
expect(data.data.results[0].lineType).toBeOneOf(Object.values(LineTypeEnum));
|
|
80
|
-
expect(data.data.results[0].messagingProvider).toBeString();
|
|
81
79
|
expect(data.data.results[0].voiceProvider).toBeString();
|
|
82
80
|
expect(data.data.results[0].countryCodeA3).toBeString();
|
|
83
81
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
2
|
import { TollFreeVerificationApi } from '../../../api';
|
|
3
3
|
import { Configuration } from '../../../configuration';
|
|
4
|
-
import { BusinessEntityTypeEnum, BusinessRegistrationTypeEnum, CallbackTypeEnum, TfvStatusEnum, WebhookSubscriptionTypeEnum } from '../../../models';
|
|
4
|
+
import { BusinessEntityTypeEnum, BusinessRegistrationIssuingCountryEnum, BusinessRegistrationTypeEnum, CallbackTypeEnum, TfvStatusEnum, WebhookSubscriptionTypeEnum } from '../../../models';
|
|
5
5
|
|
|
6
6
|
describe('TollFreeVerificationApi', () => {
|
|
7
7
|
const config = new Configuration({
|
|
@@ -140,6 +140,7 @@ describe('TollFreeVerificationApi', () => {
|
|
|
140
140
|
businessDba: 'businessDba',
|
|
141
141
|
businessRegistrationNumber: 'businessRegistrationNumber',
|
|
142
142
|
businessRegistrationType: BusinessRegistrationTypeEnum.Ein,
|
|
143
|
+
businessRegistrationIssuingCountry: BusinessRegistrationIssuingCountryEnum.Us,
|
|
143
144
|
businessEntityType: BusinessEntityTypeEnum.NonProfit,
|
|
144
145
|
helpMessageResponse: 'helpMessageResponse',
|
|
145
146
|
ageGatedContent: true,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BusinessRegistrationIssuingCountryEnum } from '../../../models/business-registration-issuing-country-enum';
|
|
2
|
+
|
|
3
|
+
describe('BusinessRegistrationIssuingCountryEnum', () => {
|
|
4
|
+
test('should define the expected values', () => {
|
|
5
|
+
expect(BusinessRegistrationIssuingCountryEnum.Usa).toBe('USA');
|
|
6
|
+
expect(BusinessRegistrationIssuingCountryEnum.Can).toBe('CAN');
|
|
7
|
+
expect(BusinessRegistrationIssuingCountryEnum.Hkg).toBe('HKG');
|
|
8
|
+
expect(BusinessRegistrationIssuingCountryEnum.Gbr).toBe('GBR');
|
|
9
|
+
expect(BusinessRegistrationIssuingCountryEnum.Irl).toBe('IRL');
|
|
10
|
+
expect(BusinessRegistrationIssuingCountryEnum.Bra).toBe('BRA');
|
|
11
|
+
expect(BusinessRegistrationIssuingCountryEnum.Nld).toBe('NLD');
|
|
12
|
+
expect(BusinessRegistrationIssuingCountryEnum.Aus).toBe('AUS');
|
|
13
|
+
expect(BusinessRegistrationIssuingCountryEnum.Fra).toBe('FRA');
|
|
14
|
+
expect(BusinessRegistrationIssuingCountryEnum.Nzl).toBe('NZL');
|
|
15
|
+
expect(BusinessRegistrationIssuingCountryEnum.Deu).toBe('DEU');
|
|
16
|
+
expect(BusinessRegistrationIssuingCountryEnum.Esp).toBe('ESP');
|
|
17
|
+
expect(BusinessRegistrationIssuingCountryEnum.Che).toBe('CHE');
|
|
18
|
+
expect(BusinessRegistrationIssuingCountryEnum.Cyp).toBe('CYP');
|
|
19
|
+
expect(BusinessRegistrationIssuingCountryEnum.Ind).toBe('IND');
|
|
20
|
+
expect(BusinessRegistrationIssuingCountryEnum.Chn).toBe('CHN');
|
|
21
|
+
expect(BusinessRegistrationIssuingCountryEnum.Bgr).toBe('BGR');
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -4,5 +4,21 @@ describe('BusinessRegistrationTypeEnum', () => {
|
|
|
4
4
|
test('should define the expected values', () => {
|
|
5
5
|
expect(BusinessRegistrationTypeEnum.Ein).toBe('EIN');
|
|
6
6
|
expect(BusinessRegistrationTypeEnum.Cbn).toBe('CBN');
|
|
7
|
+
expect(BusinessRegistrationTypeEnum.Neq).toBe('NEQ');
|
|
8
|
+
expect(BusinessRegistrationTypeEnum.ProvincialNumber).toBe('PROVINCIAL_NUMBER');
|
|
9
|
+
expect(BusinessRegistrationTypeEnum.Crn).toBe('CRN');
|
|
10
|
+
expect(BusinessRegistrationTypeEnum.Vat).toBe('VAT');
|
|
11
|
+
expect(BusinessRegistrationTypeEnum.Acn).toBe('ACN');
|
|
12
|
+
expect(BusinessRegistrationTypeEnum.Abn).toBe('ABN');
|
|
13
|
+
expect(BusinessRegistrationTypeEnum.Brn).toBe('BRN');
|
|
14
|
+
expect(BusinessRegistrationTypeEnum.Siren).toBe('SIREN');
|
|
15
|
+
expect(BusinessRegistrationTypeEnum.Siret).toBe('SIRET');
|
|
16
|
+
expect(BusinessRegistrationTypeEnum.Nzbn).toBe('NZBN');
|
|
17
|
+
expect(BusinessRegistrationTypeEnum.UstIdnr).toBe('UST_IDNR');
|
|
18
|
+
expect(BusinessRegistrationTypeEnum.Cif).toBe('CIF');
|
|
19
|
+
expect(BusinessRegistrationTypeEnum.Nif).toBe('NIF');
|
|
20
|
+
expect(BusinessRegistrationTypeEnum.Cnpj).toBe('CNPJ');
|
|
21
|
+
expect(BusinessRegistrationTypeEnum.Uid).toBe('UID');
|
|
22
|
+
expect(BusinessRegistrationTypeEnum.Other).toBe('OTHER');
|
|
7
23
|
});
|
|
8
24
|
});
|
|
@@ -5,6 +5,7 @@ describe('LatestMessageDeliveryStatusEnum', () => {
|
|
|
5
5
|
expect(LatestMessageDeliveryStatusEnum.Active).toBe('ACTIVE');
|
|
6
6
|
expect(LatestMessageDeliveryStatusEnum.Deactivated).toBe('DEACTIVATED');
|
|
7
7
|
expect(LatestMessageDeliveryStatusEnum.Unknown).toBe('UNKNOWN');
|
|
8
|
+
expect(LatestMessageDeliveryStatusEnum.NotEnabled).toBe('NOT_ENABLED');
|
|
8
9
|
});
|
|
9
10
|
});
|
|
10
11
|
|