facebook-nodejs-business-sdk
Version:
SDK for the Facebook Marketing API in Javascript and Node.js
50 lines (46 loc) • 1.48 kB
JavaScript
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import {AbstractCrudObject} from './../abstract-crud-object';
/**
* WhatsAppBusinessPartnerClientVerificationSubmission
* @extends AbstractCrudObject
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class WhatsAppBusinessPartnerClientVerificationSubmission extends AbstractCrudObject {
static get Fields (): Object {
return Object.freeze({
client_business_id: 'client_business_id',
id: 'id',
rejection_reasons: 'rejection_reasons',
submitted_info: 'submitted_info',
submitted_time: 'submitted_time',
update_time: 'update_time',
verification_status: 'verification_status',
});
}
static get RejectionReasons (): Object {
return Object.freeze({
address_not_matching: 'ADDRESS_NOT_MATCHING',
business_not_eligible: 'BUSINESS_NOT_ELIGIBLE',
legal_name_not_found_in_documents: 'LEGAL_NAME_NOT_FOUND_IN_DOCUMENTS',
legal_name_not_matching: 'LEGAL_NAME_NOT_MATCHING',
none: 'NONE',
website_not_matching: 'WEBSITE_NOT_MATCHING',
});
}
static get VerificationStatus (): Object {
return Object.freeze({
approved: 'APPROVED',
failed: 'FAILED',
pending: 'PENDING',
revoked: 'REVOKED',
});
}
}